OrderDetail OrderDetail Class

Syntax

Declaration

public class OrderDetailPublic Class OrderDetail

Inheritance Hierarchy

  • System.Object
    System.Object
  • OrderDetail
    OrderDetail

Inherited Members

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

Properties summary

Methods summary

Properties

  • Discount
    Discount
    public float Discount { get; set; }Public Property Discount As Single

    Property Value

    • System.Single
      System.Single
  • Order
    Order
    public virtual Order Order { get; set; }Public Overridable Property Order As Order

    Property Value

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

    Property Value

    • System.Int32
      System.Int32
  • Product
    Product
    public virtual Product Product { get; set; }Public Overridable Property Product As Product

    Property Value

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

    Property Value

    • System.Int32
      System.Int32
  • Quantity
    Quantity
    public short Quantity { get; set; }Public Property Quantity As Short

    Property Value

    • System.Int16
      System.Int16
  • UnitPrice
    UnitPrice
    public decimal UnitPrice { get; set; }Public Property UnitPrice As Decimal

    Property Value

    • System.Decimal
      System.Decimal

Methods

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

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll