Design Pattern Framework 3.5
LinqCustomerDao Class
Patterns-In-Action! Application ► DataObjects.Linq.LinqImplementation ► LinqCustomerDao
Linq-to-Sql implementation of the ICustomerDao interface.

C# | Visual Basic |
public class LinqCustomerDao : ICustomerDao
Public Class LinqCustomerDao _ Implements ICustomerDao

All Members | Constructors | Methods | |||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
LinqCustomerDao()()() |
Initializes a new instance of the LinqCustomerDao class
|
![]() |
DeleteCustomer(Customer) |
Deletes a customer record from the database.
|
![]() |
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.) |
![]() |
GetCustomer(Int32) |
Gets a customer given a customer identifier.
|
![]() |
GetCustomerByOrder(Int32) |
Gets customer given an order.
|
![]() |
GetCustomers()()() |
Gets list of customers in default sort order.
|
![]() |
GetCustomers(String) |
Gets list of customers in given sortorder.
|
![]() |
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 record to the database.
|
![]() |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
ToString()()() | (Inherited from Object.) |
![]() |
UpdateCustomer(Customer) |
Updates a customer record in the database.
|

Object | |
![]() |
LinqCustomerDao |