Microsoft.EntityFrameworkCore.SqlServer 10.0.0

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.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
70
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.
68
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.
65
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
65
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
63
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.
63
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.
62
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
62
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
61
Microsoft.EntityFrameworkCore.SqlServer.Design
Design-time Entity Framework Core Functionality for Microsoft SQL Server.
61
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
60
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
60
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
60
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
59
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.
59

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