对于 输入Add-Migration 命令但是提示:
No migrations configuration type was found in the assembly 'EfCore'. (In Visual Studio you can use the Enable-Migrations command from Package Manager Console to add a migrations configuration).
No migrations configuration type was found in the assembly 'EfCore'. (In Visual Studio you can use the Enable-Migrations command from Package Manager Console to add a migrations configuration).
解决此种问题的方法就是在命令之前加上:EntityFrameworkCore\就可以完美解决
EntityFrameworkCore\Add-Migration
EntityFrameworkCore\Update-Database