EF Core执行迁移的时候出错

可能会遇到的问题:
 Both Entity Framework 6.x and Entity Framework Core commands are installed. The Entity Framework 6 version is executing. You can fully qualify the command to select which one to execute, 'EntityFramework\Update-Database' for EF6.x and 'EntityFrameworkCore\Update-Database' for EF Core.
解决方法:
EntityFrameworkCore\Add-Migration InitialDb
EntityFrameworkCore\Update-Database
posted @ 2020-03-09 11:55  跟着阿笨一起玩.NET  阅读(721)  评论(0编辑  收藏  举报