public FilterProductsDTO SetPaging(BasePaging paging) { this.pageId = paging.pageId; this.PageCount = paging.PageCount; this.StartPage = paging.StartPage; this.EndPage = paging.EndPage; this.TakeEntity = paging.TakeEntity; this.SkipEntity = paging.SkipEntity; this.ActivePage = paging.ActivePage; return(this); }
public FilterExDecDto SetPaging(BasePaging paging) { PageId = paging.PageId; PageCount = paging.PageCount; ActivePage = paging.ActivePage; StartPage = paging.StartPage; EndPage = paging.EndPage; TakeEntity = paging.TakeEntity; SkipEntity = paging.SkipEntity; return(this); }
public FilterCurrSaleExDecDto SetPaging(BasePaging paging) { this.PageId = paging.PageId; this.PageCount = paging.PageCount; this.ActivePage = paging.ActivePage; this.StartPage = paging.StartPage; this.EndPage = paging.EndPage; this.TakeEntity = paging.TakeEntity; this.SkipEntity = paging.SkipEntity; return(this); }
public FilterPiDetailCompleteDto SetPaging(BasePaging paging) { this.PageId = paging.PageId; this.PageCount = paging.PageCount; this.ActivePage = paging.ActivePage; this.StartPage = paging.StartPage; this.EndPage = paging.EndPage; this.TakeEntity = paging.TakeEntity; this.SkipEntity = paging.SkipEntity; return(this); }
public AdminUsersDto SetPagingItems(BasePaging paging) { PageId = paging.PageId; ActivePage = paging.ActivePage; PageCount = paging.PageCount; StartPage = paging.StartPage; EndPage = paging.EndPage; TakeEntity = paging.TakeEntity; SkipEntity = paging.SkipEntity; return(this); }
public AllSongsDTO SetPaging(BasePaging paging) { PageId = paging.PageId; ActivePage = paging.ActivePage; PageCount = paging.PageCount; StartPage = paging.StartPage; EndPage = paging.EndPage; TakeEntity = paging.TakeEntity; SkipEntity = paging.SkipEntity; return(this); }
public static IQueryable <T> Paging <T>(this IQueryable <T> queryable, BasePaging pager) { return(queryable.Skip(pager.SkipEntity).Take(pager.TakeEntity)); }