SQLite EF Core 数据库提供程序SQLite EF Core Database Provider

此数据库提供程序允许将 Entity Framework Core 与 SQLite 一起使用。This database provider allows Entity Framework Core to be used with SQLite. 该提供程序作为 Entity Framework Core 项目的组成部分进行维护。The provider is maintained as part of the Entity Framework Core project.

安装Install

安装 Microsoft.EntityFrameworkCore.Sqlite NuGet 包Install the Microsoft.EntityFrameworkCore.Sqlite NuGet package.

dotnet add package Microsoft.EntityFrameworkCore.Sqlite

支持的数据库引擎Supported Database Engines

  • SQLite(3.7 及以上版本)SQLite (3.7 onwards)

限制Limitations

有关 SQLite 提供程序的一些重要限制,请参阅 SQLite 限制See SQLite Limitations for some important limitations of the SQLite provider.