Microsoft.EntityFrameworkCore.SqlServer 10.0.0-preview.6.25358.103

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.

Showing the top 20 packages that depend on Microsoft.EntityFrameworkCore.SqlServer.

Packages Downloads
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core.
24
EntityFrameworkCore.SqlServer.HierarchyId
Adds hierarchyid support to the SQL Server EF Core provider
19
EntityFrameworkCore.SqlServer.HierarchyId
Adds hierarchyid support to the SQL Server EF Core provider
18
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core.
17
EntityFrameworkCore.SqlServer.HierarchyId
Adds hierarchyid support to the SQL Server EF Core provider
17
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core. This package was built from the source at: https://github.com/aspnet/EntityFrameworkCore/tree/b8ad5cc289bcd501d079f64223849672fc071222
17
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
17
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
16
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core.
16
EntityFrameworkCore.SqlServer.HierarchyId
Adds hierarchyid support to the SQL Server EF Core provider
16
Microsoft.EntityFrameworkCore.SqlServer.Design
Design-time Entity Framework Core Functionality for Microsoft SQL Server.
16
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
16
MassTransit.EntityFrameworkCore
MassTransit Entity Framework Core support; MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com
16

.NET 10.0

Version Downloads Last updated
10.0.0-preview.6.25358.103 2 07/17/2025
10.0.0-preview.5.25277.114 4 06/08/2025
10.0.0-preview.4.25258.110 8 05/17/2025
10.0.0-preview.3.25171.6 10 04/12/2025
10.0.0-preview.2.25163.8 9 03/20/2025
10.0.0-preview.1.25081.1 10 02/28/2025
9.0.7 3 07/11/2025
9.0.6 6 06/12/2025
9.0.5 10 05/16/2025
9.0.4 11 04/13/2025
9.0.3 10 03/20/2025
9.0.2 15 02/25/2025
9.0.1 15 01/18/2025
9.0.0 18 11/19/2024
9.0.0-rc.2.24474.1 14 11/10/2024
9.0.0-rc.1.24451.1 10 10/08/2024
9.0.0-preview.7.24405.3 15 10/08/2024
9.0.0-preview.6.24327.4 16 10/08/2024
9.0.0-preview.5.24306.3 12 10/08/2024
9.0.0-preview.4.24267.1 12 10/08/2024
9.0.0-preview.3.24172.4 13 10/08/2024
9.0.0-preview.2.24128.4 16 08/06/2024
9.0.0-preview.1.24081.2 14 10/08/2024
8.0.18 3 07/10/2025
8.0.17 6 06/12/2025
8.0.16 11 05/15/2025
8.0.15 11 04/13/2025
8.0.14 7 03/20/2025
8.0.13 9 02/21/2025
8.0.12 10 01/19/2025
8.0.11 16 11/19/2024
8.0.10 16 10/29/2024
8.0.8 14 10/08/2024
8.0.7 13 10/08/2024
8.0.6 12 10/08/2024
8.0.5 15 10/08/2024
8.0.4 14 10/08/2024
8.0.3 17 04/04/2024
8.0.2 16 10/08/2024
8.0.1 16 10/08/2024
8.0.0 16 04/03/2024
8.0.0-rc.2.23480.1 16 10/08/2024
8.0.0-rc.1.23419.6 15 10/08/2024
8.0.0-preview.7.23375.4 16 10/08/2024
8.0.0-preview.6.23329.4 15 10/08/2024
8.0.0-preview.5.23280.1 14 10/08/2024
8.0.0-preview.4.23259.3 12 10/08/2024
8.0.0-preview.3.23174.2 14 10/08/2024
8.0.0-preview.2.23128.3 16 10/08/2024
8.0.0-preview.1.23111.4 11 10/08/2024
7.0.20 16 10/08/2024
7.0.19 16 10/08/2024
7.0.18 17 10/08/2024
7.0.17 16 10/08/2024
7.0.16 16 10/08/2024
7.0.15 16 10/08/2024
7.0.14 16 10/08/2024
7.0.13 16 10/08/2024
7.0.12 16 10/08/2024
7.0.11 17 10/08/2024
7.0.10 16 10/08/2024
7.0.9 14 10/08/2024
7.0.8 14 10/08/2024
7.0.7 18 10/08/2024
7.0.5 17 05/22/2023
7.0.4 16 10/08/2024
7.0.3 17 10/08/2024
7.0.2 17 02/02/2023
7.0.1 17 10/08/2024
7.0.0 15 12/02/2022
7.0.0-rc.2.22472.11 17 10/08/2024
7.0.0-rc.1.22426.7 14 10/08/2024
7.0.0-preview.7.22376.2 15 10/08/2024
7.0.0-preview.6.22329.4 13 10/08/2024
7.0.0-preview.5.22302.2 14 10/08/2024
7.0.0-preview.4.22229.2 15 10/08/2024
7.0.0-preview.3.22175.1 13 10/08/2024
7.0.0-preview.2.22153.1 15 10/08/2024
7.0.0-preview.1.22076.6 15 10/08/2024
6.0.36 15 11/19/2024
6.0.35 17 10/18/2024
6.0.33 16 10/08/2024
6.0.32 16 11/19/2024
6.0.31 16 10/08/2024
6.0.30 16 10/08/2024
6.0.29 16 10/08/2024
6.0.28 13 10/08/2024
6.0.27 15 10/08/2024
6.0.26 15 10/08/2024
6.0.25 17 10/08/2024
6.0.24 12 10/08/2024
6.0.23 16 10/08/2024
6.0.22 18 10/08/2024
6.0.21 15 10/08/2024
6.0.20 14 10/08/2024
6.0.19 15 10/08/2024
6.0.18 18 10/08/2024
6.0.16 17 10/08/2024
6.0.15 16 10/08/2024
6.0.14 12 10/08/2024
6.0.13 14 10/08/2024
6.0.12 15 10/08/2024
6.0.11 17 12/02/2022
6.0.10 17 12/11/2022
6.0.9 17 10/17/2022
6.0.8 16 10/08/2024
6.0.7 15 10/08/2024
6.0.6 16 10/08/2024
6.0.5 16 10/08/2024
6.0.4 16 10/08/2024
6.0.3 18 03/12/2022
6.0.2 16 10/08/2024
6.0.1 13 10/08/2024
6.0.0 17 10/08/2024
6.0.0-rc.2.21480.5 15 10/08/2024
6.0.0-rc.1.21452.10 14 10/08/2024
6.0.0-preview.7.21378.4 12 10/08/2024
6.0.0-preview.6.21352.1 13 10/08/2024
6.0.0-preview.5.21301.9 14 11/19/2024
6.0.0-preview.4.21253.1 12 10/08/2024
6.0.0-preview.3.21201.2 17 10/08/2024
6.0.0-preview.2.21154.2 15 10/08/2024
6.0.0-preview.1.21102.2 15 10/08/2024
5.0.17 26 11/06/2022
5.0.16 16 10/08/2024
5.0.15 16 10/08/2024
5.0.14 15 10/08/2024
5.0.13 16 10/08/2024
5.0.12 14 10/08/2024
5.0.11 16 10/08/2024
5.0.10 16 10/08/2024
5.0.9 100 01/21/2022
5.0.8 16 10/08/2024
5.0.7 15 10/08/2024
5.0.6 16 10/08/2024
5.0.5 16 10/08/2024
5.0.4 14 10/08/2024
5.0.3 14 10/08/2024
5.0.2 16 10/08/2024
5.0.1 15 10/08/2024
5.0.0 16 10/08/2024
5.0.0-rc.2.20475.6 15 10/08/2024
5.0.0-rc.1.20451.13 14 10/08/2024
5.0.0-preview.8.20407.4 13 10/08/2024
5.0.0-preview.7.20365.15 14 10/08/2024
5.0.0-preview.6.20312.4 12 10/08/2024
5.0.0-preview.5.20278.2 17 10/08/2024
5.0.0-preview.4.20220.10 15 10/08/2024
5.0.0-preview.3.20181.2 16 10/08/2024
5.0.0-preview.2.20159.4 14 10/08/2024
5.0.0-preview.2.20120.8 10 10/08/2024
3.1.32 17 10/08/2024
3.1.31 16 10/08/2024
3.1.30 18 10/08/2024
3.1.29 16 10/08/2024
3.1.28 16 10/08/2024
3.1.27 14 10/08/2024
3.1.26 16 10/08/2024
3.1.25 16 10/08/2024
3.1.24 17 10/08/2024
3.1.23 15 10/08/2024
3.1.22 16 10/08/2024
3.1.21 16 10/08/2024
3.1.20 16 10/08/2024
3.1.19 15 10/08/2024
3.1.18 24 01/10/2022
3.1.17 18 10/08/2024
3.1.16 14 10/08/2024
3.1.15 16 10/08/2024
3.1.14 12 10/08/2024
3.1.13 16 10/08/2024
3.1.12 103 11/30/2021
3.1.11 16 10/08/2024
3.1.10 16 10/08/2024
3.1.9 16 10/08/2024
3.1.8 15 05/17/2023
3.1.7 16 10/08/2024
3.1.6 15 10/08/2024
3.1.5 15 10/08/2024
3.1.4 14 10/08/2024
3.1.3 16 10/08/2024
3.1.2 18 10/08/2024
3.1.1 15 10/08/2024
3.1.0 16 10/08/2024
3.1.0-preview3.19554.8 14 10/08/2024
3.1.0-preview2.19525.5 13 10/08/2024
3.1.0-preview1.19506.2 15 10/08/2024
3.0.3 16 10/08/2024
3.0.2 17 10/08/2024
3.0.1 16 10/08/2024
3.0.0 13 10/08/2024
3.0.0-rc1.19456.14 12 10/08/2024
3.0.0-preview9.19423.6 17 10/08/2024
3.0.0-preview8.19405.11 13 10/08/2024
3.0.0-preview7.19362.6 15 10/08/2024
3.0.0-preview6.19304.10 12 10/08/2024
3.0.0-preview5.19227.1 16 10/08/2024
3.0.0-preview4.19216.3 13 10/08/2024
3.0.0-preview3.19153.1 13 10/08/2024
3.0.0-preview.19074.3 11 10/08/2024
3.0.0-preview.18572.1 15 10/08/2024
2.3.0 11 01/19/2025
2.2.6 16 10/08/2024
2.2.4 14 10/08/2024
2.2.3 16 10/08/2024
2.2.2 16 10/08/2024
2.2.1 16 10/08/2024
2.2.0 16 10/08/2024
2.2.0-preview3-35497 15 10/08/2024
2.2.0-preview2-35157 13 10/08/2024
2.2.0-preview1-35029 16 10/08/2024
2.1.14 11 10/08/2024
2.1.11 18 10/08/2024
2.1.8 19 10/08/2024
2.1.4 14 10/08/2024
2.1.3 16 10/08/2024
2.1.2 16 10/08/2024
2.1.1 17 10/08/2024
2.1.0 16 10/08/2024
2.1.0-rc1-final 16 10/08/2024
2.1.0-preview2-final 15 10/08/2024
2.1.0-preview1-final 16 10/08/2024
2.0.3 16 10/08/2024
2.0.2 16 10/11/2022
2.0.1 16 10/08/2024
2.0.0 15 10/08/2024
2.0.0-preview2-final 14 10/08/2024
2.0.0-preview1-final 17 10/08/2024
1.1.6 16 10/08/2024
1.1.5 16 10/08/2024
1.1.4 16 10/08/2024
1.1.3 15 10/08/2024
1.1.2 13 10/08/2024
1.1.1 15 10/08/2024
1.1.0 16 10/08/2024
1.1.0-preview1-final 12 10/08/2024
1.0.6 16 10/08/2024
1.0.5 16 10/08/2024
1.0.4 13 10/08/2024
1.0.3 17 10/08/2024
1.0.2 13 10/08/2024
1.0.1 14 10/08/2024
1.0.0 16 10/08/2024
1.0.0-rc2-final 17 10/08/2024