entityframework command to build model from database

48

entityframework command to build model from database -

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

Comments

Submit
0 Comments