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