Chapter 7. Peeking under the covers of LINQ to SQL

This chapter covers:

  • Mapping from the database to objects
  • Exploring how LINQ to SQL works under the covers
  • Translating query expressions into SQL with IQueryable and expression trees
  • Tracking objects through their life cycle
  • Working with disconnected data

In chapter 6, we presented a high-level view of some of the capabilities of LINQ to SQL. By now, you should have enough tools under your belt to start working with LINQ to SQL.

In this chapter, we dive a bit deeper and explore how the technology works under the covers. We’ll start by looking at the mapping options at our disposal. We explain not only the mapping options, but also how to employ some of the tools that come with Visual ...

Get LINQ in Action 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.