问题
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