DaoFactory Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 DaoFactory Class
Patterns-In-Action! ApplicationDataObjectsDaoFactory
Abstract factory class that creates data access objects.
Declaration Syntax
C# Visual Basic
public abstract class DaoFactory
Public MustInherit Class DaoFactory
Members
All Members Constructors Methods Properties



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

CustomerDao
Gets a customer data access object.

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.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OrderDao
Gets an order data access object.

ProductDao
Gets a product data access object.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
GoF Design Pattern: Factory.
Inheritance Hierarchy

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