⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dataresources.designer.cs

📁 通用权限管理平台
💻 CS
📖 第 1 页 / 共 5 页
字号:
            this.tablewmf_Operation = ((wmf_OperationDataTable)(base.Tables["wmf_Operation"]));
            if ((initTable == true)) {
                if ((this.tablewmf_Operation != null)) {
                    this.tablewmf_Operation.InitVars();
                }
            }
            this.tablewmf_Privilege = ((wmf_PrivilegeDataTable)(base.Tables["wmf_Privilege"]));
            if ((initTable == true)) {
                if ((this.tablewmf_Privilege != null)) {
                    this.tablewmf_Privilege.InitVars();
                }
            }
            this.tablewmf_PrivilegeInRoles = ((wmf_PrivilegeInRolesDataTable)(base.Tables["wmf_PrivilegeInRoles"]));
            if ((initTable == true)) {
                if ((this.tablewmf_PrivilegeInRoles != null)) {
                    this.tablewmf_PrivilegeInRoles.InitVars();
                }
            }
            this.relationFK_wmf_Privilege_wmf_Operation = this.Relations["FK_wmf_Privilege_wmf_Operation"];
            this.relationFK_wmf_Privilege_wmf_Resources = this.Relations["FK_wmf_Privilege_wmf_Resources"];
            this.relationFK_wmf_PrivilegeInRoles_wmf_Privilege = this.Relations["FK_wmf_PrivilegeInRoles_wmf_Privilege"];
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "DataResources";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/DataResources.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tablewmf_Resources = new wmf_ResourcesDataTable();
            base.Tables.Add(this.tablewmf_Resources);
            this.tablewmf_ResourcesGroup = new wmf_ResourcesGroupDataTable();
            base.Tables.Add(this.tablewmf_ResourcesGroup);
            this.tablewmf_Operation = new wmf_OperationDataTable();
            base.Tables.Add(this.tablewmf_Operation);
            this.tablewmf_Privilege = new wmf_PrivilegeDataTable();
            base.Tables.Add(this.tablewmf_Privilege);
            this.tablewmf_PrivilegeInRoles = new wmf_PrivilegeInRolesDataTable();
            base.Tables.Add(this.tablewmf_PrivilegeInRoles);
            this.relationFK_wmf_Privilege_wmf_Operation = new System.Data.DataRelation("FK_wmf_Privilege_wmf_Operation", new System.Data.DataColumn[] {
                        this.tablewmf_Operation.OperationIdColumn}, new System.Data.DataColumn[] {
                        this.tablewmf_Privilege.OperationIdColumn}, false);
            this.Relations.Add(this.relationFK_wmf_Privilege_wmf_Operation);
            this.relationFK_wmf_Privilege_wmf_Resources = new System.Data.DataRelation("FK_wmf_Privilege_wmf_Resources", new System.Data.DataColumn[] {
                        this.tablewmf_Resources.ResourcesIdColumn}, new System.Data.DataColumn[] {
                        this.tablewmf_Privilege.ResourcesIdColumn}, false);
            this.Relations.Add(this.relationFK_wmf_Privilege_wmf_Resources);
            this.relationFK_wmf_PrivilegeInRoles_wmf_Privilege = new System.Data.DataRelation("FK_wmf_PrivilegeInRoles_wmf_Privilege", new System.Data.DataColumn[] {
                        this.tablewmf_Privilege.PrivilegeIdColumn}, new System.Data.DataColumn[] {
                        this.tablewmf_PrivilegeInRoles.PrivilegeIdColumn}, false);
            this.Relations.Add(this.relationFK_wmf_PrivilegeInRoles_wmf_Privilege);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializewmf_Resources() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializewmf_ResourcesGroup() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializewmf_Operation() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializewmf_Privilege() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializewmf_PrivilegeInRoles() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
            if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
                this.InitVars();
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
            DataResources ds = new DataResources();
            System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
            System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
            xs.Add(ds.GetSchemaSerializable());
            System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            return type;
        }
        
        public delegate void wmf_ResourcesRowChangeEventHandler(object sender, wmf_ResourcesRowChangeEvent e);
        
        public delegate void wmf_ResourcesGroupRowChangeEventHandler(object sender, wmf_ResourcesGroupRowChangeEvent e);
        
        public delegate void wmf_OperationRowChangeEventHandler(object sender, wmf_OperationRowChangeEvent e);
        
        public delegate void wmf_PrivilegeRowChangeEventHandler(object sender, wmf_PrivilegeRowChangeEvent e);
        
        public delegate void wmf_PrivilegeInRolesRowChangeEventHandler(object sender, wmf_PrivilegeInRolesRowChangeEvent e);
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class wmf_ResourcesDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnResourcesId;
            
            private System.Data.DataColumn columnResourceGroupId;
            
            private System.Data.DataColumn columnResourcesName;
            
            private System.Data.DataColumn columnResourcesCNName;
            
            private System.Data.DataColumn columnDescription;
            
            private System.Data.DataColumn columnResourcesOrder;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_ResourcesDataTable() {
                this.TableName = "wmf_Resources";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal wmf_ResourcesDataTable(System.Data.DataTable table) {
                this.TableName = table.TableName;
                if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
                    this.CaseSensitive = table.CaseSensitive;
                }
                if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
                    this.Locale = table.Locale;
                }
                if ((table.Namespace != table.DataSet.Namespace)) {
                    this.Namespace = table.Namespace;
                }
                this.Prefix = table.Prefix;
                this.MinimumCapacity = table.MinimumCapacity;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected wmf_ResourcesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ResourcesIdColumn {
                get {
                    return this.columnResourcesId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ResourceGroupIdColumn {
                get {
                    return this.columnResourceGroupId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ResourcesNameColumn {
                get {
                    return this.columnResourcesName;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ResourcesCNNameColumn {
                get {
                    return this.columnResourcesCNName;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn DescriptionColumn {
                get {
                    return this.columnDescription;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ResourcesOrderColumn {
                get {
                    return this.columnResourcesOrder;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_ResourcesRow this[int index] {
                get {
                    return ((wmf_ResourcesRow)(this.Rows[index]));
                }
            }
            
            public event wmf_ResourcesRowChangeEventHandler wmf_ResourcesRowChanging;
            
            public event wmf_ResourcesRowChangeEventHandler wmf_ResourcesRowChanged;
            
            public event wmf_ResourcesRowChangeEventHandler wmf_ResourcesRowDeleting;
            
            public event wmf_ResourcesRowChangeEventHandler wmf_ResourcesRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Addwmf_ResourcesRow(wmf_ResourcesRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_ResourcesRow Addwmf_ResourcesRow(System.Guid ResourcesId, System.Guid ResourceGroupId, string ResourcesName, string ResourcesCNName, string Description, int ResourcesOrder) {
                wmf_ResourcesRow rowwmf_ResourcesRow = ((wmf_ResourcesRow)(this.NewRow()));
                rowwmf_ResourcesRow.ItemArray = new object[] {
                        ResourcesId,
                        ResourceGroupId,
                        ResourcesName,
                        ResourcesCNName,
                        Description,
                        ResourcesOrder};
                this.Rows.Add(rowwmf_ResourcesRow);
                return rowwmf_ResourcesRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_ResourcesRow FindByResourcesId(System.Guid ResourcesId) {
                return ((wmf_ResourcesRow)(this.Rows.Find(new object[] {
                            ResourcesId})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                wmf_ResourcesDataTable cln = ((wmf_ResourcesDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new wmf_ResourcesDataTable();

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -