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

Using model first

Image

Let’s give ia a try:

Image

Create the project (I called mine ModelFirst) and add the Entity Framework NuGet package. This is old hat by now, right?

Image

Add an empty model. (I called mine ModelFirstRecipes.) Add a model the same way you always do, but this time choose Empty Model on the first page of the wizard.

Image

Add the entities and ...

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