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
RecipeSteps entities (in other ...