Microsoft.EntityFrameworkCore.SqlServer
9.0.7
Prefix Reserved
See the version list below for details.
Requires NuGet 3.6 or higher.
dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 9.0.7
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 9.0.7
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.7" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.7" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
paket add Microsoft.EntityFrameworkCore.SqlServer --version 9.0.7
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 9.0.7"
#:package Microsoft.EntityFrameworkCore.SqlServer@9.0.7
#addin nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=9.0.7
#tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=9.0.7
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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Microsoft.Data.SqlClient (>= 5.1.6)
- Microsoft.EntityFrameworkCore.Relational (>= 9.0.7)
- Microsoft.Extensions.Caching.Memory (>= 9.0.7)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.7)
- Microsoft.Extensions.Logging (>= 9.0.7)
- System.Formats.Asn1 (>= 9.0.7)
- System.Text.Json (>= 9.0.7)
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.0-rc.2.25466.103 | 0 | 9/22/2025 |
| 10.0.0-rc.1.25451.107 | 0 | 9/22/2025 |
| 10.0.0-rc.1.25421.113 | 0 | 9/12/2025 |
| 10.0.0-preview.7.25380.108 | 0 | 8/11/2025 |
| 10.0.0-preview.7.25380.105 | 0 | 8/6/2025 |
| 10.0.0-preview.6.25358.103 | 0 | 7/17/2025 |
| 10.0.0-preview.6.25321.102 | 0 | 6/25/2025 |
| 10.0.0-preview.5.25280.105 | 0 | 6/2/2025 |
| 10.0.0-preview.5.25277.114 | 0 | 6/3/2025 |
| 10.0.0-preview.5.25277.101 | 0 | 5/29/2025 |
| 10.0.0-preview.4.25266.103 | 0 | 5/20/2025 |
| 10.0.0-preview.4.25255.103 | 0 | 5/12/2025 |
| 9.0.10 | 1 | 9/25/2025 |
| 9.0.7 | 1 | 7/11/2025 |
| 3.0.0-preview.19074.3 | 9 | 1/28/2019 |
| 3.0.0-preview.18572.1 | 2 | 11/30/2018 |