Class OrganizationPhoneNumber
This class represents the EntityModel interface to the SyNexusOrganizationPhoneNumber database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class OrganizationPhoneNumber
Constructors
OrganizationPhoneNumber()
Declaration
public OrganizationPhoneNumber()
Properties
Extension
Gets or sets the Extension associated with this OrganizationPhoneNumber.
Declaration
public string Extension { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Extension. |
Id
Gets or sets the Id associated with this OrganizationPhoneNumber.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this OrganizationPhoneNumber.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsPrimary
Gets or sets the IsPrimary associated with this OrganizationPhoneNumber.
Declaration
public bool IsPrimary { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsPrimary. |
IsValid
Gets or sets the IsValid associated with this OrganizationPhoneNumber.
Declaration
public bool IsValid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsValid. |
Note
Gets or sets the Note associated with this OrganizationPhoneNumber.
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 OrganizationPhoneNumber.
Declaration
public int OrganizationId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The OrganizationId. |
PhoneNumber
Gets or sets the PhoneNumber associated with this OrganizationPhoneNumber.
Declaration
public string PhoneNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PhoneNumber. |
PhoneTypeId
Gets or sets the PhoneTypeId associated with this OrganizationPhoneNumber.
Declaration
public int? PhoneTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The PhoneTypeId. |
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. |