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 633 4/11/2024
9.0.0-preview.2.24128.4 11,883 3/12/2024
9.0.0-preview.1.24081.2 12,549 2/13/2024
8.0.4 11,677 4/9/2024
8.0.3 1,000,528 3/12/2024
8.0.2 1,851,473 2/13/2024
8.0.1 2,684,213 1/9/2024
8.0.0 3,637,603 11/14/2023
8.0.0-rc.2.23480.1 85,689 10/10/2023
8.0.0-rc.1.23419.6 55,182 9/12/2023
8.0.0-preview.7.23375.4 38,733 8/8/2023
8.0.0-preview.6.23329.4 52,178 7/11/2023
8.0.0-preview.5.23280.1 42,513 6/13/2023
8.0.0-preview.4.23259.3 32,184 5/16/2023
8.0.0-preview.3.23174.2 46,828 4/11/2023
8.0.0-preview.2.23128.3 95,672 3/14/2023
8.0.0-preview.1.23111.4 33,148 2/21/2023
7.0.18 1,888 4/9/2024
7.0.17 171,133 3/12/2024
7.0.16 367,752 2/13/2024
7.0.15 771,048 1/9/2024
7.0.14 1,633,741 11/14/2023
7.0.13 2,060,062 10/24/2023
7.0.12 1,432,143 10/10/2023
7.0.11 2,955,825 9/12/2023
7.0.10 3,584,227 8/8/2023
7.0.9 2,971,251 7/11/2023
7.0.8 1,957,993 6/22/2023
7.0.7 1,820,350 6/13/2023
7.0.5 8,179,897 4/11/2023
7.0.4 3,514,729 3/14/2023
7.0.3 4,415,189 2/14/2023
7.0.2 4,915,033 1/10/2023
7.0.1 2,965,337 12/13/2022
7.0.0 6,578,638 11/7/2022
7.0.0-rc.2.22472.11 90,221 10/11/2022
7.0.0-rc.1.22426.7 127,444 9/14/2022
7.0.0-preview.7.22376.2 31,171 8/9/2022
7.0.0-preview.6.22329.4 30,754 7/12/2022
7.0.0-preview.5.22302.2 23,769 6/14/2022
7.0.0-preview.4.22229.2 29,816 5/10/2022
7.0.0-preview.3.22175.1 43,462 4/13/2022
7.0.0-preview.2.22153.1 20,856 3/14/2022
7.0.0-preview.1.22076.6 24,123 2/17/2022
6.0.29 2,498 4/9/2024
6.0.28 142,776 3/12/2024
6.0.27 290,013 2/13/2024
6.0.26 625,334 1/9/2024
6.0.25 926,098 11/14/2023
6.0.24 563,976 10/24/2023
6.0.23 419,133 10/10/2023
6.0.22 844,053 9/12/2023
6.0.21 1,181,460 8/8/2023
6.0.20 1,014,881 7/11/2023
6.0.19 955,107 6/22/2023
6.0.18 445,295 6/13/2023
6.0.16 2,889,919 4/11/2023
6.0.15 1,733,993 3/14/2023
6.0.14 1,875,729 2/14/2023
6.0.13 3,112,829 1/10/2023
6.0.12 2,219,158 12/13/2022
6.0.11 4,472,911 11/7/2022
6.0.10 7,411,967 10/11/2022
6.0.9 7,083,688 9/13/2022
6.0.8 7,736,686 8/9/2022
6.0.7 7,423,031 7/12/2022
6.0.6 5,627,480 6/14/2022
6.0.5 8,026,962 5/10/2022
6.0.4 5,792,744 4/11/2022
6.0.3 7,961,927 3/8/2022
6.0.2 6,181,231 2/8/2022
6.0.1 13,467,537 12/14/2021
6.0.0 12,343,135 11/8/2021
6.0.0-rc.2.21480.5 129,866 10/12/2021
6.0.0-rc.1.21452.10 62,473 9/14/2021
6.0.0-preview.7.21378.4 33,771 8/10/2021
6.0.0-preview.6.21352.1 21,575 7/14/2021
6.0.0-preview.5.21301.9 84,016 6/15/2021
6.0.0-preview.4.21253.1 23,193 5/24/2021
6.0.0-preview.3.21201.2 43,606 4/8/2021
6.0.0-preview.2.21154.2 20,759 3/11/2021
6.0.0-preview.1.21102.2 50,142 2/12/2021
5.0.17 2,618,097 5/10/2022
5.0.16 751,912 4/11/2022
5.0.15 934,994 3/8/2022
5.0.14 773,863 2/8/2022
5.0.13 1,866,179 12/14/2021
5.0.12 2,203,302 11/7/2021
5.0.11 3,844,582 10/12/2021
5.0.10 4,293,695 9/14/2021
5.0.9 4,439,498 8/10/2021
5.0.8 4,384,488 7/13/2021
5.0.7 5,188,262 6/8/2021
5.0.6 3,852,840 5/11/2021
5.0.5 5,022,534 4/6/2021
5.0.4 3,602,307 3/9/2021
5.0.3 4,009,830 2/9/2021
5.0.2 3,877,888 1/12/2021
5.0.1 3,605,491 12/8/2020
5.0.0 6,241,423 11/9/2020
5.0.0-rc.2.20475.6 119,972 10/13/2020
5.0.0-rc.1.20451.13 124,891 9/14/2020
5.0.0-preview.8.20407.4 51,839 8/25/2020
5.0.0-preview.7.20365.15 45,952 7/21/2020
5.0.0-preview.6.20312.4 41,242 6/25/2020
5.0.0-preview.5.20278.2 30,183 6/10/2020
5.0.0-preview.4.20220.10 43,455 5/18/2020
5.0.0-preview.3.20181.2 50,755 4/23/2020
5.0.0-preview.2.20159.4 26,050 4/2/2020
5.0.0-preview.2.20120.8 23,038 3/16/2020
3.1.32 1,622,393 12/13/2022
3.1.31 416,801 11/8/2022
3.1.30 263,442 10/11/2022
3.1.29 561,294 9/13/2022
3.1.28 412,505 8/9/2022
3.1.27 355,487 7/12/2022
3.1.26 295,834 6/14/2022
3.1.25 539,518 5/10/2022
3.1.24 315,629 4/11/2022
3.1.23 576,158 3/8/2022
3.1.22 1,650,055 12/14/2021
3.1.21 1,467,562 11/7/2021
3.1.20 726,581 10/11/2021
3.1.19 917,174 9/14/2021
3.1.18 2,264,045 8/10/2021
3.1.17 1,070,708 7/13/2021
3.1.16 1,399,719 6/8/2021
3.1.15 1,502,617 5/11/2021
3.1.14 1,577,308 4/6/2021
3.1.13 1,763,635 3/9/2021
3.1.12 1,624,584 2/9/2021
3.1.11 1,835,439 1/12/2021
3.1.10 4,731,033 11/9/2020
3.1.9 6,858,954 10/13/2020
3.1.8 8,651,294 9/8/2020
3.1.7 5,266,637 8/11/2020
3.1.6 4,826,796 7/14/2020
3.1.5 5,788,063 6/9/2020
3.1.4 5,351,126 5/12/2020
3.1.3 9,034,203 3/24/2020
3.1.2 6,270,205 2/19/2020
3.1.1 6,110,769 1/14/2020
3.1.0 7,762,662 12/3/2019
3.1.0-preview3.19554.8 41,087 11/13/2019
3.1.0-preview2.19525.5 17,994 11/1/2019
3.1.0-preview1.19506.2 483,550 10/15/2019
3.0.3 70,526 2/19/2020
3.0.2 35,949 1/14/2020
3.0.1 724,175 11/18/2019
3.0.0 5,968,978 9/23/2019
3.0.0-rc1.19456.14 33,955 9/16/2019
3.0.0-preview9.19423.6 40,833 9/4/2019
3.0.0-preview8.19405.11 56,211 8/13/2019
3.0.0-preview7.19362.6 40,277 7/23/2019
3.0.0-preview6.19304.10 114,103 6/12/2019
3.0.0-preview5.19227.1 64,391 5/6/2019
3.0.0-preview4.19216.3 11,346 4/18/2019
3.0.0-preview3.19153.1 35,415 3/6/2019
3.0.0-preview.19074.3 14,643 1/29/2019
3.0.0-preview.18572.1 16,043 12/3/2018
2.2.6 18,934,210 7/9/2019
2.2.4 10,415,306 4/9/2019
2.2.3 3,287,600 3/11/2019
2.2.2 3,709,434 2/12/2019
2.2.1 3,716,408 1/8/2019
2.2.0 11,847,193 12/3/2018
2.2.0-preview3-35497 110,686 10/17/2018
2.2.0-preview2-35157 85,057 9/12/2018
2.2.0-preview1-35029 15,796 8/22/2018
2.1.14 2,479,450 11/18/2019
2.1.11 2,209,689 5/14/2019
2.1.8 2,534,963 2/12/2019
2.1.4 8,996,039 10/1/2018
2.1.3 3,744,654 9/11/2018
2.1.2 2,904,683 8/21/2018
2.1.1 10,742,897 6/18/2018
2.1.0 5,708,064 5/29/2018
2.1.0-rc1-final 104,168 5/6/2018
2.1.0-preview2-final 153,244 4/10/2018
2.1.0-preview1-final 213,543 2/26/2018
2.0.3 4,069,696 5/7/2018
2.0.2 5,024,838 3/13/2018
2.0.1 6,492,488 11/14/2017
2.0.0 7,710,356 8/11/2017
2.0.0-preview2-final 64,095 6/28/2017
2.0.0-preview1-final 105,935 5/10/2017
1.1.6 1,035,108 7/10/2018
1.1.5 440,152 12/12/2017
1.1.4 32,121 11/14/2017
1.1.3 86,230 9/20/2017
1.1.2 1,402,879 5/9/2017
1.1.1 859,035 3/6/2017
1.1.0 692,388 11/16/2016
1.1.0-preview1-final 19,121 10/24/2016
1.0.6 20,603 11/14/2017
1.0.5 14,975 9/20/2017
1.0.4 27,971 5/9/2017
1.0.3 355,500 3/6/2017
1.0.2 34,913 12/12/2016
1.0.1 1,673,975 9/13/2016
1.0.0 528,412 6/27/2016
1.0.0-rc2-final 56,416 5/16/2016