You are previewing LINQ in Action.

LINQ in Action

Cover of LINQ in Action by Fabrice Marguerie... Published by Manning Publications
O'Reilly logo

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.