Microsoft.EntityFrameworkCore.SqlServer 8.0.5

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

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

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

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 14,520 4/11/2024
9.0.0-preview.2.24128.4 15,901 3/12/2024
9.0.0-preview.1.24081.2 14,323 2/13/2024
8.0.5 93,986 5/14/2024
8.0.4 1,623,209 4/9/2024
8.0.3 2,014,301 3/12/2024
8.0.2 2,718,156 2/13/2024
8.0.1 3,337,339 1/9/2024
8.0.0 4,396,852 11/14/2023
8.0.0-rc.2.23480.1 87,999 10/10/2023
8.0.0-rc.1.23419.6 56,201 9/12/2023
8.0.0-preview.7.23375.4 39,055 8/8/2023
8.0.0-preview.6.23329.4 54,758 7/11/2023
8.0.0-preview.5.23280.1 43,851 6/13/2023
8.0.0-preview.4.23259.3 33,573 5/16/2023
8.0.0-preview.3.23174.2 48,513 4/11/2023
8.0.0-preview.2.23128.3 106,536 3/14/2023
8.0.0-preview.1.23111.4 34,117 2/21/2023
7.0.19 9,880 5/14/2024
7.0.18 154,519 4/9/2024
7.0.17 344,300 3/12/2024
7.0.16 499,361 2/13/2024
7.0.15 934,491 1/9/2024
7.0.14 1,841,406 11/14/2023
7.0.13 2,279,618 10/24/2023
7.0.12 1,547,366 10/10/2023
7.0.11 3,202,677 9/12/2023
7.0.10 3,833,019 8/8/2023
7.0.9 3,141,734 7/11/2023
7.0.8 2,048,955 6/22/2023
7.0.7 1,903,696 6/13/2023
7.0.5 8,551,719 4/11/2023
7.0.4 3,633,448 3/14/2023
7.0.3 4,562,664 2/14/2023
7.0.2 5,087,112 1/10/2023
7.0.1 3,066,834 12/13/2022
7.0.0 6,894,899 11/7/2022
7.0.0-rc.2.22472.11 91,710 10/11/2022
7.0.0-rc.1.22426.7 128,813 9/14/2022
7.0.0-preview.7.22376.2 31,429 8/9/2022
7.0.0-preview.6.22329.4 31,496 7/12/2022
7.0.0-preview.5.22302.2 24,051 6/14/2022
7.0.0-preview.4.22229.2 30,003 5/10/2022
7.0.0-preview.3.22175.1 44,169 4/13/2022
7.0.0-preview.2.22153.1 20,960 3/14/2022
7.0.0-preview.1.22076.6 24,271 2/17/2022
6.0.30 13,134 5/14/2024
6.0.29 179,058 4/9/2024
6.0.28 257,587 3/12/2024
6.0.27 412,092 2/13/2024
6.0.26 780,867 1/9/2024
6.0.25 1,087,033 11/14/2023
6.0.24 629,616 10/24/2023
6.0.23 456,400 10/10/2023
6.0.22 937,054 9/12/2023
6.0.21 1,279,585 8/8/2023
6.0.20 1,091,299 7/11/2023
6.0.19 1,046,654 6/22/2023
6.0.18 469,403 6/13/2023
6.0.16 3,054,271 4/11/2023
6.0.15 1,813,572 3/14/2023
6.0.14 1,967,231 2/14/2023
6.0.13 3,258,946 1/10/2023
6.0.12 2,316,549 12/13/2022
6.0.11 4,637,297 11/7/2022
6.0.10 7,691,516 10/11/2022
6.0.9 7,307,770 9/13/2022
6.0.8 7,966,165 8/9/2022
6.0.7 7,613,026 7/12/2022
6.0.6 5,772,870 6/14/2022
6.0.5 8,239,132 5/10/2022
6.0.4 5,948,614 4/11/2022
6.0.3 8,136,452 3/8/2022
6.0.2 6,314,759 2/8/2022
6.0.1 13,883,450 12/14/2021
6.0.0 12,761,553 11/8/2021
6.0.0-rc.2.21480.5 130,516 10/12/2021
6.0.0-rc.1.21452.10 62,753 9/14/2021
6.0.0-preview.7.21378.4 34,148 8/10/2021
6.0.0-preview.6.21352.1 21,632 7/14/2021
6.0.0-preview.5.21301.9 85,668 6/15/2021
6.0.0-preview.4.21253.1 23,333 5/24/2021
6.0.0-preview.3.21201.2 43,976 4/8/2021
6.0.0-preview.2.21154.2 20,891 3/11/2021
6.0.0-preview.1.21102.2 50,346 2/12/2021
5.0.17 2,725,333 5/10/2022
5.0.16 768,667 4/11/2022
5.0.15 948,275 3/8/2022
5.0.14 788,124 2/8/2022
5.0.13 1,896,774 12/14/2021
5.0.12 2,227,154 11/7/2021
5.0.11 3,894,364 10/12/2021
5.0.10 4,340,446 9/14/2021
5.0.9 4,478,570 8/10/2021
5.0.8 4,460,883 7/13/2021
5.0.7 5,245,381 6/8/2021
5.0.6 3,906,926 5/11/2021
5.0.5 5,084,010 4/6/2021
5.0.4 3,626,743 3/9/2021
5.0.3 4,032,601 2/9/2021
5.0.2 3,904,605 1/12/2021
5.0.1 3,633,787 12/8/2020
5.0.0 6,307,583 11/9/2020
5.0.0-rc.2.20475.6 120,444 10/13/2020
5.0.0-rc.1.20451.13 125,264 9/14/2020
5.0.0-preview.8.20407.4 52,034 8/25/2020
5.0.0-preview.7.20365.15 46,128 7/21/2020
5.0.0-preview.6.20312.4 41,419 6/25/2020
5.0.0-preview.5.20278.2 30,427 6/10/2020
5.0.0-preview.4.20220.10 43,813 5/18/2020
5.0.0-preview.3.20181.2 50,841 4/23/2020
5.0.0-preview.2.20159.4 26,195 4/2/2020
5.0.0-preview.2.20120.8 23,084 3/16/2020
3.1.32 1,797,657 12/13/2022
3.1.31 449,554 11/8/2022
3.1.30 271,807 10/11/2022
3.1.29 594,630 9/13/2022
3.1.28 428,394 8/9/2022
3.1.27 367,704 7/12/2022
3.1.26 301,559 6/14/2022
3.1.25 549,730 5/10/2022
3.1.24 321,305 4/11/2022
3.1.23 587,132 3/8/2022
3.1.22 1,691,704 12/14/2021
3.1.21 1,507,836 11/7/2021
3.1.20 745,785 10/11/2021
3.1.19 936,260 9/14/2021
3.1.18 2,279,902 8/10/2021
3.1.17 1,085,697 7/13/2021
3.1.16 1,422,692 6/8/2021
3.1.15 1,530,136 5/11/2021
3.1.14 1,594,047 4/6/2021
3.1.13 1,778,506 3/9/2021
3.1.12 1,643,899 2/9/2021
3.1.11 1,848,092 1/12/2021
3.1.10 4,764,181 11/9/2020
3.1.9 6,901,925 10/13/2020
3.1.8 8,692,799 9/8/2020
3.1.7 5,317,102 8/11/2020
3.1.6 4,854,855 7/14/2020
3.1.5 5,828,932 6/9/2020
3.1.4 5,397,509 5/12/2020
3.1.3 9,102,783 3/24/2020
3.1.2 6,310,139 2/19/2020
3.1.1 6,155,706 1/14/2020
3.1.0 7,839,298 12/3/2019
3.1.0-preview3.19554.8 41,286 11/13/2019
3.1.0-preview2.19525.5 18,015 11/1/2019
3.1.0-preview1.19506.2 489,805 10/15/2019
3.0.3 71,074 2/19/2020
3.0.2 36,112 1/14/2020
3.0.1 727,212 11/18/2019
3.0.0 6,018,655 9/23/2019
3.0.0-rc1.19456.14 34,057 9/16/2019
3.0.0-preview9.19423.6 41,029 9/4/2019
3.0.0-preview8.19405.11 56,341 8/13/2019
3.0.0-preview7.19362.6 40,385 7/23/2019
3.0.0-preview6.19304.10 114,588 6/12/2019
3.0.0-preview5.19227.1 64,524 5/6/2019
3.0.0-preview4.19216.3 11,360 4/18/2019
3.0.0-preview3.19153.1 35,451 3/6/2019
3.0.0-preview.19074.3 14,666 1/29/2019
3.0.0-preview.18572.1 16,076 12/3/2018
2.2.6 19,076,559 7/9/2019
2.2.4 10,472,716 4/9/2019
2.2.3 3,300,697 3/11/2019
2.2.2 3,723,748 2/12/2019
2.2.1 3,734,508 1/8/2019
2.2.0 11,977,258 12/3/2018
2.2.0-preview3-35497 110,798 10/17/2018
2.2.0-preview2-35157 85,220 9/12/2018
2.2.0-preview1-35029 15,839 8/22/2018
2.1.14 2,503,024 11/18/2019
2.1.11 2,217,703 5/14/2019
2.1.8 2,562,549 2/12/2019
2.1.4 9,024,842 10/1/2018
2.1.3 3,754,055 9/11/2018
2.1.2 2,912,965 8/21/2018
2.1.1 10,933,261 6/18/2018
2.1.0 5,738,593 5/29/2018
2.1.0-rc1-final 105,204 5/6/2018
2.1.0-preview2-final 155,555 4/10/2018
2.1.0-preview1-final 215,108 2/26/2018
2.0.3 4,091,604 5/7/2018
2.0.2 5,050,285 3/13/2018
2.0.1 6,524,846 11/14/2017
2.0.0 7,782,670 8/11/2017
2.0.0-preview2-final 64,270 6/28/2017
2.0.0-preview1-final 106,725 5/10/2017
1.1.6 1,066,248 7/10/2018
1.1.5 442,169 12/12/2017
1.1.4 32,277 11/14/2017
1.1.3 86,612 9/20/2017
1.1.2 1,410,023 5/9/2017
1.1.1 862,007 3/6/2017
1.1.0 695,000 11/16/2016
1.1.0-preview1-final 19,295 10/24/2016
1.0.6 20,760 11/14/2017
1.0.5 15,376 9/20/2017
1.0.4 28,160 5/9/2017
1.0.3 357,830 3/6/2017
1.0.2 35,052 12/12/2016
1.0.1 1,674,957 9/13/2016
1.0.0 538,342 6/27/2016
1.0.0-rc2-final 56,572 5/16/2016