Info
Version: | 1.2.7 |
Author(s): | Timothy Macharia |
Last Update: | Tuesday, March 16, 2021 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/tmacharia/linq-paginator |
NuGet Url: | https://www.nuget.org/packages/LinqPaginator |
Install
Install-Package LinqPaginator
dotnet add package LinqPaginator
paket add LinqPaginator
LinqPaginator Download (Unzip the "nupkg" after downloading)
Dependencies
.NETFramework 4.7
- Shared.Common(>= 1.3.5)
- Shared.Common(>= 1.3.5)
- Shared.Common(>= 1.3.5)
- Shared.Common(>= 1.3.5)
- Shared.Common(>= 1.3.5)
Tags
Consuming all results at once can be costly in terms of network traffic thus slowing down your application.
Linq Paginator allows you to run your queries and return your data in form of pages. A page contains a set number of items to return per page e.g 20.
If for example you have 100 records, it will return the following object:
- Page: 1,
- TotalPages: 5,
- ItemsPerPage: 20,
- TotalItems: 100,
- Items (collection of the first 20 records).