How to re-create database for Entity Framework?

后端 未结 7 1077
野趣味
野趣味 2020-11-30 16:18

I have got into a bad state with my ASP.Net MVC 5 project, using Code-First Entity Framework. I don\'t care about losing data, I just want to be able to start fresh, recreat

相关标签:
7条回答
  • 2020-11-30 17:18

    Just want to add to the excellent answer of @Lin:

    5) B. If you don't have SQL Management Studio, go to "SQL Server Object Explorer". If you cannot see your project db in the localdb "SQL Server Object Explorer", then click on "Add SQL server" button to add it to the list manually. Then you can delete the db from the list.

    0 讨论(0)
提交回复
热议问题