Changeset 1573 for trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs
- Timestamp:
- 04/16/09 17:04:43 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs
r1530 r1573 2 2 // <auto-generated> 3 3 // This code was generated by a tool. 4 // Runtime Version:2.0.50727.30 534 // Runtime Version:2.0.50727.3082 5 5 // 6 6 // Changes to this file may cause incorrect behavior and will be lost if … … 6113 6113 this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); 6114 6114 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)"; 6118 6116 this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; 6119 6117 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, "", "", "")); … … 7891 7889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 7892 7890 private void InitCommandCollection() { 7893 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[ 1];7891 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; 7894 7892 this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); 7895 7893 this._commandCollection[0].Connection = this.Connection; 7896 7894 this._commandCollection[0].CommandText = "SELECT * FROM dbo.PluginInfo"; 7897 7895 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, "", "", "")); 7898 7901 } 7899 7902 … … 7915 7918 public virtual dsHiveServer.PluginInfoDataTable GetData() { 7916 7919 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)); 7917 7944 dsHiveServer.PluginInfoDataTable dataTable = new dsHiveServer.PluginInfoDataTable(); 7918 7945 this.Adapter.Fill(dataTable);
Note: See TracChangeset
for help on using the changeset viewer.