Design Pattern Framework 3.5
IProductDao Interface
Patterns-In-Action! Application ► DataObjects ► IProductDao
Defines methods to access categories and products.
This is a database-independent interface. The implementations will
be database specific.

C# | Visual Basic |
public interface IProductDao
Public Interface IProductDao

All Members | Methods | ||||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
GetCategories()()() |
Gets a list of product categories.
|
![]() |
GetCategoryByProduct(Int32) |
Gets a product category for a given product.
|
![]() |
GetProduct(Int32) |
Gets a specific product.
|
![]() |
GetProductsByCategory(Int32, String) |
Gets a list of products for a given category.
|
![]() |
SearchProducts(String, Double, Double, String) |
Performs a search for products given several criteria.
|