Domain Context – This is the client side counterpart to the domain service. It is generated code on the client side that gives you easy access to the functionality that resides on the server side.
DomainDataSource – This is a data source object that can be used to execute queries and submit changes to the server side. It gets associated with the domain context and makes calls through that domain context on your behalf to query and update entities
If you want to call your RIA domain service, you need to create an instance of the domain context class that will be used to call the domain service. For more about this, you can refer to this article.
Peter pi - M...
Star
12871 Points
1786 Posts
Re: Question regarding WCF and Ria service.
Jan 12, 2012 01:34 AM|LINK
Hi,
There are twi key concepts in WCF RIA Services.
Domain Context – This is the client side counterpart to the domain service. It is generated code on the client side that gives you easy access to the functionality that resides on the server side.
DomainDataSource – This is a data source object that can be used to execute queries and submit changes to the server side. It gets associated with the domain context and makes calls through that domain context on your behalf to query and update entities
If you want to call your RIA domain service, you need to create an instance of the domain context class that will be used to call the domain service. For more about this, you can refer to this article.
http://www.silverlight.net/learn/advanced-techniques/wcf-ria-services/using-wcf-ria-services#Exercise3
Regards,
Peter
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework