Example #1
0
 /// <summary>
 ///   Adds the contents of another <see cref='WhereClauseCollection'/> to the end of the collection.
 /// </summary>
 /// <param name='val'>
 ///    A <see cref='WhereClauseCollection'/> containing the objects to add to the collection.
 /// </param>
 /// <seealso cref='WhereClauseCollection.Add'/>
 public void AddRange(WhereClauseCollection val)
 {
     for (int i = 0; i < val.Count; i++)
     {
         this.Add(val[i]);
     }
 }
Example #2
0
 /// <summary>
 ///   Initializes a new instance of <see cref='WhereClauseCollection'/> based on another <see cref='WhereClauseCollection'/>.
 /// </summary>
 /// <param name='val'>
 ///   A <see cref='WhereClauseCollection'/> from which the contents are copied
 /// </param>
 public WhereClauseCollection(WhereClauseCollection val)
 {
     this.AddRange(val);
 }
Example #3
0
 /// <summary>
 ///   Initializes a new instance of <see cref='WhereClauseGroupEnumerator'/>.
 /// </summary>
 public WhereClauseGroupEnumerator(WhereClauseCollection mappings)
 {
     this.temp           = ((IEnumerable)(mappings));
     this.baseEnumerator = temp.GetEnumerator();
 }