zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

4 results in tag: pagedlist

Using @Html.DisplayNameFor() with PagedList

I've been trying out the PagedList package to get paging for my index views. Everything was going well, and at the controller level everything is working fine, it only displays 5 records per page, and displays the appropriate page based on the querystring...
asp.net-mvc asp.net-mvc-4 entity-framework pagedlist razor
asked by nb_

PagedList loses search filter on second page

I'm implementing a simple paged list Index using the example at ...http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/sorting-filtering-and-paging-with-the-entity-framework-in-an-asp-net-mvc-application...My problem is that the search stri...
asp.net asp.net-mvc c# entity-framework pagedlist
asked by Robbie Mills

PagedList with Entity Framework getting all records

PagedList is an Paging library...._dbContext.Products.ToList().ToPagedList(1, 25); ...Above code will get first 25 record in database for Page 1....The problem is that the ...ToList()... call will get all record in the database. Then the ...ToPageList()..
c# entity-framework pagedlist
asked by user2916684

Unable to cast object of type 'System.Data.Entity.Infrastructure.DbQuery' to type 'PagedList.IPagedList'

I am trying to use pagination for a ASP.NET MVC 5 application. I have used ...X.PagedList... I have implemented it correctly in a simple object, but I have problem when implementing it with a more complex object. For example like when I have relationship...
asp.net-mvc c# entity-framework-6 pagedlist
asked by Endri

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!