Microsoft.EntityFrameworkCore.SqlServer
10.0.13
Prefix Reserved
See the version list below for details.
Requires NuGet 3.6 or higher.
dotnet add package Microsoft.EntityFrameworkCore.SqlServer --version 10.0.13
NuGet\Install-Package Microsoft.EntityFrameworkCore.SqlServer -Version 10.0.13
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.13" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="10.0.13" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" />
paket add Microsoft.EntityFrameworkCore.SqlServer --version 10.0.13
#r "nuget: Microsoft.EntityFrameworkCore.SqlServer, 10.0.13"
#:package Microsoft.EntityFrameworkCore.SqlServer@10.0.13
#addin nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=10.0.13
#tool nuget:?package=Microsoft.EntityFrameworkCore.SqlServer&version=10.0.13
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 | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Data.SqlClient (>= 6.1.7)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.13)
- Microsoft.Extensions.Caching.Memory (>= 10.0.13)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.13)
- Microsoft.Extensions.Logging (>= 10.0.13)
NuGet packages (4.7K)
Showing the top 5 NuGet packages that depend on Microsoft.EntityFrameworkCore.SqlServer:
| Package | Downloads |
|---|---|
|
Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite
NetTopologySuite support for the Microsoft SQL Server database provider for Entity Framework Core. |
|
|
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. 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. |
|
|
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. |
|
|
Microsoft.EntityFrameworkCore.SqlServer.HierarchyId
Adds hierarchyid support to the SQL Server EF Core provider |
|
|
EntityFrameworkCore.SqlServer.HierarchyId
Adds hierarchyid support to the SQL Server EF Core provider |
GitHub repositories (696)
Showing the top 20 popular GitHub repositories that depend on Microsoft.EntityFrameworkCore.SqlServer:
| Repository | Stars |
|---|---|
|
dotnet/aspnetcore
ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
|
|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
|
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
|
|
|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
|
|
|
DapperLib/Dapper
Dapper - a simple object mapper for .Net
|