Пример #1
0
 public void ReplaceColumn(ColumnExpression existingColumn, ColumnExpression newColumn)
 {
     int index = _columns.IndexOf(existingColumn);
     if (index != -1)
     {
         _columns[index] = newColumn;
         int baseIndex = ExpressionList.IndexOf(existingColumn);
         ExpressionList[baseIndex] = newColumn;
     }
 }
Пример #2
0
 public void AppendColumn(ColumnExpression column)
 {
     _columns.Add(column);
     if (requiresColumnSeperator)
         Append(",");
     Append(column);
     requiresColumnSeperator = true;
 }