Class Employer
This class represents the EntityModel interface to the PlEmployer database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.CareerServices
Assembly: Cmc.Nexus.Models.dll
Syntax
public class Employer
Constructors
Employer()
Declaration
public Employer()
Properties
AvailableJobs
Declaration
public virtual ICollection<EmployerJob> AvailableJobs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<EmployerJob> |
CampusGroup
Declaration
public virtual CampusGroup CampusGroup { get; set; }
Property Value
| Type | Description |
|---|---|
| CampusGroup |
CampusGroupId
Gets or sets the CampusGroupId associated with this Employer.
Declaration
public int CampusGroupId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CampusGroupId. |
CareerFields
Declaration
public virtual ICollection<EmployerCareerField> CareerFields { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<EmployerCareerField> |
City
Gets or sets the City associated with this Employer.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The City. |
Code
Gets or sets the Code associated with this Employer.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Code. |
Contacts
Declaration
public virtual ICollection<EmployerContact> Contacts { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<EmployerContact> |
CorporationId
Gets or sets the CorporationId associated with this Employer.
Declaration
public int? CorporationId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CorporationId. |
Country
Declaration
public virtual Country Country { get; set; }
Property Value
| Type | Description |
|---|---|
| Country |
CountryId
Gets or sets the CountryId associated with this Employer.
Declaration
public int? CountryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CountryId. |
County
Declaration
public virtual County County { get; set; }
Property Value
| Type | Description |
|---|---|
| County |
CountyId
Gets or sets the CountyId associated with this Employer.
Declaration
public int? CountyId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CountyId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this Employer.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
EmailAddress
Gets or sets the EmailAddress associated with this Employer.
Declaration
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmailAddress. |
EmployerLocations
Declaration
public virtual ICollection<EmployerLocation> EmployerLocations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<EmployerLocation> |
EmployerType
Gets or sets the EmployerType associated with this Employer.
Declaration
public string EmployerType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmployerType. |
ExternType
Gets or sets the ExternType associated with this Employer.
Declaration
public string ExternType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ExternType. |
Faxnumber
Gets or sets the Faxnumber associated with this Employer.
Declaration
public string Faxnumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Faxnumber. |
FeeAmount
Gets or sets the FeeAmount associated with this Employer.
Declaration
public string FeeAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FeeAmount. |
FeeDescription
Gets or sets the FeeDescription associated with this Employer.
Declaration
public string FeeDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FeeDescription. |
Id
Gets or sets the Id associated with this Employer.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IndustryId
Gets or sets the IndustryId associated with this Employer.
Declaration
public int? IndustryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The IndustryId. |
IsActive
Gets or sets the IsActive associated with this Employer.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsExcludedCrmIntegration
Gets or sets the IsExcludedCrmIntegration associated with this Employer.
Declaration
public bool IsExcludedCrmIntegration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsExcludedCrmIntegration. |
IsValidated
Gets or sets the IsValidated associated with this Employer.
Declaration
public bool IsValidated { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsValidated. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this Employer.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this Employer.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
Name
Gets or sets the Name associated with this Employer.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Name. |
Note
Gets or sets the Note associated with this Employer.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
Organization
Declaration
public virtual Organization Organization { get; set; }
Property Value
| Type | Description |
|---|---|
| Organization |
OrganizationId
Gets or sets the OrganizationId associated with this Employer.
Declaration
public int? OrganizationId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The OrganizationId. |
PhoneExtension
Gets or sets the PhoneExtension associated with this Employer.
Declaration
public string PhoneExtension { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneExtension. |
PhoneNumber
Gets or sets the PhoneNumber associated with this Employer.
Declaration
public string PhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneNumber. |
Pin
Gets or sets the Pin associated with this Employer.
Declaration
public short? Pin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int16> | The Pin. |
PlacementAdvisorId
Gets or sets the PlacementAdvisorId associated with this Employer.
Declaration
public int? PlacementAdvisorId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PlacementAdvisorId. |
PostalCode
Gets or sets the PostalCode associated with this Employer.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCode. |
PracticumSite
Gets or sets the PracticumSite associated with this Employer.
Declaration
public bool PracticumSite { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The PracticumSite. |
PrimaryEmployerLocationId
Gets or sets the PrimaryEmployerLocationId associated with this Employer.
Declaration
public int? PrimaryEmployerLocationId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PrimaryEmployerLocationId. |
SoftSkills
Declaration
public virtual ICollection<EmployerSoftSkill> SoftSkills { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<EmployerSoftSkill> |
StaffId
Gets or sets the StaffId associated with this Employer.
Declaration
public int? StaffId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The StaffId. |
State
Gets or sets the State associated with this Employer.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this Employer.
Declaration
public string StreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StreetAddress. |
StudentPlacements
Declaration
public virtual ICollection<StudentPlacement> StudentPlacements { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<StudentPlacement> |
Url
Gets or sets the Url associated with this Employer.
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Url. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |