O'Reilly logo

Pro LINQ: Language Integrated Query in C# 2008 by Joseph C. Rattz Jr.

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

Tools

Just as there are some tips I want to make you aware of before you actually need them, there are some tools that can make your life easier. Again, I may be bringing these up before they make sense to you, but I want you to be aware of them and how they can facilitate and accelerate your adoption of LINQ to SQL.

SQLMetal

While I have yet to discuss the different ways to create the entity classes necessary to use LINQ to SQL with a database, you should know that the easiest way to generate all entity classes for an entire database, if you do not already have business classes, is with the SQLMetal program. You can find this tool in your %windir%\Microsoft.NET\Framework\v3.5 directory. SQLMetal allows you to specify a database, and it will ...

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