Microsoft.EntityFrameworkCore 5.0.8

Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API.

Commonly Used Types:
Microsoft.EntityFrameworkCore.DbContext
Microsoft.EntityFrameworkCore.DbSet

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 3.6 or higher.

Install-Package Microsoft.EntityFrameworkCore -Version 5.0.8
dotnet add package Microsoft.EntityFrameworkCore --version 5.0.8
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.EntityFrameworkCore --version 5.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.EntityFrameworkCore, 5.0.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.EntityFrameworkCore as a Cake Addin
#addin nuget:?package=Microsoft.EntityFrameworkCore&version=5.0.8

// Install Microsoft.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=5.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (4.1K)

Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore:

Package Downloads
Microsoft.EntityFrameworkCore.Relational
Shared Entity Framework Core components for relational database providers.
Microsoft.EntityFrameworkCore.InMemory
In-memory database provider for Entity Framework Core (to be used for testing purposes).
Npgsql.EntityFrameworkCore.PostgreSQL
PostgreSQL/Npgsql provider for Entity Framework Core.
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

GitHub repositories (306)

Showing the top 5 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore:

Repository Stars
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
abpframework/abp
Open Source Web Application Framework for ASP.NET Core
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for Angular 12 and .NET 5
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 2.1, 2.2, 3.1, 5.0 and 6.0 Preview 6 projects you can use. Readme contains explanations on all projects.

Version History

Version Downloads Last updated
6.0.0-preview.6.21352.1 8,401 7/14/2021
6.0.0-preview.5.21301.9 27,922 6/15/2021
6.0.0-preview.4.21253.1 28,143 5/24/2021
6.0.0-preview.3.21201.2 35,264 4/8/2021
6.0.0-preview.2.21154.2 22,406 3/11/2021
6.0.0-preview.1.21102.2 42,220 2/12/2021
5.0.8 347,918 7/13/2021
5.0.7 1,535,808 6/8/2021
5.0.6 1,797,776 5/11/2021
5.0.5 2,778,032 4/6/2021
5.0.4 2,329,626 3/9/2021
5.0.3 2,977,195 2/9/2021
5.0.2 3,676,860 1/12/2021
5.0.1 3,576,504 12/8/2020
5.0.0 4,487,777 11/9/2020
5.0.0-rc.2.20475.6 197,501 10/13/2020
5.0.0-rc.1.20451.13 222,108 9/14/2020
5.0.0-preview.8.20407.4 100,520 8/25/2020
5.0.0-preview.7.20365.15 65,759 7/21/2020
5.0.0-preview.6.20312.4 47,132 6/25/2020
5.0.0-preview.5.20278.2 29,485 6/10/2020
5.0.0-preview.4.20220.10 50,444 5/18/2020
5.0.0-preview.3.20181.2 60,601 4/23/2020
5.0.0-preview.2.20159.4 43,213 4/2/2020
5.0.0-preview.2.20120.8 35,522 3/16/2020
3.1.17 52,318 7/13/2021
3.1.16 247,146 6/8/2021
3.1.15 377,939 5/11/2021
3.1.14 591,103 4/6/2021
3.1.13 937,904 3/9/2021
3.1.12 952,686 2/9/2021
3.1.11 1,530,059 1/12/2021
3.1.10 2,979,844 11/9/2020
3.1.9 4,912,345 10/13/2020
3.1.8 7,110,416 9/8/2020
3.1.7 4,363,540 8/11/2020
3.1.6 4,724,867 7/14/2020
3.1.5 6,251,982 6/9/2020
3.1.4 8,481,265 5/12/2020
3.1.3 11,917,276 3/24/2020
3.1.2 6,321,153 2/19/2020
3.1.1 8,332,629 1/14/2020
3.1.0 11,517,196 12/3/2019
3.1.0-preview3.19554.8 70,882 11/13/2019
3.1.0-preview2.19525.5 27,845 11/1/2019
3.1.0-preview1.19506.2 367,109 10/15/2019
3.0.3 85,996 2/19/2020
3.0.2 47,081 1/14/2020
3.0.1 919,090 11/18/2019
3.0.0 8,784,273 9/23/2019
3.0.0-rc1.19456.14 36,204 9/16/2019
3.0.0-preview9.19423.6 759,150 9/4/2019
3.0.0-preview8.19405.11 122,398 8/13/2019
3.0.0-preview7.19362.6 68,567 7/23/2019
3.0.0-preview6.19304.10 118,741 6/12/2019
3.0.0-preview5.19227.1 163,518 5/6/2019
3.0.0-preview4.19216.3 19,826 4/18/2019
3.0.0-preview3.19153.1 144,841 3/6/2019
3.0.0-preview.19074.3 24,329 1/29/2019
3.0.0-preview.18572.1 35,529 12/3/2018
2.2.6 16,989,011 7/9/2019
2.2.4 12,617,414 4/9/2019
2.2.3 3,755,517 3/11/2019
2.2.2 4,141,930 2/12/2019
2.2.1 4,817,092 1/8/2019
2.2.0 8,533,926 12/3/2018
2.2.0-preview3-35497 156,434 10/17/2018
2.2.0-preview2-35157 101,255 9/12/2018
2.2.0-preview1-35029 51,004 8/22/2018
2.1.14 1,804,721 11/18/2019
2.1.11 2,864,941 5/14/2019
2.1.8 2,533,513 2/12/2019
2.1.4 9,912,219 10/1/2018
2.1.3 3,530,982 9/11/2018
2.1.2 6,081,440 8/21/2018
2.1.1 6,367,454 6/18/2018
2.1.0 7,575,200 5/29/2018
2.1.0-rc1-final 139,407 5/6/2018
2.1.0-preview2-final 111,205 4/10/2018
2.1.0-preview1-final 216,795 2/26/2018
2.0.3 3,546,843 5/7/2018
2.0.2 4,366,885 3/13/2018
2.0.1 8,263,272 11/14/2017
2.0.0 11,750,440 8/11/2017
2.0.0-preview2-final 57,737 6/28/2017
2.0.0-preview1-final 860,015 5/10/2017
1.1.6 2,025,038 7/10/2018
1.1.5 679,302 12/12/2017
1.1.4 135,800 11/14/2017
1.1.3 235,395 9/20/2017
1.1.2 2,375,007 5/9/2017
1.1.1 1,641,283 3/6/2017
1.1.0 2,907,057 11/16/2016
1.1.0-preview1-final 25,247 10/24/2016
1.0.6 16,861 11/14/2017
1.0.5 9,539 9/20/2017
1.0.4 23,874 5/9/2017
1.0.3 373,837 3/6/2017
1.0.2 55,437 12/12/2016
1.0.1 424,131 9/13/2016
1.0.0 708,443 6/27/2016
1.0.0-rc2-final 97,797 5/16/2016
Show less