Microsoft.EntityFrameworkCore.SqlServer (9.0.1)

Published 2026-02-20 19:35:25 +03:30 by kayer

Installation

dotnet nuget add source --name kayer --username your_username --password your_token 
dotnet add package --source kayer --version 9.0.1 Microsoft.EntityFrameworkCore.SqlServer

About this package

Microsoft SQL Server database provider for Entity Framework Core.

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.

Dependencies

ID Version Target Framework
Microsoft.EntityFrameworkCore.Relational 9.0.1 net8.0
Microsoft.Data.SqlClient 5.1.6 net8.0
Microsoft.Extensions.Caching.Memory 9.0.1 net8.0
Microsoft.Extensions.Configuration.Abstractions 9.0.1 net8.0
Microsoft.Extensions.Logging 9.0.1 net8.0
System.Formats.Asn1 9.0.1 net8.0
System.Text.Json 9.0.1 net8.0
Details
NuGet
2026-02-20 19:35:25 +03:30
1
Microsoft
300 KiB
Assets (2)
Versions (3) View all
9.0.1 2026-02-20
9.0.0 2026-02-20
9.0.10 2026-02-04