Example #1
0
 public virtual void Intersect(RowSetNavigatorData other)
 {
     this.RemoveDuplicates();
     other.SortFull();
     while (base.HasNext())
     {
         object[] next = base.GetNext();
         if (!other.ContainsRow(next))
         {
             this.Remove();
         }
     }
     other.Close();
     this.Reset();
 }
Example #2
0
 public override void Except(RowSetNavigatorData other)
 {
     this.RemoveDuplicates();
     this.Reset();
     other.SortFull();
     while (base.HasNext())
     {
         object[] next = base.GetNext();
         if (other.ContainsRow(next))
         {
             this.Remove();
         }
     }
     other.Close();
 }