码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2015-05-01 16:04:40      阅读:141      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!