Reply to comment

Another technique for getting around this issue

In my case I was working with an API that returned an List of some object. I had a predictably small data set and simply wanted to use Linq to objects to implement sorting and filtering against the ArrayList.

I had done this in the past by using the Anonymous methods and it worked fine in this scenario (note you would not want to do this with large data sets).

After running the Linq sort operation I called the toList and used the List as my data source rather then the IQueryable.

Reply