Microsoft.EntityFrameworkCore 8.0.0

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

Requires NuGet 3.6 or higher.

dotnet add package Microsoft.EntityFrameworkCore --version 8.0.0                
NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 8.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.EntityFrameworkCore --version 8.0.0                
#r "nuget: Microsoft.EntityFrameworkCore, 8.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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=8.0.0

// Install Microsoft.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=8.0.0                

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

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8.4K)

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.EntityFrameworkCore.Proxies

Lazy loading proxies for Entity Framework Core.

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 (603)

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

Repository Stars
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
Version Downloads Last updated
9.0.1 71,130 1/14/2025
9.0.0 3,886,850 11/12/2024
9.0.0-rc.2.24474.1 152,740 10/8/2024
9.0.0-rc.1.24451.1 106,110 9/10/2024
9.0.0-preview.7.24405.3 59,512 8/13/2024
9.0.0-preview.6.24327.4 78,291 7/9/2024
9.0.0-preview.5.24306.3 35,590 6/11/2024
9.0.0-preview.4.24267.1 51,086 5/21/2024
9.0.0-preview.3.24172.4 160,936 4/11/2024
9.0.0-preview.2.24128.4 58,552 3/12/2024
9.0.0-preview.1.24081.2 84,492 2/13/2024
8.0.12 38,756 1/14/2025
8.0.11 4,204,984 11/12/2024
8.0.10 10,057,731 10/8/2024
8.0.8 15,657,770 8/13/2024
8.0.7 10,708,887 7/9/2024
8.0.6 12,948,967 5/28/2024
8.0.5 5,704,888 5/14/2024
8.0.4 20,299,828 4/9/2024
8.0.3 9,079,411 3/12/2024
8.0.2 16,625,428 2/13/2024
8.0.1 11,550,659 1/9/2024
8.0.0 30,736,414 11/14/2023
8.0.0-rc.2.23480.1 476,362 10/10/2023
8.0.0-rc.1.23419.6 137,392 9/12/2023
8.0.0-preview.7.23375.4 103,802 8/8/2023
8.0.0-preview.6.23329.4 171,535 7/11/2023
8.0.0-preview.5.23280.1 133,409 6/13/2023
8.0.0-preview.4.23259.3 126,799 5/16/2023
8.0.0-preview.3.23174.2 198,090 4/11/2023
8.0.0-preview.2.23128.3 190,707 3/14/2023
8.0.0-preview.1.23111.4 136,148 2/21/2023
7.0.20 2,155,980 5/28/2024
7.0.19 425,488 5/14/2024
7.0.18 1,779,299 4/9/2024
7.0.17 1,425,014 3/12/2024
7.0.16 1,831,735 2/13/2024
7.0.15 2,876,971 1/9/2024
7.0.14 5,485,282 11/14/2023
7.0.13 5,946,496 10/24/2023
7.0.12 4,092,628 10/10/2023
7.0.11 12,312,795 9/12/2023
7.0.10 9,036,408 8/8/2023
7.0.9 8,271,524 7/11/2023
7.0.8 5,166,371 6/22/2023
7.0.7 3,583,441 6/13/2023
7.0.5 24,037,688 4/11/2023
7.0.4 9,005,936 3/14/2023
7.0.3 13,028,586 2/14/2023
7.0.2 17,559,894 1/10/2023
7.0.1 9,507,957 12/13/2022
7.0.0 26,480,370 11/7/2022
7.0.0-rc.2.22472.11 213,080 10/11/2022
7.0.0-rc.1.22426.7 211,545 9/14/2022
7.0.0-preview.7.22376.2 94,315 8/9/2022
7.0.0-preview.6.22329.4 73,838 7/12/2022
7.0.0-preview.5.22302.2 63,284 6/14/2022
7.0.0-preview.4.22229.2 78,831 5/10/2022
7.0.0-preview.3.22175.1 77,322 4/13/2022
7.0.0-preview.2.22153.1 85,078 3/14/2022
7.0.0-preview.1.22076.6 57,064 2/17/2022
6.0.36 275,357 11/12/2024
6.0.35 377,998 10/8/2024
6.0.33 1,061,427 8/13/2024
6.0.32 585,350 7/9/2024
6.0.31 856,876 5/28/2024
6.0.30 430,477 5/14/2024
6.0.29 2,141,844 4/9/2024
6.0.28 1,277,701 3/12/2024
6.0.27 1,597,776 2/13/2024
6.0.26 2,350,026 1/9/2024
6.0.25 3,221,014 11/14/2023
6.0.24 1,674,547 10/24/2023
6.0.23 1,149,138 10/10/2023
6.0.22 3,096,844 9/12/2023
6.0.21 3,283,699 8/8/2023
6.0.20 2,652,664 7/11/2023
6.0.19 2,206,011 6/22/2023
6.0.18 1,196,483 6/13/2023
6.0.16 7,005,635 4/11/2023
6.0.15 3,935,936 3/14/2023
6.0.14 4,947,664 2/14/2023
6.0.13 6,582,504 1/10/2023
6.0.12 10,171,405 12/13/2022
6.0.11 9,406,086 11/7/2022
6.0.10 16,685,450 10/11/2022
6.0.9 14,645,119 9/13/2022
6.0.8 17,500,638 8/9/2022
6.0.7 47,193,479 7/12/2022
6.0.6 14,088,171 6/14/2022
6.0.5 21,510,620 5/10/2022
6.0.4 17,257,455 4/11/2022
6.0.3 23,197,635 3/8/2022
6.0.2 19,048,715 2/8/2022
6.0.1 31,337,229 12/14/2021
6.0.0 62,678,912 11/8/2021
6.0.0-rc.2.21480.5 317,835 10/12/2021
6.0.0-rc.1.21452.10 242,306 9/14/2021
6.0.0-preview.7.21378.4 95,005 8/10/2021
6.0.0-preview.6.21352.1 43,250 7/14/2021
6.0.0-preview.5.21301.9 183,761 6/15/2021
6.0.0-preview.4.21253.1 71,486 5/24/2021
6.0.0-preview.3.21201.2 94,390 4/8/2021
6.0.0-preview.2.21154.2 72,843 3/11/2021
6.0.0-preview.1.21102.2 94,171 2/12/2021
5.0.17 7,209,957 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,455,731 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,269,317 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,314,687 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,329,847 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,729,047 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,239,209 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,078,239 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,098,954 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,358,173 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,126,059 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,060,523 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,204,587 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,161,504 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 7,982,000 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,404,434 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 15,600,365 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 25,845,503 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 376,535 10/13/2020
5.0.0-rc.1.20451.13 317,704 9/14/2020
5.0.0-preview.8.20407.4 200,914 8/25/2020
5.0.0-preview.7.20365.15 113,501 7/21/2020
5.0.0-preview.6.20312.4 63,451 6/25/2020
5.0.0-preview.5.20278.2 48,299 6/10/2020
5.0.0-preview.4.20220.10 73,270 5/18/2020
5.0.0-preview.3.20181.2 93,833 4/23/2020
5.0.0-preview.2.20159.4 61,102 4/2/2020
5.0.0-preview.2.20120.8 45,809 3/16/2020
3.1.32 4,662,074 12/13/2022
3.1.31 950,830 11/8/2022
3.1.30 690,222 10/11/2022
3.1.29 1,150,983 9/13/2022
3.1.28 801,220 8/9/2022
3.1.27 715,617 7/12/2022
3.1.26 617,105 6/14/2022
3.1.25 1,051,755 5/10/2022
3.1.24 640,724 4/11/2022
3.1.23 1,035,683 3/8/2022
3.1.22 3,266,442 12/14/2021
3.1.21 2,560,319 11/7/2021
3.1.20 1,492,848 10/11/2021
3.1.19 2,425,546 9/14/2021
3.1.18 5,150,040 8/10/2021
3.1.17 1,847,911 7/13/2021
3.1.16 2,344,214 6/8/2021
3.1.15 2,756,874 5/11/2021
3.1.14 3,069,868 4/6/2021
3.1.13 4,509,626 3/9/2021
3.1.12 2,966,657 2/9/2021
3.1.11 5,368,281 1/12/2021
3.1.10 8,275,357 11/9/2020
3.1.9 11,894,732 10/13/2020
3.1.8 17,577,828 9/8/2020
3.1.7 9,903,843 8/11/2020
3.1.6 10,669,643 7/14/2020
3.1.5 12,662,810 6/9/2020
3.1.4 17,728,434 5/12/2020
3.1.3 27,567,357 3/24/2020
3.1.2 11,791,297 2/19/2020
3.1.1 19,754,135 1/14/2020
3.1.0 33,606,526 12/3/2019
3.1.0-preview3.19554.8 164,109 11/13/2019
3.1.0-preview2.19525.5 32,432 11/1/2019
3.1.0-preview1.19506.2 747,796 10/15/2019
3.0.3 185,555 2/19/2020
3.0.2 79,531 1/14/2020
3.0.1 1,390,836 11/18/2019
3.0.0 18,729,959 9/23/2019
3.0.0-rc1.19456.14 46,442 9/16/2019
3.0.0-preview9.19423.6 1,366,702 9/4/2019
3.0.0-preview8.19405.11 412,225 8/13/2019
3.0.0-preview7.19362.6 90,023 7/23/2019
3.0.0-preview6.19304.10 166,733 6/12/2019
3.0.0-preview5.19227.1 670,544 5/6/2019
3.0.0-preview4.19216.3 22,767 4/18/2019
3.0.0-preview3.19153.1 201,689 3/6/2019
3.0.0-preview.19074.3 30,916 1/29/2019
3.0.0-preview.18572.1 48,168 12/3/2018
2.3.0 261 1/14/2025
2.2.6 31,276,942 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,360,058 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,300,109 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,378,491 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,832,846 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 21,189,864 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 184,278 10/17/2018
2.2.0-preview2-35157 145,913 9/12/2018
2.2.0-preview1-35029 81,008 8/22/2018
2.1.14 3,879,506 11/18/2019
2.1.11 3,678,344 5/14/2019
2.1.8 3,691,383 2/12/2019
2.1.4 15,422,466 10/1/2018
2.1.3 4,866,256 9/11/2018
2.1.2 8,054,198 8/21/2018
2.1.1 15,780,626 6/18/2018
2.1.0 13,104,003 5/29/2018
2.1.0-rc1-final 222,860 5/6/2018
2.1.0-preview2-final 203,911 4/10/2018
2.1.0-preview1-final 315,552 2/26/2018
2.0.3 5,267,101 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,585,276 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,344,194 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 26,726,151 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 95,495 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,101,735 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 5,659,918 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,238,606 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 219,842 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 306,676 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,894,036 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,100,044 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 6,825,132 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,238 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 53,715 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 42,405 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 57,116 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 624,097 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 77,959 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 748,218 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,586,202 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 136,795 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.