Beispiel #1
0
 public void Initialize(RowSetNavigatorData navigator)
 {
     navigator.Reset();
     while (navigator.HasNext())
     {
         this.Add(navigator.GetNext());
     }
 }
Beispiel #2
0
 public virtual void Copy(RowSetNavigatorData other, int[] rightColumnIndexes)
 {
     while (other.HasNext())
     {
         object[] next = other.GetNext();
         this.AddAdjusted(next, rightColumnIndexes);
     }
     other.Close();
 }
Beispiel #3
0
 public void UnionAll(RowSetNavigatorData other)
 {
     other.Reset();
     while (other.HasNext())
     {
         object[] next = other.GetNext();
         this.Add(next);
     }
     other.Close();
     this.Reset();
 }
Beispiel #4
0
 public override void Union(RowSetNavigatorData other)
 {
     this.RemoveDuplicates();
     this.Reset();
     while (other.HasNext())
     {
         object[] next = other.GetNext();
         if (!this.FindFirstRow(next).HasNext())
         {
             next = ArrayUtil.ResizeArrayIfDifferent <object>(next, this.table.GetColumnCount());
             this.Add(next);
         }
     }
     other.Close();
 }
Beispiel #5
0
 public virtual void Union(RowSetNavigatorData other)
 {
     this.RemoveDuplicates();
     other.RemoveDuplicates();
     while (other.HasNext())
     {
         object[] next = other.GetNext();
         int      num  = ArraySort.SearchFirst <object[]>(this._table, 0, base.Size, next, this);
         if (num < 0)
         {
             num             = -num - 1;
             base.CurrentPos = num;
             this.Insert(next);
         }
     }
     other.Close();
     this.Reset();
 }