Customer Customer Class

Syntax

Declaration

public class CustomerPublic Class Customer

Inheritance Hierarchy

  • System.Object
    System.Object
  • Customer
    Customer

Inherited Members

Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

Methods summary

Operators summary

Properties

  • Address
    Address
    public string Address { get; set; }Public Property Address As String

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

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

    Property Value

    • System.Collections.Generic.ICollection<T><Order>
      System.Collections.Generic.ICollection<T>(Of Order)
  • Phone
    Phone
    public string Phone { get; set; }Public Property Phone As String

    Property Value

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

    Property Value

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

    Property 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
  • GetHashCode()
    GetHashCode()
    public override int GetHashCode()Public Overrides Function GetHashCode As Integer

    Returns

    • System.Int32
      System.Int32
  • ToString()
    ToString()
    public override string ToString()Public Overrides Function ToString As String

    Returns

    • System.String
      System.String

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

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll