Customer Customer Class

Definition

public class Customer
Public Class Customer
Inheritance
System.ObjectSystem.Object
CustomerCustomer

Properties

Address Address

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

City City

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

CompanyName CompanyName

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

ContactName ContactName

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

ContactTitle ContactTitle

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

Country Country

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

CustomerID CustomerID

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

Fax Fax

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

IsLondon IsLondon

[NotMapped]
public bool IsLondon { get; }
<NotMapped>
Public ReadOnly Property IsLondon As Boolean
Value
System.Boolean System.Boolean

Orders Orders

public virtual ICollection<Order> Orders { get; set; }
Public Overridable Property Orders As ICollection(Of Order)
Value
System.Collections.Generic.ICollection<Order> System.Collections.Generic.ICollection(Of Order)

Phone Phone

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

PostalCode PostalCode

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

Region Region

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

Methods

Equals(Customer) Equals(Customer)

protected bool Equals(Customer other)
Protected Function Equals(other As Customer) As Boolean
Parameters
Returns
System.Boolean System.Boolean

Equals(Object) Equals(Object)

public override bool Equals(object obj)
Public Overrides Function Equals(obj As Object) As Boolean
Parameters
obj
System.Object System.Object
Returns
System.Boolean System.Boolean
Overrides
System.Object.Equals(System.Object)System.Object.Equals(System.Object)

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

Inherited from System.Object

GetHashCode() GetHashCode()

public override int GetHashCode()
Public Overrides Function GetHashCode As Integer
Returns
System.Int32 System.Int32
Overrides
System.Object.GetHashCode()System.Object.GetHashCode()

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

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

Inherited from System.Object

ToString() ToString()

public override string ToString()
Public Overrides Function ToString As String
Returns
System.String System.String
Overrides
System.Object.ToString()System.Object.ToString()

Operators

Equality(Customer, Customer) Equality(Customer, Customer)

public static bool operator ==(Customer left, Customer right)
Public Shared Operator =(left As Customer, right As Customer) As Boolean
Parameters
Returns
System.Boolean System.Boolean

Inequality(Customer, Customer) Inequality(Customer, Customer)

public static bool operator !=(Customer left, Customer right)
Public Shared Operator <>(left As Customer, right As Customer) As Boolean
Parameters
Returns
System.Boolean System.Boolean