Microsoft.EntityFrameworkCore 8.0.1

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.1
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 8.0.1
                    
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.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.EntityFrameworkCore --version 8.0.1
                    
#r "nuget: Microsoft.EntityFrameworkCore, 8.0.1"
                    
#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.
#:package Microsoft.EntityFrameworkCore@8.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.EntityFrameworkCore&version=8.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=8.0.1
                    
Install as a Cake Tool

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9.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.EntityFrameworkCore.Proxies

Lazy loading proxies for Entity Framework Core.

EFCore.NamingConventions

Naming Conventions for Entity Framework Core Tables and Columns.

GitHub repositories (588)

Showing the top 20 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
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 5, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
davidfowl/AspNetCoreDiagnosticScenarios
This repository has examples of broken patterns in ASP.NET Core applications
elsa-workflows/elsa-core
A .NET workflows library
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
louthy/language-ext
C# pure functional programming framework - come and get declarative!
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
graphql-dotnet/graphql-dotnet
GraphQL for .NET
ldqk/Masuit.Tools
全龄段友好的C#万能工具库,码数吐司库,包含一些常用的操作类,大都是静态类,加密解密,反射操作,权重随机筛选算法,分布式短id,表达式树,linq扩展,文件压缩,多线程下载,硬件信息,字符串扩展方法,日期时间扩展操作,中国农历,大文件拷贝,图像裁剪,验证码,断点续传,集合扩展、Excel导出等常用封装。诸多功能集一身,代码量不到2MB!
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
immense/Remotely
A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
MapsterMapper/Mapster
A fast, fun and stimulating object to object Mapper
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
Version Downloads Last Updated
10.0.0-preview.5.25277.114 16,922 6/6/2025
10.0.0-preview.4.25258.110 25,235 5/12/2025
10.0.0-preview.3.25171.6 19,697 4/10/2025
10.0.0-preview.2.25163.8 32,440 3/18/2025
10.0.0-preview.1.25081.1 12,252 2/25/2025
9.0.7 237,728 7/8/2025
9.0.6 2,292,407 6/10/2025
9.0.5 3,910,882 5/13/2025
9.0.4 5,872,981 4/8/2025
9.0.3 6,430,781 3/11/2025
9.0.2 6,651,084 2/11/2025
9.0.1 12,047,655 1/14/2025
9.0.0 16,981,182 11/12/2024
9.0.0-rc.2.24474.1 217,116 10/8/2024
9.0.0-rc.1.24451.1 136,724 9/10/2024
9.0.0-preview.7.24405.3 92,701 8/13/2024
9.0.0-preview.6.24327.4 169,311 7/9/2024
9.0.0-preview.5.24306.3 55,433 6/11/2024
9.0.0-preview.4.24267.1 64,851 5/21/2024
9.0.0-preview.3.24172.4 180,510 4/11/2024
9.0.0-preview.2.24128.4 76,437 3/12/2024
9.0.0-preview.1.24081.2 121,377 2/13/2024
8.0.18 64,294 7/8/2025
8.0.17 958,089 6/10/2025
8.0.16 1,351,252 5/13/2025
8.0.15 2,440,924 4/8/2025
8.0.14 3,199,236 3/11/2025
8.0.13 4,579,104 2/11/2025
8.0.12 4,432,114 1/14/2025
8.0.11 19,050,487 11/12/2024
8.0.10 22,457,637 10/8/2024
8.0.8 27,015,579 8/13/2024
8.0.7 16,763,385 7/9/2024
8.0.6 18,929,497 5/28/2024
8.0.5 8,070,611 5/14/2024
8.0.4 30,394,253 4/9/2024
8.0.3 12,448,719 3/12/2024
8.0.2 24,958,156 2/13/2024
8.0.1 15,838,256 1/9/2024
8.0.0 49,154,684 11/14/2023
8.0.0-rc.2.23480.1 547,389 10/10/2023
8.0.0-rc.1.23419.6 157,224 9/12/2023
8.0.0-preview.7.23375.4 121,941 8/8/2023
8.0.0-preview.6.23329.4 215,414 7/11/2023
8.0.0-preview.5.23280.1 190,635 6/13/2023
8.0.0-preview.4.23259.3 141,273 5/16/2023
8.0.0-preview.3.23174.2 248,873 4/11/2023
8.0.0-preview.2.23128.3 198,977 3/14/2023
8.0.0-preview.1.23111.4 140,931 2/21/2023
7.0.20 4,051,542 5/28/2024
7.0.19 549,399 5/14/2024
7.0.18 2,498,423 4/9/2024
7.0.17 1,681,090 3/12/2024
7.0.16 2,160,695 2/13/2024
7.0.15 3,374,667 1/9/2024
7.0.14 6,324,693 11/14/2023
7.0.13 7,109,005 10/24/2023
7.0.12 4,536,564 10/10/2023
7.0.11 14,259,750 9/12/2023
7.0.10 9,973,350 8/8/2023
7.0.9 9,376,601 7/11/2023
7.0.8 5,695,353 6/22/2023
7.0.7 3,847,654 6/13/2023
7.0.5 26,449,720 4/11/2023
7.0.4 9,596,600 3/14/2023
7.0.3 14,134,254 2/14/2023
7.0.2 19,387,943 1/10/2023
7.0.1 10,312,169 12/13/2022
7.0.0 32,413,499 11/7/2022
7.0.0-rc.2.22472.11 226,081 10/11/2022
7.0.0-rc.1.22426.7 215,772 9/14/2022
7.0.0-preview.7.22376.2 99,723 8/9/2022
7.0.0-preview.6.22329.4 77,820 7/12/2022
7.0.0-preview.5.22302.2 65,778 6/14/2022
7.0.0-preview.4.22229.2 88,768 5/10/2022
7.0.0-preview.3.22175.1 79,281 4/13/2022
7.0.0-preview.2.22153.1 86,562 3/14/2022
7.0.0-preview.1.22076.6 59,083 2/17/2022
6.0.36 1,738,356 11/12/2024
6.0.35 732,539 10/8/2024
6.0.33 1,948,266 8/13/2024
6.0.32 843,298 7/9/2024
6.0.31 1,145,293 5/28/2024
6.0.30 633,196 5/14/2024
6.0.29 2,911,689 4/9/2024
6.0.28 1,675,478 3/12/2024
6.0.27 1,950,159 2/13/2024
6.0.26 2,735,292 1/9/2024
6.0.25 3,770,379 11/14/2023
6.0.24 1,938,012 10/24/2023
6.0.23 1,270,522 10/10/2023
6.0.22 3,466,325 9/12/2023
6.0.21 3,693,891 8/8/2023
6.0.20 2,959,299 7/11/2023
6.0.19 2,481,413 6/22/2023
6.0.18 1,310,108 6/13/2023
6.0.16 7,783,262 4/11/2023
6.0.15 4,285,120 3/14/2023
6.0.14 5,401,973 2/14/2023
6.0.13 7,082,509 1/10/2023
6.0.12 11,098,376 12/13/2022
6.0.11 10,126,357 11/7/2022
6.0.10 17,862,401 10/11/2022
6.0.9 15,571,737 9/13/2022
6.0.8 18,779,535 8/9/2022
6.0.7 50,760,649 7/12/2022
6.0.6 15,112,012 6/14/2022
6.0.5 22,983,737 5/10/2022
6.0.4 18,199,917 4/11/2022
6.0.3 25,511,729 3/8/2022
6.0.2 20,099,173 2/8/2022
6.0.1 33,596,209 12/14/2021
6.0.0 72,242,096 11/8/2021
6.0.0-rc.2.21480.5 332,255 10/12/2021
6.0.0-rc.1.21452.10 272,272 9/14/2021
6.0.0-preview.7.21378.4 101,097 8/10/2021
6.0.0-preview.6.21352.1 44,685 7/14/2021
6.0.0-preview.5.21301.9 190,516 6/15/2021
6.0.0-preview.4.21253.1 78,903 5/24/2021
6.0.0-preview.3.21201.2 102,053 4/8/2021
6.0.0-preview.2.21154.2 75,120 3/11/2021
6.0.0-preview.1.21102.2 97,864 2/12/2021
5.0.17 8,011,911 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,523,539 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,374,053 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,392,352 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,541,644 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,903,911 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,551,445 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,728,318 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,512,583 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,840,146 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,753,147 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,346,060 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,662,763 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,439,966 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,186,579 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,654,785 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 16,295,711 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 27,557,957 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 387,756 10/13/2020
5.0.0-rc.1.20451.13 322,556 9/14/2020
5.0.0-preview.8.20407.4 208,441 8/25/2020
5.0.0-preview.7.20365.15 118,308 7/21/2020
5.0.0-preview.6.20312.4 64,237 6/25/2020
5.0.0-preview.5.20278.2 50,680 6/10/2020
5.0.0-preview.4.20220.10 74,390 5/18/2020
5.0.0-preview.3.20181.2 95,167 4/23/2020
5.0.0-preview.2.20159.4 62,237 4/2/2020
5.0.0-preview.2.20120.8 46,324 3/16/2020
3.1.32 6,599,293 12/13/2022
3.1.31 1,329,585 11/8/2022
3.1.30 787,570 10/11/2022
3.1.29 1,388,552 9/13/2022
3.1.28 894,499 8/9/2022
3.1.27 772,726 7/12/2022
3.1.26 686,711 6/14/2022
3.1.25 1,127,448 5/10/2022
3.1.24 672,027 4/11/2022
3.1.23 1,097,396 3/8/2022
3.1.22 3,618,866 12/14/2021
3.1.21 2,689,416 11/7/2021
3.1.20 1,664,501 10/11/2021
3.1.19 2,528,392 9/14/2021
3.1.18 5,521,889 8/10/2021
3.1.17 1,936,730 7/13/2021
3.1.16 2,431,302 6/8/2021
3.1.15 2,938,678 5/11/2021
3.1.14 3,173,207 4/6/2021
3.1.13 4,743,205 3/9/2021
3.1.12 3,057,825 2/9/2021
3.1.11 5,551,762 1/12/2021
3.1.10 8,456,133 11/9/2020
3.1.9 12,222,660 10/13/2020
3.1.8 17,894,350 9/8/2020
3.1.7 10,291,584 8/11/2020
3.1.6 10,956,854 7/14/2020
3.1.5 13,043,153 6/9/2020
3.1.4 18,250,860 5/12/2020
3.1.3 28,490,550 3/24/2020
3.1.2 12,087,228 2/19/2020
3.1.1 20,393,269 1/14/2020
3.1.0 35,064,265 12/3/2019
3.1.0-preview3.19554.8 165,475 11/13/2019
3.1.0-preview2.19525.5 32,994 11/1/2019
3.1.0-preview1.19506.2 773,533 10/15/2019
3.0.3 193,981 2/19/2020
3.0.2 80,967 1/14/2020
3.0.1 1,419,361 11/18/2019
3.0.0 19,388,927 9/23/2019
3.0.0-rc1.19456.14 46,927 9/16/2019
3.0.0-preview9.19423.6 1,391,084 9/4/2019
3.0.0-preview8.19405.11 413,075 8/13/2019
3.0.0-preview7.19362.6 92,296 7/23/2019
3.0.0-preview6.19304.10 168,520 6/12/2019
3.0.0-preview5.19227.1 672,517 5/6/2019
3.0.0-preview4.19216.3 23,186 4/18/2019
3.0.0-preview3.19153.1 202,830 3/6/2019
3.0.0-preview.19074.3 32,202 1/29/2019
3.0.0-preview.18572.1 48,866 12/3/2018
2.3.0 23,952 1/14/2025
2.2.6 32,206,969 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,711,022 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,385,750 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,487,312 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,940,644 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 22,200,785 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 185,296 10/17/2018
2.2.0-preview2-35157 151,890 9/12/2018
2.2.0-preview1-35029 84,338 8/22/2018
2.1.14 4,057,264 11/18/2019
2.1.11 3,720,472 5/14/2019
2.1.8 3,832,086 2/12/2019
2.1.4 15,664,509 10/1/2018
2.1.3 4,920,745 9/11/2018
2.1.2 8,159,216 8/21/2018
2.1.1 16,969,262 6/18/2018
2.1.0 13,416,207 5/29/2018
2.1.0-rc1-final 224,946 5/6/2018
2.1.0-preview2-final 206,213 4/10/2018
2.1.0-preview1-final 318,547 2/26/2018
2.0.3 5,413,679 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,756,881 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,679,157 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 27,783,544 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 96,657 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,132,674 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 6,080,614 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,254,381 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 227,836 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 309,737 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,123,301 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,290,077 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 7,731,884 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,764 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 55,402 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 43,717 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 58,528 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 680,785 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 78,692 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 832,020 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,935,373 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 144,259 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.