【发布时间】:2012-04-02 16:55:09
【问题描述】:
我能够成功地使用“获取”操作并通过在使用域服务类时创建具体类来连接多个表。即:
public IQueryable<**custom data object type**> GetInvoice
{
return from i in this.ObjectContext.tablename
join o in this.ObjectContext.tablename
select new **custom data object type**
{
Field1 = i.Field1
Field2 = i.Field2
Field3 = new **custom data object type**
{
Field1 = o.Field1
... = ...
}
}
}
此获取操作成功。我需要知道,如何将“自定义数据对象类型”的更新应用到域服务类中的那些单个实体?
【问题讨论】:
标签: c# wcf silverlight wcf-ria-services ria