I\'m using LINQ to Entities to display paged results. But I\'m having issues with the combination of Skip(), Take() and OrderBy() calls.>
Skip()
Take()
OrderBy()
One way:
var query = ctx.EntitySet.Where(/* filter */).OrderBy(/* expression */).ToList(); int total = query.Count; var result = query.Skip(n).Take(x).ToList();
Convert it to a List before skipping. It's not too efficient, mind you...