Microsoft.EntityFrameworkCore 6.0.25

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 6.0.25
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 6.0.25
                    
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="6.0.25" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="6.0.25" />
                    
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 6.0.25
                    
#r "nuget: Microsoft.EntityFrameworkCore, 6.0.25"
                    
#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@6.0.25
                    
#: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=6.0.25
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=6.0.25
                    
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 net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.5K)

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.VisualStudio.Web.CodeGenerators.Mvc

Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views.

Microsoft.VisualStudio.Web.CodeGeneration.Design

Code Generation tool for ASP.NET Core. Contains the dotnet-aspnet-codegenerator command used for generating controllers and views.

GitHub repositories (653)

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

Repository Stars
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 RC 1, 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
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
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.
ldqk/Masuit.Tools
全龄段友好的C#万能工具库,码数吐司库,包含一些常用的操作类,大都是静态类,加密解密,反射操作,权重随机筛选算法,分布式短id,表达式树,linq扩展,文件压缩,多线程下载,硬件信息,字符串扩展方法,日期时间扩展操作,中国农历,大文件拷贝,图像裁剪,验证码,断点续传,集合扩展、Excel导出等常用封装。诸多功能集一身,代码量不到2MB!
graphql-dotnet/graphql-dotnet
GraphQL for .NET
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组件,配套代码生成模板,权限等组成。
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
cobbr/Covenant
Covenant is a collaborative .NET C2 framework for red teamers.
Version Downloads Last Updated
10.0.0-rc.1.25451.107 20,982 9/9/2025
10.0.0-preview.7.25380.108 43,222 8/12/2025
10.0.0-preview.6.25358.103 15,053 7/15/2025
10.0.0-preview.5.25277.114 46,786 6/6/2025
10.0.0-preview.4.25258.110 26,914 5/12/2025
10.0.0-preview.3.25171.6 20,842 4/10/2025
10.0.0-preview.2.25163.8 58,311 3/18/2025
10.0.0-preview.1.25081.1 12,603 2/25/2025
9.0.9 1,143,062 9/9/2025
9.0.8 3,956,510 8/5/2025
9.0.7 3,641,774 7/8/2025
9.0.6 4,671,278 6/10/2025
9.0.5 6,351,013 5/13/2025
9.0.4 8,086,454 4/8/2025
9.0.3 7,874,359 3/11/2025
9.0.2 8,404,137 2/11/2025
9.0.1 18,042,449 1/14/2025
9.0.0 22,086,147 11/12/2024
9.0.0-rc.2.24474.1 231,972 10/8/2024
9.0.0-rc.1.24451.1 146,783 9/10/2024
9.0.0-preview.7.24405.3 102,350 8/13/2024
9.0.0-preview.6.24327.4 205,810 7/9/2024
9.0.0-preview.5.24306.3 66,632 6/11/2024
9.0.0-preview.4.24267.1 69,983 5/21/2024
9.0.0-preview.3.24172.4 185,196 4/11/2024
9.0.0-preview.2.24128.4 82,957 3/12/2024
9.0.0-preview.1.24081.2 137,494 2/13/2024
8.0.20 288,623 9/9/2025
8.0.19 1,418,144 8/5/2025
8.0.18 1,093,770 7/8/2025
8.0.17 2,564,485 6/10/2025
8.0.16 2,346,482 5/13/2025
8.0.15 3,567,997 4/8/2025
8.0.14 4,492,038 3/11/2025
8.0.13 6,397,544 2/11/2025
8.0.12 5,641,143 1/14/2025
8.0.11 24,401,326 11/12/2024
8.0.10 26,135,541 10/8/2024
8.0.8 30,811,221 8/13/2024
8.0.7 18,656,538 7/9/2024
8.0.6 20,907,791 5/28/2024
8.0.5 8,801,254 5/14/2024
8.0.4 33,847,509 4/9/2024
8.0.3 13,545,555 3/12/2024
8.0.2 28,013,099 2/13/2024
8.0.1 17,354,484 1/9/2024
8.0.0 56,421,416 11/14/2023
8.0.0-rc.2.23480.1 568,680 10/10/2023
8.0.0-rc.1.23419.6 159,803 9/12/2023
8.0.0-preview.7.23375.4 127,664 8/8/2023
8.0.0-preview.6.23329.4 230,320 7/11/2023
8.0.0-preview.5.23280.1 203,414 6/13/2023
8.0.0-preview.4.23259.3 145,528 5/16/2023
8.0.0-preview.3.23174.2 286,398 4/11/2023
8.0.0-preview.2.23128.3 201,324 3/14/2023
8.0.0-preview.1.23111.4 142,143 2/21/2023
7.0.20 4,721,600 5/28/2024
7.0.19 589,008 5/14/2024
7.0.18 2,726,255 4/9/2024
7.0.17 1,746,816 3/12/2024
7.0.16 2,251,225 2/13/2024
7.0.15 3,512,050 1/9/2024
7.0.14 6,554,672 11/14/2023
7.0.13 7,472,746 10/24/2023
7.0.12 4,651,445 10/10/2023
7.0.11 14,885,513 9/12/2023
7.0.10 10,287,305 8/8/2023
7.0.9 9,704,603 7/11/2023
7.0.8 5,876,050 6/22/2023
7.0.7 3,947,414 6/13/2023
7.0.5 27,388,530 4/11/2023
7.0.4 9,793,506 3/14/2023
7.0.3 14,500,088 2/14/2023
7.0.2 20,002,652 1/10/2023
7.0.1 10,637,544 12/13/2022
7.0.0 34,677,862 11/7/2022
7.0.0-rc.2.22472.11 229,695 10/11/2022
7.0.0-rc.1.22426.7 218,482 9/14/2022
7.0.0-preview.7.22376.2 101,373 8/9/2022
7.0.0-preview.6.22329.4 79,018 7/12/2022
7.0.0-preview.5.22302.2 66,296 6/14/2022
7.0.0-preview.4.22229.2 91,877 5/10/2022
7.0.0-preview.3.22175.1 79,671 4/13/2022
7.0.0-preview.2.22153.1 86,917 3/14/2022
7.0.0-preview.1.22076.6 59,504 2/17/2022
6.0.36 2,388,004 11/12/2024
6.0.35 836,879 10/8/2024
6.0.33 2,188,392 8/13/2024
6.0.32 913,505 7/9/2024
6.0.31 1,236,586 5/28/2024
6.0.30 701,120 5/14/2024
6.0.29 3,166,004 4/9/2024
6.0.28 1,812,692 3/12/2024
6.0.27 2,060,913 2/13/2024
6.0.26 2,865,587 1/9/2024
6.0.25 3,941,987 11/14/2023
6.0.24 2,005,521 10/24/2023
6.0.23 1,307,903 10/10/2023
6.0.22 3,574,053 9/12/2023
6.0.21 3,809,591 8/8/2023
6.0.20 3,055,336 7/11/2023
6.0.19 2,572,793 6/22/2023
6.0.18 1,346,450 6/13/2023
6.0.16 7,971,954 4/11/2023
6.0.15 4,402,907 3/14/2023
6.0.14 5,510,945 2/14/2023
6.0.13 7,243,069 1/10/2023
6.0.12 11,382,055 12/13/2022
6.0.11 10,330,957 11/7/2022
6.0.10 18,185,146 10/11/2022
6.0.9 15,876,762 9/13/2022
6.0.8 19,166,348 8/9/2022
6.0.7 51,833,358 7/12/2022
6.0.6 15,461,471 6/14/2022
6.0.5 23,466,025 5/10/2022
6.0.4 18,499,104 4/11/2022
6.0.3 26,485,425 3/8/2022
6.0.2 20,432,446 2/8/2022
6.0.1 34,410,778 12/14/2021
6.0.0 75,663,065 11/8/2021
6.0.0-rc.2.21480.5 334,753 10/12/2021
6.0.0-rc.1.21452.10 274,075 9/14/2021
6.0.0-preview.7.21378.4 102,401 8/10/2021
6.0.0-preview.6.21352.1 45,064 7/14/2021
6.0.0-preview.5.21301.9 192,306 6/15/2021
6.0.0-preview.4.21253.1 79,542 5/24/2021
6.0.0-preview.3.21201.2 103,008 4/8/2021
6.0.0-preview.2.21154.2 75,232 3/11/2021
6.0.0-preview.1.21102.2 98,434 2/12/2021
5.0.17 8,291,513 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,548,960 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,402,790 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,419,675 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,613,629 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,960,684 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,651,384 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,966,509 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,642,367 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,987,956 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,947,936 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,429,301 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,802,459 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,521,163 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,239,527 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,724,221 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 16,500,792 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 28,132,679 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 389,817 10/13/2020
5.0.0-rc.1.20451.13 323,214 9/14/2020
5.0.0-preview.8.20407.4 209,611 8/25/2020
5.0.0-preview.7.20365.15 118,802 7/21/2020
5.0.0-preview.6.20312.4 64,530 6/25/2020
5.0.0-preview.5.20278.2 51,247 6/10/2020
5.0.0-preview.4.20220.10 74,606 5/18/2020
5.0.0-preview.3.20181.2 95,396 4/23/2020
5.0.0-preview.2.20159.4 62,703 4/2/2020
5.0.0-preview.2.20120.8 46,440 3/16/2020
3.1.32 7,359,579 12/13/2022
3.1.31 1,552,197 11/8/2022
3.1.30 829,376 10/11/2022
3.1.29 1,465,348 9/13/2022
3.1.28 931,594 8/9/2022
3.1.27 807,937 7/12/2022
3.1.26 712,004 6/14/2022
3.1.25 1,152,790 5/10/2022
3.1.24 684,300 4/11/2022
3.1.23 1,117,372 3/8/2022
3.1.22 3,767,722 12/14/2021
3.1.21 2,725,328 11/7/2021
3.1.20 1,718,512 10/11/2021
3.1.19 2,562,543 9/14/2021
3.1.18 5,713,947 8/10/2021
3.1.17 1,969,884 7/13/2021
3.1.16 2,462,494 6/8/2021
3.1.15 3,006,095 5/11/2021
3.1.14 3,213,234 4/6/2021
3.1.13 4,833,553 3/9/2021
3.1.12 3,092,844 2/9/2021
3.1.11 5,606,428 1/12/2021
3.1.10 8,526,183 11/9/2020
3.1.9 12,345,247 10/13/2020
3.1.8 18,005,736 9/8/2020
3.1.7 10,426,130 8/11/2020
3.1.6 11,073,421 7/14/2020
3.1.5 13,151,092 6/9/2020
3.1.4 18,441,485 5/12/2020
3.1.3 28,830,429 3/24/2020
3.1.2 12,187,873 2/19/2020
3.1.1 20,706,087 1/14/2020
3.1.0 35,571,200 12/3/2019
3.1.0-preview3.19554.8 167,212 11/13/2019
3.1.0-preview2.19525.5 33,384 11/1/2019
3.1.0-preview1.19506.2 783,484 10/15/2019
3.0.3 198,427 2/19/2020
3.0.2 83,545 1/14/2020
3.0.1 1,433,824 11/18/2019
3.0.0 19,623,257 9/23/2019
3.0.0-rc1.19456.14 47,074 9/16/2019
3.0.0-preview9.19423.6 1,397,368 9/4/2019
3.0.0-preview8.19405.11 419,056 8/13/2019
3.0.0-preview7.19362.6 94,993 7/23/2019
3.0.0-preview6.19304.10 169,938 6/12/2019
3.0.0-preview5.19227.1 681,196 5/6/2019
3.0.0-preview4.19216.3 23,268 4/18/2019
3.0.0-preview3.19153.1 204,476 3/6/2019
3.0.0-preview.19074.3 32,685 1/29/2019
3.0.0-preview.18572.1 49,135 12/3/2018
2.3.0 37,972 1/14/2025
2.2.6 32,542,294 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,847,663 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,412,228 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,538,525 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,975,833 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 22,594,178 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 185,919 10/17/2018
2.2.0-preview2-35157 154,369 9/12/2018
2.2.0-preview1-35029 86,243 8/22/2018
2.1.14 4,110,441 11/18/2019
2.1.11 3,736,460 5/14/2019
2.1.8 3,885,405 2/12/2019
2.1.4 15,749,603 10/1/2018
2.1.3 4,948,631 9/11/2018
2.1.2 8,196,234 8/21/2018
2.1.1 17,428,746 6/18/2018
2.1.0 13,537,462 5/29/2018
2.1.0-rc1-final 226,123 5/6/2018
2.1.0-preview2-final 208,493 4/10/2018
2.1.0-preview1-final 320,302 2/26/2018
2.0.3 5,502,743 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,819,766 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,799,340 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 28,191,886 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 97,295 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,145,549 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 6,250,977 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,264,798 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 232,685 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 312,809 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,231,624 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,369,455 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 8,053,179 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 47,022 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 57,853 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 46,044 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 60,955 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 708,167 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 80,843 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 864,476 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 2,061,741 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 146,284 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.