public virtual void AddRange(UpdateTermCollection items)
 {
     foreach (UpdateTerm term in items)
     {
         base.List.Add(term);
     }
 }
예제 #2
0
 private static void AddUpdateTerm(UpdateTermCollection terms, UpdateTerm ut)
 {
     if (terms.Contains(ut.FieldName))
     {
         terms[ut.FieldName] = ut;
     }
     else
     {
         terms.Add(ut);
     }
 }
예제 #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();
 }
예제 #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);
     }
 }
예제 #7
0
 public UpdateQuery(string tableName)
 {
     this.terms = new UpdateTermCollection();
     this.whereClause = new SkyMap.Net.SqlOM.WhereClause(WhereClauseRelationship.And);
     this.tableName = tableName;
 }