An exception of type 'System.InvalidOperationException' occurred in EntityFramework.dll but was not handled in user code, C#

.net c# database entity-framework

Accepted Answer

ZZZ_tmp
1
10/13/2015 7:00:37 AM

Popular Answer

I've always used the following command on the PM console to resolve this problem while using Visual Studio with ASP.NET Scaffolding (Package Manager Console)

PM> Update-Database  -Force

That ought to be your task!



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow