实体框架4的POCO实体位于不同的程序集中,并且具有跨程序集的关联 [英] Entity Framework 4 with POCO entities in different assemblies with associations that span assemblies
本文介绍了实体框架4的POCO实体位于不同的程序集中,并且具有跨程序集的关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能出现这种情况?
实体框架4不同装配中的POCO实体之间具有关联(跨越多个装配)?
解决方案
我现在看到的是,如果不进行某些工作来从该工作单元中的其他程序集中加载实体,则该方案是不可能的。 / p>
Is it possible to have such a scenario?
Entity Framework 4 POCO entities in different assemblies with associations between them (that span multiple assemblies) ?
解决方案
As I see it now, without making something that loads entities from the other assemblies in that unit of work, the scenario is not possible.
这篇关于实体框架4的POCO实体位于不同的程序集中,并且具有跨程序集的关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文