📜  .net framework core scaffhold 存在表 - TypeScript 代码示例

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

代码示例1
Scaffold-DbContext "Server=sqlServ2016;Database=TestDb;Persist Security 
Info=False;User ID=admin;Password=admin;" Microsoft.EntityFrameworkCore.SqlServer 
-Tables "Table1","Table2","Table3" -ContextDir "..\Home.CorePoC.EntityModel" 
-OutputDir "TestDB" -force -DataAnnotations -UseDatabaseNames