Microsoft.EntityFrameworkCore.SqlServer 9.0.3

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 9.0.3
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 9.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="9.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.EntityFrameworkCore.SqlServer --version 9.0.3
                    
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 9.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.
#addin nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=9.0.3
                    
Install Microsoft.EntityFrameworkCore.SqlServer as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=9.0.3
                    
Install Microsoft.EntityFrameworkCore.SqlServer as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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.7K)

Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.SqlServer:

Package Downloads
Microsoft.AspNetCore.App

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

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

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

Design-time Entity Framework Core Functionality for Microsoft SQL Server.

GitHub repositories (628)

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.
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
jasontaylordev/CleanArchitecture
Clean Architecture Solution Template for ASP.NET Core
DapperLib/Dapper
Dapper - a simple object mapper for .Net
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
Version Downloads Last updated
10.0.0-preview.2.25163.8 4,050 3/18/2025
10.0.0-preview.1.25081.1 8,982 2/25/2025
9.0.3 633,145 3/11/2025
9.0.2 1,652,629 2/11/2025
9.0.1 1,968,117 1/14/2025
9.0.0 4,684,557 11/12/2024
9.0.0-rc.2.24474.1 66,208 10/8/2024
9.0.0-rc.1.24451.1 48,846 9/10/2024
9.0.0-preview.7.24405.3 29,337 8/13/2024
9.0.0-preview.6.24327.4 90,682 7/9/2024
9.0.0-preview.5.24306.3 25,887 6/11/2024
9.0.0-preview.4.24267.1 36,507 5/21/2024
9.0.0-preview.3.24172.4 36,046 4/11/2024
9.0.0-preview.2.24128.4 25,945 3/12/2024
9.0.0-preview.1.24081.2 33,396 2/13/2024
8.0.14 287,843 3/11/2025
8.0.13 811,615 2/11/2025
8.0.12 1,122,801 1/14/2025
8.0.11 5,342,943 11/12/2024
8.0.10 8,504,404 10/8/2024
8.0.8 12,312,941 8/13/2024
8.0.7 7,534,703 7/9/2024
8.0.6 8,559,106 5/28/2024
8.0.5 3,851,961 5/14/2024
8.0.4 8,850,452 4/9/2024
8.0.3 5,773,939 3/12/2024
8.0.2 7,174,708 2/13/2024
8.0.1 6,734,332 1/9/2024
8.0.0 10,131,101 11/14/2023
8.0.0-rc.2.23480.1 102,027 10/10/2023
8.0.0-rc.1.23419.6 64,133 9/12/2023
8.0.0-preview.7.23375.4 41,831 8/8/2023
8.0.0-preview.6.23329.4 69,460 7/11/2023
8.0.0-preview.5.23280.1 67,586 6/13/2023
8.0.0-preview.4.23259.3 44,412 5/16/2023
8.0.0-preview.3.23174.2 66,477 4/11/2023
8.0.0-preview.2.23128.3 133,077 3/14/2023
8.0.0-preview.1.23111.4 39,490 2/21/2023
7.0.20 1,571,099 5/28/2024
7.0.19 234,799 5/14/2024
7.0.18 697,266 4/9/2024
7.0.17 914,673 3/12/2024
7.0.16 978,564 2/13/2024
7.0.15 1,578,523 1/9/2024
7.0.14 2,879,624 11/14/2023
7.0.13 3,525,872 10/24/2023
7.0.12 2,083,283 10/10/2023
7.0.11 4,760,620 9/12/2023
7.0.10 5,235,359 8/8/2023
7.0.9 4,193,825 7/11/2023
7.0.8 2,680,006 6/22/2023
7.0.7 2,345,347 6/13/2023
7.0.5 10,593,125 4/11/2023
7.0.4 4,336,428 3/14/2023
7.0.3 5,491,822 2/14/2023
7.0.2 6,235,151 1/10/2023
7.0.1 3,691,629 12/13/2022
7.0.0 8,991,318 11/7/2022
7.0.0-rc.2.22472.11 105,589 10/11/2022
7.0.0-rc.1.22426.7 133,520 9/14/2022
7.0.0-preview.7.22376.2 34,126 8/9/2022
7.0.0-preview.6.22329.4 35,255 7/12/2022
7.0.0-preview.5.22302.2 25,851 6/14/2022
7.0.0-preview.4.22229.2 31,559 5/10/2022
7.0.0-preview.3.22175.1 47,014 4/13/2022
7.0.0-preview.2.22153.1 22,256 3/14/2022
7.0.0-preview.1.22076.6 25,809 2/17/2022
6.0.36 415,322 11/12/2024
6.0.35 294,809 10/8/2024
6.0.33 517,724 8/13/2024
6.0.32 389,890 7/9/2024
6.0.31 526,787 5/28/2024
6.0.30 226,116 5/14/2024
6.0.29 744,374 4/9/2024
6.0.28 719,242 3/12/2024
6.0.27 997,500 2/13/2024
6.0.26 1,477,638 1/9/2024
6.0.25 1,936,665 11/14/2023
6.0.24 1,041,177 10/24/2023
6.0.23 646,874 10/10/2023
6.0.22 1,335,038 9/12/2023
6.0.21 1,855,385 8/8/2023
6.0.20 1,558,607 7/11/2023
6.0.19 1,685,820 6/22/2023
6.0.18 624,968 6/13/2023
6.0.16 4,163,870 4/11/2023
6.0.15 2,339,910 3/14/2023
6.0.14 2,521,935 2/14/2023
6.0.13 4,119,940 1/10/2023
6.0.12 2,922,268 12/13/2022
6.0.11 5,617,697 11/7/2022
6.0.10 9,287,252 10/11/2022
6.0.9 8,651,247 9/13/2022
6.0.8 9,434,916 8/9/2022
6.0.7 8,728,163 7/12/2022
6.0.6 6,699,995 6/14/2022
6.0.5 9,603,653 5/10/2022
6.0.4 6,811,993 4/11/2022
6.0.3 9,163,432 3/8/2022
6.0.2 7,151,611 2/8/2022
6.0.1 16,744,734 12/14/2021
6.0.0 15,881,737 11/8/2021
6.0.0-rc.2.21480.5 135,981 10/12/2021
6.0.0-rc.1.21452.10 67,086 9/14/2021
6.0.0-preview.7.21378.4 38,253 8/10/2021
6.0.0-preview.6.21352.1 22,194 7/14/2021
6.0.0-preview.5.21301.9 93,626 6/15/2021
6.0.0-preview.4.21253.1 25,021 5/24/2021
6.0.0-preview.3.21201.2 47,735 4/8/2021
6.0.0-preview.2.21154.2 21,285 3/11/2021
6.0.0-preview.1.21102.2 52,416 2/12/2021
5.0.17 3,423,087 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 869,055 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,073,555 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 874,639 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,135,137 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,423,534 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,214,944 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,747,590 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,762,180 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 5,080,629 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 5,596,949 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 4,172,092 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,476,311 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,805,191 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 4,223,671 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,092,481 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 3,840,448 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 6,698,590 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 124,779 10/13/2020
5.0.0-rc.1.20451.13 128,437 9/14/2020
5.0.0-preview.8.20407.4 54,208 8/25/2020
5.0.0-preview.7.20365.15 47,606 7/21/2020
5.0.0-preview.6.20312.4 42,651 6/25/2020
5.0.0-preview.5.20278.2 31,989 6/10/2020
5.0.0-preview.4.20220.10 45,939 5/18/2020
5.0.0-preview.3.20181.2 51,955 4/23/2020
5.0.0-preview.2.20159.4 27,731 4/2/2020
5.0.0-preview.2.20120.8 23,680 3/16/2020
3.1.32 3,681,535 12/13/2022
3.1.31 887,383 11/8/2022
3.1.30 386,604 10/11/2022
3.1.29 988,777 9/13/2022
3.1.28 571,723 8/9/2022
3.1.27 452,142 7/12/2022
3.1.26 348,426 6/14/2022
3.1.25 623,922 5/10/2022
3.1.24 364,817 4/11/2022
3.1.23 668,736 3/8/2022
3.1.22 2,022,518 12/14/2021
3.1.21 1,800,594 11/7/2021
3.1.20 909,334 10/11/2021
3.1.19 1,044,126 9/14/2021
3.1.18 2,391,845 8/10/2021
3.1.17 1,223,346 7/13/2021
3.1.16 1,574,434 6/8/2021
3.1.15 1,785,782 5/11/2021
3.1.14 1,713,597 4/6/2021
3.1.13 1,909,586 3/9/2021
3.1.12 1,736,401 2/9/2021
3.1.11 1,934,481 1/12/2021
3.1.10 4,986,900 11/9/2020
3.1.9 7,230,845 10/13/2020
3.1.8 9,002,448 9/8/2020
3.1.7 5,703,189 8/11/2020
3.1.6 5,075,643 7/14/2020
3.1.5 6,164,160 6/9/2020
3.1.4 5,870,955 5/12/2020
3.1.3 9,662,434 3/24/2020
3.1.2 6,602,954 2/19/2020
3.1.1 6,467,786 1/14/2020
3.1.0 8,303,635 12/3/2019
3.1.0-preview3.19554.8 43,065 11/13/2019
3.1.0-preview2.19525.5 18,595 11/1/2019
3.1.0-preview1.19506.2 533,014 10/15/2019
3.0.3 80,361 2/19/2020
3.0.2 37,542 1/14/2020
3.0.1 751,782 11/18/2019
3.0.0 6,351,014 9/23/2019
3.0.0-rc1.19456.14 34,627 9/16/2019
3.0.0-preview9.19423.6 42,418 9/4/2019
3.0.0-preview8.19405.11 58,014 8/13/2019
3.0.0-preview7.19362.6 41,673 7/23/2019
3.0.0-preview6.19304.10 118,996 6/12/2019
3.0.0-preview5.19227.1 66,553 5/6/2019
3.0.0-preview4.19216.3 11,579 4/18/2019
3.0.0-preview3.19153.1 36,970 3/6/2019
3.0.0-preview.19074.3 15,600 1/29/2019
3.0.0-preview.18572.1 16,942 12/3/2018
2.3.0 6,633 1/14/2025
2.2.6 20,317,016 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 10,876,828 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 3,399,379 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 3,833,320 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,871,371 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 12,949,610 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 111,969 10/17/2018
2.2.0-preview2-35157 86,564 9/12/2018
2.2.0-preview1-35029 16,163 8/22/2018
2.1.14 2,705,989 11/18/2019
2.1.11 2,279,672 5/14/2019
2.1.8 2,806,805 2/12/2019
2.1.4 9,337,760 10/1/2018
2.1.3 3,828,200 9/11/2018
2.1.2 2,985,309 8/21/2018
2.1.1 12,766,395 6/18/2018
2.1.0 5,984,266 5/29/2018
2.1.0-rc1-final 108,521 5/6/2018
2.1.0-preview2-final 164,868 4/10/2018
2.1.0-preview1-final 220,866 2/26/2018
2.0.3 4,299,125 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 5,283,099 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,801,196 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,253,418 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 66,054 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 147,260 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 1,467,877 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 463,458 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 33,229 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 89,197 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,502,609 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 890,095 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 714,495 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 19,658 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 21,518 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 17,229 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 29,308 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 386,372 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 35,822 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 1,678,988 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 737,597 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 57,028 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.