EF Core Power Tools: Missing setter for collections

128 views Asked by At

Is there a way to have the EF Core Power Tools create setters for collections, like so:

class Parent
{
    // ...
    public virtual ICollection<Child> Children { get; } // Setter is missing
}

The setter would be extremely useful with AutoMapper. Otherwise we have to explicitly specify the mapping like this.

0

There are 0 answers