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