Class PersonAddress
This class represents the Query Model interface to the SyPersonAddress database table. This partial is automatically generated and contains all of the entity properties as defined in the PocoMapper data mapping file. Do not edit this file, as your changes will be overwritten the next time this code is generated.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class PersonAddress
Constructors
PersonAddress()
Declaration
public PersonAddress()
Properties
AddressType
Declaration
public virtual AddressType AddressType { get; set; }
Property Value
| Type | Description |
|---|---|
| AddressType |
AddressTypeId
Gets or sets the AddressTypeId associated with this PersonAddress.
Declaration
public int? AddressTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The AddressTypeId. |
City
Gets or sets the City associated with this PersonAddress.
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 PersonAddress.
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 PersonAddress.
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 PersonAddress.
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 PersonAddress.
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 PersonAddress.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsActive
Gets or sets the IsActive associated with this PersonAddress.
Declaration
public bool IsActive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsActive. |
IsPrimary
Gets or sets the IsPrimary associated with this PersonAddress.
Declaration
public bool IsPrimary { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsPrimary. |
IsSeasonal
Gets or sets the IsSeasonal associated with this PersonAddress.
Declaration
public bool? IsSeasonal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> | The IsSeasonal. |
IsValid
Gets or sets the IsValid associated with this PersonAddress.
Declaration
public bool? IsValid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> | The IsValid. |
Note
Gets or sets the Note associated with this PersonAddress.
Declaration
public string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Note. |
Person
Declaration
public virtual Person Person { get; set; }
Property Value
| Type | Description |
|---|---|
| Person |
PersonId
Gets or sets the PersonId associated with this PersonAddress.
Declaration
public int PersonId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The PersonId. |
PostalCode
Gets or sets the PostalCode associated with this PersonAddress.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCode. |
State
Gets or sets the State associated with this PersonAddress.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The State. |
StreetAddress
Gets or sets the StreetAddress associated with this PersonAddress.
Declaration
public string StreetAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StreetAddress. |
YearsAtAddress
Gets or sets the YearsAtAddress associated with this PersonAddress.
Declaration
public decimal? YearsAtAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The YearsAtAddress. |
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()