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

Summary

I know it took a long time to get to the point of knowing what the DataContext class can do for you. LINQ to SQL is not trivial because it encapsulates an understanding of LINQ with an understanding of database queries and SQL. Because of this, there is a lot to know about LINQ to SQL, and much of what there is to understand about the DataContext class is intertwined with entity classes; therefore, something has to come first and something has to come last.

While there is a lot of information in this chapter, probably the most important topics to leave this chapter understanding are how the three DataContext services—identity tracking, change tracking, and change processing—work. Of course, none of those services have any value if you ...

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