public 现金收入登记Row Add现金收入登记Row(System.Guid ID, 现金餐厅Row parent现金餐厅RowBy餐厅_现金收入登记, System.DateTime 日期, decimal 金额, string 备注, string 操作员) { 现金收入登记Row row现金收入登记Row = ((现金收入登记Row)(this.NewRow())); object[] columnValuesArray = new object[] { ID, null, 日期, 金额, 备注, 操作员}; if ((parent现金餐厅RowBy餐厅_现金收入登记 != null)) { columnValuesArray[1] = parent现金餐厅RowBy餐厅_现金收入登记[0]; } row现金收入登记Row.ItemArray = columnValuesArray; this.Rows.Add(row现金收入登记Row); return row现金收入登记Row; }
public void Add现金餐厅Row(现金餐厅Row row) { this.Rows.Add(row); }
public void Remove现金餐厅Row(现金餐厅Row row) { this.Rows.Remove(row); }
public 现金餐厅RowChangeEvent(现金餐厅Row row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }