Class EmployerContact
This class represents the EntityModel interface to the PlEmployerContact database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.CareerServices
Assembly: Cmc.Nexus.Models.dll
Syntax
public class EmployerContact
Constructors
EmployerContact()
Declaration
public EmployerContact()
Properties
AvailableJobs
Declaration
public virtual ICollection<EmployerJob> AvailableJobs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<EmployerJob> |
City
Gets or sets the City associated with this EmployerContact.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String | The City. |
Country
Declaration
public virtual Country Country { get; set; }
Property Value
Type | Description |
---|---|
Country |
CountryId
Gets or sets the CountryId associated with this EmployerContact.
Declaration
public int? CountryId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CountryId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this EmployerContact.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
EmailAddress
Gets or sets the EmailAddress associated with this EmployerContact.
Declaration
public string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String | The EmailAddress. |
Employer
Declaration
public virtual Employer Employer { get; set; }
Property Value
Type | Description |
---|---|
Employer |
EmployerContactType
Declaration
public virtual EmployerContactType EmployerContactType { get; set; }
Property Value
Type | Description |
---|---|
EmployerContactType |
EmployerContactTypeId
Gets or sets the EmployerContactTypeId associated with this EmployerContact.
Declaration
public int? EmployerContactTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The EmployerContactTypeId. |
EmployerId
Gets or sets the EmployerId associated with this EmployerContact.
Declaration
public int EmployerId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The EmployerId. |
FaxNumber
Gets or sets the FaxNumber associated with this EmployerContact.
Declaration
public string FaxNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FaxNumber. |
FirstName
Gets or sets the FirstName associated with this EmployerContact.
Declaration
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The FirstName. |
Id
Gets or sets the Id associated with this EmployerContact.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this EmployerContact.
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsActive. |
IsPrimary
Gets or sets the IsPrimary associated with this EmployerContact.
Declaration
public bool IsPrimary { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsPrimary. |
JobSkills
Declaration
public virtual ICollection<EmployerContactJobSkill> JobSkills { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<EmployerContactJobSkill> |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this EmployerContact.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this EmployerContact.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LastName
Gets or sets the LastName associated with this EmployerContact.
Declaration
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The LastName. |
Person
Declaration
public virtual Person Person { get; set; }
Property Value
Type | Description |
---|---|
Person |
PersonId
Gets or sets the PersonId associated with this EmployerContact.
Declaration
public int? PersonId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The PersonId. |
PhoneNumber
Gets or sets the PhoneNumber associated with this EmployerContact.
Declaration
public string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PhoneNumber. |
PhoneNumber2
Gets or sets the PhoneNumber2 associated with this EmployerContact.
Declaration
public string PhoneNumber2 { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PhoneNumber2. |
PhoneNumber2Extension
Gets or sets the PhoneNumber2Extension associated with this EmployerContact.
Declaration
public string PhoneNumber2Extension { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PhoneNumber2Extension. |
PhoneNumber2Type
Gets or sets the PhoneNumber2Type associated with this EmployerContact.
Declaration
public string PhoneNumber2Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PhoneNumber2Type. |
PhoneNumberExtension
Gets or sets the PhoneNumberExtension associated with this EmployerContact.
Declaration
public string PhoneNumberExtension { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PhoneNumberExtension. |
PostalCode
Gets or sets the PostalCode associated with this EmployerContact.
Declaration
public string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | The PostalCode. |
SoftSkills
Declaration
public virtual ICollection<EmployerContactSoftSkill> SoftSkills { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<EmployerContactSoftSkill> |
Staff
Declaration
public virtual Staff Staff { get; set; }
Property Value
Type | Description |
---|---|
Staff |
StaffId
Gets or sets the StaffId associated with this EmployerContact.
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 EmployerContact.
Declaration
public string State { get; set; }
Property Value
Type | Description |
---|---|
System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this EmployerContact.
Declaration
public string StreetAddress { get; set; }
Property Value
Type | Description |
---|---|
System.String | The StreetAddress. |
Title
Gets or sets the Title associated with this EmployerContact.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Title. |
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. |