LinqProductDao Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 LinqProductDao Class
Linq-to-Sql implementation of the IProductDao interface.
Declaration Syntax
C# Visual Basic
public class LinqProductDao : IProductDao
Public Class LinqProductDao _
	Implements IProductDao
Members
All Members Constructors Methods



Icon Member Description
LinqProductDao()()()
Initializes a new instance of the LinqProductDao 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 list of product categories

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

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

GetProductsByCategory(Int32, String)
Gets list of product categories 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)
Searches for products given a set of criteria

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

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