Microsoft.EntityFrameworkCore 7.0.18

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 7.0.18
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 7.0.18
                    
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="7.0.18" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="7.0.18" />
                    
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 7.0.18
                    
#r "nuget: Microsoft.EntityFrameworkCore, 7.0.18"
                    
#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=7.0.18
                    
Install Microsoft.EntityFrameworkCore as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=7.0.18
                    
Install Microsoft.EntityFrameworkCore 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8.8K)

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

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
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 3, 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.
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
MapsterMapper/Mapster
A fast, fun and stimulating object to object Mapper
Version Downloads Last updated
10.0.0-preview.3.25171.6 3,358 4/10/2025
10.0.0-preview.2.25163.8 10,541 3/18/2025
10.0.0-preview.1.25081.1 11,565 2/25/2025
9.0.4 487,796 4/8/2025
9.0.3 3,574,289 3/11/2025
9.0.2 3,896,086 2/11/2025
9.0.1 5,831,070 1/14/2025
9.0.0 11,016,322 11/12/2024
9.0.0-rc.2.24474.1 193,490 10/8/2024
9.0.0-rc.1.24451.1 124,537 9/10/2024
9.0.0-preview.7.24405.3 81,118 8/13/2024
9.0.0-preview.6.24327.4 121,267 7/9/2024
9.0.0-preview.5.24306.3 44,443 6/11/2024
9.0.0-preview.4.24267.1 58,610 5/21/2024
9.0.0-preview.3.24172.4 172,124 4/11/2024
9.0.0-preview.2.24128.4 68,009 3/12/2024
9.0.0-preview.1.24081.2 104,873 2/13/2024
8.0.15 165,091 4/8/2025
8.0.14 1,241,375 3/11/2025
8.0.13 2,169,928 2/11/2025
8.0.12 2,744,066 1/14/2025
8.0.11 12,223,869 11/12/2024
8.0.10 17,141,636 10/8/2024
8.0.8 22,088,710 8/13/2024
8.0.7 14,059,442 7/9/2024
8.0.6 16,234,271 5/28/2024
8.0.5 7,012,400 5/14/2024
8.0.4 25,813,036 4/9/2024
8.0.3 10,886,594 3/12/2024
8.0.2 21,156,165 2/13/2024
8.0.1 13,860,397 1/9/2024
8.0.0 40,428,058 11/14/2023
8.0.0-rc.2.23480.1 518,070 10/10/2023
8.0.0-rc.1.23419.6 144,170 9/12/2023
8.0.0-preview.7.23375.4 114,181 8/8/2023
8.0.0-preview.6.23329.4 196,203 7/11/2023
8.0.0-preview.5.23280.1 176,849 6/13/2023
8.0.0-preview.4.23259.3 135,304 5/16/2023
8.0.0-preview.3.23174.2 226,155 4/11/2023
8.0.0-preview.2.23128.3 195,202 3/14/2023
8.0.0-preview.1.23111.4 138,777 2/21/2023
7.0.20 3,130,112 5/28/2024
7.0.19 500,948 5/14/2024
7.0.18 2,181,574 4/9/2024
7.0.17 1,582,670 3/12/2024
7.0.16 2,019,300 2/13/2024
7.0.15 3,149,805 1/9/2024
7.0.14 5,964,094 11/14/2023
7.0.13 6,606,845 10/24/2023
7.0.12 4,362,887 10/10/2023
7.0.11 13,351,163 9/12/2023
7.0.10 9,547,441 8/8/2023
7.0.9 8,898,603 7/11/2023
7.0.8 5,434,051 6/22/2023
7.0.7 3,737,212 6/13/2023
7.0.5 25,311,484 4/11/2023
7.0.4 9,338,780 3/14/2023
7.0.3 13,651,904 2/14/2023
7.0.2 18,528,177 1/10/2023
7.0.1 9,937,867 12/13/2022
7.0.0 29,498,323 11/7/2022
7.0.0-rc.2.22472.11 219,301 10/11/2022
7.0.0-rc.1.22426.7 213,887 9/14/2022
7.0.0-preview.7.22376.2 97,913 8/9/2022
7.0.0-preview.6.22329.4 76,616 7/12/2022
7.0.0-preview.5.22302.2 64,836 6/14/2022
7.0.0-preview.4.22229.2 84,325 5/10/2022
7.0.0-preview.3.22175.1 78,599 4/13/2022
7.0.0-preview.2.22153.1 86,082 3/14/2022
7.0.0-preview.1.22076.6 58,271 2/17/2022
6.0.36 950,720 11/12/2024
6.0.35 584,195 10/8/2024
6.0.33 1,579,485 8/13/2024
6.0.32 734,905 7/9/2024
6.0.31 1,017,826 5/28/2024
6.0.30 539,988 5/14/2024
6.0.29 2,563,518 4/9/2024
6.0.28 1,502,499 3/12/2024
6.0.27 1,799,524 2/13/2024
6.0.26 2,569,277 1/9/2024
6.0.25 3,549,611 11/14/2023
6.0.24 1,846,740 10/24/2023
6.0.23 1,219,492 10/10/2023
6.0.22 3,316,123 9/12/2023
6.0.21 3,516,966 8/8/2023
6.0.20 2,824,641 7/11/2023
6.0.19 2,371,160 6/22/2023
6.0.18 1,262,540 6/13/2023
6.0.16 7,456,802 4/11/2023
6.0.15 4,125,137 3/14/2023
6.0.14 5,227,427 2/14/2023
6.0.13 6,859,702 1/10/2023
6.0.12 10,697,679 12/13/2022
6.0.11 9,809,038 11/7/2022
6.0.10 17,325,383 10/11/2022
6.0.9 15,148,294 9/13/2022
6.0.8 18,218,562 8/9/2022
6.0.7 49,214,084 7/12/2022
6.0.6 14,623,648 6/14/2022
6.0.5 22,305,766 5/10/2022
6.0.4 17,777,988 4/11/2022
6.0.3 24,401,162 3/8/2022
6.0.2 19,627,402 2/8/2022
6.0.1 32,509,914 12/14/2021
6.0.0 67,777,976 11/8/2021
6.0.0-rc.2.21480.5 324,515 10/12/2021
6.0.0-rc.1.21452.10 266,324 9/14/2021
6.0.0-preview.7.21378.4 97,256 8/10/2021
6.0.0-preview.6.21352.1 43,727 7/14/2021
6.0.0-preview.5.21301.9 187,249 6/15/2021
6.0.0-preview.4.21253.1 72,794 5/24/2021
6.0.0-preview.3.21201.2 96,990 4/8/2021
6.0.0-preview.2.21154.2 73,053 3/11/2021
6.0.0-preview.1.21102.2 96,077 2/12/2021
5.0.17 7,638,437 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,494,403 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,334,745 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,355,635 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,447,193 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,831,148 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,395,992 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,403,058 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,299,470 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,598,738 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,388,841 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,190,843 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,419,452 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,281,072 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 8,074,316 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,523,132 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 15,934,307 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 26,658,813 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 380,430 10/13/2020
5.0.0-rc.1.20451.13 318,866 9/14/2020
5.0.0-preview.8.20407.4 202,910 8/25/2020
5.0.0-preview.7.20365.15 114,768 7/21/2020
5.0.0-preview.6.20312.4 63,944 6/25/2020
5.0.0-preview.5.20278.2 49,563 6/10/2020
5.0.0-preview.4.20220.10 73,855 5/18/2020
5.0.0-preview.3.20181.2 94,722 4/23/2020
5.0.0-preview.2.20159.4 61,704 4/2/2020
5.0.0-preview.2.20120.8 46,115 3/16/2020
3.1.32 5,658,234 12/13/2022
3.1.31 1,102,677 11/8/2022
3.1.30 742,023 10/11/2022
3.1.29 1,282,973 9/13/2022
3.1.28 849,260 8/9/2022
3.1.27 748,951 7/12/2022
3.1.26 654,311 6/14/2022
3.1.25 1,092,613 5/10/2022
3.1.24 657,820 4/11/2022
3.1.23 1,070,827 3/8/2022
3.1.22 3,443,814 12/14/2021
3.1.21 2,640,133 11/7/2021
3.1.20 1,577,301 10/11/2021
3.1.19 2,479,354 9/14/2021
3.1.18 5,309,847 8/10/2021
3.1.17 1,898,391 7/13/2021
3.1.16 2,392,395 6/8/2021
3.1.15 2,853,743 5/11/2021
3.1.14 3,125,085 4/6/2021
3.1.13 4,624,648 3/9/2021
3.1.12 3,017,861 2/9/2021
3.1.11 5,471,796 1/12/2021
3.1.10 8,366,200 11/9/2020
3.1.9 12,069,988 10/13/2020
3.1.8 17,748,935 9/8/2020
3.1.7 10,109,681 8/11/2020
3.1.6 10,823,493 7/14/2020
3.1.5 12,881,831 6/9/2020
3.1.4 17,990,024 5/12/2020
3.1.3 28,065,539 3/24/2020
3.1.2 11,954,010 2/19/2020
3.1.1 20,065,317 1/14/2020
3.1.0 34,366,541 12/3/2019
3.1.0-preview3.19554.8 164,788 11/13/2019
3.1.0-preview2.19525.5 32,751 11/1/2019
3.1.0-preview1.19506.2 761,920 10/15/2019
3.0.3 189,892 2/19/2020
3.0.2 80,231 1/14/2020
3.0.1 1,406,263 11/18/2019
3.0.0 19,089,421 9/23/2019
3.0.0-rc1.19456.14 46,724 9/16/2019
3.0.0-preview9.19423.6 1,381,774 9/4/2019
3.0.0-preview8.19405.11 412,697 8/13/2019
3.0.0-preview7.19362.6 90,666 7/23/2019
3.0.0-preview6.19304.10 168,110 6/12/2019
3.0.0-preview5.19227.1 671,731 5/6/2019
3.0.0-preview4.19216.3 23,021 4/18/2019
3.0.0-preview3.19153.1 202,368 3/6/2019
3.0.0-preview.19074.3 31,665 1/29/2019
3.0.0-preview.18572.1 48,605 12/3/2018
2.3.0 10,784 1/14/2025
2.2.6 31,779,959 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,556,939 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,341,262 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,438,902 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,895,545 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 21,735,681 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 184,894 10/17/2018
2.2.0-preview2-35157 149,153 9/12/2018
2.2.0-preview1-35029 82,319 8/22/2018
2.1.14 3,974,535 11/18/2019
2.1.11 3,700,295 5/14/2019
2.1.8 3,763,204 2/12/2019
2.1.4 15,557,814 10/1/2018
2.1.3 4,893,162 9/11/2018
2.1.2 8,108,686 8/21/2018
2.1.1 16,393,740 6/18/2018
2.1.0 13,277,484 5/29/2018
2.1.0-rc1-final 224,362 5/6/2018
2.1.0-preview2-final 205,432 4/10/2018
2.1.0-preview1-final 316,807 2/26/2018
2.0.3 5,345,334 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,677,578 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,521,816 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 27,299,446 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 96,143 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,118,818 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 5,869,385 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,247,948 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 224,369 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 308,296 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 5,015,423 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,188,605 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 7,311,302 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,544 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 54,834 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 43,203 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 57,884 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 653,470 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 78,370 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 793,821 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,763,796 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 140,669 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.