Exemplo n.º 1
0
 /// <summary>
 /// Creates a new accumulative row and adds it to the inner
 /// data structure
 /// </summary>
 /// <param name="idColumnName">Name of the id column.</param>
 /// <param name="id">The id.</param>
 /// <returns></returns>
 public IDataAccumulatorRow Row(string idColumnName, object id)
 {
     currentRow = new DataRow(idColumnName, id, this);
     rows.Add(currentRow);
     return currentRow;
 }
Exemplo n.º 2
0
 public void Values(params IColumnValuePair[] columnValuePairs)
 {
     if (columnValuePairs == null)
         throw new ArgumentException("Can not be null: columnValuePairs.");
     var row = new DataRow(this);
     rows.Add(row);
     row.Values(columnValuePairs);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Public constructor
 /// </summary>
 /// <param name="columnName">The name of the column to return</param>
 /// <param name="row">The parent row</param>
 public ReturnValueCommand(string columnName, DataRow row)
 {
     ColumnName = columnName;
     _row = row;
 }