Address Address Class

Definition

[Table("Address", Schema = "SalesLT")]
public class Address
<Table("Address", Schema:="SalesLT")>
Public Class Address
Inheritance
System.ObjectSystem.Object
AddressAddress
Attributes
System.ComponentModel.DataAnnotations.Schema.TableAttribute

Constructors

Address() Address()

public Address()
Public Sub New

Properties

AddressID AddressID

public int AddressID { get; set; }
Public Property AddressID As Integer
Value
System.Int32 System.Int32

AddressLine1 AddressLine1

[Required]
[MaxLength(60)]
public string AddressLine1 { get; set; }
<Required>
<MaxLength(60)>
Public Property AddressLine1 As String
Value
System.String System.String

AddressLine2 AddressLine2

[MaxLength(60)]
public string AddressLine2 { get; set; }
<MaxLength(60)>
Public Property AddressLine2 As String
Value
System.String System.String

City City

[Required]
[MaxLength(30)]
public string City { get; set; }
<Required>
<MaxLength(30)>
Public Property City As String
Value
System.String System.String

CountryRegion CountryRegion

public string CountryRegion { get; set; }
Public Property CountryRegion As String
Value
System.String System.String

CustomerAddress CustomerAddress

[InverseProperty("Address")]
public virtual ICollection<CustomerAddress> CustomerAddress { get; set; }
<InverseProperty("Address")>
Public Overridable Property CustomerAddress As ICollection(Of CustomerAddress)
Value
System.Collections.Generic.ICollection<CustomerAddress> System.Collections.Generic.ICollection(Of CustomerAddress)

ModifiedDate ModifiedDate

public DateTime ModifiedDate { get; set; }
Public Property ModifiedDate As Date
Value
System.DateTime System.DateTime

PostalCode PostalCode

[Required]
[MaxLength(15)]
public string PostalCode { get; set; }
<Required>
<MaxLength(15)>
Public Property PostalCode As String
Value
System.String System.String

StateProvince StateProvince

public string StateProvince { get; set; }
Public Property StateProvince As String
Value
System.String System.String

rowguid rowguid

public Guid rowguid { get; set; }
Public Property rowguid As Guid
Value
System.Guid System.Guid

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object