Class PostalCodeList
This class represents the EntityModel interface to the syZipCode database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.Common
Assembly: Cmc.Nexus.Models.dll
Syntax
public class PostalCodeList
Constructors
PostalCodeList()
Declaration
public PostalCodeList()
Properties
AreaCode
Gets or sets the AreaCode associated with this PostalCodeList.
Declaration
public string AreaCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The AreaCode. |
City
Gets or sets the City associated with this PostalCodeList.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The City. |
CityType
Gets or sets the CityType associated with this PostalCodeList.
Declaration
public string CityType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CityType. |
CountryName
Gets or sets the CountryName associated with this PostalCodeList.
Declaration
public string CountryName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CountryName. |
CountyFips
Gets or sets the CountyFips associated with this PostalCodeList.
Declaration
public int? CountyFips { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The CountyFips. |
CountyName
Gets or sets the CountyName associated with this PostalCodeList.
Declaration
public string CountyName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The CountyName. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this PostalCodeList.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
Dst
Gets or sets the Dst associated with this PostalCodeList.
Declaration
public bool Dst { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The Dst. |
Id
Gets or sets the Id associated with this PostalCodeList.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this PostalCodeList.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this PostalCodeList.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
Latitude
Gets or sets the Latitude associated with this PostalCodeList.
Declaration
public double? Latitude { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> | The Latitude. |
Longitude
Gets or sets the Longitude associated with this PostalCodeList.
Declaration
public double? Longitude { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Double> | The Longitude. |
MsaCode
Gets or sets the MsaCode associated with this PostalCodeList.
Declaration
public string MsaCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The MsaCode. |
PostalCode
Gets or sets the PostalCode associated with this PostalCodeList.
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCode. |
PostalCodeType
Gets or sets the PostalCodeType associated with this PostalCodeList.
Declaration
public string PostalCodeType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The PostalCodeType. |
ProvinceName
Gets or sets the ProvinceName associated with this PostalCodeList.
Declaration
public string ProvinceName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The ProvinceName. |
State
Gets or sets the State associated with this PostalCodeList.
Declaration
public string State { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The State. |
StateFips
Gets or sets the StateFips associated with this PostalCodeList.
Declaration
public string StateFips { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The StateFips. |
TimeZone
Gets or sets the TimeZone associated with this PostalCodeList.
Declaration
public string TimeZone { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The TimeZone. |
Utc
Gets or sets the Utc associated with this PostalCodeList.
Declaration
public string Utc { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Utc. |
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. |