Пример #1
0
 /// <summary>
 /// Paging extensions of <see cref="IQueryOver{TRoot}"/>
 /// </summary>
 /// <typeparam name="T">{T}</typeparam>
 /// <param name="queryOver"><see cref="IQueryOver{TRoot}"/></param>
 /// <param name="currentPage">Current page</param>
 /// <param name="pageSize">Page size</param>
 /// <returns><see cref="IPaging{T}"/></returns>
 public static IPaging <T> Paging <T>(this IQueryOver <T> queryOver, int currentPage, int pageSize)
 {
     return(queryOver.Paging(currentPage, pageSize, null));
 }