📜  entityframework 命令从数据库构建模型 - C# 代码示例

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

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