Microsoft.EntityFrameworkCore.SqlServer 10.0.0-preview.3.25171.6

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.
71
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
64
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
63
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
58
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
57
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
55
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
54
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
53
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
52
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
50
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
48
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
47
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
40

.NET 10.0

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