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

📄 dataresources.designer.cs

📁 通用权限管理平台
💻 CS
📖 第 1 页 / 共 5 页
字号:
                base.Columns.Add(this.columnOperationId);
                this.columnOperationName = new System.Data.DataColumn("OperationName", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnOperationName);
                this.columnOperationCNName = new System.Data.DataColumn("OperationCNName", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnOperationCNName);
                this.columnDescription = new System.Data.DataColumn("Description", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnDescription);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnOperationId}, true));
                this.columnOperationId.AllowDBNull = false;
                this.columnOperationId.Unique = true;
                this.columnOperationName.AllowDBNull = false;
                this.columnOperationName.MaxLength = 50;
                this.columnOperationCNName.AllowDBNull = false;
                this.columnOperationCNName.MaxLength = 50;
                this.columnDescription.MaxLength = 100;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_OperationRow Newwmf_OperationRow() {
                return ((wmf_OperationRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new wmf_OperationRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(wmf_OperationRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.wmf_OperationRowChanged != null)) {
                    this.wmf_OperationRowChanged(this, new wmf_OperationRowChangeEvent(((wmf_OperationRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.wmf_OperationRowChanging != null)) {
                    this.wmf_OperationRowChanging(this, new wmf_OperationRowChangeEvent(((wmf_OperationRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.wmf_OperationRowDeleted != null)) {
                    this.wmf_OperationRowDeleted(this, new wmf_OperationRowChangeEvent(((wmf_OperationRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.wmf_OperationRowDeleting != null)) {
                    this.wmf_OperationRowDeleting(this, new wmf_OperationRowChangeEvent(((wmf_OperationRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Removewmf_OperationRow(wmf_OperationRow row) {
                this.Rows.Remove(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
                System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
                System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
                DataResources ds = new DataResources();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "wmf_OperationDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class wmf_PrivilegeDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnPrivilegeId;
            
            private System.Data.DataColumn columnOperationId;
            
            private System.Data.DataColumn columnResourcesId;
            
            private System.Data.DataColumn columnPrivilegeName;
            
            private System.Data.DataColumn columnPrivilegeCName;
            
            private System.Data.DataColumn columnDefaultValue;
            
            private System.Data.DataColumn columnDescription;
            
            private System.Data.DataColumn columnPrivilegeOrder;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_PrivilegeDataTable() {
                this.TableName = "wmf_Privilege";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal wmf_PrivilegeDataTable(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_PrivilegeDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn PrivilegeIdColumn {
                get {
                    return this.columnPrivilegeId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn OperationIdColumn {
                get {
                    return this.columnOperationId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ResourcesIdColumn {
                get {
                    return this.columnResourcesId;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn PrivilegeNameColumn {
                get {
                    return this.columnPrivilegeName;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn PrivilegeCNameColumn {
                get {
                    return this.columnPrivilegeCName;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn DefaultValueColumn {
                get {
                    return this.columnDefaultValue;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn DescriptionColumn {
                get {
                    return this.columnDescription;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn PrivilegeOrderColumn {
                get {
                    return this.columnPrivilegeOrder;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_PrivilegeRow this[int index] {
                get {
                    return ((wmf_PrivilegeRow)(this.Rows[index]));
                }
            }
            
            public event wmf_PrivilegeRowChangeEventHandler wmf_PrivilegeRowChanging;
            
            public event wmf_PrivilegeRowChangeEventHandler wmf_PrivilegeRowChanged;
            
            public event wmf_PrivilegeRowChangeEventHandler wmf_PrivilegeRowDeleting;
            
            public event wmf_PrivilegeRowChangeEventHandler wmf_PrivilegeRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Addwmf_PrivilegeRow(wmf_PrivilegeRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_PrivilegeRow Addwmf_PrivilegeRow(System.Guid PrivilegeId, wmf_OperationRow parentwmf_OperationRowByFK_wmf_Privilege_wmf_Operation, wmf_ResourcesRow parentwmf_ResourcesRowByFK_wmf_Privilege_wmf_Resources, string PrivilegeName, string PrivilegeCName, string DefaultValue, string Description, int PrivilegeOrder) {
                wmf_PrivilegeRow rowwmf_PrivilegeRow = ((wmf_PrivilegeRow)(this.NewRow()));
                rowwmf_PrivilegeRow.ItemArray = new object[] {
                        PrivilegeId,
                        parentwmf_OperationRowByFK_wmf_Privilege_wmf_Operation[0],
                        parentwmf_ResourcesRowByFK_wmf_Privilege_wmf_Resources[0],
                        PrivilegeName,
                        PrivilegeCName,
                        DefaultValue,
                        Description,
                        PrivilegeOrder};
                this.Rows.Add(rowwmf_PrivilegeRow);
                return rowwmf_PrivilegeRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public wmf_PrivilegeRow FindByPrivilegeId(System.Guid PrivilegeId) {
                return ((wmf_PrivilegeRow)(this.Rows.Find(new object[] {
                            PrivilegeId})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Colle

⌨️ 快捷键说明

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