A PagedList extension that works with MongoCursor.
- MongoCursor Pagination
- Type Conversion (using AutoMapper)
1.0.0.1
var cursor = Collection.Find(Query.EQ("Field", "Value"));
var pageNumber = 1;
var pageSize = 25;
var model = new MongoPagedList<TSource, TDestination>(cursor, pageNumber, pageSize);
var cursor = Collection.Find(Query.EQ("Field", "Value"));
var pageNumber = 1;
var pageSize = 25;
var model = new MongoPagedList<T>(cursor, pageNumber, pageSize);
MIT
Andrea Valla https://github.com/avalla
PagedList https://github.com/troygoode/PagedList
AutoMapper https://github.com/AutoMapper/AutoMapper