Design Pattern Framework 3.5
ICustomerDao Interface
Patterns-In-Action! Application ► DataObjects ► ICustomerDao
Defines methods to access and maintain customer data.
This is a database-independent interface.
The implementations will be database specific.

C# | Visual Basic |
public interface ICustomerDao
Public Interface ICustomerDao

All Members | Methods | ||||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
DeleteCustomer(Customer) |
Deletes a customer
|
![]() |
GetCustomer(Int32) |
Gets a specific customer.
|
![]() |
GetCustomerByOrder(Int32) |
Gets customer given an order.
|
![]() |
GetCustomers()()() |
Gets a list of all customers.
|
![]() |
GetCustomers(String) |
Gets a sorted list of all customers.
|
![]() |
InsertCustomer(Customer) |
Inserts a new customer.
|
![]() |
UpdateCustomer(Customer) |
Updates a customer.
|