Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/09 17:04:43 (15 years ago)
Author:
svonolfe
Message:

updated GetJobByCalculatingClient (#372)

File:
1 edited

Legend:

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

    r1530 r1573  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:2.0.50727.3053
     4//     Runtime Version:2.0.50727.3082
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    61136113            this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
    61146114            this._commandCollection[3].Connection = this.Connection;
    6115             this._commandCollection[3].CommandText = "SELECT CoresNeeded, DateCalculated, DateCreated, JobId, JobState, MemoryNeeded, P" +
    6116                 "arentJobId, Percentage, Priority, ProjectId, ResourceId, SerializedJob, UserId F" +
    6117                 "ROM Job WHERE (JobState = \'calculating\') AND (ResourceId = @ResourceId)";
     6115            this._commandCollection[3].CommandText = @"SELECT CoresNeeded, DateCalculated, DateCreated, JobId, JobState, MemoryNeeded, ParentJobId, Percentage, Priority, ProjectId, ResourceId, SerializedJob, UserId FROM Job WHERE (JobState = 'calculating')  OR (JobState = ' abort') OR (JobState = 'requestSnapshot ') AND (ResourceId = @ResourceId)";
    61186116            this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
    61196117            this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ResourceId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
     
    78917889        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    78927890        private void InitCommandCollection() {
    7893             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
     7891            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
    78947892            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
    78957893            this._commandCollection[0].Connection = this.Connection;
    78967894            this._commandCollection[0].CommandText = "SELECT * FROM dbo.PluginInfo";
    78977895            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
     7896            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
     7897            this._commandCollection[1].Connection = this.Connection;
     7898            this._commandCollection[1].CommandText = "SELECT * FROM dbo.PluginInfo WHERE PluginId=@Id";
     7899            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
     7900            this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "PluginId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
    78987901        }
    78997902       
     
    79157918        public virtual dsHiveServer.PluginInfoDataTable GetData() {
    79167919            this.Adapter.SelectCommand = this.CommandCollection[0];
     7920            dsHiveServer.PluginInfoDataTable dataTable = new dsHiveServer.PluginInfoDataTable();
     7921            this.Adapter.Fill(dataTable);
     7922            return dataTable;
     7923        }
     7924       
     7925        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     7926        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     7927        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
     7928        public virtual int FillById(dsHiveServer.PluginInfoDataTable dataTable, System.Guid Id) {
     7929            this.Adapter.SelectCommand = this.CommandCollection[1];
     7930            this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(Id));
     7931            if ((this.ClearBeforeFill == true)) {
     7932                dataTable.Clear();
     7933            }
     7934            int returnValue = this.Adapter.Fill(dataTable);
     7935            return returnValue;
     7936        }
     7937       
     7938        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     7939        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     7940        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
     7941        public virtual dsHiveServer.PluginInfoDataTable GetDataById(System.Guid Id) {
     7942            this.Adapter.SelectCommand = this.CommandCollection[1];
     7943            this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(Id));
    79177944            dsHiveServer.PluginInfoDataTable dataTable = new dsHiveServer.PluginInfoDataTable();
    79187945            this.Adapter.Fill(dataTable);
Note: See TracChangeset for help on using the changeset viewer.