OrderDetail OrderDetail Class

Definition

public class OrderDetail
Public Class OrderDetail
Inheritance
System.ObjectSystem.Object
OrderDetailOrderDetail

Properties

Discount Discount

public float Discount { get; set; }
Public Property Discount As Single
Value
System.Single System.Single

Order Order

public virtual Order Order { get; set; }
Public Overridable Property Order As Order
Value
Order Order

OrderID OrderID

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

Product Product

public virtual Product Product { get; set; }
Public Overridable Property Product As Product

ProductID ProductID

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

Quantity Quantity

public short Quantity { get; set; }
Public Property Quantity As Short
Value
System.Int16 System.Int16

UnitPrice UnitPrice

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

Methods

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

Equals(OrderDetail) Equals(OrderDetail)

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

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()

Inherited from System.Object