O'Reilly logo

Exam Ref 70-487: Developing Windows Azure and Web Services by Wouter de Kort William Ryan and Shane Milton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required