首页 > 其他 > 详细

The entity type <type> is not part of the model for the current context

时间:2015-05-01 16:02:55      阅读:1625      评论:0      收藏:0      [点我收藏+]

这是在网站里遇到的一个错误,自动生成的不能手动添加,

reference:

http://stackoverflow.com/questions/19695545/the-entity-type-xxx-is-not-part-of-the-model-for-the-current-context

When I created a strong view using the Quickfix context it blew up, because it was trying to associate a class that did not exists in the model. So by deleting all the extra DAL and Model Context, creating my view using the Entity.context that showed up in the Strong view menu everything worked just fine.

通过文本模板自动生成类能解决该问题。

 

The entity type <type> is not part of the model for the current context

原文:http://www.cnblogs.com/shy1766IT/p/4470785.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!