locked
How do I do Table-per-Hierarchy when using MODEL-FIRST? RRS feed

  • Question

  • WHAT I HAVE:

    Visual Basic 2010, .NET 4.0, Entity Framework 4.0

    MY PROBLEM:

    I've created an EF model, using Model-First and Table-per-Type. What do I have to do in order to convert an existing hierarchy to Table-per-Hierarchy--or, for that matter to create a new entity hierarchy using TPH? If I select a "TPH" option from "Generate Database From Model", the DDL looks exactly the same as it does with TPT. What else should I be doing?


    Robert Gustafson

    Monday, April 25, 2016 3:02 AM

Answers