- Timestamp:
- 04/30/09 15:01:30 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.ADODataAccess/3.2/dsSecurity.Designer.cs
r1720 r1724 3245 3245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3246 3246 private void InitCommandCollection() { 3247 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[ 2];3247 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; 3248 3248 this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); 3249 3249 this._commandCollection[0].Connection = this.Connection; … … 3255 3255 this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; 3256 3256 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, "", "", "")); 3257 3264 } 3258 3265 … … 3298 3305 this.Adapter.SelectCommand = this.CommandCollection[1]; 3299 3306 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)); 3300 3331 dsSecurity.UserGroupDataTable dataTable = new dsSecurity.UserGroupDataTable(); 3301 3332 this.Adapter.Fill(dataTable);
Note: See TracChangeset
for help on using the changeset viewer.