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

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 2,350 4/11/2024
9.0.0-preview.2.24128.4 13,526 3/12/2024
9.0.0-preview.1.24081.2 12,968 2/13/2024
8.0.4 213,557 4/9/2024
8.0.3 1,278,900 3/12/2024
8.0.2 2,049,452 2/13/2024
8.0.1 2,835,393 1/9/2024
8.0.0 3,811,504 11/14/2023
8.0.0-rc.2.23480.1 86,213 10/10/2023
8.0.0-rc.1.23419.6 55,351 9/12/2023
8.0.0-preview.7.23375.4 38,798 8/8/2023
8.0.0-preview.6.23329.4 52,664 7/11/2023
8.0.0-preview.5.23280.1 42,791 6/13/2023
8.0.0-preview.4.23259.3 32,411 5/16/2023
8.0.0-preview.3.23174.2 47,157 4/11/2023
8.0.0-preview.2.23128.3 97,782 3/14/2023
8.0.0-preview.1.23111.4 33,366 2/21/2023
7.0.18 24,312 4/9/2024
7.0.17 209,813 3/12/2024
7.0.16 397,705 2/13/2024
7.0.15 809,710 1/9/2024
7.0.14 1,680,012 11/14/2023
7.0.13 2,109,868 10/24/2023
7.0.12 1,456,648 10/10/2023
7.0.11 3,012,851 9/12/2023
7.0.10 3,638,408 8/8/2023
7.0.9 3,006,930 7/11/2023
7.0.8 1,977,244 6/22/2023
7.0.7 1,841,766 6/13/2023
7.0.5 8,261,119 4/11/2023
7.0.4 3,539,923 3/14/2023
7.0.3 4,446,501 2/14/2023
7.0.2 4,952,925 1/10/2023
7.0.1 2,986,901 12/13/2022
7.0.0 6,647,553 11/7/2022
7.0.0-rc.2.22472.11 90,560 10/11/2022
7.0.0-rc.1.22426.7 127,906 9/14/2022
7.0.0-preview.7.22376.2 31,220 8/9/2022
7.0.0-preview.6.22329.4 30,937 7/12/2022
7.0.0-preview.5.22302.2 23,833 6/14/2022
7.0.0-preview.4.22229.2 29,845 5/10/2022
7.0.0-preview.3.22175.1 43,722 4/13/2022
7.0.0-preview.2.22153.1 20,869 3/14/2022
7.0.0-preview.1.22076.6 24,149 2/17/2022
6.0.29 29,110 4/9/2024
6.0.28 172,875 3/12/2024
6.0.27 318,719 2/13/2024
6.0.26 662,072 1/9/2024
6.0.25 961,288 11/14/2023
6.0.24 580,125 10/24/2023
6.0.23 426,777 10/10/2023
6.0.22 863,006 9/12/2023
6.0.21 1,202,671 8/8/2023
6.0.20 1,031,834 7/11/2023
6.0.19 974,934 6/22/2023
6.0.18 450,613 6/13/2023
6.0.16 2,924,691 4/11/2023
6.0.15 1,750,454 3/14/2023
6.0.14 1,894,966 2/14/2023
6.0.13 3,143,134 1/10/2023
6.0.12 2,240,305 12/13/2022
6.0.11 4,508,798 11/7/2022
6.0.10 7,470,377 10/11/2022
6.0.9 7,131,420 9/13/2022
6.0.8 7,783,527 8/9/2022
6.0.7 7,464,113 7/12/2022
6.0.6 5,658,164 6/14/2022
6.0.5 8,071,107 5/10/2022
6.0.4 5,824,478 4/11/2022
6.0.3 8,003,429 3/8/2022
6.0.2 6,209,674 2/8/2022
6.0.1 13,554,653 12/14/2021
6.0.0 12,430,302 11/8/2021
6.0.0-rc.2.21480.5 130,015 10/12/2021
6.0.0-rc.1.21452.10 62,530 9/14/2021
6.0.0-preview.7.21378.4 33,881 8/10/2021
6.0.0-preview.6.21352.1 21,588 7/14/2021
6.0.0-preview.5.21301.9 84,380 6/15/2021
6.0.0-preview.4.21253.1 23,244 5/24/2021
6.0.0-preview.3.21201.2 43,666 4/8/2021
6.0.0-preview.2.21154.2 20,770 3/11/2021
6.0.0-preview.1.21102.2 50,182 2/12/2021
5.0.17 2,641,555 5/10/2022
5.0.16 755,464 4/11/2022
5.0.15 937,722 3/8/2022
5.0.14 776,771 2/8/2022
5.0.13 1,872,136 12/14/2021
5.0.12 2,208,238 11/7/2021
5.0.11 3,856,217 10/12/2021
5.0.10 4,303,607 9/14/2021
5.0.9 4,447,896 8/10/2021
5.0.8 4,400,654 7/13/2021
5.0.7 5,207,550 6/8/2021
5.0.6 3,859,239 5/11/2021
5.0.5 5,036,269 4/6/2021
5.0.4 3,607,821 3/9/2021
5.0.3 4,014,262 2/9/2021
5.0.2 3,884,226 1/12/2021
5.0.1 3,612,282 12/8/2020
5.0.0 6,267,096 11/9/2020
5.0.0-rc.2.20475.6 120,060 10/13/2020
5.0.0-rc.1.20451.13 124,966 9/14/2020
5.0.0-preview.8.20407.4 51,864 8/25/2020
5.0.0-preview.7.20365.15 45,990 7/21/2020
5.0.0-preview.6.20312.4 41,295 6/25/2020
5.0.0-preview.5.20278.2 30,238 6/10/2020
5.0.0-preview.4.20220.10 43,561 5/18/2020
5.0.0-preview.3.20181.2 50,772 4/23/2020
5.0.0-preview.2.20159.4 26,072 4/2/2020
5.0.0-preview.2.20120.8 23,044 3/16/2020
3.1.32 1,657,039 12/13/2022
3.1.31 423,421 11/8/2022
3.1.30 265,224 10/11/2022
3.1.29 569,537 9/13/2022
3.1.28 415,810 8/9/2022
3.1.27 357,516 7/12/2022
3.1.26 297,041 6/14/2022
3.1.25 541,769 5/10/2022
3.1.24 316,781 4/11/2022
3.1.23 578,467 3/8/2022
3.1.22 1,659,229 12/14/2021
3.1.21 1,475,714 11/7/2021
3.1.20 730,761 10/11/2021
3.1.19 921,519 9/14/2021
3.1.18 2,268,380 8/10/2021
3.1.17 1,073,870 7/13/2021
3.1.16 1,404,152 6/8/2021
3.1.15 1,507,753 5/11/2021
3.1.14 1,580,750 4/6/2021
3.1.13 1,767,011 3/9/2021
3.1.12 1,628,261 2/9/2021
3.1.11 1,838,552 1/12/2021
3.1.10 4,738,721 11/9/2020
3.1.9 6,868,393 10/13/2020
3.1.8 8,662,230 9/8/2020
3.1.7 5,277,478 8/11/2020
3.1.6 4,833,211 7/14/2020
3.1.5 5,795,637 6/9/2020
3.1.4 5,361,645 5/12/2020
3.1.3 9,049,963 3/24/2020
3.1.2 6,278,149 2/19/2020
3.1.1 6,119,827 1/14/2020
3.1.0 7,792,186 12/3/2019
3.1.0-preview3.19554.8 41,127 11/13/2019
3.1.0-preview2.19525.5 17,997 11/1/2019
3.1.0-preview1.19506.2 484,738 10/15/2019
3.0.3 70,665 2/19/2020
3.0.2 36,007 1/14/2020
3.0.1 725,077 11/18/2019
3.0.0 5,982,365 9/23/2019
3.0.0-rc1.19456.14 33,982 9/16/2019
3.0.0-preview9.19423.6 40,865 9/4/2019
3.0.0-preview8.19405.11 56,248 8/13/2019
3.0.0-preview7.19362.6 40,322 7/23/2019
3.0.0-preview6.19304.10 114,223 6/12/2019
3.0.0-preview5.19227.1 64,431 5/6/2019
3.0.0-preview4.19216.3 11,351 4/18/2019
3.0.0-preview3.19153.1 35,425 3/6/2019
3.0.0-preview.19074.3 14,648 1/29/2019
3.0.0-preview.18572.1 16,047 12/3/2018
2.2.6 18,968,039 7/9/2019
2.2.4 10,430,476 4/9/2019
2.2.3 3,291,009 3/11/2019
2.2.2 3,713,769 2/12/2019
2.2.1 3,720,591 1/8/2019
2.2.0 11,875,229 12/3/2018
2.2.0-preview3-35497 110,722 10/17/2018
2.2.0-preview2-35157 85,096 9/12/2018
2.2.0-preview1-35029 15,818 8/22/2018
2.1.14 2,484,125 11/18/2019
2.1.11 2,211,387 5/14/2019
2.1.8 2,540,101 2/12/2019
2.1.4 9,004,011 10/1/2018
2.1.3 3,747,325 9/11/2018
2.1.2 2,907,261 8/21/2018
2.1.1 10,779,459 6/18/2018
2.1.0 5,715,080 5/29/2018
2.1.0-rc1-final 104,721 5/6/2018
2.1.0-preview2-final 154,628 4/10/2018
2.1.0-preview1-final 214,487 2/26/2018
2.0.3 4,074,689 5/7/2018
2.0.2 5,032,159 3/13/2018
2.0.1 6,500,413 11/14/2017
2.0.0 7,728,990 8/11/2017
2.0.0-preview2-final 64,185 6/28/2017
2.0.0-preview1-final 106,109 5/10/2017
1.1.6 1,041,446 7/10/2018
1.1.5 441,128 12/12/2017
1.1.4 32,237 11/14/2017
1.1.3 86,507 9/20/2017
1.1.2 1,404,655 5/9/2017
1.1.1 860,197 3/6/2017
1.1.0 693,004 11/16/2016
1.1.0-preview1-final 19,274 10/24/2016
1.0.6 20,715 11/14/2017
1.0.5 15,161 9/20/2017
1.0.4 28,109 5/9/2017
1.0.3 356,039 3/6/2017
1.0.2 35,033 12/12/2016
1.0.1 1,674,436 9/13/2016
1.0.0 530,739 6/27/2016
1.0.0-rc2-final 56,556 5/16/2016