Beispiel #1
0
        public ISqlSearch Clone()
        {
            var clone = new ComplexSearch(this.IsOr);

            clone.CopyFrom(this);
            return(clone);
        }
 public SearchInformation(ComplexSearch root)
 {
     this.Root         = root;
     this.SortSettings = new List <SortSetting>();
 }
Beispiel #3
0
 public void CopyFrom(ComplexSearch source)
 {
     this.InnerChildren = new ObservableCollection <ISqlSearch>
                              (source.InnerChildren.Select(x => x.Clone()));
     this.IsOr = source.IsOr;
 }