Microsoft.EntityFrameworkCore.SqlServer
                              
                            
                                10.0.0-rc.2.25466.103
                            
                        
                            
                                
                                
                                    Prefix Reserved
                                
                            
                    Requires NuGet 3.6 or higher.
dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 10.0.0-rc.2.25466.103
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 10.0.0-rc.2.25466.103
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0-rc.2.25466.103" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0-rc.2.25466.103" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
paket add Microsoft.EntityFrameworkCore.SqlServer --version 10.0.0-rc.2.25466.103
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 10.0.0-rc.2.25466.103"
#:package Microsoft.EntityFrameworkCore.SqlServer@10.0.0-rc.2.25466.103
#addin nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=10.0.0-rc.2.25466.103&prerelease
#tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=10.0.0-rc.2.25466.103&prerelease
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 | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net10.0 is compatible. 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. | 
- 
                                                    net10.0- Microsoft.Data.SqlClient (>= 6.1.1)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.0-rc.2.25466.103)
- Microsoft.Extensions.Caching.Memory (>= 10.0.0-rc.2.25466.103)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.0-rc.2.25466.103)
- Microsoft.Extensions.Logging (>= 10.0.0-rc.2.25466.103)
 
GitHub repositories (655)
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
                                                         | |
| ardalis/CleanArchitecture 
                                                            Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
                                                         | |
| bitwarden/server 
                                                            Bitwarden infrastructure/backend (API, database, Docker, etc).
                                                         | |
| 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.
                                                         | |
| dotnet/AspNetCore.Docs 
                                                            Documentation for ASP.NET Core
                                                         | |
| kgrzybek/modular-monolith-with-ddd 
                                                            Full Modular Monolith application with Domain-Driven Design approach.
                                                         | |
| 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 RC 2, 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 9 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
                                                         | |
| jasontaylordev/NorthwindTraders 
                                                            Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 10.0.0-rc.2.25466.103 | 0 | 9/22/2025 | 
| 10.0.0-rc.1.25451.107 | 0 | 9/22/2025 | 
| 10.0.0-rc.1.25421.113 | 0 | 9/12/2025 | 
| 10.0.0-preview.7.25380.108 | 0 | 8/11/2025 | 
| 10.0.0-preview.7.25380.105 | 0 | 8/6/2025 | 
| 10.0.0-preview.6.25358.103 | 0 | 7/17/2025 | 
| 10.0.0-preview.6.25321.102 | 0 | 6/25/2025 | 
| 10.0.0-preview.5.25280.105 | 0 | 6/2/2025 | 
| 10.0.0-preview.5.25277.114 | 0 | 6/3/2025 | 
| 10.0.0-preview.5.25277.101 | 0 | 5/29/2025 | 
| 10.0.0-preview.4.25266.103 | 0 | 5/20/2025 | 
| 10.0.0-preview.4.25255.103 | 0 | 5/12/2025 | 
| 9.0.10 | 1 | 9/25/2025 | 
| 9.0.7 | 0 | 7/11/2025 | 
| 3.0.0-preview.19074.3 | 9 | 1/28/2019 | 
| 3.0.0-preview.18572.1 | 2 | 11/30/2018 |