Microsoft.EntityFrameworkCore 2.2.6

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

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 2.2.6
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 2.2.6
                    
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="2.2.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="2.2.6" />
                    
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 2.2.6
                    
#r "nuget: Microsoft.EntityFrameworkCore, 2.2.6"
                    
#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@2.2.6
                    
#: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=2.2.6
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=2.2.6
                    
Install as a Cake Tool

Entity Framework Core is a lightweight and extensible version of the popular Entity Framework data access technology.

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

This package was built from the source code at https://github.com/aspnet/EntityFrameworkCore/tree/01da710cdeff0431fc60379580aa63f335fbc165

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 (652)

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 15,996 9/9/2025
10.0.0-preview.7.25380.108 39,516 8/12/2025
10.0.0-preview.6.25358.103 14,348 7/15/2025
10.0.0-preview.5.25277.114 45,328 6/6/2025
10.0.0-preview.4.25258.110 26,475 5/12/2025
10.0.0-preview.3.25171.6 20,696 4/10/2025
10.0.0-preview.2.25163.8 56,792 3/18/2025
10.0.0-preview.1.25081.1 12,571 2/25/2025
9.0.9 842,995 9/9/2025
9.0.8 3,748,919 8/5/2025
9.0.7 3,408,683 7/8/2025
9.0.6 4,508,948 6/10/2025
9.0.5 6,186,025 5/13/2025
9.0.4 7,927,895 4/8/2025
9.0.3 7,769,304 3/11/2025
9.0.2 8,277,699 2/11/2025
9.0.1 17,579,955 1/14/2025
9.0.0 21,699,597 11/12/2024
9.0.0-rc.2.24474.1 231,029 10/8/2024
9.0.0-rc.1.24451.1 145,953 9/10/2024
9.0.0-preview.7.24405.3 101,650 8/13/2024
9.0.0-preview.6.24327.4 203,723 7/9/2024
9.0.0-preview.5.24306.3 66,317 6/11/2024
9.0.0-preview.4.24267.1 69,502 5/21/2024
9.0.0-preview.3.24172.4 184,775 4/11/2024
9.0.0-preview.2.24128.4 82,405 3/12/2024
9.0.0-preview.1.24081.2 136,255 2/13/2024
8.0.20 212,871 9/9/2025
8.0.19 1,341,174 8/5/2025
8.0.18 1,018,960 7/8/2025
8.0.17 2,468,510 6/10/2025
8.0.16 2,275,317 5/13/2025
8.0.15 3,484,436 4/8/2025
8.0.14 4,405,565 3/11/2025
8.0.13 6,267,042 2/11/2025
8.0.12 5,557,251 1/14/2025
8.0.11 24,003,405 11/12/2024
8.0.10 25,865,596 10/8/2024
8.0.8 30,536,312 8/13/2024
8.0.7 18,515,120 7/9/2024
8.0.6 20,755,660 5/28/2024
8.0.5 8,746,761 5/14/2024
8.0.4 33,585,438 4/9/2024
8.0.3 13,464,991 3/12/2024
8.0.2 27,813,373 2/13/2024
8.0.1 17,236,246 1/9/2024
8.0.0 55,855,789 11/14/2023
8.0.0-rc.2.23480.1 567,050 10/10/2023
8.0.0-rc.1.23419.6 159,535 9/12/2023
8.0.0-preview.7.23375.4 127,186 8/8/2023
8.0.0-preview.6.23329.4 228,880 7/11/2023
8.0.0-preview.5.23280.1 201,510 6/13/2023
8.0.0-preview.4.23259.3 145,168 5/16/2023
8.0.0-preview.3.23174.2 283,930 4/11/2023
8.0.0-preview.2.23128.3 200,956 3/14/2023
8.0.0-preview.1.23111.4 142,019 2/21/2023
7.0.20 4,667,164 5/28/2024
7.0.19 583,964 5/14/2024
7.0.18 2,707,381 4/9/2024
7.0.17 1,739,385 3/12/2024
7.0.16 2,243,968 2/13/2024
7.0.15 3,498,884 1/9/2024
7.0.14 6,535,621 11/14/2023
7.0.13 7,440,406 10/24/2023
7.0.12 4,640,101 10/10/2023
7.0.11 14,836,592 9/12/2023
7.0.10 10,258,694 8/8/2023
7.0.9 9,678,653 7/11/2023
7.0.8 5,860,038 6/22/2023
7.0.7 3,927,889 6/13/2023
7.0.5 27,299,937 4/11/2023
7.0.4 9,773,042 3/14/2023
7.0.3 14,468,140 2/14/2023
7.0.2 19,946,946 1/10/2023
7.0.1 10,602,790 12/13/2022
7.0.0 34,488,163 11/7/2022
7.0.0-rc.2.22472.11 229,337 10/11/2022
7.0.0-rc.1.22426.7 217,240 9/14/2022
7.0.0-preview.7.22376.2 100,536 8/9/2022
7.0.0-preview.6.22329.4 78,816 7/12/2022
7.0.0-preview.5.22302.2 66,253 6/14/2022
7.0.0-preview.4.22229.2 91,689 5/10/2022
7.0.0-preview.3.22175.1 79,648 4/13/2022
7.0.0-preview.2.22153.1 86,887 3/14/2022
7.0.0-preview.1.22076.6 59,480 2/17/2022
6.0.36 2,340,685 11/12/2024
6.0.35 826,125 10/8/2024
6.0.33 2,174,105 8/13/2024
6.0.32 907,230 7/9/2024
6.0.31 1,228,585 5/28/2024
6.0.30 697,308 5/14/2024
6.0.29 3,147,522 4/9/2024
6.0.28 1,802,978 3/12/2024
6.0.27 2,050,693 2/13/2024
6.0.26 2,854,456 1/9/2024
6.0.25 3,928,631 11/14/2023
6.0.24 1,999,478 10/24/2023
6.0.23 1,302,830 10/10/2023
6.0.22 3,564,699 9/12/2023
6.0.21 3,799,608 8/8/2023
6.0.20 3,045,986 7/11/2023
6.0.19 2,565,268 6/22/2023
6.0.18 1,342,903 6/13/2023
6.0.16 7,953,488 4/11/2023
6.0.15 4,393,146 3/14/2023
6.0.14 5,502,674 2/14/2023
6.0.13 7,225,458 1/10/2023
6.0.12 11,357,042 12/13/2022
6.0.11 10,312,375 11/7/2022
6.0.10 18,154,438 10/11/2022
6.0.9 15,849,998 9/13/2022
6.0.8 19,132,532 8/9/2022
6.0.7 51,746,942 7/12/2022
6.0.6 15,427,558 6/14/2022
6.0.5 23,421,214 5/10/2022
6.0.4 18,471,176 4/11/2022
6.0.3 26,425,666 3/8/2022
6.0.2 20,397,437 2/8/2022
6.0.1 34,337,477 12/14/2021
6.0.0 75,355,728 11/8/2021
6.0.0-rc.2.21480.5 334,393 10/12/2021
6.0.0-rc.1.21452.10 273,876 9/14/2021
6.0.0-preview.7.21378.4 101,993 8/10/2021
6.0.0-preview.6.21352.1 45,028 7/14/2021
6.0.0-preview.5.21301.9 192,181 6/15/2021
6.0.0-preview.4.21253.1 79,520 5/24/2021
6.0.0-preview.3.21201.2 102,934 4/8/2021
6.0.0-preview.2.21154.2 75,216 3/11/2021
6.0.0-preview.1.21102.2 98,325 2/12/2021
5.0.17 8,264,439 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,546,051 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,399,227 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,416,526 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,605,685 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,952,751 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,638,600 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,941,302 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,625,546 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,968,396 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,917,512 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,415,875 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,784,769 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,499,955 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,231,965 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,712,663 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 16,479,510 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 28,062,629 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 389,593 10/13/2020
5.0.0-rc.1.20451.13 323,098 9/14/2020
5.0.0-preview.8.20407.4 209,521 8/25/2020
5.0.0-preview.7.20365.15 118,736 7/21/2020
5.0.0-preview.6.20312.4 64,476 6/25/2020
5.0.0-preview.5.20278.2 51,222 6/10/2020
5.0.0-preview.4.20220.10 74,579 5/18/2020
5.0.0-preview.3.20181.2 95,357 4/23/2020
5.0.0-preview.2.20159.4 62,664 4/2/2020
5.0.0-preview.2.20120.8 46,435 3/16/2020
3.1.32 7,292,355 12/13/2022
3.1.31 1,532,713 11/8/2022
3.1.30 826,438 10/11/2022
3.1.29 1,460,854 9/13/2022
3.1.28 927,940 8/9/2022
3.1.27 804,021 7/12/2022
3.1.26 709,251 6/14/2022
3.1.25 1,150,107 5/10/2022
3.1.24 682,612 4/11/2022
3.1.23 1,115,115 3/8/2022
3.1.22 3,757,894 12/14/2021
3.1.21 2,722,041 11/7/2021
3.1.20 1,713,484 10/11/2021
3.1.19 2,558,329 9/14/2021
3.1.18 5,694,776 8/10/2021
3.1.17 1,967,141 7/13/2021
3.1.16 2,459,576 6/8/2021
3.1.15 2,998,228 5/11/2021
3.1.14 3,209,662 4/6/2021
3.1.13 4,823,155 3/9/2021
3.1.12 3,089,128 2/9/2021
3.1.11 5,600,758 1/12/2021
3.1.10 8,514,754 11/9/2020
3.1.9 12,331,691 10/13/2020
3.1.8 17,986,406 9/8/2020
3.1.7 10,410,734 8/11/2020
3.1.6 11,051,703 7/14/2020
3.1.5 13,132,431 6/9/2020
3.1.4 18,415,452 5/12/2020
3.1.3 28,794,645 3/24/2020
3.1.2 12,172,207 2/19/2020
3.1.1 20,646,154 1/14/2020
3.1.0 35,507,332 12/3/2019
3.1.0-preview3.19554.8 166,037 11/13/2019
3.1.0-preview2.19525.5 33,365 11/1/2019
3.1.0-preview1.19506.2 782,864 10/15/2019
3.0.3 197,326 2/19/2020
3.0.2 82,555 1/14/2020
3.0.1 1,430,938 11/18/2019
3.0.0 19,587,558 9/23/2019
3.0.0-rc1.19456.14 47,039 9/16/2019
3.0.0-preview9.19423.6 1,396,683 9/4/2019
3.0.0-preview8.19405.11 413,375 8/13/2019
3.0.0-preview7.19362.6 94,517 7/23/2019
3.0.0-preview6.19304.10 168,811 6/12/2019
3.0.0-preview5.19227.1 673,024 5/6/2019
3.0.0-preview4.19216.3 23,268 4/18/2019
3.0.0-preview3.19153.1 203,088 3/6/2019
3.0.0-preview.19074.3 32,660 1/29/2019
3.0.0-preview.18572.1 49,103 12/3/2018
2.3.0 35,569 1/14/2025
2.2.6 32,498,782 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,824,881 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,408,199 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,531,221 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,969,242 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 22,548,305 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 185,782 10/17/2018
2.2.0-preview2-35157 154,081 9/12/2018
2.2.0-preview1-35029 86,137 8/22/2018
2.1.14 4,105,523 11/18/2019
2.1.11 3,734,248 5/14/2019
2.1.8 3,879,766 2/12/2019
2.1.4 15,733,841 10/1/2018
2.1.3 4,944,489 9/11/2018
2.1.2 8,189,999 8/21/2018
2.1.1 17,384,130 6/18/2018
2.1.0 13,511,619 5/29/2018
2.1.0-rc1-final 225,244 5/6/2018
2.1.0-preview2-final 206,832 4/10/2018
2.1.0-preview1-final 319,351 2/26/2018
2.0.3 5,494,609 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,810,353 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,781,287 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 28,139,365 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 97,039 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,144,755 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 6,239,416 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,260,486 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 231,432 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 311,744 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,221,968 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,360,306 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 8,026,579 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,901 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 56,896 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 45,133 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 60,047 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 705,742 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 79,981 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 860,690 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 2,051,646 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 145,946 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.