C# Class MvcMusicStore.Models.OrderDetail

Inheritance: System.Data.Objects.DataClasses.EntityObject
Exibir arquivo Open project: hoserdude/mvcmusicstore-instrumented Class Usage Examples

Private Properties

Property Type Description
OnAlbumIdChanged void
OnAlbumIdChanging void
OnOrderDetailIdChanged void
OnOrderDetailIdChanging void
OnOrderIdChanged void
OnOrderIdChanging void
OnQuantityChanged void
OnQuantityChanging void
OnUnitPriceChanged void
OnUnitPriceChanging void

Public Methods

Method Description
CreateOrderDetail ( global orderDetailId, global orderId, global albumId, global quantity, global unitPrice ) : OrderDetail

Create a new OrderDetail object.

Private Methods

Method Description
OnAlbumIdChanged ( ) : void
OnAlbumIdChanging ( global value ) : void
OnOrderDetailIdChanged ( ) : void
OnOrderDetailIdChanging ( global value ) : void
OnOrderIdChanged ( ) : void
OnOrderIdChanging ( global value ) : void
OnQuantityChanged ( ) : void
OnQuantityChanging ( global value ) : void
OnUnitPriceChanged ( ) : void
OnUnitPriceChanging ( global value ) : void

Method Details

CreateOrderDetail() public static method

Create a new OrderDetail object.
public static CreateOrderDetail ( global orderDetailId, global orderId, global albumId, global quantity, global unitPrice ) : OrderDetail
orderDetailId global Initial value of the OrderDetailId property.
orderId global Initial value of the OrderId property.
albumId global Initial value of the AlbumId property.
quantity global Initial value of the Quantity property.
unitPrice global Initial value of the UnitPrice property.
return OrderDetail