A preview of coming attractions
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,
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 ...
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.