/// <summary>
 /// Applies paging to the specified query given the search criteria current page and page size.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="searchCriteria">The search criteria.</param>
 /// <returns>IQueryable&lt;T&gt;.</returns>
 protected virtual IQueryable <T> ApplyPaging <T>(IQueryable <T> source, TCriteria searchCriteria)
     where T : class
 {
     return(_queryBuilder.ApplyPaging(source, searchCriteria));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Applies paging to the specified query given the search criteria current page and page size.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="searchCriteria">The search criteria.</param>
 /// <returns>IQueryable&lt;T&gt;.</returns>
 protected virtual IQueryable <TSummery> ApplyPaging(IQueryable <TSummery> source, TCriteria searchCriteria)
 {
     return(_queryBuilder.ApplyPaging(source, searchCriteria));
 }