IQueryable <T> with ASP.NET MVC - Can you use this if Model is not currently using LINQ?

If you have a model whose classes do not use LINQ, can you somehow use and use IQueryable for use with search call in MVC?

+3
source share
3 answers

If all you need is swap in MVC, take a look at the MvcContrib pager.

Here is a sample code

+1
source

Martijn Boland Html.Pager() HTML-. POCO.

IPagedList, IList . , SQL-.

IQueryable , IList.

+1

, IEnumerable , , , , LINQ, , .

+1

Source: https://habr.com/ru/post/1708123/


All Articles