New to Telerik UI for WPF? Download free 30-day trial

The DataServiceQuery

Along with the context, you need to specify the name of the query that will be executed on the server. If you examine the generated data service context class, you will notice that it has properties of type DataServiceQuery<T>. You need to specify the name of the property that you would like to load. The name of the query is specified as a string for easier XAML use. RadDataServiceDataSource will use reflection to find the actual DataServiceQuery<T> on the DataServiceContext instance based on the QueryName property you have assigned, which in this case is Customers:

<telerik:RadDataServiceDataSource Name="customersDataSource" QueryName="Customers" AutoLoad="True"> 
In this article