Installing Entity Framework CoreÂ
EF Core is a powerful, open source, cross-platform, extensible O/RM framework, based on the mature non-cross-platform version called EF. EF Core will make it easy for you to work with databases from any .NET applications, and will be the engine responsible for the way we persist and query data in this book.
To use EF Core, install the EF Core NuGet package through the Package Manager Console with this command:Â
Install-Package Microsoft.EntityFrameworkCore
Note
When using ASP.NET Core from a .NET Core project, a special meta-package with the name Microsoft.AspNetCore.App
 is installed to your project by default. This package references all the ASP.NET NuGet packages (including EF Core) and will only deploy them with your application if they are used.