public serviceRow AddserviceRow(string name, string reference, currentservicedataRow parentcurrentservicedataRowBycurrentservicedata_service) { serviceRow rowserviceRow = ((serviceRow)(this.NewRow())); object[] columnValuesArray = new object[] { name, reference, null}; if ((parentcurrentservicedataRowBycurrentservicedata_service != null)) { columnValuesArray[2] = parentcurrentservicedataRowBycurrentservicedata_service[2]; } rowserviceRow.ItemArray = columnValuesArray; this.Rows.Add(rowserviceRow); return rowserviceRow; }
public void RemovecurrentservicedataRow(currentservicedataRow row) { this.Rows.Remove(row); }
public void AddcurrentservicedataRow(currentservicedataRow row) { this.Rows.Add(row); }
public currentservicedataRowChangeEvent(currentservicedataRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public next_eventRow Addnext_eventRow(string date, string time, string start, string duration, string description, string details, currentservicedataRow parentcurrentservicedataRowBycurrentservicedata_next_event) { next_eventRow rownext_eventRow = ((next_eventRow)(this.NewRow())); object[] columnValuesArray = new object[] { date, time, start, duration, description, details, null}; if ((parentcurrentservicedataRowBycurrentservicedata_next_event != null)) { columnValuesArray[6] = parentcurrentservicedataRowBycurrentservicedata_next_event[2]; } rownext_eventRow.ItemArray = columnValuesArray; this.Rows.Add(rownext_eventRow); return rownext_eventRow; }
public audio_channelsRow Addaudio_channelsRow(currentservicedataRow parentcurrentservicedataRowBycurrentservicedata_audio_channels) { audio_channelsRow rowaudio_channelsRow = ((audio_channelsRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, null}; if ((parentcurrentservicedataRowBycurrentservicedata_audio_channels != null)) { columnValuesArray[1] = parentcurrentservicedataRowBycurrentservicedata_audio_channels[2]; } rowaudio_channelsRow.ItemArray = columnValuesArray; this.Rows.Add(rowaudio_channelsRow); return rowaudio_channelsRow; }