-
http://betaforums.silverlight.net/forums/p/218383/521023.aspx
1) ADO -; ; .
2) . node, , . node, . "", .
3) , / . ( , SP ) , . SP , . SP , , Entity ( ) .
, " ", SP. , .
4) Domain Service -. DataModel, , DataContext . , . .
5) Complex Entity. manully SP :
, SP SP1, Complex, , SP1_Result.
Domain Service :
public IQueryable<SP1_Result> SP1()
{
return this.ObjectContext.SP1().AsQueryable();
}
. : "SP1_Result " ( - RIA Service SP1). , :
SP1_Result Key:
[MetadataTypeAttribute(typeof(SP1_Result.SP1_ResultMetadata))]
public partial class SP1_Result
{
internal sealed class SP1_ResultMetadata
{
[Key]
public int MyId;
}
}
6) . SP1_Result, . , , SP1_Result Entity. DomainContext.SP1Query DomainContext.SP1_Results Silverlight. , (, ).