コード例 #1
0
 public OrderPagingQuery(PagingQuery pagingQuery) : this()
 {
     if (pagingQuery != null)
     {
         this.Page             = pagingQuery.Page;
         this.PageSize         = pagingQuery.PageSize;
         this.IsGetRecordCount = pagingQuery.IsGetRecordCount;
     }
 }
コード例 #2
0
 public static int GetSkipCount(this PagingQuery pagingQuery)
 {
     return((pagingQuery.Page - 1) * pagingQuery.PageSize);
 }