Scaffold-DbContext "Server=数据库IP;User Id=数据库账号;Password=数据库密码;Database=数据库" Microsoft.EntityFrameworkCore.SqlServer -OutputDir 输出文件夹 -f
eg:Scaffold-DbContext "Server=192.168.1.100;User Id=sa;Password=123123123;Database=TenantPortal" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Model/DB -f