public void AddRow(TextualRow row, int index) { if (index < 0 || index > Rows.Count) { throw new RowIndexOutOfBoundsException(ParentDatabase, this, index); } Rows.Insert(index, row); }
public void RemoveRow(TextualRow row) { if (!Rows.Contains(row)) { throw new RowNotFoundException(ParentDatabase, this, row); } Rows.Remove(row); }
public void AddRow(TextualRow row) { Rows.Add(row); }
public TextualRow(TextualRow copy, TextualTable newParent = null) { ParentTable = newParent ?? copy.ParentTable; Values = new Dictionary <string, object>(copy.Values); }