How to Update an edmx file with database changes in MVC5?
1. In Entity Folder----> open Entity.edmx file
2. Select All and delete all models in the designer.
3. Goto ModelBrowser---> Right click Entity.edmx------>choose update modelfrom Browser.
4. In ADD or Refresh Select Tables and StoredProcedure----->Finish
5. Rebuild project to check your changes.
1. In Entity Folder----> open Entity.edmx file
2. Select All and delete all models in the designer.
3. Goto ModelBrowser---> Right click Entity.edmx------>choose update modelfrom Browser.
4. In ADD or Refresh Select Tables and StoredProcedure----->Finish
5. Rebuild project to check your changes.
No comments:
Post a Comment