2.5. LINQ to SQL in Visual Studio 2008

Visual Studio 2008 provides functionality to support LINQ application development. The compiler is upgraded to support LINQ query syntax, and IntelliSense supports almost every LINQ component. Further, a really great tool has been added to Visual Studio: the Linq to SQL Classes Designer. It is similar to SQLMetal in that it produces the code to manage entity classes related to database tables, but it has these advantages:

  • It produces entity classes just for specified tables, not for the full database.

  • It produces entity class associations using a visual tool.

  • It customizes the entity class behavior, letting us choose the stored procedures to run when insert/update/delete commands occur.

  • It supports entity ...

Get LINQ for Visual C# 2008 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.