コード例 #1
0
        public FilterParameters Copy(long key, object value)
        {
            FilterParameters fp = new FilterParameters(this);

            fp[key] = value;
            return(fp);
        }
コード例 #2
0
        public FilterParameters CopyByOrderBy(int orderBy)
        {
            FilterParameters fp = new FilterParameters(this);

            fp.OrderBy = orderBy;
            return(fp);
        }
コード例 #3
0
        public FilterParameters CopyByBrand(int brand)
        {
            FilterParameters fp = new FilterParameters(this);

            fp.Brand = brand;
            return(fp);
        }
コード例 #4
0
        public FilterParameters CopyByPage(long page)
        {
            FilterParameters fp = new FilterParameters(this);

            fp.Page = page;
            return(fp);
        }
コード例 #5
0
 private FilterParameters(FilterParameters value)
 {
     _page       = 1;
     _brand      = value._brand;
     _orderBy    = value._orderBy;
     _parameters = new SortedDictionary <long, object>(value._parameters);
 }
コード例 #6
0
 public FilterData(FilterParameters filter, SplitPageData <T> data)
 {
     _filter = filter;
     _data   = data;
 }