Microsoft.EntityFrameworkCore.SqlServer 10.0.0-preview.7.25380.108

Prefix Reserved
This is a prerelease version of Microsoft.EntityFrameworkCore.SqlServer.

Requires NuGet 3.6 or higher.

dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 10.0.0-preview.7.25380.108
                    
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 10.0.0-preview.7.25380.108
                    
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="10.0.0-preview.7.25380.108" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.0-preview.7.25380.108" />
                    
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 10.0.0-preview.7.25380.108
                    
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 10.0.0-preview.7.25380.108"
                    
#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@10.0.0-preview.7.25380.108
                    
#: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=10.0.0-preview.7.25380.108&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=10.0.0-preview.7.25380.108&prerelease
                    
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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3.9K)

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.EntityFrameworkCore.SqlServer.NetTopologySuite

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

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.Design

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

GitHub repositories (647)

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
LuckyPennySoftware/AutoMapper
A convention-based object-object mapper in .NET.
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 Preview 7, 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.
MassTransit/MassTransit
Distributed Application Framework for .NET
elsa-workflows/elsa-core
A .NET workflows library
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
louthy/language-ext
C# pure functional programming framework - come and get declarative!
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
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.
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
Version Downloads Last Updated
10.0.0-preview.7.25380.108 1,262 8/12/2025
10.0.0-preview.6.25358.103 5,164 7/15/2025
10.0.0-preview.5.25277.114 12,740 6/6/2025
10.0.0-preview.4.25258.110 7,835 5/12/2025
10.0.0-preview.3.25171.6 10,780 4/10/2025
10.0.0-preview.2.25163.8 8,375 3/18/2025
10.0.0-preview.1.25081.1 9,754 2/25/2025
9.0.8 184,954 8/5/2025
9.0.7 639,972 7/8/2025
9.0.6 1,600,557 6/10/2025
9.0.5 2,295,358 5/13/2025
9.0.4 3,261,066 4/8/2025
9.0.3 2,950,996 3/11/2025
9.0.2 3,928,916 2/11/2025
9.0.1 3,471,284 1/14/2025
9.0.0 7,415,687 11/12/2024
9.0.0-rc.2.24474.1 77,096 10/8/2024
9.0.0-rc.1.24451.1 55,596 9/10/2024
9.0.0-preview.7.24405.3 34,679 8/13/2024
9.0.0-preview.6.24327.4 160,266 7/9/2024
9.0.0-preview.5.24306.3 38,211 6/11/2024
9.0.0-preview.4.24267.1 39,242 5/21/2024
9.0.0-preview.3.24172.4 40,503 4/11/2024
9.0.0-preview.2.24128.4 29,374 3/12/2024
9.0.0-preview.1.24081.2 43,998 2/13/2024
8.0.19 50,092 8/5/2025
8.0.18 187,926 7/8/2025
8.0.17 540,361 6/10/2025
8.0.16 865,555 5/13/2025
8.0.15 1,357,786 4/8/2025
8.0.14 1,888,835 3/11/2025
8.0.13 2,323,080 2/11/2025
8.0.12 2,396,750 1/14/2025
8.0.11 9,307,776 11/12/2024
8.0.10 12,297,883 10/8/2024
8.0.8 16,150,789 8/13/2024
8.0.7 9,659,196 7/9/2024
8.0.6 10,410,065 5/28/2024
8.0.5 4,701,222 5/14/2024
8.0.4 10,628,941 4/9/2024
8.0.3 6,750,806 3/12/2024
8.0.2 8,485,384 2/13/2024
8.0.1 7,698,658 1/9/2024
8.0.0 12,595,541 11/14/2023
8.0.0-rc.2.23480.1 104,304 10/10/2023
8.0.0-rc.1.23419.6 66,829 9/12/2023
8.0.0-preview.7.23375.4 42,471 8/8/2023
8.0.0-preview.6.23329.4 72,707 7/11/2023
8.0.0-preview.5.23280.1 85,066 6/13/2023
8.0.0-preview.4.23259.3 47,626 5/16/2023
8.0.0-preview.3.23174.2 71,691 4/11/2023
8.0.0-preview.2.23128.3 136,390 3/14/2023
8.0.0-preview.1.23111.4 40,817 2/21/2023
7.0.20 2,265,522 5/28/2024
7.0.19 270,903 5/14/2024
7.0.18 797,481 4/9/2024
7.0.17 991,085 3/12/2024
7.0.16 1,078,937 2/13/2024
7.0.15 1,735,626 1/9/2024
7.0.14 3,143,863 11/14/2023
7.0.13 3,861,089 10/24/2023
7.0.12 2,193,774 10/10/2023
7.0.11 5,365,394 9/12/2023
7.0.10 5,586,099 8/8/2023
7.0.9 4,421,497 7/11/2023
7.0.8 2,844,736 6/22/2023
7.0.7 2,439,066 6/13/2023
7.0.5 11,102,274 4/11/2023
7.0.4 4,520,740 3/14/2023
7.0.3 5,731,691 2/14/2023
7.0.2 6,489,196 1/10/2023
7.0.1 3,892,430 12/13/2022
7.0.0 9,618,316 11/7/2022
7.0.0-rc.2.22472.11 112,826 10/11/2022
7.0.0-rc.1.22426.7 134,257 9/14/2022
7.0.0-preview.7.22376.2 35,189 8/9/2022
7.0.0-preview.6.22329.4 36,143 7/12/2022
7.0.0-preview.5.22302.2 26,342 6/14/2022
7.0.0-preview.4.22229.2 31,965 5/10/2022
7.0.0-preview.3.22175.1 47,362 4/13/2022
7.0.0-preview.2.22153.1 22,638 3/14/2022
7.0.0-preview.1.22076.6 26,548 2/17/2022
6.0.36 932,797 11/12/2024
6.0.35 402,232 10/8/2024
6.0.33 614,266 8/13/2024
6.0.32 464,431 7/9/2024
6.0.31 613,645 5/28/2024
6.0.30 258,305 5/14/2024
6.0.29 834,729 4/9/2024
6.0.28 796,933 3/12/2024
6.0.27 1,133,516 2/13/2024
6.0.26 1,623,570 1/9/2024
6.0.25 2,104,269 11/14/2023
6.0.24 1,130,297 10/24/2023
6.0.23 693,275 10/10/2023
6.0.22 1,412,933 9/12/2023
6.0.21 1,994,378 8/8/2023
6.0.20 1,666,358 7/11/2023
6.0.19 1,797,647 6/22/2023
6.0.18 664,506 6/13/2023
6.0.16 4,400,982 4/11/2023
6.0.15 2,488,504 3/14/2023
6.0.14 2,654,950 2/14/2023
6.0.13 4,307,134 1/10/2023
6.0.12 3,078,317 12/13/2022
6.0.11 5,867,105 11/7/2022
6.0.10 9,659,860 10/11/2022
6.0.9 8,999,681 9/13/2022
6.0.8 9,777,471 8/9/2022
6.0.7 8,977,527 7/12/2022
6.0.6 6,966,385 6/14/2022
6.0.5 9,966,418 5/10/2022
6.0.4 7,000,448 4/11/2022
6.0.3 9,411,944 3/8/2022
6.0.2 7,394,791 2/8/2022
6.0.1 17,426,084 12/14/2021
6.0.0 16,845,646 11/8/2021
6.0.0-rc.2.21480.5 141,526 10/12/2021
6.0.0-rc.1.21452.10 70,374 9/14/2021
6.0.0-preview.7.21378.4 40,635 8/10/2021
6.0.0-preview.6.21352.1 22,799 7/14/2021
6.0.0-preview.5.21301.9 96,452 6/15/2021
6.0.0-preview.4.21253.1 30,530 5/24/2021
6.0.0-preview.3.21201.2 52,381 4/8/2021
6.0.0-preview.2.21154.2 22,406 3/11/2021
6.0.0-preview.1.21102.2 53,305 2/12/2021
5.0.17 3,649,907 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 896,475 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 1,106,039 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 903,195 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 2,210,604 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 2,480,133 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 4,330,043 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 4,916,375 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 4,873,974 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 5,308,384 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 5,799,303 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 4,281,613 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 5,626,870 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 3,889,764 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 4,305,094 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 4,160,517 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 3,933,642 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 6,901,598 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.6 128,200 10/13/2020
5.0.0-rc.1.20451.13 130,864 9/14/2020
5.0.0-preview.8.20407.4 54,513 8/25/2020
5.0.0-preview.7.20365.15 48,047 7/21/2020
5.0.0-preview.6.20312.4 42,947 6/25/2020
5.0.0-preview.5.20278.2 33,272 6/10/2020
5.0.0-preview.4.20220.10 46,440 5/18/2020
5.0.0-preview.3.20181.2 52,336 4/23/2020
5.0.0-preview.2.20159.4 28,492 4/2/2020
5.0.0-preview.2.20120.8 23,884 3/16/2020
3.1.32 4,586,829 12/13/2022
3.1.31 1,163,299 11/8/2022
3.1.30 434,462 10/11/2022
3.1.29 1,120,268 9/13/2022
3.1.28 624,902 8/9/2022
3.1.27 483,515 7/12/2022
3.1.26 365,688 6/14/2022
3.1.25 645,653 5/10/2022
3.1.24 378,240 4/11/2022
3.1.23 692,873 3/8/2022
3.1.22 2,164,276 12/14/2021
3.1.21 1,857,914 11/7/2021
3.1.20 994,385 10/11/2021
3.1.19 1,074,642 9/14/2021
3.1.18 2,423,475 8/10/2021
3.1.17 1,267,112 7/13/2021
3.1.16 1,619,786 6/8/2021
3.1.15 1,886,200 5/11/2021
3.1.14 1,752,835 4/6/2021
3.1.13 1,951,412 3/9/2021
3.1.12 1,761,250 2/9/2021
3.1.11 1,966,356 1/12/2021
3.1.10 5,056,640 11/9/2020
3.1.9 7,336,829 10/13/2020
3.1.8 9,083,508 9/8/2020
3.1.7 5,846,770 8/11/2020
3.1.6 5,157,054 7/14/2020
3.1.5 6,268,591 6/9/2020
3.1.4 6,013,633 5/12/2020
3.1.3 9,843,805 3/24/2020
3.1.2 6,692,467 2/19/2020
3.1.1 6,557,982 1/14/2020
3.1.0 8,442,243 12/3/2019
3.1.0-preview3.19554.8 43,844 11/13/2019
3.1.0-preview2.19525.5 18,984 11/1/2019
3.1.0-preview1.19506.2 548,712 10/15/2019
3.0.3 84,852 2/19/2020
3.0.2 38,883 1/14/2020
3.0.1 760,866 11/18/2019
3.0.0 6,466,842 9/23/2019
3.0.0-rc1.19456.14 34,861 9/16/2019
3.0.0-preview9.19423.6 42,658 9/4/2019
3.0.0-preview8.19405.11 58,417 8/13/2019
3.0.0-preview7.19362.6 42,050 7/23/2019
3.0.0-preview6.19304.10 119,537 6/12/2019
3.0.0-preview5.19227.1 67,529 5/6/2019
3.0.0-preview4.19216.3 11,717 4/18/2019
3.0.0-preview3.19153.1 37,158 3/6/2019
3.0.0-preview.19074.3 16,239 1/29/2019
3.0.0-preview.18572.1 17,201 12/3/2018
2.3.0 21,096 1/14/2025
2.2.6 20,770,198 7/9/2019 2.2.6 is deprecated because it is no longer maintained.
2.2.4 10,991,163 4/9/2019 2.2.4 is deprecated because it is no longer maintained.
2.2.3 3,442,117 3/11/2019 2.2.3 is deprecated because it is no longer maintained.
2.2.2 3,869,461 2/12/2019 2.2.2 is deprecated because it is no longer maintained.
2.2.1 3,916,375 1/8/2019 2.2.1 is deprecated because it is no longer maintained.
2.2.0 13,253,681 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 112,391 10/17/2018
2.2.0-preview2-35157 87,033 9/12/2018
2.2.0-preview1-35029 16,409 8/22/2018
2.1.14 2,769,641 11/18/2019
2.1.11 2,299,697 5/14/2019
2.1.8 2,893,702 2/12/2019
2.1.4 9,409,277 10/1/2018
2.1.3 3,860,078 9/11/2018
2.1.2 3,020,254 8/21/2018
2.1.1 13,438,803 6/18/2018
2.1.0 6,058,683 5/29/2018
2.1.0-rc1-final 108,946 5/6/2018
2.1.0-preview2-final 166,206 4/10/2018
2.1.0-preview1-final 221,731 2/26/2018
2.0.3 4,369,856 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 5,369,230 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,892,664 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 8,373,053 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 66,695 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 179,259 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.6 1,695,841 7/10/2018 1.1.6 is deprecated because it is no longer maintained.
1.1.5 469,866 12/12/2017 1.1.5 is deprecated because it is no longer maintained.
1.1.4 34,232 11/14/2017 1.1.4 is deprecated because it is no longer maintained.
1.1.3 90,677 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,526,098 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 898,764 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 719,305 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 19,895 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.6 22,336 11/14/2017 1.0.6 is deprecated because it is no longer maintained.
1.0.5 18,316 9/20/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 30,445 5/9/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 399,900 3/6/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 36,641 12/12/2016 1.0.2 is deprecated because it is no longer maintained.
1.0.1 1,680,182 9/13/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 868,641 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 57,269 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.