Return of the PagedList<T> (www.squaredroot.com)
submitted by
TroyMG(2670) 7 months, 24 days ago
It has been nearly a year since I posted an updated version of the PagedList<T> functionality originally created by Scott Guthrie and posted by Rob Conery. Since then I have used the class in a number of projects and find it indispensable.
A few days ago, Craig Stuntz reported an interesting observation: when the first page is returned, the class performs a Skip(0). Suprisingly, this is not free. With that in mind, I set out to correct that issue as well as incorporate a few changes I’ve made over the past year. The result is nearly identical to the last posted version, just a bit more readable.
|
category: Linq
|
Views: 39
tags:
LINQ another
Everyones tags:
Your Tags: