I have a class inheritting from another class based on 2 discriminators.
I want to do something like:
Map<FineStatusTypePaidFull>(
m => m.Requires("LookupKey")
.HasValue("FineStatusType") && ("LookupCode")
.HasValue("PIF");
But I have not found anything yet…. any suggestions?
I found the answer in the following link. Appearantly the bug is not fixed yet in EF 5.0
Entity Framework 4.3 – TPH mapping and migration error