Product Product Class

Syntax

Declaration

public class ProductPublic Class Product

Inheritance Hierarchy

  • System.Object
    System.Object
  • Product
    Product

Inherited Members

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

Constructors summary

Properties summary

Methods summary

Constructors

  • Product()
    Product()
    public Product()Public Sub New

Properties

  • CategoryID
    CategoryID
    public int ? CategoryID { get; set; }Public Property CategoryID As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • Discontinued
    Discontinued
    public bool Discontinued { get; set; }Public Property Discontinued As Boolean

    Property Value

    • System.Boolean
      System.Boolean
  • OrderDetails
    OrderDetails
    public virtual List<OrderDetail> OrderDetails { get; set; }Public Overridable Property OrderDetails As List(Of OrderDetail)

    Property Value

  • ProductID
    ProductID
    public int ProductID { get; set; }Public Property ProductID As Integer

    Property Value

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

    Property Value

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

    Property Value

    • System.String
      System.String
  • ReorderLevel
    ReorderLevel
    public short ? ReorderLevel { get; set; }Public Property ReorderLevel As Short?

    Property Value

    • System.Nullable<T><System.Int16>
      System.Nullable<T>(Of System.Int16)
  • SupplierID
    SupplierID
    public int ? SupplierID { get; set; }Public Property SupplierID As Integer?

    Property Value

    • System.Nullable<T><System.Int32>
      System.Nullable<T>(Of System.Int32)
  • UnitPrice
    UnitPrice
    public decimal ? UnitPrice { get; set; }Public Property UnitPrice As Decimal?

    Property Value

    • System.Nullable<T><System.Decimal>
      System.Nullable<T>(Of System.Decimal)
  • UnitsInStock
    UnitsInStock
    public short UnitsInStock { get; set; }Public Property UnitsInStock As Short

    Property Value

    • System.Int16
      System.Int16
  • UnitsOnOrder
    UnitsOnOrder
    public short ? UnitsOnOrder { get; set; }Public Property UnitsOnOrder As Short?

    Property Value

    • System.Nullable<T><System.Int16>
      System.Nullable<T>(Of System.Int16)

Methods

  • Equals(Product)
    Equals(Product)
    protected bool Equals(Product other)Protected Function Equals(other As Product) 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

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll