Design Pattern Framework 3.5
LinqProductDao Class
Patterns-In-Action! Application ► DataObjects.Linq.LinqImplementation ► LinqProductDao
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) | (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()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
LinqProductDao |