Microsoft.EntityFrameworkCore.SqlServer 8.0.4

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 3.6 or higher.

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

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

Microsoft.EntityFrameworkCore.SqlServer is the EF Core database provider package for Microsoft SQL Server and Azure SQL.

Usage

Call the UseSqlServer method to choose the SQL Server/Azure SQL database provider for your DbContext. For example:

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
    optionsBuilder.UseSqlServer("Server=(localdb)\\mssqllocaldb;Database=MyDatabase;Trusted_Connection=True;");
}

Getting started with EF Core

See Getting started with EF Core for more information about EF NuGet packages, including which to install when getting started.

Additional documentation

See Microsoft SQL Server EF Core Database Provider for more information about the features of this database provider.

Feedback

If you encounter a bug or issues with this package,you can open an Github issue. For more details, see getting support.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3.2K)

Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.SqlServer:

Package Downloads
Microsoft.AspNetCore.App The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

Microsoft.AspNetCore.All The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. 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.

Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core.

EntityFrameworkCore.SqlServer.HierarchyId

Adds hierarchyid support to the SQL Server EF Core provider

Microsoft.EntityFrameworkCore.SqlServer.Design The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Design-time Entity Framework Core Functionality for Microsoft SQL Server.

GitHub repositories (554)

Showing the top 5 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.SqlServer:

Repository Stars
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
DapperLib/Dapper
Dapper - a simple object mapper for .Net
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
Version Downloads Last updated
9.0.0-preview.3.24172.4 5,366 4/11/2024
9.0.0-preview.2.24128.4 14,270 3/12/2024
9.0.0-preview.1.24081.2 13,391 2/13/2024
8.0.4 506,886 4/9/2024
8.0.3 1,514,922 3/12/2024
8.0.2 2,237,698 2/13/2024
8.0.1 2,984,047 1/9/2024
8.0.0 3,975,462 11/14/2023
8.0.0-rc.2.23480.1 86,668 10/10/2023
8.0.0-rc.1.23419.6 55,494 9/12/2023
8.0.0-preview.7.23375.4 38,866 8/8/2023
8.0.0-preview.6.23329.4 53,149 7/11/2023
8.0.0-preview.5.23280.1 43,025 6/13/2023
8.0.0-preview.4.23259.3 32,721 5/16/2023
8.0.0-preview.3.23174.2 47,574 4/11/2023
8.0.0-preview.2.23128.3 100,276 3/14/2023
8.0.0-preview.1.23111.4 33,568 2/21/2023
7.0.18 53,429 4/9/2024
7.0.17 246,395 3/12/2024
7.0.16 426,510 2/13/2024
7.0.15 845,775 1/9/2024
7.0.14 1,726,997 11/14/2023
7.0.13 2,157,752 10/24/2023
7.0.12 1,482,363 10/10/2023
7.0.11 3,068,832 9/12/2023
7.0.10 3,693,100 8/8/2023
7.0.9 3,043,557 7/11/2023
7.0.8 1,996,206 6/22/2023
7.0.7 1,861,740 6/13/2023
7.0.5 8,344,981 4/11/2023
7.0.4 3,565,205 3/14/2023
7.0.3 4,480,071 2/14/2023
7.0.2 4,989,555 1/10/2023
7.0.1 3,009,335 12/13/2022
7.0.0 6,717,364 11/7/2022
7.0.0-rc.2.22472.11 90,904 10/11/2022
7.0.0-rc.1.22426.7 128,448 9/14/2022
7.0.0-preview.7.22376.2 31,269 8/9/2022
7.0.0-preview.6.22329.4 31,093 7/12/2022
7.0.0-preview.5.22302.2 23,872 6/14/2022
7.0.0-preview.4.22229.2 29,885 5/10/2022
7.0.0-preview.3.22175.1 43,818 4/13/2022
7.0.0-preview.2.22153.1 20,872 3/14/2022
7.0.0-preview.1.22076.6 24,185 2/17/2022
6.0.29 64,307 4/9/2024
6.0.28 199,465 3/12/2024
6.0.27 347,875 2/13/2024
6.0.26 697,111 1/9/2024
6.0.25 997,150 11/14/2023
6.0.24 594,006 10/24/2023
6.0.23 434,461 10/10/2023
6.0.22 884,007 9/12/2023
6.0.21 1,225,568 8/8/2023
6.0.20 1,048,444 7/11/2023
6.0.19 997,755 6/22/2023
6.0.18 456,104 6/13/2023
6.0.16 2,959,320 4/11/2023
6.0.15 1,767,528 3/14/2023
6.0.14 1,914,186 2/14/2023
6.0.13 3,174,286 1/10/2023
6.0.12 2,261,879 12/13/2022
6.0.11 4,542,326 11/7/2022
6.0.10 7,530,654 10/11/2022
6.0.9 7,179,959 9/13/2022
6.0.8 7,832,345 8/9/2022
6.0.7 7,504,890 7/12/2022
6.0.6 5,688,470 6/14/2022
6.0.5 8,116,170 5/10/2022
6.0.4 5,857,963 4/11/2022
6.0.3 8,040,304 3/8/2022
6.0.2 6,238,895 2/8/2022
6.0.1 13,643,832 12/14/2021
6.0.0 12,522,101 11/8/2021
6.0.0-rc.2.21480.5 130,172 10/12/2021
6.0.0-rc.1.21452.10 62,603 9/14/2021
6.0.0-preview.7.21378.4 34,003 8/10/2021
6.0.0-preview.6.21352.1 21,602 7/14/2021
6.0.0-preview.5.21301.9 84,673 6/15/2021
6.0.0-preview.4.21253.1 23,279 5/24/2021
6.0.0-preview.3.21201.2 43,764 4/8/2021
6.0.0-preview.2.21154.2 20,855 3/11/2021
6.0.0-preview.1.21102.2 50,230 2/12/2021
5.0.17 2,663,744 5/10/2022
5.0.16 759,012 4/11/2022
5.0.15 940,353 3/8/2022
5.0.14 779,843 2/8/2022
5.0.13 1,878,705 12/14/2021
5.0.12 2,213,608 11/7/2021
5.0.11 3,866,589 10/12/2021
5.0.10 4,313,178 9/14/2021
5.0.9 4,456,437 8/10/2021
5.0.8 4,417,539 7/13/2021
5.0.7 5,220,651 6/8/2021
5.0.6 3,866,829 5/11/2021
5.0.5 5,049,068 4/6/2021
5.0.4 3,613,176 3/9/2021
5.0.3 4,019,513 2/9/2021
5.0.2 3,889,971 1/12/2021
5.0.1 3,618,212 12/8/2020
5.0.0 6,285,442 11/9/2020
5.0.0-rc.2.20475.6 120,141 10/13/2020
5.0.0-rc.1.20451.13 125,062 9/14/2020
5.0.0-preview.8.20407.4 51,929 8/25/2020
5.0.0-preview.7.20365.15 46,038 7/21/2020
5.0.0-preview.6.20312.4 41,328 6/25/2020
5.0.0-preview.5.20278.2 30,295 6/10/2020
5.0.0-preview.4.20220.10 43,607 5/18/2020
5.0.0-preview.3.20181.2 50,788 4/23/2020
5.0.0-preview.2.20159.4 26,102 4/2/2020
5.0.0-preview.2.20120.8 23,049 3/16/2020
3.1.32 1,692,866 12/13/2022
3.1.31 430,151 11/8/2022
3.1.30 266,726 10/11/2022
3.1.29 575,341 9/13/2022
3.1.28 418,580 8/9/2022
3.1.27 359,790 7/12/2022
3.1.26 298,331 6/14/2022
3.1.25 543,902 5/10/2022
3.1.24 317,890 4/11/2022
3.1.23 580,684 3/8/2022
3.1.22 1,668,127 12/14/2021
3.1.21 1,484,479 11/7/2021
3.1.20 734,329 10/11/2021
3.1.19 925,291 9/14/2021
3.1.18 2,271,574 8/10/2021
3.1.17 1,076,783 7/13/2021
3.1.16 1,409,309 6/8/2021
3.1.15 1,514,329 5/11/2021
3.1.14 1,584,471 4/6/2021
3.1.13 1,769,999 3/9/2021
3.1.12 1,631,860 2/9/2021
3.1.11 1,841,739 1/12/2021
3.1.10 4,746,375 11/9/2020
3.1.9 6,877,064 10/13/2020
3.1.8 8,671,428 9/8/2020
3.1.7 5,287,966 8/11/2020
3.1.6 4,839,757 7/14/2020
3.1.5 5,803,429 6/9/2020
3.1.4 5,369,701 5/12/2020
3.1.3 9,064,158 3/24/2020
3.1.2 6,286,482 2/19/2020
3.1.1 6,128,665 1/14/2020
3.1.0 7,812,401 12/3/2019
3.1.0-preview3.19554.8 41,171 11/13/2019
3.1.0-preview2.19525.5 18,012 11/1/2019
3.1.0-preview1.19506.2 486,134 10/15/2019
3.0.3 70,770 2/19/2020
3.0.2 36,037 1/14/2020
3.0.1 725,721 11/18/2019
3.0.0 5,993,455 9/23/2019
3.0.0-rc1.19456.14 34,002 9/16/2019
3.0.0-preview9.19423.6 40,918 9/4/2019
3.0.0-preview8.19405.11 56,277 8/13/2019
3.0.0-preview7.19362.6 40,346 7/23/2019
3.0.0-preview6.19304.10 114,308 6/12/2019
3.0.0-preview5.19227.1 64,444 5/6/2019
3.0.0-preview4.19216.3 11,353 4/18/2019
3.0.0-preview3.19153.1 35,431 3/6/2019
3.0.0-preview.19074.3 14,651 1/29/2019
3.0.0-preview.18572.1 16,054 12/3/2018
2.2.6 18,998,406 7/9/2019
2.2.4 10,443,809 4/9/2019
2.2.3 3,293,628 3/11/2019
2.2.2 3,716,879 2/12/2019
2.2.1 3,723,954 1/8/2019
2.2.0 11,903,021 12/3/2018
2.2.0-preview3-35497 110,737 10/17/2018
2.2.0-preview2-35157 85,132 9/12/2018
2.2.0-preview1-35029 15,821 8/22/2018
2.1.14 2,488,522 11/18/2019
2.1.11 2,212,984 5/14/2019
2.1.8 2,546,884 2/12/2019
2.1.4 9,010,289 10/1/2018
2.1.3 3,749,245 9/11/2018
2.1.2 2,909,059 8/21/2018
2.1.1 10,824,634 6/18/2018
2.1.0 5,722,077 5/29/2018
2.1.0-rc1-final 105,168 5/6/2018
2.1.0-preview2-final 155,485 4/10/2018
2.1.0-preview1-final 214,935 2/26/2018
2.0.3 4,079,193 5/7/2018
2.0.2 5,037,381 3/13/2018
2.0.1 6,507,664 11/14/2017
2.0.0 7,744,500 8/11/2017
2.0.0-preview2-final 64,230 6/28/2017
2.0.0-preview1-final 106,276 5/10/2017
1.1.6 1,048,150 7/10/2018
1.1.5 441,411 12/12/2017
1.1.4 32,245 11/14/2017
1.1.3 86,539 9/20/2017
1.1.2 1,406,098 5/9/2017
1.1.1 860,874 3/6/2017
1.1.0 693,610 11/16/2016
1.1.0-preview1-final 19,294 10/24/2016
1.0.6 20,730 11/14/2017
1.0.5 15,210 9/20/2017
1.0.4 28,132 5/9/2017
1.0.3 356,460 3/6/2017
1.0.2 35,037 12/12/2016
1.0.1 1,674,554 9/13/2016
1.0.0 532,598 6/27/2016
1.0.0-rc2-final 56,567 5/16/2016