net core 5.0 create model from database

39

net core 5.0 create model from database -

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

Comments

Submit
0 Comments