Changeset 1634 for trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs
- Timestamp:
- 04/23/09 16:45:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs
r1601 r1634 4462 4462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4463 4463 private void InitCommandCollection() { 4464 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[ 3];4464 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4]; 4465 4465 this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); 4466 4466 this._commandCollection[0].Connection = this.Connection; … … 4474 4474 this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); 4475 4475 this._commandCollection[2].Connection = this.Connection; 4476 this._commandCollection[2].CommandText = "SELECT CPUSpeed, ClientConfigId, FreeMemory, Login, Memory, NumberOfCores, Number" + 4476 this._commandCollection[2].CommandText = "SELECT * FROM dbo.Client WHERE NOT EXISTS (SELECT * FROM dbo.ClientGroup_Resource" + 4477 " WHERE ResourceId = dbo.Client.ResourceId)"; 4478 this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; 4479 this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); 4480 this._commandCollection[3].Connection = this.Connection; 4481 this._commandCollection[3].CommandText = "SELECT CPUSpeed, ClientConfigId, FreeMemory, Login, Memory, NumberOfCores, Number" + 4477 4482 "OfFreeCores, ResourceId, Status FROM Client WHERE (ResourceId = @Id)"; 4478 this._commandCollection[ 2].CommandType = global::System.Data.CommandType.Text;4479 this._commandCollection[ 2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));4483 this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; 4484 this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "ResourceId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 4480 4485 } 4481 4486 … … 4527 4532 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 4528 4533 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 4534 public virtual int FillByGroupless(dsHiveServer.ClientDataTable dataTable) { 4535 this.Adapter.SelectCommand = this.CommandCollection[2]; 4536 if ((this.ClearBeforeFill == true)) { 4537 dataTable.Clear(); 4538 } 4539 int returnValue = this.Adapter.Fill(dataTable); 4540 return returnValue; 4541 } 4542 4543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4544 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 4545 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 4546 public virtual dsHiveServer.ClientDataTable GetDataByGroupless() { 4547 this.Adapter.SelectCommand = this.CommandCollection[2]; 4548 dsHiveServer.ClientDataTable dataTable = new dsHiveServer.ClientDataTable(); 4549 this.Adapter.Fill(dataTable); 4550 return dataTable; 4551 } 4552 4553 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4554 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 4555 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 4529 4556 public virtual int FillById(dsHiveServer.ClientDataTable dataTable, System.Guid Id) { 4530 this.Adapter.SelectCommand = this.CommandCollection[ 2];4557 this.Adapter.SelectCommand = this.CommandCollection[3]; 4531 4558 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(Id)); 4532 4559 if ((this.ClearBeforeFill == true)) { … … 4541 4568 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 4542 4569 public virtual dsHiveServer.ClientDataTable GetDataById(System.Guid Id) { 4543 this.Adapter.SelectCommand = this.CommandCollection[ 2];4570 this.Adapter.SelectCommand = this.CommandCollection[3]; 4544 4571 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(Id)); 4545 4572 dsHiveServer.ClientDataTable dataTable = new dsHiveServer.ClientDataTable();
Note: See TracChangeset
for help on using the changeset viewer.