public virtual StimulusSetDataSet.SelectStimulusSetDataTable GetData(global::System.Nullable <long> series_config_id) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((series_config_id.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((long)(series_config_id.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } StimulusSetDataSet.SelectStimulusSetDataTable dataTable = new StimulusSetDataSet.SelectStimulusSetDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(StimulusSetDataSet.SelectStimulusSetDataTable dataTable, global::System.Nullable <long> series_config_id) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((series_config_id.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((long)(series_config_id.Value)); } else { this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value; } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return(returnValue); }
public virtual int Update(StimulusSetDataSet.SelectStimulusSetDataTable dataTable) { return(this.Adapter.Update(dataTable)); }