/// <summary> /// Adds the elements of another SelectStatementCollection to the end of this SelectStatementCollection. /// </summary> /// <param name="items"> /// The SelectStatementCollection whose elements are to be added to the end of this SelectStatementCollection. /// </param> public virtual void AddRange(SelectStatementCollection items) { foreach (SelectStatement item in items) { this.List.Add(item); } }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(SelectStatementCollection collection) { this.wrapped = ((CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the SelectStatementCollection class, containing elements /// copied from another instance of SelectStatementCollection /// </summary> /// <param name="items"> /// The SelectStatementCollection whose elements are to be added to the new SelectStatementCollection. /// </param> public SelectStatementCollection(SelectStatementCollection items) { this.AddRange(items); }