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