public 消费统计查询Row Add消费统计查询Row( System.Guid 设备ID, 餐厅Row parent餐厅RowBy餐厅_消费统计查询, System.Guid 时段, string 卡号, int 卡型, string 用户编号, decimal 金额, System.DateTime 日期, string 操作员, decimal 卡余额, decimal 夜宵, string 时段1, decimal 补助余额, decimal 合计, decimal 早餐, decimal 午餐, decimal 晚餐) { 消费统计查询Row row消费统计查询Row = ((消费统计查询Row)(this.NewRow())); object[] columnValuesArray = new object[] { 设备ID, null, 时段, 卡号, 卡型, 用户编号, 金额, 日期, 操作员, 卡余额, 夜宵, 时段1, 补助余额, 合计, 早餐, 午餐, 晚餐}; 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; }