Introduction to LINQ to SQL Tips and Tools

Now would be a good time to remind you that before you can run the examples in this chapter, you must have met the prerequisites. First, you must have the extended Northwind database and already generated the entity classes for it. Please review the section in Chapter 12 titled "Prerequisites for Running the Examples" to ensure that you have the appropriate database and generated entity classes.

In this chapter, because I will be demonstrating code that utilizes entity classes generated by both SQLMetal and the Object Relational Designer, I will not specify a using directive for the nwind namespace in the examples. Instead, I will explicitly specify the namespace where it's needed for the nwind classes. ...

Get Pro LINQ: Language Integrated Query in 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.