此实体将通过只读OData服务CompanySummary.svc
公开public class CompanySummary
{
//populated from an Odata service#1 that exposed data from db#1
public int PrimaryId { get; set; } // this will be the DataServiceKey
public int? SecondaryId { get; set; }
public string SomeStringAttribute_1 { get; set; }
//populated from an Odata service#2 that exposed data from db#2
public bool? SomeBoolProperty { get; set; }
//populated from an Odata service#3 that exposed data from db#3
public string SomeStringAttribute_2 { get; set; }
}
那么填充这个mash-up实体并通过只读OData服务公开它的建议方法是什么?