Last post Feb 04, 2010 03:53 PM by danludwig
Jan 30, 2010 11:00 AM|manfred.steyer|LINK
I've tried to create a "Parent-Table" referencing a Base-Type with some subtypes (TPH). The Base-Type is abstract. In Dynamic Data, I can now edit the Subtypes, but when I try to navigate from a Parent-Entity to the Child-Entities which can be of any specified
Subtype, I get an error:
The EntityTypeFilter type 'Zahlung' is not assignable from the base type specified by the EntitySet 'Zahlung'. The EntityTypeFilter must be a concrete type that derives from the EntitySet type 'Zahlung'
Is that a current BETA2-Issue or did I something wrong?
Here are some infos about my model:
- a "Versicherung" can have many "Zahlung"
- a "Zahlung" has one "Versicherung"
- there are serveral concrete subtypes of "Zahlung"
Dataynamic Data Inheritance Parent-Child Master-Detail
Feb 04, 2010 03:53 PM|danludwig|LINK
Interesting. I have to say that I haven't tried it out so my comment could be pointless, but it looks like the one-to-many navigation is somehow dependent on the EntityTypeFilter. I wonder if you can put overrides in the partial class, versicherungInstance.GetTypedZahlungSet(string