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

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 7,008 3/12/2024
9.0.0-preview.1.24081.2 11,879 2/13/2024
8.0.3 471,739 3/12/2024
8.0.2 1,537,538 2/13/2024
8.0.1 2,444,613 1/9/2024
8.0.0 3,371,828 11/14/2023
8.0.0-rc.2.23480.1 84,871 10/10/2023
8.0.0-rc.1.23419.6 54,726 9/12/2023
8.0.0-preview.7.23375.4 38,387 8/8/2023
8.0.0-preview.6.23329.4 51,290 7/11/2023
8.0.0-preview.5.23280.1 41,972 6/13/2023
8.0.0-preview.4.23259.3 31,737 5/16/2023
8.0.0-preview.3.23174.2 46,107 4/11/2023
8.0.0-preview.2.23128.3 91,178 3/14/2023
8.0.0-preview.1.23111.4 32,702 2/21/2023
7.0.17 97,357 3/12/2024
7.0.16 318,686 2/13/2024
7.0.15 706,204 1/9/2024
7.0.14 1,556,737 11/14/2023
7.0.13 1,982,140 10/24/2023
7.0.12 1,389,643 10/10/2023
7.0.11 2,862,009 9/12/2023
7.0.10 3,496,318 8/8/2023
7.0.9 2,912,489 7/11/2023
7.0.8 1,925,058 6/22/2023
7.0.7 1,789,790 6/13/2023
7.0.5 8,045,900 4/11/2023
7.0.4 3,470,396 3/14/2023
7.0.3 4,362,324 2/14/2023
7.0.2 4,851,566 1/10/2023
7.0.1 2,926,515 12/13/2022
7.0.0 6,462,814 11/7/2022
7.0.0-rc.2.22472.11 89,670 10/11/2022
7.0.0-rc.1.22426.7 126,905 9/14/2022
7.0.0-preview.7.22376.2 31,049 8/9/2022
7.0.0-preview.6.22329.4 30,472 7/12/2022
7.0.0-preview.5.22302.2 23,636 6/14/2022
7.0.0-preview.4.22229.2 29,747 5/10/2022
7.0.0-preview.3.22175.1 43,214 4/13/2022
7.0.0-preview.2.22153.1 20,837 3/14/2022
7.0.0-preview.1.22076.6 24,086 2/17/2022
6.0.28 72,609 3/12/2024
6.0.27 243,824 2/13/2024
6.0.26 568,283 1/9/2024
6.0.25 870,618 11/14/2023
6.0.24 536,949 10/24/2023
6.0.23 406,363 10/10/2023
6.0.22 811,654 9/12/2023
6.0.21 1,149,243 8/8/2023
6.0.20 988,950 7/11/2023
6.0.19 921,845 6/22/2023
6.0.18 436,938 6/13/2023
6.0.16 2,833,759 4/11/2023
6.0.15 1,705,524 3/14/2023
6.0.14 1,843,080 2/14/2023
6.0.13 3,062,522 1/10/2023
6.0.12 2,185,018 12/13/2022
6.0.11 4,412,075 11/7/2022
6.0.10 7,318,379 10/11/2022
6.0.9 6,993,040 9/13/2022
6.0.8 7,661,302 8/9/2022
6.0.7 7,352,844 7/12/2022
6.0.6 5,579,420 6/14/2022
6.0.5 7,952,938 5/10/2022
6.0.4 5,739,707 4/11/2022
6.0.3 7,889,990 3/8/2022
6.0.2 6,132,545 2/8/2022
6.0.1 13,324,625 12/14/2021
6.0.0 12,197,877 11/8/2021
6.0.0-rc.2.21480.5 129,565 10/12/2021
6.0.0-rc.1.21452.10 62,361 9/14/2021
6.0.0-preview.7.21378.4 33,679 8/10/2021
6.0.0-preview.6.21352.1 21,559 7/14/2021
6.0.0-preview.5.21301.9 83,416 6/15/2021
6.0.0-preview.4.21253.1 23,149 5/24/2021
6.0.0-preview.3.21201.2 43,531 4/8/2021
6.0.0-preview.2.21154.2 20,724 3/11/2021
6.0.0-preview.1.21102.2 50,064 2/12/2021
5.0.17 2,580,343 5/10/2022
5.0.16 745,877 4/11/2022
5.0.15 930,160 3/8/2022
5.0.14 769,425 2/8/2022
5.0.13 1,856,211 12/14/2021
5.0.12 2,195,502 11/7/2021
5.0.11 3,827,368 10/12/2021
5.0.10 4,277,363 9/14/2021
5.0.9 4,424,511 8/10/2021
5.0.8 4,357,086 7/13/2021
5.0.7 5,161,054 6/8/2021
5.0.6 3,841,603 5/11/2021
5.0.5 5,001,966 4/6/2021
5.0.4 3,592,812 3/9/2021
5.0.3 4,000,967 2/9/2021
5.0.2 3,867,590 1/12/2021
5.0.1 3,593,928 12/8/2020
5.0.0 6,206,959 11/9/2020
5.0.0-rc.2.20475.6 119,761 10/13/2020
5.0.0-rc.1.20451.13 124,747 9/14/2020
5.0.0-preview.8.20407.4 51,769 8/25/2020
5.0.0-preview.7.20365.15 45,899 7/21/2020
5.0.0-preview.6.20312.4 41,183 6/25/2020
5.0.0-preview.5.20278.2 30,064 6/10/2020
5.0.0-preview.4.20220.10 43,271 5/18/2020
5.0.0-preview.3.20181.2 50,725 4/23/2020
5.0.0-preview.2.20159.4 26,009 4/2/2020
5.0.0-preview.2.20120.8 23,022 3/16/2020
3.1.32 1,565,176 12/13/2022
3.1.31 406,409 11/8/2022
3.1.30 260,372 10/11/2022
3.1.29 548,741 9/13/2022
3.1.28 406,708 8/9/2022
3.1.27 351,556 7/12/2022
3.1.26 293,747 6/14/2022
3.1.25 536,228 5/10/2022
3.1.24 313,656 4/11/2022
3.1.23 571,324 3/8/2022
3.1.22 1,635,798 12/14/2021
3.1.21 1,453,890 11/7/2021
3.1.20 719,634 10/11/2021
3.1.19 910,388 9/14/2021
3.1.18 2,257,095 8/10/2021
3.1.17 1,065,130 7/13/2021
3.1.16 1,393,026 6/8/2021
3.1.15 1,493,697 5/11/2021
3.1.14 1,571,127 4/6/2021
3.1.13 1,758,283 3/9/2021
3.1.12 1,618,347 2/9/2021
3.1.11 1,830,554 1/12/2021
3.1.10 4,718,247 11/9/2020
3.1.9 6,842,112 10/13/2020
3.1.8 8,634,476 9/8/2020
3.1.7 5,248,647 8/11/2020
3.1.6 4,816,442 7/14/2020
3.1.5 5,774,829 6/9/2020
3.1.4 5,332,609 5/12/2020
3.1.3 9,008,831 3/24/2020
3.1.2 6,256,831 2/19/2020
3.1.1 6,094,988 1/14/2020
3.1.0 7,722,579 12/3/2019
3.1.0-preview3.19554.8 41,053 11/13/2019
3.1.0-preview2.19525.5 17,988 11/1/2019
3.1.0-preview1.19506.2 481,683 10/15/2019
3.0.3 70,326 2/19/2020
3.0.2 35,866 1/14/2020
3.0.1 722,992 11/18/2019
3.0.0 5,947,028 9/23/2019
3.0.0-rc1.19456.14 33,927 9/16/2019
3.0.0-preview9.19423.6 40,714 9/4/2019
3.0.0-preview8.19405.11 56,137 8/13/2019
3.0.0-preview7.19362.6 40,226 7/23/2019
3.0.0-preview6.19304.10 113,859 6/12/2019
3.0.0-preview5.19227.1 64,302 5/6/2019
3.0.0-preview4.19216.3 11,336 4/18/2019
3.0.0-preview3.19153.1 35,398 3/6/2019
3.0.0-preview.19074.3 14,613 1/29/2019
3.0.0-preview.18572.1 16,033 12/3/2018
2.2.6 18,879,604 7/9/2019
2.2.4 10,390,016 4/9/2019
2.2.3 3,282,350 3/11/2019
2.2.2 3,703,256 2/12/2019
2.2.1 3,710,165 1/8/2019
2.2.0 11,799,788 12/3/2018
2.2.0-preview3-35497 110,626 10/17/2018
2.2.0-preview2-35157 84,965 9/12/2018
2.2.0-preview1-35029 15,767 8/22/2018
2.1.14 2,471,491 11/18/2019
2.1.11 2,206,851 5/14/2019
2.1.8 2,525,652 2/12/2019
2.1.4 8,982,224 10/1/2018
2.1.3 3,739,579 9/11/2018
2.1.2 2,901,004 8/21/2018
2.1.1 10,676,577 6/18/2018
2.1.0 5,695,102 5/29/2018
2.1.0-rc1-final 103,857 5/6/2018
2.1.0-preview2-final 152,417 4/10/2018
2.1.0-preview1-final 212,539 2/26/2018
2.0.3 4,061,112 5/7/2018
2.0.2 5,012,115 3/13/2018
2.0.1 6,478,813 11/14/2017
2.0.0 7,681,731 8/11/2017
2.0.0-preview2-final 63,866 6/28/2017
2.0.0-preview1-final 105,647 5/10/2017
1.1.6 1,024,856 7/10/2018
1.1.5 438,429 12/12/2017
1.1.4 31,901 11/14/2017
1.1.3 85,867 9/20/2017
1.1.2 1,399,107 5/9/2017
1.1.1 856,661 3/6/2017
1.1.0 691,187 11/16/2016
1.1.0-preview1-final 18,936 10/24/2016
1.0.6 20,349 11/14/2017
1.0.5 14,636 9/20/2017
1.0.4 27,683 5/9/2017
1.0.3 354,508 3/6/2017
1.0.2 34,791 12/12/2016
1.0.1 1,673,397 9/13/2016
1.0.0 524,586 6/27/2016
1.0.0-rc2-final 56,206 5/16/2016