📜  在现有数据库中添加实体框架层的命令 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:03.601000             🧑  作者: Mango

代码示例1
PM> Scaffold-DbContext "Server=.\SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models