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

Get Fluent Entity Framework 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.