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.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
76
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
72
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
69
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
67
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
65
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.
59
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
58
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
58
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
56
Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore
Contains Entity Framework Core Services used by ASP.NET Core Code Generators.
55
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.
45

.NET 10.0

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