Got some errors when trying to generate a DB entity model for a ASP.net MVC website. The error message was “The model was generated with warnings or errors. Please see the Error List for more details. These issues must be fixed before running your application”.
This turned to be caused by some tables that was lacking a primary key. Once a primary key was set on these tables the model could be generated successfully.
The model was generated with warnings or errors.Rainmaker.edmxPlease see the Error List for more details. These issues must be fixed before running your application.
Loading metadata from the database took 00:00:01.2604118.
Generating the model took 00:00:02.5598424.
sp is not updating in mvc module