O'Reilly logo

Entity Framework Tutorial - Second Edition by Joydip Kanjilal

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

Chapter 7. Working with the Object Services Layer

We explored multiple features of Entity Framework in the last few chapters. We had a look at the Object Service Layer and the consolidated programming model it presents in the form of strongly-typed objects. With this, you can represent entities as object instances of data classes mapping to the entity types in the model. The Object Service Layer can keep track of changes made to the objects in-memory and update the database accordingly. The results of the execution of a query in the EDM are available as objects—this enables you to have the option to choose either from EntityClient or Object Services in your application.

In this chapter, we will explore Object Services and how they can be used to ...

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