Setting up Entity Framework Core

The Entity Framework (EF) was first released as part of .NET Framework 3.5 with Service Pack 1 back in late 2008. Since then, it has evolved, as Microsoft has observed how programmers use an object-relational mapping (ORM) tool in the real world.

The version included with .NET Framework 4.6 is Entity Framework 6.1.3 (EF6). It is mature, stable, and supports the old EDMX design-time way of defining the model as well as complex inheritance models, and a few other advanced features. However, EF6 is only supported by the .NET Framework, not by the .NET Core.

The cross-platform version, Entity Framework Core (EF Core), is different. Microsoft has named it that way to emphasize that it is a reset of functionality. Although ...

Get C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.