Code First - Mapping when the Discriminator IS NULL or NOT NULL

1.1k Views Asked by At

I want to use TPH Inheritance in EF5 Code First. I want to base it on whether a column in the database is null or not.

I found this link indicating it was not possible in EF4. Entity Framework 4 - TPH Inheritance in Features CTP5 (code first) with "IS NULL" discriminator

Has this been fixed in EF5? If so, what is the syntax?

1

There are 1 best solutions below

0
On