提问
EF Core如创建sqlite表
回答
在项目根目录执行命令
dotnet tool install --global dotnet-ef
dotnet add package Microsoft.EntityFrameworkCore.Design
dotnet ef migrations add InitialCreate
dotnet ef database update
参考
https://learn.microsoft.com/en-us/ef/core/get-started/overview/first-app?tabs=netcore-cli
https://learn.microsoft.com/en-us/ef/core/providers/sqlite/?tabs=dotnet-core-cli
标签:Core,sqlite,ef,core,EF,dotnet From: https://www.cnblogs.com/wuhailong/p/17005781.html