Objective 2.3: Query data by using LINQ to Entities
It should be clear by now that LINQ doesn’t have to be used with the EF or vice versa, but each complements the other very well. Instead of using the ADO.NET libraries and traditional data structures to populate and manipulate objects, LINQ makes the job much easier. As you’ll see, it is not an either/or situation; LINQ and EF work well with each other.
Querying data using LINQ operators
Unlike the current version of the EF, LINQ to Entities enables similar behavior, but items derive from the ObjectContext class.
Remember that a LINQ query ...
Get Exam Ref 70-487: Developing Windows Azure and Web Services 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.