Microsoft.EntityFrameworkCore.SqlServer 9.0.5

Prefix Reserved
There is a newer 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.5
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 9.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="9.0.5" />
                    
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.5" />
                    
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.5
                    
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 9.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.
#:package Microsoft.EntityFrameworkCore.SqlServer@9.0.5
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=9.0.5
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=9.0.5
                    
Install 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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4.1K)

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

Package Downloads
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite

NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core.

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.

EntityFrameworkCore.SqlServer.HierarchyId

Adds hierarchyid support to the SQL Server EF Core provider

Microsoft.EntityFrameworkCore.SqlServer.HierarchyId

Adds hierarchyid support to the SQL Server EF Core provider

GitHub repositories (579)

Showing the top 20 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.
DapperLib/Dapper
Dapper - a simple object mapper for .Net
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
LuckyPennySoftware/AutoMapper
A convention-based object-object mapper in .NET.
MassTransit/MassTransit
Distributed Application Framework for .NET
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 10 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
aspnet/Mvc
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to https://github.com/aspnet/AspNetCore
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
Version Downloads Last Updated
10.0.2 470,683 1/13/2026
10.0.1 1,388,772 12/9/2025
10.0.0 2,003,092 11/11/2025
10.0.0-rc.2.25502.107 47,904 10/14/2025
10.0.0-rc.1.25451.107 39,128 9/9/2025
10.0.0-preview.7.25380.108 15,222 8/12/2025
10.0.0-preview.6.25358.103 9,731 7/15/2025
10.0.0-preview.5.25277.114 20,109 6/6/2025
10.0.0-preview.4.25258.110 9,425 5/12/2025
10.0.0-preview.3.25171.6 11,257 4/10/2025
10.0.0-preview.2.25163.8 9,563 3/18/2025
10.0.0-preview.1.25081.1 10,612 2/25/2025
9.0.12 109,851 1/13/2026
9.0.11 1,515,209 11/11/2025
9.0.10 3,288,119 10/14/2025
9.0.9 4,885,929 9/9/2025
9.0.8 4,311,086 8/5/2025
9.0.7 3,621,459 7/8/2025
9.0.6 4,179,880 6/10/2025
9.0.5 4,470,178 5/13/2025
9.0.4 5,767,525 4/8/2025
9.0.3 4,616,238 3/11/2025
9.0.2 6,482,643 2/11/2025
9.0.1 5,212,650 1/14/2025
9.0.0 11,022,009 11/12/2024
9.0.0-rc.2.24474.1 93,498 10/8/2024
9.0.0-rc.1.24451.1 62,638 9/10/2024
9.0.0-preview.7.24405.3 40,134 8/13/2024
9.0.0-preview.6.24327.4 216,358 7/9/2024
9.0.0-preview.5.24306.3 49,964 6/11/2024
9.0.0-preview.4.24267.1 41,869 5/21/2024
9.0.0-preview.3.24172.4 44,733 4/11/2024
9.0.0-preview.2.24128.4 31,825 3/12/2024
9.0.0-preview.1.24081.2 57,211 2/13/2024
8.0.23 105,191 1/13/2026
8.0.22 1,091,573 11/11/2025
8.0.21 1,020,173 10/14/2025
8.0.20 1,348,922 9/9/2025
8.0.19 1,657,319 8/5/2025
8.0.18 1,299,412 7/8/2025
8.0.17 1,676,661 6/10/2025
8.0.16 2,105,078 5/13/2025
8.0.15 2,706,572 4/8/2025
8.0.14 3,698,390 3/11/2025
8.0.13 4,224,605 2/11/2025
8.0.12 4,020,480 1/14/2025
8.0.11 14,521,837 11/12/2024
8.0.10 16,869,941 10/8/2024
8.0.8 21,572,981 8/13/2024
8.0.7 12,166,690 7/9/2024
8.0.6 12,875,312 5/28/2024
8.0.5 5,747,475 5/14/2024
8.0.4 12,970,194 4/9/2024
8.0.3 8,020,624 3/12/2024
8.0.2 10,412,955 2/13/2024
8.0.1 8,980,408 1/9/2024
8.0.0 16,548,979 11/14/2023
8.0.0-rc.2.23480.1 107,346 10/10/2023
8.0.0-rc.1.23419.6 68,697 9/12/2023
8.0.0-preview.7.23375.4 43,154 8/8/2023
8.0.0-preview.6.23329.4 76,645 7/11/2023
8.0.0-preview.5.23280.1 99,048 6/13/2023
8.0.0-preview.4.23259.3 53,712 5/16/2023
8.0.0-preview.3.23174.2 78,912 4/11/2023
8.0.0-preview.2.23128.3 138,844 3/14/2023
8.0.0-preview.1.23111.4 41,858 2/21/2023
7.0.20 3,127,629 5/28/2024
7.0.19 322,091 5/14/2024
7.0.18 927,033 4/9/2024
7.0.17 1,075,091 3/12/2024
7.0.16 1,192,639 2/13/2024
7.0.15 1,910,986 1/9/2024
7.0.14 3,414,394 11/14/2023
7.0.13 4,290,093 10/24/2023
7.0.12 2,334,525 10/10/2023
7.0.11 6,053,507 9/12/2023
7.0.10 6,199,197 8/8/2023
7.0.9 4,726,789 7/11/2023
7.0.8 3,049,980 6/22/2023
7.0.7 2,643,552 6/13/2023
7.0.5 11,743,373 4/11/2023
7.0.4 4,776,990 3/14/2023
7.0.3 6,035,580 2/14/2023
7.0.2 6,826,158 1/10/2023
7.0.1 4,292,429 12/13/2022
7.0.0 10,596,992 11/7/2022
7.0.0-rc.2.22472.11 121,545 10/11/2022
7.0.0-rc.1.22426.7 140,005 9/14/2022
7.0.0-preview.7.22376.2 36,170 8/9/2022
7.0.0-preview.6.22329.4 37,431 7/12/2022
7.0.0-preview.5.22302.2 26,753 6/14/2022
7.0.0-preview.4.22229.2 32,343 5/10/2022
7.0.0-preview.3.22175.1 47,753 4/13/2022
7.0.0-preview.2.22153.1 23,181 3/14/2022
7.0.0-preview.1.22076.6 27,449 2/17/2022
6.0.36 1,680,033 11/12/2024
6.0.35 545,906 10/8/2024
6.0.33 725,228 8/13/2024
6.0.32 561,657 7/9/2024
6.0.31 724,354 5/28/2024
6.0.30 306,171 5/14/2024
6.0.29 943,333 4/9/2024
6.0.28 893,345 3/12/2024
6.0.27 1,332,213 2/13/2024
6.0.26 1,836,164 1/9/2024
6.0.25 2,313,434 11/14/2023
6.0.24 1,236,210 10/24/2023
6.0.23 762,927 10/10/2023
6.0.22 1,519,284 9/12/2023
6.0.21 2,157,960 8/8/2023
6.0.20 1,812,787 7/11/2023
6.0.19 1,954,584 6/22/2023
6.0.18 723,222 6/13/2023
6.0.16 4,675,004 4/11/2023
6.0.15 2,637,502 3/14/2023
6.0.14 2,813,761 2/14/2023
6.0.13 4,523,096 1/10/2023
6.0.12 3,258,384 12/13/2022
6.0.11 6,152,990 11/7/2022
6.0.10 10,082,086 10/11/2022
6.0.9 9,456,202 9/13/2022
6.0.8 10,214,107 8/9/2022
6.0.7 9,286,182 7/12/2022
6.0.6 7,325,980 6/14/2022
6.0.5 10,422,350 5/10/2022
6.0.4 7,256,015 4/11/2022
6.0.3 9,793,637 3/8/2022
6.0.2 7,696,033 2/8/2022
6.0.1 18,287,883 12/14/2021
6.0.0 18,213,153 11/8/2021
6.0.0-rc.2.21480.5 143,864 10/12/2021
6.0.0-rc.1.21452.10 71,605 9/14/2021
6.0.0-preview.7.21378.4 40,975 8/10/2021
6.0.0-preview.6.21352.1 22,994 7/14/2021
6.0.0-preview.5.21301.9 99,010 6/15/2021
6.0.0-preview.4.21253.1 30,795 5/24/2021
6.0.0-preview.3.21201.2 53,791 4/8/2021
6.0.0-preview.2.21154.2 22,581 3/11/2021
6.0.0-preview.1.21102.2 54,493 2/12/2021
5.0.17 3,961,293 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 933,187 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,153,911 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 940,636 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,311,602 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,555,023 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,460,453 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 5,123,898 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,996,623 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 5,598,432 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 6,063,465 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 4,406,617 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,787,124 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,976,406 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 4,385,812 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,231,804 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 4,038,561 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 7,191,092 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 130,003 10/13/2020
5.0.0-rc.1.20451.13 131,902 9/14/2020
5.0.0-preview.8.20407.4 54,940 8/25/2020
5.0.0-preview.7.20365.15 48,539 7/21/2020
5.0.0-preview.6.20312.4 43,364 6/25/2020
5.0.0-preview.5.20278.2 34,103 6/10/2020
5.0.0-preview.4.20220.10 46,949 5/18/2020
5.0.0-preview.3.20181.2 52,955 4/23/2020
5.0.0-preview.2.20159.4 29,326 4/2/2020
5.0.0-preview.2.20120.8 24,105 3/16/2020
3.1.32 6,064,213 12/13/2022
3.1.31 1,695,064 11/8/2022
3.1.30 533,481 10/11/2022
3.1.29 1,316,845 9/13/2022
3.1.28 710,636 8/9/2022
3.1.27 558,775 7/12/2022
3.1.26 391,230 6/14/2022
3.1.25 678,716 5/10/2022
3.1.24 401,407 4/11/2022
3.1.23 724,194 3/8/2022
3.1.22 2,420,080 12/14/2021
3.1.21 1,924,550 11/7/2021
3.1.20 1,106,420 10/11/2021
3.1.19 1,116,667 9/14/2021
3.1.18 2,489,202 8/10/2021
3.1.17 1,325,591 7/13/2021
3.1.16 1,675,749 6/8/2021
3.1.15 2,034,968 5/11/2021
3.1.14 1,817,688 4/6/2021
3.1.13 2,028,467 3/9/2021
3.1.12 1,807,242 2/9/2021
3.1.11 2,029,179 1/12/2021
3.1.10 5,173,131 11/9/2020
3.1.9 7,498,837 10/13/2020
3.1.8 9,251,824 9/8/2020
3.1.7 6,052,326 8/11/2020
3.1.6 5,263,747 7/14/2020
3.1.5 6,419,599 6/9/2020
3.1.4 6,233,930 5/12/2020
3.1.3 10,127,459 3/24/2020
3.1.2 6,826,517 2/19/2020
3.1.1 6,700,531 1/14/2020
3.1.0 8,815,845 12/3/2019
3.1.0-preview3.19554.8 45,421 11/13/2019
3.1.0-preview2.19525.5 19,447 11/1/2019
3.1.0-preview1.19506.2 568,089 10/15/2019
3.0.3 93,935 2/19/2020
3.0.2 44,488 1/14/2020
3.0.1 779,454 11/18/2019
3.0.0 6,648,876 9/23/2019
3.0.0-rc1.19456.14 35,131 9/16/2019
3.0.0-preview9.19423.6 42,889 9/4/2019
3.0.0-preview8.19405.11 59,612 8/13/2019
3.0.0-preview7.19362.6 42,958 7/23/2019
3.0.0-preview6.19304.10 121,561 6/12/2019
3.0.0-preview5.19227.1 69,536 5/6/2019
3.0.0-preview4.19216.3 11,880 4/18/2019
3.0.0-preview3.19153.1 39,210 3/6/2019
3.0.0-preview.19074.3 17,304 1/29/2019
3.0.0-preview.18572.1 17,489 12/3/2018
2.3.0 58,404 1/14/2025
2.2.6 21,495,743 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 11,234,175 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 3,503,181 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 3,958,103 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,994,219 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 13,756,926 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 113,105 10/17/2018
2.2.0-preview2-35157 88,155 9/12/2018
2.2.0-preview1-35029 16,686 8/22/2018
2.1.14 2,845,554 11/18/2019
2.1.11 2,340,556 5/14/2019
2.1.8 3,038,571 2/12/2019
2.1.4 9,557,053 10/1/2018
2.1.3 3,932,680 9/11/2018
2.1.2 3,078,874 8/21/2018
2.1.1 14,559,375 6/18/2018
2.1.0 6,199,124 5/29/2018
2.1.0-rc1-final 114,136 5/6/2018
2.1.0-preview2-final 178,330 4/10/2018
2.1.0-preview1-final 230,344 2/26/2018
2.0.3 4,477,609 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 5,529,901 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,055,989 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,586,318 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 68,023 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 225,244 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 2,009,269 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 498,459 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 40,895 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 96,916 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,568,072 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 921,061 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 738,566 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 20,467 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 27,515 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 23,929 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 36,742 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 418,979 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 41,623 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 1,687,614 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 992,209 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 57,846 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.