Design Pattern Framework 3.5
OracleProductDao Class
Patterns-In-Action! Application ► DataObjects.AdoNet.Oracle ► OracleProductDao
Oracle specific data access object that handles data access
of categories and products. The details are stubbed out (in a crude way) but should be
relatively easy to implement as they are similar to MS Access and
Sql Server Data access objects.
Enterprise Design Pattern: Service Stub.
Declaration Syntax
C# | Visual Basic |
public class OracleProductDao : IProductDao
Public Class OracleProductDao _ Implements IProductDao
Members
All Members | Constructors | Methods | |||
|
|
|
Icon | Member | Description |
---|---|---|
OracleProductDao()()() |
Initializes a new instance of the OracleProductDao 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 a list of categories. Stubbed.
|
|
GetCategoryByProduct(Int32) |
Gets a category for a given product. Stubbed.
|
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetProduct(Int32) |
Gets a product. Stubbed.
|
|
GetProductsByCategory(Int32, String) |
Gets a list of products for a given category. Stubbed.
|
|
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. Stubbed.
|
|
ToString()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
OracleProductDao |