Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/09 15:01:30 (15 years ago)
Author:
svonolfe
Message:

Finished security server (#537)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Security.ADODataAccess/3.2/dsSecurity.Designer.cs

    r1720 r1724  
    32453245        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    32463246        private void InitCommandCollection() {
    3247             this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
     3247            this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3];
    32483248            this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
    32493249            this._commandCollection[0].Connection = this.Connection;
     
    32553255            this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
    32563256            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, "PermissionOwnerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
     3257            this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
     3258            this._commandCollection[2].Connection = this.Connection;
     3259            this._commandCollection[2].CommandText = "SELECT * FROM UserGroup WHERE EXISTS (SELECT * FROM PermissionOwner_UserGroup WHE" +
     3260                "RE PermissionOwner_UserGroup.PermissionOwnerId = @PermissionOwnerId AND Permissi" +
     3261                "onOwner_UserGroup.UserGroupId = UserGroup.PermissionOwnerId)";
     3262            this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
     3263            this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PermissionOwnerId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "PermissionOwnerId", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
    32573264        }
    32583265       
     
    32983305            this.Adapter.SelectCommand = this.CommandCollection[1];
    32993306            this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(Id));
     3307            dsSecurity.UserGroupDataTable dataTable = new dsSecurity.UserGroupDataTable();
     3308            this.Adapter.Fill(dataTable);
     3309            return dataTable;
     3310        }
     3311       
     3312        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     3313        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     3314        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
     3315        public virtual int FillByMemberOf(dsSecurity.UserGroupDataTable dataTable, System.Guid PermissionOwnerId) {
     3316            this.Adapter.SelectCommand = this.CommandCollection[2];
     3317            this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionOwnerId));
     3318            if ((this.ClearBeforeFill == true)) {
     3319                dataTable.Clear();
     3320            }
     3321            int returnValue = this.Adapter.Fill(dataTable);
     3322            return returnValue;
     3323        }
     3324       
     3325        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
     3326        [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
     3327        [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
     3328        public virtual dsSecurity.UserGroupDataTable GetDataByMemberOf(System.Guid PermissionOwnerId) {
     3329            this.Adapter.SelectCommand = this.CommandCollection[2];
     3330            this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionOwnerId));
    33003331            dsSecurity.UserGroupDataTable dataTable = new dsSecurity.UserGroupDataTable();
    33013332            this.Adapter.Fill(dataTable);
Note: See TracChangeset for help on using the changeset viewer.