1.Nuget卸载microsoft.entityframeworkcore.design
2.Nuget卸载microsoft.entityframeworkcore.sqlserver
面试一点通丨模拟面试 模拟笔试 收录全网面试题
3.Nuget卸载microsoft.entityframeworkcore.sqlserver.design.
4.Nuget安装pomelo.entityframeworkcore.mysql.design
5.Nuget安装pomelo.entityframeworkcore.mysql
6.在解决方案的EntityFrameCore层找到DbContextOptionsConfigurer文件,并做如下修改:
7.在xxx.xxx.Web层安装microsoft.entityframeworkcore.design.
8.更改数据库连接.
8.执行Migration