Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/23/09 13:45:51 (15 years ago)
Author:
svonolfe
Message:

Further improved handling of job objects (#372)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs

    r2083 r2086  
    85858585        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    85868586        private void InitCommandCollection() {
    8587             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
     8587            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
    85888588            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
    85898589            this._commandCollection[0].Connection = this.Connection;
     
    86028602            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
    86038603            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JobId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "JobId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
     8604            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
     8605            this._commandCollection[3].Connection = this.Connection;
     8606            this._commandCollection[3].CommandText = "SELECT TOP 1 JobResult.*  FROM JobResult WHERE JobId = @JobId ORDER BY DateFinish" +
     8607                "ed DESC ";
     8608            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
     8609            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@JobId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "JobId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
    86048610        }
    86058611       
     
    86738679        public virtual dsHiveServer.JobResultDataTable GetDataByJob(global::System.Nullable<global::System.Guid> JobId) {
    86748680            this.Adapter.SelectCommand = this.CommandCollection[2];
     8681            if ((JobId.HasValue == true)) {
     8682                this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(JobId.Value));
     8683            }
     8684            else {
     8685                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
     8686            }
     8687            dsHiveServer.JobResultDataTable dataTable = new dsHiveServer.JobResultDataTable();
     8688            this.Adapter.Fill(dataTable);
     8689            return dataTable;
     8690        }
     8691       
     8692        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     8693        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     8694        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
     8695        public virtual int FillByLastResult(dsHiveServer.JobResultDataTable dataTable, global::System.Nullable<global::System.Guid> JobId) {
     8696            this.Adapter.SelectCommand = this.CommandCollection[3];
     8697            if ((JobId.HasValue == true)) {
     8698                this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(JobId.Value));
     8699            }
     8700            else {
     8701                this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
     8702            }
     8703            if ((this.ClearBeforeFill == true)) {
     8704                dataTable.Clear();
     8705            }
     8706            int returnValue = this.Adapter.Fill(dataTable);
     8707            return returnValue;
     8708        }
     8709       
     8710        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     8711        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     8712        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
     8713        public virtual dsHiveServer.JobResultDataTable GetDataByLastResult(global::System.Nullable<global::System.Guid> JobId) {
     8714            this.Adapter.SelectCommand = this.CommandCollection[3];
    86758715            if ((JobId.HasValue == true)) {
    86768716                this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(JobId.Value));
Note: See TracChangeset for help on using the changeset viewer.