Tuesday, June 18, 2019

Getsetters (well, auto-properties) at an interface will allow you to map records to the interface in an Entity Framework Database-first implementation like the interface was a POCO.

The getsetters (well, auto-properties) at the interface just look like the getsetters at a POCO without the leading accessibility modifier obviously as you can't have those in a C# interface. For an Entity Framework example see this.

No comments:

Post a Comment