SqlServerCustomerDao Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 SqlServerCustomerDao Class
Patterns-In-Action! ApplicationDataObjects.AdoNet.SqlServerSqlServerCustomerDao
Sql Server specific data access object that handles data access of customers.
Declaration Syntax
C# Visual Basic
public class SqlServerCustomerDao : ICustomerDao
Public Class SqlServerCustomerDao _
	Implements ICustomerDao
Members
All Members Constructors Methods



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

DeleteCustomer(Customer)
Deletes a customer.

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.

GetCustomerByOrder(Int32)
Gets customer given an order.

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

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

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.

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.

Inheritance Hierarchy
Object
SqlServerCustomerDao

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