Entity Framework 4 - TPH Inheritance in Features CTP5 (code first) with “IS NULL” discriminator

前端 未结 1 1127
情歌与酒
情歌与酒 2021-01-25 14:33

Hey guys, I\'m trying to create a TPH mapping on a hierarchy where the discriminating clause is the classical \"IS NOT NULL\" / \"IS NULL\" case.

Here is the example, da

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-25 15:34

    Unfortunately, having a null value for the discriminator column in TPH mapping is not currently supported in CTP5. This is confirmed by EF team on here and also here. They are looking at it to see if they can make it work for the RTM though.

    0 讨论(0)
提交回复
热议问题