O'Reilly logo

Fluent Entity Framework by Rebecca M. Riordan

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

Entity designer classes

And here are the concrete classes that the designer created using the DbContext API, There are two important things to notice here: The classes are simpler (they no longer have the property change or the create instance methods, and they descend directly from Object (as do all .NET classes that don’t specify inheritance).

Image

Image Put On Your Thinking Hat

To compare the two APIs, let’s perform the same tasks. Again, assume that the data has already been loaded from the database.

Iterate through each of the steps of the recipe stored ...

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