public virtual void AddRange(UpdateTermCollection items)
 {
     foreach (UpdateTerm term in items)
     {
         base.List.Add(term);
     }
 }
Esempio n. 2
0
 private static void AddUpdateTerm(UpdateTermCollection terms, UpdateTerm ut)
 {
     if (terms.Contains(ut.FieldName))
     {
         terms[ut.FieldName] = ut;
     }
     else
     {
         terms.Add(ut);
     }
 }
Esempio n. 3
0
 public InsertQuery(string tableName)
 {
     this.terms = new UpdateTermCollection();
     this.tableName = tableName;
 }
 public UpdateTermCollection(UpdateTermCollection items)
 {
     this.AddRange(items);
 }
 public Enumerator(UpdateTermCollection collection)
 {
     this.wrapped = collection.GetEnumerator();
 }
Esempio n. 6
0
 protected virtual void UpdateTerms(StringBuilder builder, UpdateTermCollection terms)
 {
     foreach (SkyMap.Net.SqlOM.UpdateTerm term in terms)
     {
         if (terms[0] != term)
         {
             this.Coma(builder);
         }
         this.UpdateTerm(builder, term);
     }
 }
Esempio n. 7
0
 public UpdateQuery(string tableName)
 {
     this.terms = new UpdateTermCollection();
     this.whereClause = new SkyMap.Net.SqlOM.WhereClause(WhereClauseRelationship.And);
     this.tableName = tableName;
 }