Example #1
0
 /// <summary>
 /// Copy the contents of one collection to another.
 /// </summary>
 /// <param name="items">Source collection to copy items from.</param>
 public virtual void Assign(FastDbCollection items)
 {
     Clear();
     for (int i = 0; i < items.Count; ++i)
     {
         this.Add(items[i]);
     }
 }
Example #2
0
 public Iterator(FastDbCollection coll)
 {
     collection = coll;
     nIndex = -1;
 }
Example #3
0
 /// <summary>
 /// Copy the contents of one collection to another.
 /// </summary>
 /// <param name="items">Source collection to copy items from.</param>
 public virtual void Assign(FastDbCollection items)
 {
     Clear();
       for(int i=0; i<items.Count; ++i) this.Add(items[i]);
 }
Example #4
0
 public Iterator(FastDbCollection coll)
 {
     collection = coll;
     nIndex     = -1;
 }