📜  脚手架 db ef core - C# 代码示例

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

代码示例2
Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=DatabaseName;Trusted_Connection=True;"  
     -Provider Microsoft.EntityFrameworkCore.SqlServer 
     -OutputDir Models -Context NorthwndContext 
     -Tables Products,Categories,Suppliers -Force