Entity Framework 4 TPH inheritance, how to change one type into another?

前端 未结 4 1079
执笔经年
执笔经年 2020-12-11 19:43

I have found some information regarding this but not enough for me to understand what the best practice for is for this scenario. I have your typicaly TPH setup with an abs

4条回答
  •  借酒劲吻你
    2020-12-11 19:47

    Unless you explicitly want to use the polymorphic functionality of the relational inheritance, then why not look at a splitting strategy?

    http://msdn.microsoft.com/en-us/data/ff657841.aspx

提交回复
热议问题