Querying an Entity Data Model
In the previous chapter, we showed you many ways to model some fairly common database scenarios. The recipes in this chapter will show you how to query your model. Generally speaking, you can query your model three different ways, using:
We’ll demonstrate all three approaches in this chapter and, at the same time, cover a wide range of common, and not so common, scenarios that will help you understand the basics of querying models with Entity Framework. We’ll also explore some of the new capabilities for querying data available with Entity Framework 6.
3-1. Querying ...