Loading

efcore dotnet cli add-migrations update-database

add-migrations update-database 如何通过dotnet cli调用

dotnet tool install --global dotnet-ef
dotnet ef migrations add xxx
dotnet ef database update

https://stackoverflow.com/questions/41536603/visual-studio-code-entity-framework-core-add-migration-not-recognized
https://docs.microsoft.com/zh-cn/aspnet/core/data/ef-rp/intro?tabs=visual-studio-code&view=aspnetcore-3.0#the-sample-app

posted @ 2019-11-04 15:07  wswind  阅读(642)  评论(1编辑  收藏  举报