/// <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]); } }
public Iterator(FastDbCollection coll) { collection = coll; nIndex = -1; }
/// <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]); }