How to convert T array (IEnumerable <T>) to IQueryable <T> for processing using LINQ?
I am working on an application that uses a WCF server (using the new beta version of Mindscape LightSpeed ORM) and use this service with an ASP.NET MVC2 client. My objects are displayed on the client as an array T
or IEnumerable<T>
. I want to do cool things with data after it arrives, but LINQ syntax is required IQueryable<T>
.
I know that there is a way to convert from IEnumerable<T>
to IQueryable<T>
, but so far I have not been able to find it. Can anyone help?
Thanks Dave
, , Queryable.AsQueryable()
- , IQueryable<T>
LINQ? IEnumerable<T>
IQueryable<T>
IQueryable<T>
.
LINQ to Objects IEnumerable<T>
. , , , .
, , WCF (, , , WCF), IQueryable<T>
. Edulinq IQueryable<T>
. - IQueryable<T>
, - WCF.