SqlServerProductDao Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 SqlServerProductDao Class
Patterns-In-Action! ApplicationDataObjects.AdoNet.SqlServerSqlServerProductDao
Sql Server specific data access object that handles data access of categories and products.
Declaration Syntax
C# Visual Basic
public class SqlServerProductDao : IProductDao
Public Class SqlServerProductDao _
	Implements IProductDao
Members
All Members Constructors Methods



Icon Member Description
SqlServerProductDao()()()
Initializes a new instance of the SqlServerProductDao class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCategories()()()
Gets a list of categories.

GetCategoryByProduct(Int32)
Gets a category for a given product.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetProduct(Int32)
Gets a product.

GetProductsByCategory(Int32, String)
Gets a list of products for a given category.

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
SearchProducts(String, Double, Double, String)
Performs a search for products given several criteria.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
SqlServerProductDao

Assembly: DataObjects (Module: DataObjects) Version: 1.0.0.0 (1.0.0.0)