예제 #1
0
 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);
 }
예제 #2
0
 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);
 }
예제 #3
0
 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);
 }
예제 #5
0
        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);
        }
예제 #6
0
        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));
 }