public virtual NMonitoringDataSet.EXECUTION_FLOWDataTable GetDataByID(int ID) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(ID)); NMonitoringDataSet.EXECUTION_FLOWDataTable dataTable = new NMonitoringDataSet.EXECUTION_FLOWDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual NMonitoringDataSet.EXECUTION_FLOWDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; NMonitoringDataSet.EXECUTION_FLOWDataTable dataTable = new NMonitoringDataSet.EXECUTION_FLOWDataTable(); this.Adapter.Fill(dataTable); return dataTable; }