Microsoft.EntityFrameworkCore 2.1.0-preview2-final

Prefix Reserved
This is a prerelease version of Microsoft.EntityFrameworkCore.
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.1.0-preview2-final
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 2.1.0-preview2-final
                    
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.1.0-preview2-final" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="2.1.0-preview2-final" />
                    
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.1.0-preview2-final
                    
#r "nuget: Microsoft.EntityFrameworkCore, 2.1.0-preview2-final"
                    
#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.1.0-preview2-final
                    
#: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.1.0-preview2-final&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=2.1.0-preview2-final&prerelease
                    
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

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.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.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 (647)

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 2,133 9/9/2025
10.0.0-preview.7.25380.108 29,168 8/12/2025
10.0.0-preview.6.25358.103 13,406 7/15/2025
10.0.0-preview.5.25277.114 43,036 6/6/2025
10.0.0-preview.4.25258.110 26,351 5/12/2025
10.0.0-preview.3.25171.6 20,623 4/10/2025
10.0.0-preview.2.25163.8 53,358 3/18/2025
10.0.0-preview.1.25081.1 12,533 2/25/2025
9.0.9 153,288 9/9/2025
9.0.8 3,121,336 8/5/2025
9.0.7 2,946,396 7/8/2025
9.0.6 4,164,340 6/10/2025
9.0.5 5,796,834 5/13/2025
9.0.4 7,581,577 4/8/2025
9.0.3 7,546,850 3/11/2025
9.0.2 8,001,544 2/11/2025
9.0.1 16,530,771 1/14/2025
9.0.0 20,816,061 11/12/2024
9.0.0-rc.2.24474.1 228,802 10/8/2024
9.0.0-rc.1.24451.1 144,361 9/10/2024
9.0.0-preview.7.24405.3 100,324 8/13/2024
9.0.0-preview.6.24327.4 199,015 7/9/2024
9.0.0-preview.5.24306.3 64,983 6/11/2024
9.0.0-preview.4.24267.1 68,700 5/21/2024
9.0.0-preview.3.24172.4 184,025 4/11/2024
9.0.0-preview.2.24128.4 81,618 3/12/2024
9.0.0-preview.1.24081.2 133,433 2/13/2024
8.0.20 42,053 9/9/2025
8.0.19 1,023,245 8/5/2025
8.0.18 872,934 7/8/2025
8.0.17 2,278,524 6/10/2025
8.0.16 2,117,402 5/13/2025
8.0.15 3,308,268 4/8/2025
8.0.14 4,207,991 3/11/2025
8.0.13 5,970,696 2/11/2025
8.0.12 5,366,807 1/14/2025
8.0.11 23,105,795 11/12/2024
8.0.10 25,268,325 10/8/2024
8.0.8 29,912,547 8/13/2024
8.0.7 18,205,884 7/9/2024
8.0.6 20,433,379 5/28/2024
8.0.5 8,628,982 5/14/2024
8.0.4 32,994,878 4/9/2024
8.0.3 13,286,979 3/12/2024
8.0.2 27,309,970 2/13/2024
8.0.1 16,988,759 1/9/2024
8.0.0 54,629,189 11/14/2023
8.0.0-rc.2.23480.1 563,610 10/10/2023
8.0.0-rc.1.23419.6 159,067 9/12/2023
8.0.0-preview.7.23375.4 126,376 8/8/2023
8.0.0-preview.6.23329.4 226,620 7/11/2023
8.0.0-preview.5.23280.1 199,856 6/13/2023
8.0.0-preview.4.23259.3 144,522 5/16/2023
8.0.0-preview.3.23174.2 277,952 4/11/2023
8.0.0-preview.2.23128.3 200,623 3/14/2023
8.0.0-preview.1.23111.4 141,844 2/21/2023
7.0.20 4,564,503 5/28/2024
7.0.19 577,575 5/14/2024
7.0.18 2,671,930 4/9/2024
7.0.17 1,728,998 3/12/2024
7.0.16 2,230,276 2/13/2024
7.0.15 3,477,541 1/9/2024
7.0.14 6,500,841 11/14/2023
7.0.13 7,388,017 10/24/2023
7.0.12 4,621,981 10/10/2023
7.0.11 14,745,039 9/12/2023
7.0.10 10,205,390 8/8/2023
7.0.9 9,627,723 7/11/2023
7.0.8 5,833,454 6/22/2023
7.0.7 3,913,710 6/13/2023
7.0.5 27,125,590 4/11/2023
7.0.4 9,743,047 3/14/2023
7.0.3 14,413,878 2/14/2023
7.0.2 19,849,974 1/10/2023
7.0.1 10,549,903 12/13/2022
7.0.0 34,116,177 11/7/2022
7.0.0-rc.2.22472.11 228,723 10/11/2022
7.0.0-rc.1.22426.7 216,946 9/14/2022
7.0.0-preview.7.22376.2 100,355 8/9/2022
7.0.0-preview.6.22329.4 78,682 7/12/2022
7.0.0-preview.5.22302.2 66,167 6/14/2022
7.0.0-preview.4.22229.2 91,177 5/10/2022
7.0.0-preview.3.22175.1 79,588 4/13/2022
7.0.0-preview.2.22153.1 86,841 3/14/2022
7.0.0-preview.1.22076.6 59,406 2/17/2022
6.0.36 2,239,987 11/12/2024
6.0.35 809,786 10/8/2024
6.0.33 2,135,090 8/13/2024
6.0.32 895,920 7/9/2024
6.0.31 1,212,980 5/28/2024
6.0.30 691,229 5/14/2024
6.0.29 3,104,695 4/9/2024
6.0.28 1,782,820 3/12/2024
6.0.27 2,032,624 2/13/2024
6.0.26 2,831,869 1/9/2024
6.0.25 3,900,554 11/14/2023
6.0.24 1,987,885 10/24/2023
6.0.23 1,297,406 10/10/2023
6.0.22 3,547,170 9/12/2023
6.0.21 3,782,239 8/8/2023
6.0.20 3,032,165 7/11/2023
6.0.19 2,551,183 6/22/2023
6.0.18 1,336,497 6/13/2023
6.0.16 7,922,825 4/11/2023
6.0.15 4,376,037 3/14/2023
6.0.14 5,486,191 2/14/2023
6.0.13 7,201,257 1/10/2023
6.0.12 11,311,609 12/13/2022
6.0.11 10,280,934 11/7/2022
6.0.10 18,104,120 10/11/2022
6.0.9 15,801,910 9/13/2022
6.0.8 19,071,212 8/9/2022
6.0.7 51,577,161 7/12/2022
6.0.6 15,370,388 6/14/2022
6.0.5 23,345,616 5/10/2022
6.0.4 18,421,772 4/11/2022
6.0.3 26,263,435 3/8/2022
6.0.2 20,346,965 2/8/2022
6.0.1 34,208,174 12/14/2021
6.0.0 74,800,986 11/8/2021
6.0.0-rc.2.21480.5 334,001 10/12/2021
6.0.0-rc.1.21452.10 273,654 9/14/2021
6.0.0-preview.7.21378.4 101,869 8/10/2021
6.0.0-preview.6.21352.1 44,977 7/14/2021
6.0.0-preview.5.21301.9 191,719 6/15/2021
6.0.0-preview.4.21253.1 79,409 5/24/2021
6.0.0-preview.3.21201.2 102,786 4/8/2021
6.0.0-preview.2.21154.2 75,195 3/11/2021
6.0.0-preview.1.21102.2 98,238 2/12/2021
5.0.17 8,222,168 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,542,065 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,394,888 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,412,110 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,594,926 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,944,873 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,623,558 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,906,750 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,605,440 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,945,720 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,890,255 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,403,563 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,763,993 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,489,200 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,224,195 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,704,050 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 16,448,457 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 27,978,189 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 389,310 10/13/2020
5.0.0-rc.1.20451.13 323,035 9/14/2020
5.0.0-preview.8.20407.4 209,373 8/25/2020
5.0.0-preview.7.20365.15 118,669 7/21/2020
5.0.0-preview.6.20312.4 64,433 6/25/2020
5.0.0-preview.5.20278.2 51,196 6/10/2020
5.0.0-preview.4.20220.10 74,549 5/18/2020
5.0.0-preview.3.20181.2 95,336 4/23/2020
5.0.0-preview.2.20159.4 62,608 4/2/2020
5.0.0-preview.2.20120.8 46,412 3/16/2020
3.1.32 7,162,850 12/13/2022
3.1.31 1,505,529 11/8/2022
3.1.30 820,078 10/11/2022
3.1.29 1,449,898 9/13/2022
3.1.28 922,230 8/9/2022
3.1.27 800,312 7/12/2022
3.1.26 705,475 6/14/2022
3.1.25 1,146,358 5/10/2022
3.1.24 680,495 4/11/2022
3.1.23 1,112,299 3/8/2022
3.1.22 3,729,314 12/14/2021
3.1.21 2,717,071 11/7/2021
3.1.20 1,705,670 10/11/2021
3.1.19 2,552,848 9/14/2021
3.1.18 5,668,169 8/10/2021
3.1.17 1,962,337 7/13/2021
3.1.16 2,455,052 6/8/2021
3.1.15 2,988,027 5/11/2021
3.1.14 3,203,556 4/6/2021
3.1.13 4,809,399 3/9/2021
3.1.12 3,084,106 2/9/2021
3.1.11 5,592,105 1/12/2021
3.1.10 8,504,114 11/9/2020
3.1.9 12,313,389 10/13/2020
3.1.8 17,970,477 9/8/2020
3.1.7 10,391,119 8/11/2020
3.1.6 11,037,592 7/14/2020
3.1.5 13,116,643 6/9/2020
3.1.4 18,389,151 5/12/2020
3.1.3 28,742,400 3/24/2020
3.1.2 12,158,097 2/19/2020
3.1.1 20,606,045 1/14/2020
3.1.0 35,432,539 12/3/2019
3.1.0-preview3.19554.8 165,951 11/13/2019
3.1.0-preview2.19525.5 33,342 11/1/2019
3.1.0-preview1.19506.2 781,467 10/15/2019
3.0.3 196,706 2/19/2020
3.0.2 82,261 1/14/2020
3.0.1 1,429,140 11/18/2019
3.0.0 19,553,002 9/23/2019
3.0.0-rc1.19456.14 47,015 9/16/2019
3.0.0-preview9.19423.6 1,395,760 9/4/2019
3.0.0-preview8.19405.11 413,347 8/13/2019
3.0.0-preview7.19362.6 94,211 7/23/2019
3.0.0-preview6.19304.10 168,752 6/12/2019
3.0.0-preview5.19227.1 672,912 5/6/2019
3.0.0-preview4.19216.3 23,254 4/18/2019
3.0.0-preview3.19153.1 203,037 3/6/2019
3.0.0-preview.19074.3 32,596 1/29/2019
3.0.0-preview.18572.1 49,050 12/3/2018
2.3.0 33,337 1/14/2025
2.2.6 32,449,087 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,804,552 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,404,448 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,524,502 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,963,812 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 22,485,830 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 185,690 10/17/2018
2.2.0-preview2-35157 153,646 9/12/2018
2.2.0-preview1-35029 85,939 8/22/2018
2.1.14 4,096,931 11/18/2019
2.1.11 3,732,053 5/14/2019
2.1.8 3,870,817 2/12/2019
2.1.4 15,721,502 10/1/2018
2.1.3 4,940,976 9/11/2018
2.1.2 8,184,336 8/21/2018
2.1.1 17,305,180 6/18/2018
2.1.0 13,496,485 5/29/2018
2.1.0-rc1-final 225,155 5/6/2018
2.1.0-preview2-final 206,763 4/10/2018
2.1.0-preview1-final 319,203 2/26/2018
2.0.3 5,477,265 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,800,793 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,762,529 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 28,076,458 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 96,953 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,142,819 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 6,211,524 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,259,414 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 230,751 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 311,374 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,208,595 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,349,269 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 7,972,955 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,879 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 56,597 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 44,870 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 59,744 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 701,864 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 79,747 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 855,833 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 2,032,515 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 145,626 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.