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

📄 newdbdataset.designer.cs

📁 这是一个简单的csharp程序。他能实现的功能也比较简单。
💻 CS
📖 第 1 页 / 共 5 页
字号:
                NEW_TABLE2DataTable cln = ((NEW_TABLE2DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new NEW_TABLE2DataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnNEW_ID = base.Columns["NEW_ID"];
                this.columnNEW_BUMEN = base.Columns["NEW_BUMEN"];
                this.columnNEW_ZHIWEI = base.Columns["NEW_ZHIWEI"];
                this.columnNEW_GONGZI = base.Columns["NEW_GONGZI"];
                this.columnNEW_YEJIMIAOSHU = base.Columns["NEW_YEJIMIAOSHU"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnNEW_ID = new System.Data.DataColumn("NEW_ID", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_ID);
                this.columnNEW_BUMEN = new System.Data.DataColumn("NEW_BUMEN", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_BUMEN);
                this.columnNEW_ZHIWEI = new System.Data.DataColumn("NEW_ZHIWEI", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_ZHIWEI);
                this.columnNEW_GONGZI = new System.Data.DataColumn("NEW_GONGZI", typeof(double), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_GONGZI);
                this.columnNEW_YEJIMIAOSHU = new System.Data.DataColumn("NEW_YEJIMIAOSHU", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNEW_YEJIMIAOSHU);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnNEW_ID}, true));
                this.columnNEW_ID.AllowDBNull = false;
                this.columnNEW_ID.Unique = true;
                this.columnNEW_BUMEN.MaxLength = 20;
                this.columnNEW_ZHIWEI.MaxLength = 20;
                this.columnNEW_YEJIMIAOSHU.MaxLength = 100;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE2Row NewNEW_TABLE2Row() {
                return ((NEW_TABLE2Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new NEW_TABLE2Row(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(NEW_TABLE2Row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.NEW_TABLE2RowChanged != null)) {
                    this.NEW_TABLE2RowChanged(this, new NEW_TABLE2RowChangeEvent(((NEW_TABLE2Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.NEW_TABLE2RowChanging != null)) {
                    this.NEW_TABLE2RowChanging(this, new NEW_TABLE2RowChangeEvent(((NEW_TABLE2Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.NEW_TABLE2RowDeleted != null)) {
                    this.NEW_TABLE2RowDeleted(this, new NEW_TABLE2RowChangeEvent(((NEW_TABLE2Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.NEW_TABLE2RowDeleting != null)) {
                    this.NEW_TABLE2RowDeleting(this, new NEW_TABLE2RowChangeEvent(((NEW_TABLE2Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveNEW_TABLE2Row(NEW_TABLE2Row 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();
                newDBDataSet ds = new newDBDataSet();
                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 = "NEW_TABLE2DataTable";
                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 NEW_TABLE3DataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnNEW_ID;
            
            private System.Data.DataColumn columnNEW_DIANHUA;
            
            private System.Data.DataColumn columnNEW_SHOUJI;
            
            private System.Data.DataColumn columnNEW_DIZHI;
            
            private System.Data.DataColumn columnNEW_QITA;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE3DataTable() {
                this.TableName = "NEW_TABLE3";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal NEW_TABLE3DataTable(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 NEW_TABLE3DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_IDColumn {
                get {
                    return this.columnNEW_ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_DIANHUAColumn {
                get {
                    return this.columnNEW_DIANHUA;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_SHOUJIColumn {
                get {
                    return this.columnNEW_SHOUJI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_DIZHIColumn {
                get {
                    return this.columnNEW_DIZHI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NEW_QITAColumn {
                get {
                    return this.columnNEW_QITA;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE3Row this[int index] {
                get {
                    return ((NEW_TABLE3Row)(this.Rows[index]));
                }
            }
            
            public event NEW_TABLE3RowChangeEventHandler NEW_TABLE3RowChanging;
            
            public event NEW_TABLE3RowChangeEventHandler NEW_TABLE3RowChanged;
            
            public event NEW_TABLE3RowChangeEventHandler NEW_TABLE3RowDeleting;
            
            public event NEW_TABLE3RowChangeEventHandler NEW_TABLE3RowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddNEW_TABLE3Row(NEW_TABLE3Row row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE3Row AddNEW_TABLE3Row(NEW_TABLE1Row parentNEW_TABLE1RowByNEW_TABLE1_NEW_TABLE3, string NEW_DIANHUA, string NEW_SHOUJI, string NEW_DIZHI, string NEW_QITA) {
                NEW_TABLE3Row rowNEW_TABLE3Row = ((NEW_TABLE3Row)(this.NewRow()));
                rowNEW_TABLE3Row.ItemArray = new object[] {
                        parentNEW_TABLE1RowByNEW_TABLE1_NEW_TABLE3[0],
                        NEW_DIANHUA,
                        NEW_SHOUJI,
                        NEW_DIZHI,
                        NEW_QITA};
                this.Rows.Add(rowNEW_TABLE3Row);
                return rowNEW_TABLE3Row;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public NEW_TABLE3Row FindByNEW_ID(decimal NEW_ID) {
                return ((NEW_TABLE3Row)(this.Rows.Find(new object[] {
                            NEW_ID})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                NEW_TABLE3DataTable cln = ((NEW_TABLE3DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new NEW_TABLE3DataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

⌨️ 快捷键说明

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