C# Class Storage.ORM.Product

Inheritance: System.Data.Objects.DataClasses.EntityObject
Exibir arquivo Open project: aokolity/Storage Class Usage Examples

Private Properties

Property Type Description
OnCategoryIDChanged void
OnCategoryIDChanging void
OnCodeChanged void
OnCodeChanging void
OnIDChanged void
OnIDChanging void
OnNameChanged void
OnNameChanging void
OnRetailPriceChanged void
OnRetailPriceChanging void
OnShallowWholesalePriceChanged void
OnShallowWholesalePriceChanging void
OnUnitChanged void
OnUnitChanging void
OnUserIDChanged void
OnUserIDChanging void
OnWholesalePriceChanged void
OnWholesalePriceChanging void

Public Methods

Method Description
CreateProduct ( global id, global name, global unit, global wholesalePrice, global shallowWholesalePrice, global retailPrice, global code, global userID ) : Product

Create a new Product object.

Private Methods

Method Description
OnCategoryIDChanged ( ) : void
OnCategoryIDChanging ( Nullable value ) : void
OnCodeChanged ( ) : void
OnCodeChanging ( global value ) : void
OnIDChanged ( ) : void
OnIDChanging ( global value ) : void
OnNameChanged ( ) : void
OnNameChanging ( global value ) : void
OnRetailPriceChanged ( ) : void
OnRetailPriceChanging ( global value ) : void
OnShallowWholesalePriceChanged ( ) : void
OnShallowWholesalePriceChanging ( global value ) : void
OnUnitChanged ( ) : void
OnUnitChanging ( global value ) : void
OnUserIDChanged ( ) : void
OnUserIDChanging ( global value ) : void
OnWholesalePriceChanged ( ) : void
OnWholesalePriceChanging ( global value ) : void

Method Details

CreateProduct() public static method

Create a new Product object.
public static CreateProduct ( global id, global name, global unit, global wholesalePrice, global shallowWholesalePrice, global retailPrice, global code, global userID ) : Product
id global Initial value of the ID property.
name global Initial value of the Name property.
unit global Initial value of the Unit property.
wholesalePrice global Initial value of the WholesalePrice property.
shallowWholesalePrice global Initial value of the ShallowWholesalePrice property.
retailPrice global Initial value of the RetailPrice property.
code global Initial value of the Code property.
userID global Initial value of the UserID property.
return Product