Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/09 16:50:41 (15 years ago)
Author:
svonolfe
Message:

Updated ClientGroupAdapter (#372)

File:
1 edited

Legend:

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

    r1634 r1636  
    6060        private global::System.Data.DataRelation relationR_47;
    6161       
     62        private global::System.Data.DataRelation relationR_521;
     63       
    6264        private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
    6365       
     
    370372            this.relationR_59 = this.Relations["R_59"];
    371373            this.relationR_47 = this.Relations["R_47"];
     374            this.relationR_521 = this.Relations["R_521"];
    372375        }
    373376       
     
    431434                        this.tableJobResult.ResourceIdColumn}, false);
    432435            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);
    433440        }
    434441       
     
    32373244                }
    32383245            }
     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            }
    32393256        }
    32403257       
     
    32903307                set {
    32913308                    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"]);
    32923319                }
    32933320            }
     
    54625489            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
    54635490            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)";
    54655493            this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
    54665494            this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
     
    86928720                }
    86938721            }
    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);
    86968724                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
    86978725                if (((updatedRows != null)
    86988726                            && (0 < updatedRows.Length))) {
    8699                     result = (result + this._requiredPluginsTableAdapter.Update(updatedRows));
     8727                    result = (result + this._clientGroupTableAdapter.Update(updatedRows));
    87008728                    allChangedRows.AddRange(updatedRows);
    87018729                }
     
    87108738                }
    87118739            }
    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);
    87148742                updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
    87158743                if (((updatedRows != null)
    87168744                            && (0 < updatedRows.Length))) {
    8717                     result = (result + this._clientGroupTableAdapter.Update(updatedRows));
     8745                    result = (result + this._requiredPluginsTableAdapter.Update(updatedRows));
    87188746                    allChangedRows.AddRange(updatedRows);
    87198747                }
     
    87698797                }
    87708798            }
    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);
    87738801                if (((addedRows != null)
    87748802                            && (0 < addedRows.Length))) {
    8775                     result = (result + this._requiredPluginsTableAdapter.Update(addedRows));
     8803                    result = (result + this._clientGroupTableAdapter.Update(addedRows));
    87768804                    allAddedRows.AddRange(addedRows);
    87778805                }
     
    87858813                }
    87868814            }
    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);
    87898817                if (((addedRows != null)
    87908818                            && (0 < addedRows.Length))) {
    8791                     result = (result + this._clientGroupTableAdapter.Update(addedRows));
     8819                    result = (result + this._requiredPluginsTableAdapter.Update(addedRows));
    87928820                    allAddedRows.AddRange(addedRows);
    87938821                }
     
    88188846                }
    88198847            }
    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);
    88228850                if (((deletedRows != null)
    88238851                            && (0 < deletedRows.Length))) {
    8824                     result = (result + this._clientGroupTableAdapter.Update(deletedRows));
     8852                    result = (result + this._requiredPluginsTableAdapter.Update(deletedRows));
    88258853                    allChangedRows.AddRange(deletedRows);
    88268854                }
     
    88348862                }
    88358863            }
    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);
    88388866                if (((deletedRows != null)
    88398867                            && (0 < deletedRows.Length))) {
    8840                     result = (result + this._requiredPluginsTableAdapter.Update(deletedRows));
     8868                    result = (result + this._clientGroupTableAdapter.Update(deletedRows));
    88418869                    allChangedRows.AddRange(deletedRows);
    88428870                }
Note: See TracChangeset for help on using the changeset viewer.