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 (10.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.VisualStudio.Web.CodeGeneration.Design

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

Microsoft.VisualStudio.Web.CodeGenerators.Mvc

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

GitHub repositories (679)

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.
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10, 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 10 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.
DearVa/Everywhere
Context-aware AI assistant for your desktop. Ready to respond intelligently, seamlessly integrating multiple LLMs and MCP tools.
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
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
Version Downloads Last Updated
10.0.2 2,267,174 1/13/2026
10.0.1 3,359,361 12/9/2025
10.0.0 6,161,837 11/11/2025
10.0.0-rc.2.25502.107 451,876 10/14/2025
10.0.0-rc.1.25451.107 184,019 9/9/2025
10.0.0-preview.7.25380.108 57,241 8/12/2025
10.0.0-preview.6.25358.103 19,928 7/15/2025
10.0.0-preview.5.25277.114 68,544 6/6/2025
10.0.0-preview.4.25258.110 32,354 5/12/2025
10.0.0-preview.3.25171.6 23,014 4/10/2025
10.0.0-preview.2.25163.8 100,572 3/18/2025
10.0.0-preview.1.25081.1 18,178 2/25/2025
9.0.12 609,729 1/13/2026
9.0.11 3,694,952 11/11/2025
9.0.10 6,956,010 10/14/2025
9.0.9 9,613,224 9/9/2025
9.0.8 8,823,421 8/5/2025
9.0.7 7,114,948 7/8/2025
9.0.6 7,887,640 6/10/2025
9.0.5 9,534,162 5/13/2025
9.0.4 11,857,664 4/8/2025
9.0.3 10,164,845 3/11/2025
9.0.2 11,433,502 2/11/2025
9.0.1 31,754,516 1/14/2025
9.0.0 34,207,737 11/12/2024
9.0.0-rc.2.24474.1 258,162 10/8/2024
9.0.0-rc.1.24451.1 160,722 9/10/2024
9.0.0-preview.7.24405.3 120,140 8/13/2024
9.0.0-preview.6.24327.4 253,976 7/9/2024
9.0.0-preview.5.24306.3 76,759 6/11/2024
9.0.0-preview.4.24267.1 77,801 5/21/2024
9.0.0-preview.3.24172.4 194,861 4/11/2024
9.0.0-preview.2.24128.4 94,001 3/12/2024
9.0.0-preview.1.24081.2 152,990 2/13/2024
8.0.23 488,735 1/13/2026
8.0.22 2,736,106 11/11/2025
8.0.21 1,938,851 10/14/2025
8.0.20 2,700,420 9/9/2025
8.0.19 3,993,596 8/5/2025
8.0.18 2,616,846 7/8/2025
8.0.17 4,247,908 6/10/2025
8.0.16 4,015,431 5/13/2025
8.0.15 5,465,478 4/8/2025
8.0.14 6,954,018 3/11/2025
8.0.13 9,912,951 2/11/2025
8.0.12 7,919,354 1/14/2025
8.0.11 36,777,391 11/12/2024
8.0.10 33,119,333 10/8/2024
8.0.8 38,003,135 8/13/2024
8.0.7 22,248,984 7/9/2024
8.0.6 24,551,323 5/28/2024
8.0.5 10,192,749 5/14/2024
8.0.4 40,566,845 4/9/2024
8.0.3 15,476,047 3/12/2024
8.0.2 33,587,611 2/13/2024
8.0.1 20,343,870 1/9/2024
8.0.0 72,438,185 11/14/2023
8.0.0-rc.2.23480.1 603,161 10/10/2023
8.0.0-rc.1.23419.6 166,399 9/12/2023
8.0.0-preview.7.23375.4 140,099 8/8/2023
8.0.0-preview.6.23329.4 256,643 7/11/2023
8.0.0-preview.5.23280.1 225,665 6/13/2023
8.0.0-preview.4.23259.3 154,278 5/16/2023
8.0.0-preview.3.23174.2 373,563 4/11/2023
8.0.0-preview.2.23128.3 205,950 3/14/2023
8.0.0-preview.1.23111.4 144,626 2/21/2023
7.0.20 6,107,921 5/28/2024
7.0.19 678,720 5/14/2024
7.0.18 3,191,190 4/9/2024
7.0.17 1,898,865 3/12/2024
7.0.16 2,436,164 2/13/2024
7.0.15 3,785,295 1/9/2024
7.0.14 6,971,592 11/14/2023
7.0.13 8,236,891 10/24/2023
7.0.12 4,880,752 10/10/2023
7.0.11 16,092,673 9/12/2023
7.0.10 10,968,115 8/8/2023
7.0.9 10,343,598 7/11/2023
7.0.8 6,169,898 6/22/2023
7.0.7 4,210,458 6/13/2023
7.0.5 29,164,649 4/11/2023
7.0.4 10,187,681 3/14/2023
7.0.3 15,232,237 2/14/2023
7.0.2 21,185,352 1/10/2023
7.0.1 11,410,916 12/13/2022
7.0.0 39,258,657 11/7/2022
7.0.0-rc.2.22472.11 239,962 10/11/2022
7.0.0-rc.1.22426.7 225,366 9/14/2022
7.0.0-preview.7.22376.2 107,147 8/9/2022
7.0.0-preview.6.22329.4 81,251 7/12/2022
7.0.0-preview.5.22302.2 67,764 6/14/2022
7.0.0-preview.4.22229.2 95,862 5/10/2022
7.0.0-preview.3.22175.1 80,300 4/13/2022
7.0.0-preview.2.22153.1 87,712 3/14/2022
7.0.0-preview.1.22076.6 60,640 2/17/2022
6.0.36 3,625,048 11/12/2024
6.0.35 1,069,469 10/8/2024
6.0.33 2,680,709 8/13/2024
6.0.32 1,053,249 7/9/2024
6.0.31 1,392,975 5/28/2024
6.0.30 785,989 5/14/2024
6.0.29 3,648,198 4/9/2024
6.0.28 2,049,321 3/12/2024
6.0.27 2,273,163 2/13/2024
6.0.26 3,128,921 1/9/2024
6.0.25 4,253,415 11/14/2023
6.0.24 2,119,480 10/24/2023
6.0.23 1,394,921 10/10/2023
6.0.22 3,805,354 9/12/2023
6.0.21 4,030,611 8/8/2023
6.0.20 3,245,669 7/11/2023
6.0.19 2,769,119 6/22/2023
6.0.18 1,426,777 6/13/2023
6.0.16 8,357,286 4/11/2023
6.0.15 4,600,489 3/14/2023
6.0.14 5,713,872 2/14/2023
6.0.13 7,549,902 1/10/2023
6.0.12 11,923,562 12/13/2022
6.0.11 10,726,166 11/7/2022
6.0.10 18,776,442 10/11/2022
6.0.9 16,467,543 9/13/2022
6.0.8 19,879,207 8/9/2022
6.0.7 53,904,129 7/12/2022
6.0.6 16,150,728 6/14/2022
6.0.5 24,445,973 5/10/2022
6.0.4 19,101,830 4/11/2022
6.0.3 28,194,494 3/8/2022
6.0.2 21,136,884 2/8/2022
6.0.1 36,025,475 12/14/2021
6.0.0 82,767,479 11/8/2021
6.0.0-rc.2.21480.5 340,405 10/12/2021
6.0.0-rc.1.21452.10 277,609 9/14/2021
6.0.0-preview.7.21378.4 104,282 8/10/2021
6.0.0-preview.6.21352.1 45,827 7/14/2021
6.0.0-preview.5.21301.9 197,947 6/15/2021
6.0.0-preview.4.21253.1 80,323 5/24/2021
6.0.0-preview.3.21201.2 104,506 4/8/2021
6.0.0-preview.2.21154.2 75,497 3/11/2021
6.0.0-preview.1.21102.2 99,896 2/12/2021
5.0.17 8,857,563 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,600,840 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,474,959 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,481,717 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,777,223 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 5,096,939 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,875,139 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 14,445,238 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,942,721 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 10,387,937 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 15,483,672 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,644,324 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 12,135,188 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,771,814 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,371,428 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,878,360 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 16,988,112 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 29,393,906 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 394,213 10/13/2020
5.0.0-rc.1.20451.13 324,707 9/14/2020
5.0.0-preview.8.20407.4 211,911 8/25/2020
5.0.0-preview.7.20365.15 120,206 7/21/2020
5.0.0-preview.6.20312.4 65,297 6/25/2020
5.0.0-preview.5.20278.2 51,914 6/10/2020
5.0.0-preview.4.20220.10 75,246 5/18/2020
5.0.0-preview.3.20181.2 96,200 4/23/2020
5.0.0-preview.2.20159.4 63,559 4/2/2020
5.0.0-preview.2.20120.8 46,720 3/16/2020
3.1.32 8,998,897 12/13/2022
3.1.31 2,044,852 11/8/2022
3.1.30 938,778 10/11/2022
3.1.29 1,645,002 9/13/2022
3.1.28 1,019,607 8/9/2022
3.1.27 898,562 7/12/2022
3.1.26 756,465 6/14/2022
3.1.25 1,215,748 5/10/2022
3.1.24 719,235 4/11/2022
3.1.23 1,162,066 3/8/2022
3.1.22 4,079,751 12/14/2021
3.1.21 2,805,672 11/7/2021
3.1.20 1,820,731 10/11/2021
3.1.19 2,633,733 9/14/2021
3.1.18 6,172,417 8/10/2021
3.1.17 2,042,584 7/13/2021
3.1.16 2,527,692 6/8/2021
3.1.15 3,173,825 5/11/2021
3.1.14 3,319,969 4/6/2021
3.1.13 5,031,050 3/9/2021
3.1.12 3,173,572 2/9/2021
3.1.11 5,747,340 1/12/2021
3.1.10 8,718,726 11/9/2020
3.1.9 12,640,530 10/13/2020
3.1.8 18,327,717 9/8/2020
3.1.7 10,730,277 8/11/2020
3.1.6 11,341,221 7/14/2020
3.1.5 13,414,452 6/9/2020
3.1.4 18,884,768 5/12/2020
3.1.3 29,569,433 3/24/2020
3.1.2 12,433,113 2/19/2020
3.1.1 21,332,568 1/14/2020
3.1.0 36,773,540 12/3/2019
3.1.0-preview3.19554.8 173,008 11/13/2019
3.1.0-preview2.19525.5 33,770 11/1/2019
3.1.0-preview1.19506.2 804,678 10/15/2019
3.0.3 216,747 2/19/2020
3.0.2 97,764 1/14/2020
3.0.1 1,477,869 11/18/2019
3.0.0 20,157,554 9/23/2019
3.0.0-rc1.19456.14 47,659 9/16/2019
3.0.0-preview9.19423.6 1,409,718 9/4/2019
3.0.0-preview8.19405.11 444,473 8/13/2019
3.0.0-preview7.19362.6 101,721 7/23/2019
3.0.0-preview6.19304.10 176,949 6/12/2019
3.0.0-preview5.19227.1 723,275 5/6/2019
3.0.0-preview4.19216.3 23,499 4/18/2019
3.0.0-preview3.19153.1 211,416 3/6/2019
3.0.0-preview.19074.3 33,607 1/29/2019
3.0.0-preview.18572.1 49,668 12/3/2018
2.3.0 97,599 1/14/2025
2.2.6 33,325,176 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 20,243,092 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,506,037 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,665,034 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 7,081,016 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 23,510,740 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 187,791 10/17/2018
2.2.0-preview2-35157 159,890 9/12/2018
2.2.0-preview1-35029 87,048 8/22/2018
2.1.14 4,241,567 11/18/2019
2.1.11 3,809,667 5/14/2019
2.1.8 4,026,310 2/12/2019
2.1.4 16,007,189 10/1/2018
2.1.3 5,054,912 9/11/2018
2.1.2 8,334,340 8/21/2018
2.1.1 18,471,226 6/18/2018
2.1.0 13,846,203 5/29/2018
2.1.0-rc1-final 233,232 5/6/2018
2.1.0-preview2-final 219,429 4/10/2018
2.1.0-preview1-final 330,450 2/26/2018
2.0.3 5,714,723 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,996,287 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 13,122,772 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 29,192,219 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 100,004 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,171,743 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 6,582,922 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,304,586 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 250,309 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 328,844 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,422,175 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,524,894 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 8,654,290 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 48,278 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 72,718 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 60,203 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 76,140 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 764,392 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 94,469 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 939,359 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 2,299,920 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 150,758 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.