NuGet ยท nuget

microsoft.entityframeworkcore.sqlserver

Cached from upstream

Install

Install-Kommandos

dotnet add package microsoft.entityframeworkcore.sqlserver --version 9.0.15
<PackageReference Include="microsoft.entityframeworkcore.sqlserver" Version="9.0.15" />
paket add microsoft.entityframeworkcore.sqlserver --version 9.0.15
Install-Package microsoft.entityframeworkcore.sqlserver -Version 9.0.15

README

Vorschau

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.