Kevin Burton

Kevin Burton

  • NA
  • 8
  • 1.4k

Scaffold-DbContext

Feb 13 2021 12:50 AM
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?

Answers (4)