Microsoft.EntityFrameworkCore 2.2.2

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

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.0K)

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

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
louthy/language-ext
C# pure functional programming framework - come and get declarative!
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
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 4,354 6/6/2025
10.0.0-preview.4.25258.110 24,384 5/12/2025
10.0.0-preview.3.25171.6 17,986 4/10/2025
10.0.0-preview.2.25163.8 21,251 3/18/2025
10.0.0-preview.1.25081.1 12,110 2/25/2025
9.0.6 310,629 6/10/2025
9.0.5 2,590,708 5/13/2025
9.0.4 4,780,234 4/8/2025
9.0.3 5,716,839 3/11/2025
9.0.2 5,905,250 2/11/2025
9.0.1 9,987,923 1/14/2025
9.0.0 15,079,533 11/12/2024
9.0.0-rc.2.24474.1 210,048 10/8/2024
9.0.0-rc.1.24451.1 132,409 9/10/2024
9.0.0-preview.7.24405.3 89,306 8/13/2024
9.0.0-preview.6.24327.4 154,409 7/9/2024
9.0.0-preview.5.24306.3 50,834 6/11/2024
9.0.0-preview.4.24267.1 62,789 5/21/2024
9.0.0-preview.3.24172.4 178,201 4/11/2024
9.0.0-preview.2.24128.4 73,862 3/12/2024
9.0.0-preview.1.24081.2 116,942 2/13/2024
8.0.17 99,110 6/10/2025
8.0.16 863,389 5/13/2025
8.0.15 1,940,254 4/8/2025
8.0.14 2,650,226 3/11/2025
8.0.13 3,847,615 2/11/2025
8.0.12 3,941,921 1/14/2025
8.0.11 16,918,975 11/12/2024
8.0.10 20,916,744 10/8/2024
8.0.8 25,563,535 8/13/2024
8.0.7 15,958,142 7/9/2024
8.0.6 18,138,207 5/28/2024
8.0.5 7,750,850 5/14/2024
8.0.4 28,965,014 4/9/2024
8.0.3 11,989,063 3/12/2024
8.0.2 23,771,190 2/13/2024
8.0.1 15,219,499 1/9/2024
8.0.0 46,387,516 11/14/2023
8.0.0-rc.2.23480.1 538,005 10/10/2023
8.0.0-rc.1.23419.6 151,654 9/12/2023
8.0.0-preview.7.23375.4 119,551 8/8/2023
8.0.0-preview.6.23329.4 209,900 7/11/2023
8.0.0-preview.5.23280.1 186,688 6/13/2023
8.0.0-preview.4.23259.3 139,659 5/16/2023
8.0.0-preview.3.23174.2 242,517 4/11/2023
8.0.0-preview.2.23128.3 197,737 3/14/2023
8.0.0-preview.1.23111.4 140,278 2/21/2023
7.0.20 3,769,160 5/28/2024
7.0.19 537,062 5/14/2024
7.0.18 2,404,171 4/9/2024
7.0.17 1,654,213 3/12/2024
7.0.16 2,122,657 2/13/2024
7.0.15 3,305,088 1/9/2024
7.0.14 6,221,990 11/14/2023
7.0.13 6,953,131 10/24/2023
7.0.12 4,489,902 10/10/2023
7.0.11 13,965,766 9/12/2023
7.0.10 9,834,961 8/8/2023
7.0.9 9,234,688 7/11/2023
7.0.8 5,613,240 6/22/2023
7.0.7 3,814,109 6/13/2023
7.0.5 26,070,694 4/11/2023
7.0.4 9,514,575 3/14/2023
7.0.3 13,985,485 2/14/2023
7.0.2 19,109,106 1/10/2023
7.0.1 10,187,446 12/13/2022
7.0.0 31,468,840 11/7/2022
7.0.0-rc.2.22472.11 224,373 10/11/2022
7.0.0-rc.1.22426.7 215,142 9/14/2022
7.0.0-preview.7.22376.2 99,153 8/9/2022
7.0.0-preview.6.22329.4 77,521 7/12/2022
7.0.0-preview.5.22302.2 65,560 6/14/2022
7.0.0-preview.4.22229.2 87,585 5/10/2022
7.0.0-preview.3.22175.1 79,133 4/13/2022
7.0.0-preview.2.22153.1 86,383 3/14/2022
7.0.0-preview.1.22076.6 58,808 2/17/2022
6.0.36 1,486,628 11/12/2024
6.0.35 689,649 10/8/2024
6.0.33 1,829,291 8/13/2024
6.0.32 812,367 7/9/2024
6.0.31 1,108,694 5/28/2024
6.0.30 603,568 5/14/2024
6.0.29 2,803,200 4/9/2024
6.0.28 1,622,462 3/12/2024
6.0.27 1,907,540 2/13/2024
6.0.26 2,684,872 1/9/2024
6.0.25 3,700,583 11/14/2023
6.0.24 1,911,446 10/24/2023
6.0.23 1,256,038 10/10/2023
6.0.22 3,421,601 9/12/2023
6.0.21 3,643,874 8/8/2023
6.0.20 2,919,914 7/11/2023
6.0.19 2,446,745 6/22/2023
6.0.18 1,295,981 6/13/2023
6.0.16 7,684,559 4/11/2023
6.0.15 4,235,168 3/14/2023
6.0.14 5,349,196 2/14/2023
6.0.13 7,013,343 1/10/2023
6.0.12 10,971,132 12/13/2022
6.0.11 10,031,940 11/7/2022
6.0.10 17,706,015 10/11/2022
6.0.9 15,436,748 9/13/2022
6.0.8 18,616,909 8/9/2022
6.0.7 50,299,736 7/12/2022
6.0.6 14,948,144 6/14/2022
6.0.5 22,758,146 5/10/2022
6.0.4 18,067,542 4/11/2022
6.0.3 25,126,792 3/8/2022
6.0.2 19,957,910 2/8/2022
6.0.1 33,227,163 12/14/2021
6.0.0 70,821,055 11/8/2021
6.0.0-rc.2.21480.5 328,693 10/12/2021
6.0.0-rc.1.21452.10 269,268 9/14/2021
6.0.0-preview.7.21378.4 99,010 8/10/2021
6.0.0-preview.6.21352.1 44,075 7/14/2021
6.0.0-preview.5.21301.9 189,511 6/15/2021
6.0.0-preview.4.21253.1 76,173 5/24/2021
6.0.0-preview.3.21201.2 99,360 4/8/2021
6.0.0-preview.2.21154.2 74,819 3/11/2021
6.0.0-preview.1.21102.2 97,598 2/12/2021
5.0.17 7,904,716 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,514,408 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,362,330 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,380,936 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,513,066 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,881,224 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,510,624 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,633,743 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,458,691 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,782,408 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,682,222 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,315,094 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,609,798 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,410,677 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,163,441 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,627,803 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 16,206,986 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 27,320,987 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 386,852 10/13/2020
5.0.0-rc.1.20451.13 322,215 9/14/2020
5.0.0-preview.8.20407.4 208,099 8/25/2020
5.0.0-preview.7.20365.15 116,184 7/21/2020
5.0.0-preview.6.20312.4 64,125 6/25/2020
5.0.0-preview.5.20278.2 50,190 6/10/2020
5.0.0-preview.4.20220.10 74,281 5/18/2020
5.0.0-preview.3.20181.2 95,027 4/23/2020
5.0.0-preview.2.20159.4 62,014 4/2/2020
5.0.0-preview.2.20120.8 46,255 3/16/2020
3.1.32 6,314,245 12/13/2022
3.1.31 1,245,749 11/8/2022
3.1.30 772,479 10/11/2022
3.1.29 1,354,635 9/13/2022
3.1.28 881,013 8/9/2022
3.1.27 763,917 7/12/2022
3.1.26 677,089 6/14/2022
3.1.25 1,116,784 5/10/2022
3.1.24 667,734 4/11/2022
3.1.23 1,089,631 3/8/2022
3.1.22 3,566,060 12/14/2021
3.1.21 2,674,575 11/7/2021
3.1.20 1,640,947 10/11/2021
3.1.19 2,512,777 9/14/2021
3.1.18 5,449,194 8/10/2021
3.1.17 1,925,043 7/13/2021
3.1.16 2,419,144 6/8/2021
3.1.15 2,913,174 5/11/2021
3.1.14 3,158,829 4/6/2021
3.1.13 4,708,297 3/9/2021
3.1.12 3,046,028 2/9/2021
3.1.11 5,530,876 1/12/2021
3.1.10 8,427,552 11/9/2020
3.1.9 12,174,373 10/13/2020
3.1.8 17,849,281 9/8/2020
3.1.7 10,243,545 8/11/2020
3.1.6 10,919,545 7/14/2020
3.1.5 12,991,284 6/9/2020
3.1.4 18,164,963 5/12/2020
3.1.3 28,357,470 3/24/2020
3.1.2 12,047,863 2/19/2020
3.1.1 20,278,080 1/14/2020
3.1.0 34,850,042 12/3/2019
3.1.0-preview3.19554.8 165,232 11/13/2019
3.1.0-preview2.19525.5 32,826 11/1/2019
3.1.0-preview1.19506.2 769,897 10/15/2019
3.0.3 192,746 2/19/2020
3.0.2 80,724 1/14/2020
3.0.1 1,415,313 11/18/2019
3.0.0 19,294,146 9/23/2019
3.0.0-rc1.19456.14 46,870 9/16/2019
3.0.0-preview9.19423.6 1,388,474 9/4/2019
3.0.0-preview8.19405.11 412,946 8/13/2019
3.0.0-preview7.19362.6 91,730 7/23/2019
3.0.0-preview6.19304.10 168,419 6/12/2019
3.0.0-preview5.19227.1 672,266 5/6/2019
3.0.0-preview4.19216.3 23,137 4/18/2019
3.0.0-preview3.19153.1 202,696 3/6/2019
3.0.0-preview.19074.3 32,049 1/29/2019
3.0.0-preview.18572.1 48,791 12/3/2018
2.3.0 19,455 1/14/2025
2.2.6 32,078,487 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,661,460 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,376,511 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,472,301 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,927,802 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 22,055,967 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 185,161 10/17/2018
2.2.0-preview2-35157 150,972 9/12/2018
2.2.0-preview1-35029 83,668 8/22/2018
2.1.14 4,032,045 11/18/2019
2.1.11 3,714,390 5/14/2019
2.1.8 3,812,132 2/12/2019
2.1.4 15,633,383 10/1/2018
2.1.3 4,912,194 9/11/2018
2.1.2 8,143,185 8/21/2018
2.1.1 16,786,314 6/18/2018
2.1.0 13,375,685 5/29/2018
2.1.0-rc1-final 224,752 5/6/2018
2.1.0-preview2-final 206,013 4/10/2018
2.1.0-preview1-final 318,326 2/26/2018
2.0.3 5,391,567 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,732,315 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,630,003 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 27,636,216 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 96,507 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,128,944 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 6,013,835 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,252,645 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 226,686 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 309,266 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,083,031 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,254,343 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 7,607,111 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,683 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 55,272 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 43,574 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 58,340 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 673,258 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 78,604 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 820,375 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,887,993 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 143,125 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.