//增加mysql 连接
Install-package Microsoft.EntityFrameworkCore
Install-package Microsoft.EntityFrameworkCore.Design
Install-package Microsoft.EntityFrameworkCore.Tools
Install-package MySql.Data.EntityFrameworkCore
Scaffold-DbContext "Server=127.0.0.1;port=3306;Database=DBName;uid=root;pwd=password;Character Set=utf8;" MySql.Data.EntityFrameworkCore -OutputDir ES_DBContext
强制更新 -Force