Changeset 1636 for trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs
- Timestamp:
- 04/23/09 16:50:41 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/dsHiveServer.Designer.cs
r1634 r1636 60 60 private global::System.Data.DataRelation relationR_47; 61 61 62 private global::System.Data.DataRelation relationR_521; 63 62 64 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; 63 65 … … 370 372 this.relationR_59 = this.Relations["R_59"]; 371 373 this.relationR_47 = this.Relations["R_47"]; 374 this.relationR_521 = this.Relations["R_521"]; 372 375 } 373 376 … … 431 434 this.tableJobResult.ResourceIdColumn}, false); 432 435 this.Relations.Add(this.relationR_47); 436 this.relationR_521 = new global::System.Data.DataRelation("R_521", new global::System.Data.DataColumn[] { 437 this.tableClientGroup.ResourceIdColumn}, new global::System.Data.DataColumn[] { 438 this.tableClientGroup_Resource.ClientGroupIdColumn}, false); 439 this.Relations.Add(this.relationR_521); 433 440 } 434 441 … … 3237 3244 } 3238 3245 } 3246 3247 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3248 public ClientGroup_ResourceRow[] GetClientGroup_ResourceRows() { 3249 if ((this.Table.ChildRelations["R_521"] == null)) { 3250 return new ClientGroup_ResourceRow[0]; 3251 } 3252 else { 3253 return ((ClientGroup_ResourceRow[])(base.GetChildRows(this.Table.ChildRelations["R_521"]))); 3254 } 3255 } 3239 3256 } 3240 3257 … … 3290 3307 set { 3291 3308 this.SetParentRow(value, this.Table.ParentRelations["R_59"]); 3309 } 3310 } 3311 3312 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3313 public ClientGroupRow ClientGroupRow { 3314 get { 3315 return ((ClientGroupRow)(this.GetParentRow(this.Table.ParentRelations["R_521"]))); 3316 } 3317 set { 3318 this.SetParentRow(value, this.Table.ParentRelations["R_521"]); 3292 3319 } 3293 3320 } … … 5462 5489 this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); 5463 5490 this._commandCollection[0].Connection = this.Connection; 5464 this._commandCollection[0].CommandText = "SELECT * FROM dbo.ClientGroup"; 5491 this._commandCollection[0].CommandText = "SELECT * FROM dbo.ClientGroup WHERE NOT EXISTS (SELECT * FROM dbo.ClientGroup_Res" + 5492 "ource WHERE ResourceId = dbo.ClientGroup.ResourceId)"; 5465 5493 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; 5466 5494 this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); … … 8692 8720 } 8693 8721 } 8694 if ((this._ requiredPluginsTableAdapter != null)) {8695 global::System.Data.DataRow[] updatedRows = dataSet. RequiredPlugins.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);8722 if ((this._clientGroupTableAdapter != null)) { 8723 global::System.Data.DataRow[] updatedRows = dataSet.ClientGroup.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); 8696 8724 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); 8697 8725 if (((updatedRows != null) 8698 8726 && (0 < updatedRows.Length))) { 8699 result = (result + this._ requiredPluginsTableAdapter.Update(updatedRows));8727 result = (result + this._clientGroupTableAdapter.Update(updatedRows)); 8700 8728 allChangedRows.AddRange(updatedRows); 8701 8729 } … … 8710 8738 } 8711 8739 } 8712 if ((this._ clientGroupTableAdapter != null)) {8713 global::System.Data.DataRow[] updatedRows = dataSet. ClientGroup.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);8740 if ((this._requiredPluginsTableAdapter != null)) { 8741 global::System.Data.DataRow[] updatedRows = dataSet.RequiredPlugins.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); 8714 8742 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); 8715 8743 if (((updatedRows != null) 8716 8744 && (0 < updatedRows.Length))) { 8717 result = (result + this._ clientGroupTableAdapter.Update(updatedRows));8745 result = (result + this._requiredPluginsTableAdapter.Update(updatedRows)); 8718 8746 allChangedRows.AddRange(updatedRows); 8719 8747 } … … 8769 8797 } 8770 8798 } 8771 if ((this._ requiredPluginsTableAdapter != null)) {8772 global::System.Data.DataRow[] addedRows = dataSet. RequiredPlugins.Select(null, null, global::System.Data.DataViewRowState.Added);8799 if ((this._clientGroupTableAdapter != null)) { 8800 global::System.Data.DataRow[] addedRows = dataSet.ClientGroup.Select(null, null, global::System.Data.DataViewRowState.Added); 8773 8801 if (((addedRows != null) 8774 8802 && (0 < addedRows.Length))) { 8775 result = (result + this._ requiredPluginsTableAdapter.Update(addedRows));8803 result = (result + this._clientGroupTableAdapter.Update(addedRows)); 8776 8804 allAddedRows.AddRange(addedRows); 8777 8805 } … … 8785 8813 } 8786 8814 } 8787 if ((this._ clientGroupTableAdapter != null)) {8788 global::System.Data.DataRow[] addedRows = dataSet. ClientGroup.Select(null, null, global::System.Data.DataViewRowState.Added);8815 if ((this._requiredPluginsTableAdapter != null)) { 8816 global::System.Data.DataRow[] addedRows = dataSet.RequiredPlugins.Select(null, null, global::System.Data.DataViewRowState.Added); 8789 8817 if (((addedRows != null) 8790 8818 && (0 < addedRows.Length))) { 8791 result = (result + this._ clientGroupTableAdapter.Update(addedRows));8819 result = (result + this._requiredPluginsTableAdapter.Update(addedRows)); 8792 8820 allAddedRows.AddRange(addedRows); 8793 8821 } … … 8818 8846 } 8819 8847 } 8820 if ((this._ clientGroupTableAdapter != null)) {8821 global::System.Data.DataRow[] deletedRows = dataSet. ClientGroup.Select(null, null, global::System.Data.DataViewRowState.Deleted);8848 if ((this._requiredPluginsTableAdapter != null)) { 8849 global::System.Data.DataRow[] deletedRows = dataSet.RequiredPlugins.Select(null, null, global::System.Data.DataViewRowState.Deleted); 8822 8850 if (((deletedRows != null) 8823 8851 && (0 < deletedRows.Length))) { 8824 result = (result + this._ clientGroupTableAdapter.Update(deletedRows));8852 result = (result + this._requiredPluginsTableAdapter.Update(deletedRows)); 8825 8853 allChangedRows.AddRange(deletedRows); 8826 8854 } … … 8834 8862 } 8835 8863 } 8836 if ((this._ requiredPluginsTableAdapter != null)) {8837 global::System.Data.DataRow[] deletedRows = dataSet. RequiredPlugins.Select(null, null, global::System.Data.DataViewRowState.Deleted);8864 if ((this._clientGroupTableAdapter != null)) { 8865 global::System.Data.DataRow[] deletedRows = dataSet.ClientGroup.Select(null, null, global::System.Data.DataViewRowState.Deleted); 8838 8866 if (((deletedRows != null) 8839 8867 && (0 < deletedRows.Length))) { 8840 result = (result + this._ requiredPluginsTableAdapter.Update(deletedRows));8868 result = (result + this._clientGroupTableAdapter.Update(deletedRows)); 8841 8869 allChangedRows.AddRange(deletedRows); 8842 8870 }
Note: See TracChangeset
for help on using the changeset viewer.