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

📄 olddbdataset_old.designer.cs

📁 这是一个简单的csharp程序。他能实现的功能也比较简单。
💻 CS
📖 第 1 页 / 共 5 页
字号:
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected OLD_TABLE3DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn OLD_IDColumn {
                get {
                    return this.columnOLD_ID;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn OLD_DIANHUAColumn {
                get {
                    return this.columnOLD_DIANHUA;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn OLD_SHOUJIColumn {
                get {
                    return this.columnOLD_SHOUJI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn OLD_DIZHIColumn {
                get {
                    return this.columnOLD_DIZHI;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OLD_TABLE3Row this[int index] {
                get {
                    return ((OLD_TABLE3Row)(this.Rows[index]));
                }
            }
            
            public event OLD_TABLE3RowChangeEventHandler OLD_TABLE3RowChanging;
            
            public event OLD_TABLE3RowChangeEventHandler OLD_TABLE3RowChanged;
            
            public event OLD_TABLE3RowChangeEventHandler OLD_TABLE3RowDeleting;
            
            public event OLD_TABLE3RowChangeEventHandler OLD_TABLE3RowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddOLD_TABLE3Row(OLD_TABLE3Row row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OLD_TABLE3Row AddOLD_TABLE3Row(string OLD_DIANHUA, string OLD_SHOUJI, string OLD_DIZHI) {
                OLD_TABLE3Row rowOLD_TABLE3Row = ((OLD_TABLE3Row)(this.NewRow()));
                rowOLD_TABLE3Row.ItemArray = new object[] {
                        null,
                        OLD_DIANHUA,
                        OLD_SHOUJI,
                        OLD_DIZHI};
                this.Rows.Add(rowOLD_TABLE3Row);
                return rowOLD_TABLE3Row;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OLD_TABLE3Row FindByOLD_ID(decimal OLD_ID) {
                return ((OLD_TABLE3Row)(this.Rows.Find(new object[] {
                            OLD_ID})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                OLD_TABLE3DataTable cln = ((OLD_TABLE3DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new OLD_TABLE3DataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnOLD_ID = base.Columns["OLD_ID"];
                this.columnOLD_DIANHUA = base.Columns["OLD_DIANHUA"];
                this.columnOLD_SHOUJI = base.Columns["OLD_SHOUJI"];
                this.columnOLD_DIZHI = base.Columns["OLD_DIZHI"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnOLD_ID = new System.Data.DataColumn("OLD_ID", typeof(decimal), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnOLD_ID);
                this.columnOLD_DIANHUA = new System.Data.DataColumn("OLD_DIANHUA", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnOLD_DIANHUA);
                this.columnOLD_SHOUJI = new System.Data.DataColumn("OLD_SHOUJI", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnOLD_SHOUJI);
                this.columnOLD_DIZHI = new System.Data.DataColumn("OLD_DIZHI", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnOLD_DIZHI);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnOLD_ID}, true));
                this.columnOLD_ID.AutoIncrement = true;
                this.columnOLD_ID.AllowDBNull = false;
                this.columnOLD_ID.ReadOnly = true;
                this.columnOLD_ID.Unique = true;
                this.columnOLD_DIANHUA.MaxLength = 20;
                this.columnOLD_SHOUJI.MaxLength = 20;
                this.columnOLD_DIZHI.MaxLength = 50;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public OLD_TABLE3Row NewOLD_TABLE3Row() {
                return ((OLD_TABLE3Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new OLD_TABLE3Row(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(OLD_TABLE3Row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.OLD_TABLE3RowChanged != null)) {
                    this.OLD_TABLE3RowChanged(this, new OLD_TABLE3RowChangeEvent(((OLD_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.OLD_TABLE3RowChanging != null)) {
                    this.OLD_TABLE3RowChanging(this, new OLD_TABLE3RowChangeEvent(((OLD_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.OLD_TABLE3RowDeleted != null)) {
                    this.OLD_TABLE3RowDeleted(this, new OLD_TABLE3RowChangeEvent(((OLD_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.OLD_TABLE3RowDeleting != null)) {
                    this.OLD_TABLE3RowDeleting(this, new OLD_TABLE3RowChangeEvent(((OLD_TABLE3Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveOLD_TABLE3Row(OLD_TABLE3Row 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();
                oldDBDataSet_Old ds = new oldDBDataSet_Old();
                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 = "OLD_TABLE3DataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        public partial class OLD_TABLE1Row : System.Data.DataRow {
            
            private OLD_TABLE1DataTable tableOLD_TABLE1;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal OLD_TABLE1Row(System.Data.DataRowBuilder rb) : 
                    base(rb) {
                this.tableOLD_TABLE1 = ((OLD_TABLE1DataTable)(this.Table));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public decimal OLD_ID {
                get {
                    return ((decimal)(this[this.tableOLD_TABLE1.OLD_IDColumn]));
                }
                set {
                    this[this.tableOLD_TABLE1.OLD_IDColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string OLD_XINGMING {
                get {
                    try {
                        return ((string)(this[this.tableOLD_TABLE1.OLD_XINGMINGColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“OLD_TABLE1”中列“OLD_XINGMING”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableOLD_TABLE1.OLD_XINGMINGColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public string OLD_NIANLING {
                get {
                    try {
                        return ((string)(this[this.tableOLD_TABLE1.OLD_NIANLINGColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“OLD_TABLE1”中列“OLD_NIANLING”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableOLD_TABLE1.OLD_NIANLINGColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public bool OLD_XINGBIE {
                get {
                    try {
                        return ((bool)(this[this.tableOLD_TABLE1.OLD_XINGBIEColumn]));
                    }
                    catch (System.InvalidCastException e) {
                        throw new System.Data.StrongTypingException("表“OLD_TABLE1”中列“OLD_XINGBIE”的值为 DBNull。", e);
                    }
                }
                set {
                    this[this.tableOLD_TABLE1.OLD_XINGBIEColumn] = value;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]

⌨️ 快捷键说明

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