Search for existing suggestions

Allow utilizing Dependency Injection for entity materialization

I would like to see EF upgraded to allow a user-selectable Dependency Injection container to manage materialization of entities. This would allow finer grained control over how objects are materialized, as well as support interface based definitions for entities.

10 votes
Sign in
(thinking…)
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

Nobody Real shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Nripendra commented  ·   ·  Flag as inappropriate

    A way to set a ServiceLocator into the DbContext, so that EF can materialize the POCO with parametered constructors.

Feedback and Knowledge Base