Microsoft.EntityFrameworkCore 3.1.6

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

// Install Microsoft.EntityFrameworkCore as a Cake Tool
#tool nuget:?package=Microsoft.EntityFrameworkCore&version=3.1.6                

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. 
.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 (8.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.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 (608)

Showing the top 5 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.
Version Downloads Last updated
9.0.1 942,361 1/14/2025
9.0.0 5,210,681 11/12/2024
9.0.0-rc.2.24474.1 161,924 10/8/2024
9.0.0-rc.1.24451.1 109,723 9/10/2024
9.0.0-preview.7.24405.3 65,175 8/13/2024
9.0.0-preview.6.24327.4 80,190 7/9/2024
9.0.0-preview.5.24306.3 36,768 6/11/2024
9.0.0-preview.4.24267.1 52,509 5/21/2024
9.0.0-preview.3.24172.4 162,925 4/11/2024
9.0.0-preview.2.24128.4 59,759 3/12/2024
9.0.0-preview.1.24081.2 87,835 2/13/2024
8.0.12 570,559 1/14/2025
8.0.11 5,587,337 11/12/2024
8.0.10 11,335,379 10/8/2024
8.0.8 16,813,205 8/13/2024
8.0.7 11,287,696 7/9/2024
8.0.6 13,519,318 5/28/2024
8.0.5 5,950,175 5/14/2024
8.0.4 21,244,131 4/9/2024
8.0.3 9,387,812 3/12/2024
8.0.2 17,415,532 2/13/2024
8.0.1 11,936,806 1/9/2024
8.0.0 32,346,479 11/14/2023
8.0.0-rc.2.23480.1 483,027 10/10/2023
8.0.0-rc.1.23419.6 138,704 9/12/2023
8.0.0-preview.7.23375.4 105,205 8/8/2023
8.0.0-preview.6.23329.4 175,714 7/11/2023
8.0.0-preview.5.23280.1 134,207 6/13/2023
8.0.0-preview.4.23259.3 128,029 5/16/2023
8.0.0-preview.3.23174.2 201,755 4/11/2023
8.0.0-preview.2.23128.3 191,398 3/14/2023
8.0.0-preview.1.23111.4 136,647 2/21/2023
7.0.20 2,300,058 5/28/2024
7.0.19 438,224 5/14/2024
7.0.18 1,846,156 4/9/2024
7.0.17 1,452,965 3/12/2024
7.0.16 1,864,248 2/13/2024
7.0.15 2,923,756 1/9/2024
7.0.14 5,567,272 11/14/2023
7.0.13 6,054,081 10/24/2023
7.0.12 4,138,965 10/10/2023
7.0.11 12,443,727 9/12/2023
7.0.10 9,118,529 8/8/2023
7.0.9 8,379,486 7/11/2023
7.0.8 5,202,084 6/22/2023
7.0.7 3,611,767 6/13/2023
7.0.5 24,248,976 4/11/2023
7.0.4 9,063,021 3/14/2023
7.0.3 13,130,723 2/14/2023
7.0.2 17,744,822 1/10/2023
7.0.1 9,570,782 12/13/2022
7.0.0 26,953,022 11/7/2022
7.0.0-rc.2.22472.11 213,855 10/11/2022
7.0.0-rc.1.22426.7 212,050 9/14/2022
7.0.0-preview.7.22376.2 94,744 8/9/2022
7.0.0-preview.6.22329.4 74,442 7/12/2022
7.0.0-preview.5.22302.2 63,641 6/14/2022
7.0.0-preview.4.22229.2 79,937 5/10/2022
7.0.0-preview.3.22175.1 77,531 4/13/2022
7.0.0-preview.2.22153.1 85,359 3/14/2022
7.0.0-preview.1.22076.6 57,161 2/17/2022
6.0.36 371,929 11/12/2024
6.0.35 419,383 10/8/2024
6.0.33 1,161,014 8/13/2024
6.0.32 611,505 7/9/2024
6.0.31 885,197 5/28/2024
6.0.30 443,831 5/14/2024
6.0.29 2,222,007 4/9/2024
6.0.28 1,316,181 3/12/2024
6.0.27 1,634,795 2/13/2024
6.0.26 2,392,230 1/9/2024
6.0.25 3,275,252 11/14/2023
6.0.24 1,699,886 10/24/2023
6.0.23 1,161,899 10/10/2023
6.0.22 3,137,398 9/12/2023
6.0.21 3,327,510 8/8/2023
6.0.20 2,681,770 7/11/2023
6.0.19 2,236,995 6/22/2023
6.0.18 1,208,318 6/13/2023
6.0.16 7,076,066 4/11/2023
6.0.15 3,964,296 3/14/2023
6.0.14 4,998,192 2/14/2023
6.0.13 6,625,099 1/10/2023
6.0.12 10,261,518 12/13/2022
6.0.11 9,477,777 11/7/2022
6.0.10 16,802,423 10/11/2022
6.0.9 14,734,090 9/13/2022
6.0.8 17,624,706 8/9/2022
6.0.7 47,529,404 7/12/2022
6.0.6 14,177,470 6/14/2022
6.0.5 21,648,483 5/10/2022
6.0.4 17,353,843 4/11/2022
6.0.3 23,433,627 3/8/2022
6.0.2 19,148,701 2/8/2022
6.0.1 31,519,032 12/14/2021
6.0.0 63,538,648 11/8/2021
6.0.0-rc.2.21480.5 319,247 10/12/2021
6.0.0-rc.1.21452.10 245,522 9/14/2021
6.0.0-preview.7.21378.4 95,261 8/10/2021
6.0.0-preview.6.21352.1 43,319 7/14/2021
6.0.0-preview.5.21301.9 184,379 6/15/2021
6.0.0-preview.4.21253.1 71,549 5/24/2021
6.0.0-preview.3.21201.2 94,596 4/8/2021
6.0.0-preview.2.21154.2 72,859 3/11/2021
6.0.0-preview.1.21102.2 94,467 2/12/2021
5.0.17 7,278,568 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 1,461,884 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 2,282,412 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 2,319,448 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 4,348,168 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 4,745,687 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 8,263,245 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 13,124,031 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 10,128,672 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 9,398,861 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 14,163,977 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 8,080,141 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 11,243,057 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 8,182,274 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 7,996,184 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 10,424,248 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 15,647,190 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 25,986,821 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 377,263 10/13/2020
5.0.0-rc.1.20451.13 317,935 9/14/2020
5.0.0-preview.8.20407.4 201,314 8/25/2020
5.0.0-preview.7.20365.15 113,681 7/21/2020
5.0.0-preview.6.20312.4 63,556 6/25/2020
5.0.0-preview.5.20278.2 48,412 6/10/2020
5.0.0-preview.4.20220.10 73,323 5/18/2020
5.0.0-preview.3.20181.2 93,945 4/23/2020
5.0.0-preview.2.20159.4 61,198 4/2/2020
5.0.0-preview.2.20120.8 45,854 3/16/2020
3.1.32 4,817,762 12/13/2022
3.1.31 975,185 11/8/2022
3.1.30 697,364 10/11/2022
3.1.29 1,174,708 9/13/2022
3.1.28 808,646 8/9/2022
3.1.27 719,079 7/12/2022
3.1.26 623,847 6/14/2022
3.1.25 1,059,121 5/10/2022
3.1.24 643,829 4/11/2022
3.1.23 1,041,187 3/8/2022
3.1.22 3,299,933 12/14/2021
3.1.21 2,570,192 11/7/2021
3.1.20 1,506,990 10/11/2021
3.1.19 2,435,015 9/14/2021
3.1.18 5,172,333 8/10/2021
3.1.17 1,855,010 7/13/2021
3.1.16 2,350,919 6/8/2021
3.1.15 2,774,332 5/11/2021
3.1.14 3,077,267 4/6/2021
3.1.13 4,527,753 3/9/2021
3.1.12 2,976,259 2/9/2021
3.1.11 5,384,745 1/12/2021
3.1.10 8,291,549 11/9/2020
3.1.9 11,920,205 10/13/2020
3.1.8 17,606,096 9/8/2020
3.1.7 9,930,245 8/11/2020
3.1.6 10,690,407 7/14/2020
3.1.5 12,700,280 6/9/2020
3.1.4 17,771,896 5/12/2020
3.1.3 27,642,389 3/24/2020
3.1.2 11,817,002 2/19/2020
3.1.1 19,802,700 1/14/2020
3.1.0 33,737,193 12/3/2019
3.1.0-preview3.19554.8 164,142 11/13/2019
3.1.0-preview2.19525.5 32,506 11/1/2019
3.1.0-preview1.19506.2 750,004 10/15/2019
3.0.3 185,990 2/19/2020
3.0.2 79,650 1/14/2020
3.0.1 1,393,127 11/18/2019
3.0.0 18,785,937 9/23/2019
3.0.0-rc1.19456.14 46,470 9/16/2019
3.0.0-preview9.19423.6 1,369,618 9/4/2019
3.0.0-preview8.19405.11 412,316 8/13/2019
3.0.0-preview7.19362.6 90,090 7/23/2019
3.0.0-preview6.19304.10 166,985 6/12/2019
3.0.0-preview5.19227.1 670,734 5/6/2019
3.0.0-preview4.19216.3 22,792 4/18/2019
3.0.0-preview3.19153.1 201,837 3/6/2019
3.0.0-preview.19074.3 30,991 1/29/2019
3.0.0-preview.18572.1 48,218 12/3/2018
2.3.0 1,905 1/14/2025
2.2.6 31,361,395 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 19,391,333 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 5,305,827 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 6,388,172 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 6,842,849 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 21,276,593 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 184,374 10/17/2018
2.2.0-preview2-35157 146,694 9/12/2018
2.2.0-preview1-35029 81,065 8/22/2018
2.1.14 3,894,996 11/18/2019
2.1.11 3,681,832 5/14/2019
2.1.8 3,704,480 2/12/2019
2.1.4 15,438,661 10/1/2018
2.1.3 4,870,267 9/11/2018
2.1.2 8,064,092 8/21/2018
2.1.1 15,890,676 6/18/2018
2.1.0 13,129,806 5/29/2018
2.1.0-rc1-final 223,128 5/6/2018
2.1.0-preview2-final 204,123 4/10/2018
2.1.0-preview1-final 315,810 2/26/2018
2.0.3 5,278,431 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 6,601,560 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 12,373,614 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 26,826,440 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 95,575 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 1,104,640 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 5,686,619 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 1,240,322 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 220,417 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 306,955 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 4,913,695 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 3,110,818 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 6,897,314 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 46,308 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 53,992 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 42,508 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 57,274 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 629,036 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 78,009 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 757,197 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 1,612,014 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 137,401 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.