I have an List and I\'d like to wrap it into an IQueryable.
Is this possible?
List list = new List() { 1, 2, 3, 4, }; IQueryable query = list.AsQueryable();
If you don't see the AsQueryable() method, add a using statement for System.Linq.
AsQueryable()
System.Linq