コード例 #1
0
 public void Initialize(RowSetNavigatorData navigator)
 {
     navigator.Reset();
     while (navigator.HasNext())
     {
         this.Add(navigator.GetNext());
     }
 }
コード例 #2
0
ファイル: RowSetNavigatorData.cs プロジェクト: cwdotson/FwNs
 public virtual void Copy(RowSetNavigatorData other, int[] rightColumnIndexes)
 {
     while (other.HasNext())
     {
         object[] next = other.GetNext();
         this.AddAdjusted(next, rightColumnIndexes);
     }
     other.Close();
 }
コード例 #3
0
ファイル: RowSetNavigatorData.cs プロジェクト: cwdotson/FwNs
 public void UnionAll(RowSetNavigatorData other)
 {
     other.Reset();
     while (other.HasNext())
     {
         object[] next = other.GetNext();
         this.Add(next);
     }
     other.Close();
     this.Reset();
 }
コード例 #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();
 }
コード例 #5
0
ファイル: RowSetNavigatorData.cs プロジェクト: cwdotson/FwNs
 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();
 }