C# Class Northwind.EntityFramework.ModelFirst.OrderDetails

Inheritance: System.Data.Objects.DataClasses.EntityObject
Show file Open project: object/NorthwindOData Class Usage Examples

Private Properties

Property Type Description
OnDiscountChanged void
OnDiscountChanging void
OnOrderIDChanged void
OnOrderIDChanging void
OnProductIDChanged void
OnProductIDChanging void
OnQuantityChanged void
OnQuantityChanging void
OnUnitPriceChanged void
OnUnitPriceChanging void

Public Methods

Method Description
CreateOrderDetails ( global orderID, global productID, global unitPrice, global quantity, global discount ) : OrderDetails

Create a new OrderDetails object.

Private Methods

Method Description
OnDiscountChanged ( ) : void
OnDiscountChanging ( global value ) : void
OnOrderIDChanged ( ) : void
OnOrderIDChanging ( global value ) : void
OnProductIDChanged ( ) : void
OnProductIDChanging ( global value ) : void
OnQuantityChanged ( ) : void
OnQuantityChanging ( global value ) : void
OnUnitPriceChanged ( ) : void
OnUnitPriceChanging ( global value ) : void

Method Details

CreateOrderDetails() public static method

Create a new OrderDetails object.
public static CreateOrderDetails ( global orderID, global productID, global unitPrice, global quantity, global discount ) : OrderDetails
orderID global Initial value of the OrderID property.
productID global Initial value of the ProductID property.
unitPrice global Initial value of the UnitPrice property.
quantity global Initial value of the Quantity property.
discount global Initial value of the Discount property.
return OrderDetails