OracleCustomerDao Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 OracleCustomerDao Class
Patterns-In-Action! ApplicationDataObjects.AdoNet.OracleOracleCustomerDao
Oracle specific data access object that handles data access of customers. 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 OracleCustomerDao : ICustomerDao
Public Class OracleCustomerDao _
	Implements ICustomerDao
Members
All Members Constructors Methods



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

DeleteCustomer(Customer)
Deletes a customer. Stubbed.

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.)
GetCustomer(Int32)
Gets a customer. Stubbed.

GetCustomerByOrder(Int32)
Gets customer given an order. Stubbed.

GetCustomers()()()
Gets a list of all customers.

GetCustomers(String)
Gets a sorted list of all customers. Stubbed.

GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
InsertCustomer(Customer)
Inserts a new customer. Stubbed.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateCustomer(Customer)
Updates a customer. Stubbed.

Inheritance Hierarchy
Object
OracleCustomerDao

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