Пример #1
0
 protected QueryBase()
 {
     SortBy     = new SortParameter <TSortPropertyEnum>();
     Filter     = new TQueryFilter();
     Pagination = new Pagination();
 }
Пример #2
0
 // The copy constructor.
 protected QueryBase(QueryBase <TSortPropertyEnum, TQueryFilter> other)
 {
     Pagination = new Pagination(other.Pagination);
     SortBy     = new SortParameter <TSortPropertyEnum>(other.SortBy);
     Filter     = (TQueryFilter)other.Filter.Clone();
 }
Пример #3
0
 // copy constructor
 public SortParameter(SortParameter <T> other)
 {
     PropertyName = other.PropertyName;
     SortType     = other.SortType;
 }