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