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.

This article is available at:
Last edited Nov 18 2008 at 6:39 PM  by DebraKelly, version 4
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