public OrderPagingQuery(PagingQuery pagingQuery) : this() { if (pagingQuery != null) { this.Page = pagingQuery.Page; this.PageSize = pagingQuery.PageSize; this.IsGetRecordCount = pagingQuery.IsGetRecordCount; } }
public static int GetSkipCount(this PagingQuery pagingQuery) { return((pagingQuery.Page - 1) * pagingQuery.PageSize); }