Hey All,
I'm trying to get some very basic paging going with the Linq provider
but it seems to be ignoring the Skip and Take extension methods? Is
this a bug or is it simply not supported yet.
var results = repository.Find<Person>(p=>p.Name.Contains("Geoff")); //
Returns the IQueryable, not execution here
switch(sortColumn)
{
case "Name":
results.OrderBy(p=>p.Name);
// A whole bunch of others along with direction changes
}
results.Skip(5).Take(5);
var list = results.ToList(); // Always has all the geoffs, more than 5
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.