LinqCustomerDao Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 LinqCustomerDao Class
Linq-to-Sql implementation of the ICustomerDao interface.
Declaration Syntax
C# Visual Basic
public class LinqCustomerDao : ICustomerDao
Public Class LinqCustomerDao _
	Implements ICustomerDao
Members
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)
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 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()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateCustomer(Customer)
Updates a customer record in the database.

Inheritance Hierarchy
Object
LinqCustomerDao

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