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