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

Modelling TPH

Here are the three things you need to do to create a TPH model. Only creating the new entity is new to you, and it’s pretty straight=forward. (And we’ll look at it in detail in Chapter 6 when we explore the Model-First Workflow.

Image

Add the new entity. You can use the Entity tool in the toolbox, or right-click on a blank area of the primary design surface and choose Entity from the Add menu. Either way you’ll get a dialog that lets you specify the entity name and its base type.

Image

Move the properties. The technique is the same as the ...

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