Entity Framework Core 2.1 – what’s new?
summary
EF Core 2.1 is a preview that demonstrates concrete changes: data seeding in migrations that generates INSERT/UPDATE/DELETE and stores a model snapshot that’s source-control friendly; lazy loading proxies via Microsoft.EntityFrameworkCore.Proxies (Castle dynamic proxies) or manual ILazyLoader injection, with demoed SQL logging; constructor injection and parameterized constructors for required properties; extensible value conversions (enums, timespan, encryption). Group‑by translation remains flaky in preview (wrong SQL and client evaluation still possible), so complex aggregations can fail or produce many queries.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:17Difference between EF 6 and EF Core
- 5:14New Features in EF Core 2.1
- 5:49Data seeding
- 12:51Lazy loading
- 24:02Entities with constructor parameters
- 29:00Value conversions
- 33:29GROUP BY translation
- 41:24Is it ready yet?
related talks
50mEntity Framework Core 2.2 and beyond: what's cooking?
43mEF Core 8 overview and demo
01h 00mGetting the best out of Entity Framework Core
01h 01m10 things you didn't know EF Core can do
44m10 things you didn't know EF Core can do
01h 10mModern Data Applications with Entity Framework 7
43mEF Core 9: Evolving Data Access in .NET
59mMapping DDD Domain Models with EF Core 2.1
