C# Class NFCShoppingWebSite.DAL.ProductRepository

Inheritance: IProductRepository
Mostra file Open project: Leeforall/NFCShopping

Public Methods

Method Description
DeleteProduct ( NFCShoppingWebSite.Access_Data.Product product, bool isImmediateSave ) : void
Dispose ( ) : void
GetProducts ( ) : IEnumerable
InsertProduct ( NFCShoppingWebSite.Access_Data.Product product, bool isImmediateSave ) : void
UpdateProduct ( NFCShoppingWebSite.Access_Data.Product newProduct, NFCShoppingWebSite.Access_Data.Product origProduct, bool isImmediateSave ) : void

Protected Methods

Method Description
Dispose ( bool isDisposing ) : void

Method Details

DeleteProduct() public method

public DeleteProduct ( NFCShoppingWebSite.Access_Data.Product product, bool isImmediateSave ) : void
product NFCShoppingWebSite.Access_Data.Product
isImmediateSave bool
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool isDisposing ) : void
isDisposing bool
return void

GetProducts() public method

public GetProducts ( ) : IEnumerable
return IEnumerable

InsertProduct() public method

public InsertProduct ( NFCShoppingWebSite.Access_Data.Product product, bool isImmediateSave ) : void
product NFCShoppingWebSite.Access_Data.Product
isImmediateSave bool
return void

UpdateProduct() public method

public UpdateProduct ( NFCShoppingWebSite.Access_Data.Product newProduct, NFCShoppingWebSite.Access_Data.Product origProduct, bool isImmediateSave ) : void
newProduct NFCShoppingWebSite.Access_Data.Product
origProduct NFCShoppingWebSite.Access_Data.Product
isImmediateSave bool
return void