Beispiel #1
0
		/// <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);
			}
		}
Beispiel #2
0
			/// <summary>
			/// 
			/// </summary>
			/// <param name="collection"></param>
			public Enumerator(SelectStatementCollection collection)
			{
				this.wrapped = ((CollectionBase)collection).GetEnumerator();
			}
Beispiel #3
0
		/// <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);
		}