Morten Mertner

My feedback

  1. 137 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    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.

    Morten Mertner supported this idea  · 
    Morten Mertner commented  · 

    I'm voting for this, but think Petr's description is worth reading also.

    Alternatively, provide hooks that allow us to inject our own object materializer into EF to bypass the sad default constructor requirement.

  2. 36 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Morten Mertner shared this idea  · 
  3. 34 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Morten Mertner supported this idea  · 

Feedback and Knowledge Base