Deleted my .mdf file in App_Data in an attempt to refresh database. Project is now broken

别说谁变了你拦得住时间么 提交于 2019-12-24 07:47:04

问题


I was looking for a method to refresh the projects 'code-first' .mdf and deleted the file hoping that upon rebuilding the project, it would build a new one.

Now lists that were once displaying my data are empty and if I attempt create a new object I get JavaScript runtime error: 'jQuery' is undefined.

How do I reset the project to generate a new database like when I compiled it for the first time?

Many thanks

来源:https://stackoverflow.com/questions/12786158/deleted-my-mdf-file-in-app-data-in-an-attempt-to-refresh-database-project-is-n

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!