Thanks to visit codestin.com
Credit goes to github.com

Skip to content

probabilty/PaginateMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaginateMe

efcore pagination automation for c#

Build Status

Features

  • Extremly easy to use
  • Light weight
  • Unify and simplfy Apis
  • Multi-platform
  • Pure c#
  • Opensource
  • MIT License

Installation

Using package manager

Install-Package PaginateMe -Version 1.0.1

Using DOTNET CLI

dotnet add package PaginateMe --version 1.0.1

Using PackageReference

<PackageReference Include="PaginateMe" Version="1.0.1" />

Usage

use it on any Datbase set

    var pagedModel = await _dbContext.Set
     .OrderByDescending(b => b.Id)
      .PaginateAsync<IBranch>(page, limit);

Where page is the page number, limit is the page size and Set is the model you are working on

About

efcore pagination automation for c#

Topics

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages