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

A preview of coming attractions

Image

In the next chapter we’ll look at how to control the Entity Model Designer in some detail. (And in the chapter after that we’ll see how to forego the Designer completely.) But because you’ll need to change the default code in order to use the DbContext API, here’s a quick walkthrough,

Image

Create a new console project (I called mine DbContextPreview), add the Entity Framework NuGet package, and create a model (I called mine Recipes) that contains the Amount, Recipe, RecipeIngredient and RecipeSteps entities (in other ...

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