137 votes11 comments · [Closed] Entity Framework Core Feature Suggestions · Flag idea as inappropriate… · Admin →
This feature is at least partially implemented in EF Core 2.1. There is no custom binding but many additional patterns are now supported by convention, including injecting the property values in the constructor, injecting instances of services also in the constructor and on properties.
Direct mapping to fields was already supported in 1.1.TheDruid commented
I hope this does not require me to have a DTO for each object in the Domain Model, though. I would like to store Domain Model objects directly with no DTO and be able to specify an IoC container to create entities.TheDruid supported this idea ·