I am using Telerik Controls for Silverlight 5 and RIA services.
I need to send Observable collection as a parameter to a Domain service method. But it is not accepting the Generic collection Objects (eg: ObservableCollection<Employee> employees) as a parameter.
So I tried using the [Invoke] method for this. Now it is accepting the Collection object as a parameter, but I am not able to return a QuryableCollection from the service method. Its only allowing me to return the "List<T>" object.
But in my ViewModel, I need QueryableDomainServiceCollectionView<T> to load the Telerik Rad GridView.
I tried converting the List<T> to a QueryableDomainServiceCollectionView<T>, but I didn't find any method for that in the Silver light Client application.
Please help me in returning the QueryableCollection from the domain service Or Converting the List<T> to QueryableDomainServiceCollectionView<T> in the View Model in silver light application.