C# Class EnterpriseProject.Models.OrderItem

Inheritance: System.Data.Objects.DataClasses.EntityObject
显示文件 Open project: feedme/FeedMe Class Usage Examples

Private Properties

Property Type Description
OnItemIdChanged void
OnItemIdChanging void
OnOrderIdChanged void
OnOrderIdChanging void
OnOrderItemIdChanged void
OnOrderItemIdChanging void
OnQuantityChanged void
OnQuantityChanging void

Public Methods

Method Description
CreateOrderItem ( global orderId, global itemId, global quantity, global orderItemId ) : OrderItem

Create a new OrderItem object.

Private Methods

Method Description
OnItemIdChanged ( ) : void
OnItemIdChanging ( global value ) : void
OnOrderIdChanged ( ) : void
OnOrderIdChanging ( global value ) : void
OnOrderItemIdChanged ( ) : void
OnOrderItemIdChanging ( global value ) : void
OnQuantityChanged ( ) : void
OnQuantityChanging ( global value ) : void

Method Details

CreateOrderItem() public static method

Create a new OrderItem object.
public static CreateOrderItem ( global orderId, global itemId, global quantity, global orderItemId ) : OrderItem
orderId global Initial value of the OrderId property.
itemId global Initial value of the ItemId property.
quantity global Initial value of the Quantity property.
orderItemId global Initial value of the OrderItemId property.
return OrderItem