예제 #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;
 }