public RowSet(string tableName, DataTable data) { Data = data; TableName = tableName; Current = new VariablesWrapper(vn => CurrentRow[vn], (vn, v) => CurrentRow[vn] = v); }
/// <summary> /// Use of this constructor REQUIRES the caller to instantiate the Data datatable. /// </summary> protected RowSet() { Current = new VariablesWrapper(vn => CurrentRow[vn], (vn, v) => CurrentRow[vn] = v); }