O'Reilly logo

Pro C# 2010 and the .NET 4 Platform, Fifth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

22.11. Isolating Strongly Typed Database Code into a Class Library

Fortunately, you can activate the data design tools of Visual Studio 2010 from any sort of project (UI-based or otherwise) without the need to copy-and-paste massive amounts of code between projects. You can see this in action by adding more functionality to AutoLot.dll.

This time, try copying the entire AutoLot (Version two) project folder you created earlier in this chapter to a new location on your hard drive and rename this folder to AutoLot (Version Three). Next, activate the Visual Studio 2010 File Open Project/Solution... menu option, and open the AutoLotDAL.sln file in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required