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