C# Class AdventureWorks.WebServices.Repositories.ProductRepository

Inheritance: IProductRepository
ファイルを表示 Open project: PrismLibrary/Prism-Samples-Windows

Public Methods

Method Description
GetProduct ( string productNumber ) : AdventureWorks.WebServices.Models.Product
GetProducts ( ) : IEnumerable
GetProductsForCategory ( int subcategoryId ) : IEnumerable
GetTodaysDealsProducts ( ) : IEnumerable

Private Methods

Method Description
GetTodaysDeals ( ) : IEnumerable
PopulateProducts ( ) : ICollection

Method Details

GetProduct() public method

public GetProduct ( string productNumber ) : AdventureWorks.WebServices.Models.Product
productNumber string
return AdventureWorks.WebServices.Models.Product

GetProducts() public method

public GetProducts ( ) : IEnumerable
return IEnumerable

GetProductsForCategory() public method

public GetProductsForCategory ( int subcategoryId ) : IEnumerable
subcategoryId int
return IEnumerable

GetTodaysDealsProducts() public method

public GetTodaysDealsProducts ( ) : IEnumerable
return IEnumerable