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

Partition an entity

Image

Let’s give it a try:

Image

Create the basic model. You already know how to do this, so I won’t repeat the instructions. It should look like this:

Image
Image

Copy the entity. Just select the entire RecipeIngredient entity, press Ctrl+C and then Ctrl+V, or use the menus. The result should look like this:

Rename the duplicate entity and delete ...

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