Microsoft SQL Server EF Core 資料庫提供者Microsoft SQL Server EF Core Database Provider

此資料庫提供者可讓 Entity Framework Core 與 Microsoft SQL Server (包括 SQL Azure) 搭配使用。This database provider allows Entity Framework Core to be used with Microsoft SQL Server (including SQL Azure). Entity Framework Core 專案的維護包含此提供者。The provider is maintained as part of the Entity Framework Core Project.


安裝 Microsoft.EntityFrameworkCore.SqlServer NuGet 套件Install the Microsoft.EntityFrameworkCore.SqlServer NuGet package.

Install-Package Microsoft.EntityFrameworkCore.SqlServer

開始使用Get Started

下列資源將協助您開始使用此提供者。The following resources will help you get started with this provider.

支援的資料庫引擎Supported Database Engines

  • Microsoft SQL Server (2008 及更新版本)Microsoft SQL Server (2008 onwards)

支援的平台Supported Platforms

  • .NET Framework (4.5.1 及更新版本).NET Framework (4.5.1 onwards)

  • .NET Core.NET Core

  • Mono (4.2.0 及更新版本)Mono (4.2.0 onwards)

    Caution: Using this provider on Mono will make use of the Mono SQL Client implementation, which has a number of known issues. For example, it does not support secure connections (SSL).