EFCore: 1.Install-PackageMicrosoft.EntityFrameworkCore 2.Install-PackageMicrosoft.EntityFrameworkCore.SqlServer 3.nstall-PackageMicrosoft.EntityFrameworkCore.Tools 4.Scaffold-DbContext"Server=.;Database=EFCore;Trusted_Connection=True;UserID=你的连接数据库的用户;Password=你的连接数据库的密码;"Microsoft.EntityF