Scaffold-DbContext
I have an existing database that I would like some automated way of creating Models. From https://www.entityframeworktutorial.net/efcore/create-model-for-existing-database-in-ef-core.aspx I gather that Scaffold-DbContext will do this. But when I go to run it the command is not found. What do I need to do to my PowerShell environment to make this command available? Or is there a better way?
Satya KarkiPosted Feb 13, 2021, 10:18 AM
Rijwan AnsariPosted Feb 13, 2021, 9:50 AM
Salman BegPosted Feb 13, 2021, 5:43 AM
Sachin SinghPosted Feb 13, 2021, 5:34 AM