Class Address
This represents an individual address.
Inheritance
System.Object
Address
Namespace: DirectScale.Disco.Extension
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public class Address : Object
Constructors
Address()
Declaration
public Address()
Properties
AddressLine1
Street address.
Declaration
public string AddressLine1 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AddressLine2
Apartment #.
Declaration
public string AddressLine2 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AddressLine3
Other.
Declaration
public string AddressLine3 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
City
City full name.
Declaration
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CountryCode
2 digit abbreviation for country name.
Declaration
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
See ISO 3166-1 alpha-2 for more details.
See Also
Id
This is the Id of the address in the DB.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PostalCode
Referred to as Zip Code in the US.
Declaration
public string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
State
2 digit abbreviation for state or province name.
Declaration
public string State { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
See ISO 3166-2 for more details.