当前位置:   article > 正文

EF 之 System.InvalidOperationException_system.invalidoperationexception: the model backin

system.invalidoperationexception: the model backing the 'mydbcontext' contex

https://blog.csdn.net/yunnying/article/details/10947825

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

Additional information: The model backing the 'WelfareDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).

 

解决办法:

参考:http://msdn.microsoft.com/en-us/data/jj591621
--------------------- 
作者:Yunnying 
来源:CSDN 
原文:https://blog.csdn.net/yunnying/article/details/10947825 
版权声明:本文为博主原创文章,转载请附上博文链接!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/891901
推荐阅读
相关标签
  

闽ICP备14008679号