- Timestamp:
- 04/30/09 13:49:29 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Security.ADODataAccess/3.2/dsSecurity.Designer.cs
r1656 r1720 2839 2839 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2840 2840 private void InitCommandCollection() { 2841 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[ 1];2841 this._commandCollection = new global::System.Data.SqlClient.SqlCommand[5]; 2842 2842 this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); 2843 2843 this._commandCollection[0].Connection = this.Connection; 2844 2844 this._commandCollection[0].CommandText = "SELECT * FROM dbo.GrantedPermissions"; 2845 2845 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; 2846 this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); 2847 this._commandCollection[1].Connection = this.Connection; 2848 this._commandCollection[1].CommandText = "SELECT * FROM dbo.GrantedPermissions WHERE EntityId = @EntityId"; 2849 this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; 2850 this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EntityId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "EntityId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 2851 this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand(); 2852 this._commandCollection[2].Connection = this.Connection; 2853 this._commandCollection[2].CommandText = "SELECT * FROM dbo.GrantedPermissions WHERE PermissionId = @PermissionId"; 2854 this._commandCollection[2].CommandType = global::System.Data.CommandType.Text; 2855 this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PermissionId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "PermissionId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 2856 this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand(); 2857 this._commandCollection[3].Connection = this.Connection; 2858 this._commandCollection[3].CommandText = "SELECT * FROM dbo.GrantedPermissions WHERE PermissionOwnerId = @PermissionOwnerId" + 2859 ""; 2860 this._commandCollection[3].CommandType = global::System.Data.CommandType.Text; 2861 this._commandCollection[3].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, "", "", "")); 2862 this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand(); 2863 this._commandCollection[4].Connection = this.Connection; 2864 this._commandCollection[4].CommandText = "SELECT * FROM dbo.GrantedPermissions WHERE PermissionId = @PermissionId AND Permi" + 2865 "ssionOwnerId = @PermissionOwnerId AND EntityId = @EntityId"; 2866 this._commandCollection[4].CommandType = global::System.Data.CommandType.Text; 2867 this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@PermissionId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "PermissionId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 2868 this._commandCollection[4].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, "", "", "")); 2869 this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@EntityId", global::System.Data.SqlDbType.UniqueIdentifier, 16, global::System.Data.ParameterDirection.Input, 0, 0, "EntityId", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); 2846 2870 } 2847 2871 … … 2863 2887 public virtual dsSecurity.GrantedPermissionsDataTable GetData() { 2864 2888 this.Adapter.SelectCommand = this.CommandCollection[0]; 2889 dsSecurity.GrantedPermissionsDataTable dataTable = new dsSecurity.GrantedPermissionsDataTable(); 2890 this.Adapter.Fill(dataTable); 2891 return dataTable; 2892 } 2893 2894 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2895 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2896 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 2897 public virtual int FillByEntityId(dsSecurity.GrantedPermissionsDataTable dataTable, System.Guid EntityId) { 2898 this.Adapter.SelectCommand = this.CommandCollection[1]; 2899 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(EntityId)); 2900 if ((this.ClearBeforeFill == true)) { 2901 dataTable.Clear(); 2902 } 2903 int returnValue = this.Adapter.Fill(dataTable); 2904 return returnValue; 2905 } 2906 2907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2908 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2909 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 2910 public virtual dsSecurity.GrantedPermissionsDataTable GetDataByEntityId(System.Guid EntityId) { 2911 this.Adapter.SelectCommand = this.CommandCollection[1]; 2912 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(EntityId)); 2913 dsSecurity.GrantedPermissionsDataTable dataTable = new dsSecurity.GrantedPermissionsDataTable(); 2914 this.Adapter.Fill(dataTable); 2915 return dataTable; 2916 } 2917 2918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2919 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2920 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 2921 public virtual int FillByPermissionId(dsSecurity.GrantedPermissionsDataTable dataTable, System.Guid PermissionId) { 2922 this.Adapter.SelectCommand = this.CommandCollection[2]; 2923 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionId)); 2924 if ((this.ClearBeforeFill == true)) { 2925 dataTable.Clear(); 2926 } 2927 int returnValue = this.Adapter.Fill(dataTable); 2928 return returnValue; 2929 } 2930 2931 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2932 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2933 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 2934 public virtual dsSecurity.GrantedPermissionsDataTable GetDataByPermissionId(System.Guid PermissionId) { 2935 this.Adapter.SelectCommand = this.CommandCollection[2]; 2936 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionId)); 2937 dsSecurity.GrantedPermissionsDataTable dataTable = new dsSecurity.GrantedPermissionsDataTable(); 2938 this.Adapter.Fill(dataTable); 2939 return dataTable; 2940 } 2941 2942 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2943 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2944 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 2945 public virtual int FillByPermissionOwnerId(dsSecurity.GrantedPermissionsDataTable dataTable, System.Guid PermissionOwnerId) { 2946 this.Adapter.SelectCommand = this.CommandCollection[3]; 2947 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionOwnerId)); 2948 if ((this.ClearBeforeFill == true)) { 2949 dataTable.Clear(); 2950 } 2951 int returnValue = this.Adapter.Fill(dataTable); 2952 return returnValue; 2953 } 2954 2955 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2956 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2957 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 2958 public virtual dsSecurity.GrantedPermissionsDataTable GetDataByPermissionOwnerId(System.Guid PermissionOwnerId) { 2959 this.Adapter.SelectCommand = this.CommandCollection[3]; 2960 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionOwnerId)); 2961 dsSecurity.GrantedPermissionsDataTable dataTable = new dsSecurity.GrantedPermissionsDataTable(); 2962 this.Adapter.Fill(dataTable); 2963 return dataTable; 2964 } 2965 2966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2967 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2968 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] 2969 public virtual int FillByPermissionPermissionOwnerEntityId(dsSecurity.GrantedPermissionsDataTable dataTable, System.Guid PermissionId, System.Guid PermissionOwnerId, System.Guid EntityId) { 2970 this.Adapter.SelectCommand = this.CommandCollection[4]; 2971 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionId)); 2972 this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(PermissionOwnerId)); 2973 this.Adapter.SelectCommand.Parameters[2].Value = ((System.Guid)(EntityId)); 2974 if ((this.ClearBeforeFill == true)) { 2975 dataTable.Clear(); 2976 } 2977 int returnValue = this.Adapter.Fill(dataTable); 2978 return returnValue; 2979 } 2980 2981 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 2982 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] 2983 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] 2984 public virtual dsSecurity.GrantedPermissionsDataTable GetDataByPermissionPermissionOwnerEntityId(System.Guid PermissionId, System.Guid PermissionOwnerId, System.Guid EntityId) { 2985 this.Adapter.SelectCommand = this.CommandCollection[4]; 2986 this.Adapter.SelectCommand.Parameters[0].Value = ((System.Guid)(PermissionId)); 2987 this.Adapter.SelectCommand.Parameters[1].Value = ((System.Guid)(PermissionOwnerId)); 2988 this.Adapter.SelectCommand.Parameters[2].Value = ((System.Guid)(EntityId)); 2865 2989 dsSecurity.GrantedPermissionsDataTable dataTable = new dsSecurity.GrantedPermissionsDataTable(); 2866 2990 this.Adapter.Fill(dataTable);
Note: See TracChangeset
for help on using the changeset viewer.