Microsoft.EntityFrameworkCore.SqlServer 8.0.3

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.3
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 8.0.3
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.3" />
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.3
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 8.0.3"
#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.3

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

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

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.2.24128.4 2,995 3/12/2024
9.0.0-preview.1.24081.2 11,284 2/13/2024
8.0.3 150,630 3/12/2024
8.0.2 1,230,976 2/13/2024
8.0.1 2,228,571 1/9/2024
8.0.0 3,150,268 11/14/2023
8.0.0-rc.2.23480.1 84,004 10/10/2023
8.0.0-rc.1.23419.6 54,375 9/12/2023
8.0.0-preview.7.23375.4 38,249 8/8/2023
8.0.0-preview.6.23329.4 50,764 7/11/2023
8.0.0-preview.5.23280.1 41,572 6/13/2023
8.0.0-preview.4.23259.3 31,323 5/16/2023
8.0.0-preview.3.23174.2 45,482 4/11/2023
8.0.0-preview.2.23128.3 87,658 3/14/2023
8.0.0-preview.1.23111.4 32,058 2/21/2023
7.0.17 35,414 3/12/2024
7.0.16 270,796 2/13/2024
7.0.15 649,677 1/9/2024
7.0.14 1,484,578 11/14/2023
7.0.13 1,910,164 10/24/2023
7.0.12 1,351,218 10/10/2023
7.0.11 2,773,566 9/12/2023
7.0.10 3,418,633 8/8/2023
7.0.9 2,858,443 7/11/2023
7.0.8 1,895,274 6/22/2023
7.0.7 1,758,632 6/13/2023
7.0.5 7,924,325 4/11/2023
7.0.4 3,433,207 3/14/2023
7.0.3 4,316,127 2/14/2023
7.0.2 4,789,599 1/10/2023
7.0.1 2,893,320 12/13/2022
7.0.0 6,358,183 11/7/2022
7.0.0-rc.2.22472.11 89,269 10/11/2022
7.0.0-rc.1.22426.7 125,753 9/14/2022
7.0.0-preview.7.22376.2 30,910 8/9/2022
7.0.0-preview.6.22329.4 30,260 7/12/2022
7.0.0-preview.5.22302.2 23,554 6/14/2022
7.0.0-preview.4.22229.2 29,698 5/10/2022
7.0.0-preview.3.22175.1 43,003 4/13/2022
7.0.0-preview.2.22153.1 20,822 3/14/2022
7.0.0-preview.1.22076.6 24,049 2/17/2022
6.0.28 24,932 3/12/2024
6.0.27 204,912 2/13/2024
6.0.26 513,472 1/9/2024
6.0.25 825,004 11/14/2023
6.0.24 513,716 10/24/2023
6.0.23 395,685 10/10/2023
6.0.22 783,154 9/12/2023
6.0.21 1,120,345 8/8/2023
6.0.20 966,296 7/11/2023
6.0.19 896,016 6/22/2023
6.0.18 429,378 6/13/2023
6.0.16 2,782,284 4/11/2023
6.0.15 1,682,047 3/14/2023
6.0.14 1,813,962 2/14/2023
6.0.13 3,018,301 1/10/2023
6.0.12 2,155,317 12/13/2022
6.0.11 4,359,595 11/7/2022
6.0.10 7,238,103 10/11/2022
6.0.9 6,911,199 9/13/2022
6.0.8 7,597,008 8/9/2022
6.0.7 7,292,201 7/12/2022
6.0.6 5,537,634 6/14/2022
6.0.5 7,889,379 5/10/2022
6.0.4 5,693,840 4/11/2022
6.0.3 7,825,535 3/8/2022
6.0.2 6,091,465 2/8/2022
6.0.1 13,204,425 12/14/2021
6.0.0 12,070,013 11/8/2021
6.0.0-rc.2.21480.5 129,419 10/12/2021
6.0.0-rc.1.21452.10 62,261 9/14/2021
6.0.0-preview.7.21378.4 33,634 8/10/2021
6.0.0-preview.6.21352.1 21,554 7/14/2021
6.0.0-preview.5.21301.9 83,003 6/15/2021
6.0.0-preview.4.21253.1 23,125 5/24/2021
6.0.0-preview.3.21201.2 43,392 4/8/2021
6.0.0-preview.2.21154.2 20,711 3/11/2021
6.0.0-preview.1.21102.2 50,002 2/12/2021
5.0.17 2,548,808 5/10/2022
5.0.16 740,971 4/11/2022
5.0.15 925,732 3/8/2022
5.0.14 765,456 2/8/2022
5.0.13 1,847,837 12/14/2021
5.0.12 2,188,750 11/7/2021
5.0.11 3,812,936 10/12/2021
5.0.10 4,264,089 9/14/2021
5.0.9 4,411,562 8/10/2021
5.0.8 4,335,792 7/13/2021
5.0.7 5,135,361 6/8/2021
5.0.6 3,831,950 5/11/2021
5.0.5 4,985,998 4/6/2021
5.0.4 3,584,373 3/9/2021
5.0.3 3,993,689 2/9/2021
5.0.2 3,858,150 1/12/2021
5.0.1 3,582,236 12/8/2020
5.0.0 6,175,921 11/9/2020
5.0.0-rc.2.20475.6 119,648 10/13/2020
5.0.0-rc.1.20451.13 124,657 9/14/2020
5.0.0-preview.8.20407.4 51,741 8/25/2020
5.0.0-preview.7.20365.15 45,869 7/21/2020
5.0.0-preview.6.20312.4 41,102 6/25/2020
5.0.0-preview.5.20278.2 29,963 6/10/2020
5.0.0-preview.4.20220.10 43,148 5/18/2020
5.0.0-preview.3.20181.2 50,703 4/23/2020
5.0.0-preview.2.20159.4 25,961 4/2/2020
5.0.0-preview.2.20120.8 23,014 3/16/2020
3.1.32 1,521,182 12/13/2022
3.1.31 395,847 11/8/2022
3.1.30 257,568 10/11/2022
3.1.29 537,909 9/13/2022
3.1.28 402,745 8/9/2022
3.1.27 348,109 7/12/2022
3.1.26 291,816 6/14/2022
3.1.25 532,947 5/10/2022
3.1.24 312,174 4/11/2022
3.1.23 567,944 3/8/2022
3.1.22 1,623,736 12/14/2021
3.1.21 1,443,111 11/7/2021
3.1.20 714,352 10/11/2021
3.1.19 904,521 9/14/2021
3.1.18 2,250,005 8/10/2021
3.1.17 1,060,081 7/13/2021
3.1.16 1,386,038 6/8/2021
3.1.15 1,487,382 5/11/2021
3.1.14 1,566,228 4/6/2021
3.1.13 1,753,550 3/9/2021
3.1.12 1,612,684 2/9/2021
3.1.11 1,826,856 1/12/2021
3.1.10 4,707,468 11/9/2020
3.1.9 6,828,717 10/13/2020
3.1.8 8,618,624 9/8/2020
3.1.7 5,232,847 8/11/2020
3.1.6 4,806,476 7/14/2020
3.1.5 5,763,864 6/9/2020
3.1.4 5,316,799 5/12/2020
3.1.3 8,986,418 3/24/2020
3.1.2 6,245,341 2/19/2020
3.1.1 6,082,458 1/14/2020
3.1.0 7,686,461 12/3/2019
3.1.0-preview3.19554.8 41,023 11/13/2019
3.1.0-preview2.19525.5 17,980 11/1/2019
3.1.0-preview1.19506.2 480,151 10/15/2019
3.0.3 70,206 2/19/2020
3.0.2 35,793 1/14/2020
3.0.1 721,800 11/18/2019
3.0.0 5,929,769 9/23/2019
3.0.0-rc1.19456.14 33,904 9/16/2019
3.0.0-preview9.19423.6 40,671 9/4/2019
3.0.0-preview8.19405.11 56,050 8/13/2019
3.0.0-preview7.19362.6 40,138 7/23/2019
3.0.0-preview6.19304.10 113,626 6/12/2019
3.0.0-preview5.19227.1 64,215 5/6/2019
3.0.0-preview4.19216.3 11,328 4/18/2019
3.0.0-preview3.19153.1 35,389 3/6/2019
3.0.0-preview.19074.3 14,599 1/29/2019
3.0.0-preview.18572.1 16,017 12/3/2018
2.2.6 18,832,277 7/9/2019
2.2.4 10,365,024 4/9/2019
2.2.3 3,277,640 3/11/2019
2.2.2 3,697,300 2/12/2019
2.2.1 3,703,696 1/8/2019
2.2.0 11,759,594 12/3/2018
2.2.0-preview3-35497 110,574 10/17/2018
2.2.0-preview2-35157 84,881 9/12/2018
2.2.0-preview1-35029 15,721 8/22/2018
2.1.14 2,464,717 11/18/2019
2.1.11 2,204,540 5/14/2019
2.1.8 2,519,317 2/12/2019
2.1.4 8,967,978 10/1/2018
2.1.3 3,734,812 9/11/2018
2.1.2 2,896,837 8/21/2018
2.1.1 10,621,344 6/18/2018
2.1.0 5,682,437 5/29/2018
2.1.0-rc1-final 103,318 5/6/2018
2.1.0-preview2-final 151,343 4/10/2018
2.1.0-preview1-final 211,340 2/26/2018
2.0.3 4,053,507 5/7/2018
2.0.2 4,999,069 3/13/2018
2.0.1 6,465,136 11/14/2017
2.0.0 7,651,865 8/11/2017
2.0.0-preview2-final 63,611 6/28/2017
2.0.0-preview1-final 105,370 5/10/2017
1.1.6 1,014,522 7/10/2018
1.1.5 436,676 12/12/2017
1.1.4 31,599 11/14/2017
1.1.3 85,445 9/20/2017
1.1.2 1,395,948 5/9/2017
1.1.1 854,487 3/6/2017
1.1.0 690,136 11/16/2016
1.1.0-preview1-final 18,674 10/24/2016
1.0.6 20,048 11/14/2017
1.0.5 14,299 9/20/2017
1.0.4 27,375 5/9/2017
1.0.3 353,624 3/6/2017
1.0.2 34,551 12/12/2016
1.0.1 1,672,760 9/13/2016
1.0.0 521,662 6/27/2016
1.0.0-rc2-final 55,981 5/16/2016