Mapping to Getter-only Properties with EF Core

added by DotNetKicks
11/7/2016 2:07:59 PM

5 Kicks, 217 Views

One of the new features of Entity Framework Core 1.1 is that it allows mapping to fields. This is extremely useful when properties only have a get accessor. Previously, with properties get and set accessors were required. This article shows how you can implement mapping to fields using EF Core 1.1.