摘要:
在前两篇中,我们讲了在SL端通过Entity Framework和WCF Ria Services实现联表查询,其中最关键的是为实体类中的相关属性设定为Include特性,如下:遗憾的是,这样的实体Include只能在单个域服务间共享实体。如果你尝试撰写多个域服务,并用到关联实体,会报如下错误:The entity type 'MiniNWModel.Entities.Product' is exposed by multiple DomainService types.Entity types cannot be shared across DomainServices. S 阅读全文
posted @ 2011-07-05 13:18
陆敏技
阅读(3357)
评论(3)
推荐(1)