Search Wiki:
Article Description
Building a data access layer decouples the application from whatever persistence technology you may be using. LINQ to SQL and the ADO.NET Entity Framework allow you to achieve this decoupling.

The Flexible Data Access sample application demonstrates how to build a Data Access Layer (DAL) that exposes Data Transfer Objects (DTOs) so that clients can query and update the Northwind sample database without knowing how objects will be persisted. This includes a generic change-tracking collection for WPF and Windows Forms apps to submit collections of objects for batch udating with just one trip to the service.

Last edited Nov 5 2008 at 7:40 PM  by DebraKelly, version 3
tonysneed wrote  Dec 8 2008 at 12:52 AM  
NOTE: For the sample to work correctly, you must add a timestamp column called 'Updated' to both [Orders] and [Orders Details] tables in the Northwind sample database.

Page view tracker