public ChangedRows(int index, ChangedRow row) { Rows = new Dictionary <int, ChangedRow>() { { index, row }, }; }
public void AddNewCell(int index, string columnName, Type type, object oldValue, object newValue) { if (!Rows.ContainsKey(index)) { Rows[index] = new ChangedRow(); } Rows[index].UpdateCell(columnName, type, oldValue, newValue); }