Ejemplo n.º 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]);
     }
 }
Ejemplo n.º 2
0
 public Iterator(FastDbCollection coll)
 {
     collection = coll;
     nIndex = -1;
 }
Ejemplo n.º 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]);
 }
Ejemplo n.º 4
0
 public Iterator(FastDbCollection coll)
 {
     collection = coll;
     nIndex     = -1;
 }