public void Initialize(RowSetNavigatorData navigator) { navigator.Reset(); while (navigator.HasNext()) { this.Add(navigator.GetNext()); } }
public virtual void Copy(RowSetNavigatorData other, int[] rightColumnIndexes) { while (other.HasNext()) { object[] next = other.GetNext(); this.AddAdjusted(next, rightColumnIndexes); } other.Close(); }
public void UnionAll(RowSetNavigatorData other) { other.Reset(); while (other.HasNext()) { object[] next = other.GetNext(); this.Add(next); } other.Close(); this.Reset(); }
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(); }
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(); }