Microsoft.EntityFrameworkCore.SqlServer 9.0.0-preview.6.24327.4

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.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.
46
Microsoft.EntityFrameworkCore.SqlServer.Design
Design-time Entity Framework Core Functionality for Microsoft SQL Server.
45
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
44
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
42
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
41
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.
41
Microsoft.EntityFrameworkCore.SqlServer.Design
Design-time Entity Framework Core Functionality for Microsoft SQL Server.
41
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
41
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
40
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.
40
Microsoft.EntityFrameworkCore.SqlServer.Design
Design-time Entity Framework Core Functionality for Microsoft SQL Server.
40
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
40
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
40
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
39
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.
38

.NET 8.0

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