Hi,
please see my attached example for a quick reproduction of the issue.
I was trying to show my entity in a SfDataForm, which gave me the error:
An item with the same key has already been added
Exception was really hard to debug, because the stacktrace only contained a dynamic call. After about a hour I found out it was caused by my inheritance.
For now I solved the problem by changing the property to a method, but I think this should be possible with a property as well.
Kind regards,
Daniel
Attachment:
SfDataFormTest_acf78f9b.zip