Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : raminbateni.utils.pagination

By this so simple extension you can easily get your query result as paged from database or memory. Just call it like this: var pagedResult = _context.Set<Label>() .Include(x => x.Article) .Where(x => x.CollectionId == 2) .OrderBy(x=> x.Labeld) .AsPagedToListAsync(page: 5, pageSize: 20); Now pagedResult provide you these info: List<T> Items int CurrentPage int PageCount int PageSize int RowCount int FirstRowOnPage int LastRowOnPage If you have any questions or suggestions please leave a message in the repo of this package in GitHub as issue.

Registry - JSON
purl: pkg:nuget/raminbateni.utils.pagination
Keywords: Paged, Pagination, Paging, Entity, Framework, Queryable, List
License: MIT
Latest release: almost 2 years ago
First release: almost 2 years ago
Downloads: 772 total
Last synced: 5 days ago

    Loading...
    Readme
    Loading...