- Timestamp:
- 12/04/08 16:49:55 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/dsHiveServer.Designer.cs
r845 r905 3025 3025 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3026 3026 private void InitCommandCollection() { 3027 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[ 2];3027 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[3]; 3028 3028 this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); 3029 3029 this._commandCollection[0].Connection = this.Connection; … … 3035 3035 this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; 3036 3036 this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Id", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "PermissionOwnerId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 3037 this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); 3038 this._commandCollection[2].Connection = this.Connection; 3039 this._commandCollection[2].CommandText = "SELECT HiveUser.PermissionOwnerId, HiveUser.Password\r\nFROM HiveUser I" + 3040 "NNER JOIN\r\n PermissionOwner ON HiveUser.PermissionOwnerId =" + 3041 " PermissionOwner.PermissionOwnerId\r\nWHERE (PermissionOwner.Name = @Name)"; 3042 this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; 3043 this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Name", global::System.Data.SqlDbType.VarChar, 18, global::System.Data.ParameterDirection.Input, 0, 0, "Name", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 3037 3044 } 3038 3045 … … 3078 3085 this.Adapter.SelectCommand = this.CommandCollection[1]; 3079 3086 this.Adapter.SelectCommand.Parameters[0].Value = ((long)(Id)); 3087 dsHiveServer.HiveUserDataTable dataTable = new dsHiveServer.HiveUserDataTable(); 3088 this.Adapter.Fill(dataTable); 3089 return dataTable; 3090 } 3091 3092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3093 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 3094 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 3095 public virtual int FillByName(dsHiveServer.HiveUserDataTable dataTable, string Name) { 3096 this.Adapter.SelectCommand = this.CommandCollection[2]; 3097 if ((Name == null)) { 3098 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; 3099 } 3100 else { 3101 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Name)); 3102 } 3103 if ((this.ClearBeforeFill == true)) { 3104 dataTable.Clear(); 3105 } 3106 int returnValue = this.Adapter.Fill(dataTable); 3107 return returnValue; 3108 } 3109 3110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3111 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 3112 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 3113 public virtual dsHiveServer.HiveUserDataTable GetDataByName(string Name) { 3114 this.Adapter.SelectCommand = this.CommandCollection[2]; 3115 if ((Name == null)) { 3116 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; 3117 } 3118 else { 3119 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(Name)); 3120 } 3080 3121 dsHiveServer.HiveUserDataTable dataTable = new dsHiveServer.HiveUserDataTable(); 3081 3122 this.Adapter.Fill(dataTable);
Note: See TracChangeset
for help on using the changeset viewer.