可能会遇到的问题:
 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

相关文章:

  • 2022-03-02
  • 2022-12-23
  • 2021-05-25
  • 2018-03-25
  • 2019-06-22
  • 2021-05-27
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2021-10-26
  • 2021-08-25
  • 2018-05-13
相关资源
相似解决方案