public virtual int Add(TableRow row) { items.Add(row); owner.UpdateRow(row); return items.Count - 1; } public virtual int Add(int count)