Customer Customer Class

Definition

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

Constructors

Customer() Customer()

public Customer()
Public Sub New

Properties

CompanyName CompanyName

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

CustomerAddress CustomerAddress

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

CustomerID CustomerID

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

EmailAddress EmailAddress

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

FirstName FirstName

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

LastName LastName

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

MiddleName MiddleName

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

ModifiedDate ModifiedDate

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

NameStyle NameStyle

public bool NameStyle { get; set; }
Public Property NameStyle As Boolean
Value
System.Boolean System.Boolean

Orders Orders

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

PasswordHash PasswordHash

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

PasswordSalt PasswordSalt

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

Phone Phone

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

rowguid rowguid

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

SalesPerson SalesPerson

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

Suffix Suffix

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

Title Title

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

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