22.8. Adding Disconnection Functionality to AutoLotDAL.dll

To illustrate the process of using a data adapter to push changes in a DataTable back to the database for processing, you will now update the AutoLotDAL.dll assembly created back in Chapter 21 to include a new namespace (named AutoLotDisconnectedLayer). This namespace contains a new class, InventoryDALDisLayer, that uses a data adapter to interact with a DataTable.

A good way to begin is by copying the entire AutoLot project folder you created in Chapter 21 to a new location on your hard drive and rename this folder to AutoLot (Version Two). Now use Visual Studio 2010 to activate the File Open Project/Solution... menu option, and then open the AutoLotDAL.sln file in your AutoLot (Version ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.