Entity Framework Paginate

1
554
views

nuget-logo

Download the nuget package

github-logo

Fork me on GitHub

EFP_Logo

Tutorial

 

 

  • Fahad Ali

    HI Harshw, Thanks for this library. This a is real time saver for me.
    I can see that it generates 2 SQL queries 1st to get count and 2nd to get actual records for a page. Even if 1st query returns count of 0 . It makes 2nd call which is not required.
    Also would it be possible not to make a second call (or fetch records from DB) if count is greater then some specific value? Skipping the 2nd call will save some time. Thanks for your help.