I have an List and I'd like to wrap it into an IQueryable.
Is this possible?
List<int> list = new List<int>() { 1, 2, 3, 4, }; IQueryable<int> query = list.AsQueryable();
Use the AsQueryable() extension method.