Chapter 3. Querying the object model: the basics

 

This chapter covers
  • Entity Framework querying techniques
  • Capturing the generated SQL
  • Insights into the Entity Framework query engine
  • Common query pitfalls

 

In the first part of this book, you gained a strong understanding of where Entity Framework stands and how it can be integrated into your application. Now it’s time to start digging deep into the technology to understand the most important thing: how you use it.

In this chapter, you’ll learn about the most basic feature in Entity Framework: querying. In particular, you’ll learn how the Object Services layer enables you to query the database and which other components collaborate with it. What’s more, you’ll learn how to inspect the SQL ...

Get Entity Framework 4 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.