You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow properties to use a different backing field on a derived type #24006
When we query for DerivedEntity, we will lose MyProperty property values. This is because the backing field of the base class is used, rather than the backing field of the derived class. Fluent api also does't work:
changed the title [-]Limitation: Can not individually configure overridden properties of derived entity classes[/-][+]Limitation: Properties are limited to a single backing field[/+]on Feb 1, 2021
@anranruye Thanks for reporting this. I'm putting this on the backlog for now, but this will be non-trivial to implement and so we are only likely to do so we significantly more feedback indicating that this is important. You can instead access the property through its navigation which will produce the correct results.
changed the title [-]Limitation: Properties are limited to a single backing field[/-][+]Allow properties to use a different backing field on a derived type[/+]on Jan 14, 2022
Activity
[-]Limitation: Can not individually configure overridden properties of derived entity classes[/-][+]Limitation: Properties are limited to a single backing field[/+]ajcvickers commentedon Feb 1, 2021
@anranruye Thanks for reporting this. I'm putting this on the backlog for now, but this will be non-trivial to implement and so we are only likely to do so we significantly more feedback indicating that this is important. You can instead access the property through its navigation which will produce the correct results.
anranruye commentedon Feb 2, 2021
@ajcvickers Fine.
I found this just by accident and don't really need this feature.
[-]Limitation: Properties are limited to a single backing field[/-][+]Allow properties to use a different backing field on a derived type[/+]