nuget安装
Microsoft.EntityFrameworkCore.Tools
Pomelo.EntityFrameworkCore.MySql
如果mysql安装了会产生异常(不支持core3.1):
MySql.Data.EntityFrameworkCore
Method 'get_Info' in type 'MySql.Data.EntityFrameworkCore.Infraestructure.MySQLOptionsExtension' from assembly 'MySql.Data.EntityFrameworkCore, Version=8.0.19.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does not have an implementation.
来源:oschina
链接:https://my.oschina.net/u/4347381/blog/4256033