Class AgencyBranchContact
This class represents the EntityModel interface to the AmAgencyContact database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class AgencyBranchContact
Constructors
AgencyBranchContact()
Declaration
public AgencyBranchContact()
Properties
AgencyBranch
Declaration
public virtual AgencyBranch AgencyBranch { get; set; }
Property Value
| Type | Description |
|---|---|
| AgencyBranch |
AgencyBranchId
Gets or sets the AgencyBranchId associated with this AgencyBranchContact.
Declaration
public int AgencyBranchId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The AgencyBranchId. |
City
Gets or sets the City associated with this AgencyBranchContact.
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 AgencyBranchContact.
Declaration
public int CountryId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The CountryId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this AgencyBranchContact.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
EmailAddress
Gets or sets the EmailAddress associated with this AgencyBranchContact.
Declaration
public string EmailAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The EmailAddress. |
FaxNumber
Gets or sets the FaxNumber associated with this AgencyBranchContact.
Declaration
public string FaxNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FaxNumber. |
FirstName
Gets or sets the FirstName associated with this AgencyBranchContact.
Declaration
public string FirstName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The FirstName. |
Id
Gets or sets the Id associated with this AgencyBranchContact.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsInvoiceContact
Gets or sets the IsInvoiceContact associated with this AgencyBranchContact.
Declaration
public bool IsInvoiceContact { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsInvoiceContact. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this AgencyBranchContact.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this AgencyBranchContact.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
LastName
Gets or sets the LastName associated with this AgencyBranchContact.
Declaration
public string LastName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The LastName. |
MiddleName
Gets or sets the MiddleName associated with this AgencyBranchContact.
Declaration
public string MiddleName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The MiddleName. |
PhoneNumber
Gets or sets the PhoneNumber associated with this AgencyBranchContact.
Declaration
public string PhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneNumber. |
PhoneNumber2
Gets or sets the PhoneNumber2 associated with this AgencyBranchContact.
Declaration
public string PhoneNumber2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneNumber2. |
PostalCode
Gets or sets the PostalCode associated with this AgencyBranchContact.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCode. |
State
Gets or sets the State associated with this AgencyBranchContact.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this AgencyBranchContact.
Declaration
public string StreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StreetAddress. |
Title
Gets or sets the Title associated with this AgencyBranchContact.
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. |