动态数据实体 [英] Dynamic Data Entities
问题描述
谁能告诉我如何向DynamicDataEntities注册DbContext?
如果我使用的类继承了MetaModel.RegisterContext方法中的ObjectEntity类,则DynamicDataEntities效果很好.
但是现在我已经使用了ASP.Net DbContext Generator模板,并且有了从DbContext类继承的类.
如何在此DbContext继承的类中使用DynamicDataEntities?
我尝试了 David Ebbos链接 [ ^ ]
但是,当我运行该应用程序时,出现错误无法加载CLR类型"
我们将不胜感激
Can anyone tell me how to register DbContext with DynamicDataEntities ?
The DynamicDataEntities worked well If I used class that inherits ObjectEntity Class in MetaModel.RegisterContext method.
But now I have used ASP.Net DbContext Generator Template and I have the class that inherits from DbContext class.
How to use DynamicDataEntities with this DbContext inherited class?
I tried David Ebbos link[^]
But when I run the application I was getting the error "Could not load CLR Type"
Any help would be appreciated
推荐答案
此博客文章似乎有一些想法,并提供了有关该问题最近活动的论坛的链接.参考: http://thedatafarm.com/blog/data-access/wcf-data-services-and-ef-pocos-that-are-in-their-own-assembly/ [
This blog post seems to have some ideas, and links to forums where the issue has some recent activity. Ref: http://thedatafarm.com/blog/data-access/wcf-data-services-and-ef-pocos-that-are-in-their-own-assembly/[^]
这篇关于动态数据实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!