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

📄 olddbdataset_old.designer.cs

📁 这是一个简单的csharp程序。他能实现的功能也比较简单。
💻 CS
📖 第 1 页 / 共 5 页
字号:
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行库版本:2.0.50727.42
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

#pragma warning disable 1591

namespace WindowsApplication1 {
    using System;
    
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
    [Serializable()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.ComponentModel.ToolboxItem(true)]
    [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
    [System.Xml.Serialization.XmlRootAttribute("oldDBDataSet_Old")]
    [System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
    public partial class oldDBDataSet_Old : System.Data.DataSet {
        
        private OLD_TABLE1DataTable tableOLD_TABLE1;
        
        private OLD_TABLE2DataTable tableOLD_TABLE2;
        
        private OLD_TABLE3DataTable tableOLD_TABLE3;
        
        private System.Data.DataRelation relationOLD_TABLE1_OLD_TABLE2;
        
        private System.Data.DataRelation relationOLD_TABLE1_OLD_TABLE3;
        
        private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public oldDBDataSet_Old() {
            this.BeginInit();
            this.InitClass();
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            base.Relations.CollectionChanged += schemaChangedHandler;
            this.EndInit();
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected oldDBDataSet_Old(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                base(info, context, false) {
            if ((this.IsBinarySerialized(info, context) == true)) {
                this.InitVars(false);
                System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
                this.Tables.CollectionChanged += schemaChangedHandler1;
                this.Relations.CollectionChanged += schemaChangedHandler1;
                return;
            }
            string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
            if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
                System.Data.DataSet ds = new System.Data.DataSet();
                ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
                if ((ds.Tables["OLD_TABLE1"] != null)) {
                    base.Tables.Add(new OLD_TABLE1DataTable(ds.Tables["OLD_TABLE1"]));
                }
                if ((ds.Tables["OLD_TABLE2"] != null)) {
                    base.Tables.Add(new OLD_TABLE2DataTable(ds.Tables["OLD_TABLE2"]));
                }
                if ((ds.Tables["OLD_TABLE3"] != null)) {
                    base.Tables.Add(new OLD_TABLE3DataTable(ds.Tables["OLD_TABLE3"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
            }
            this.GetSerializationData(info, context);
            System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
            base.Tables.CollectionChanged += schemaChangedHandler;
            this.Relations.CollectionChanged += schemaChangedHandler;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public OLD_TABLE1DataTable OLD_TABLE1 {
            get {
                return this.tableOLD_TABLE1;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public OLD_TABLE2DataTable OLD_TABLE2 {
            get {
                return this.tableOLD_TABLE2;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.Browsable(false)]
        [System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
        public OLD_TABLE3DataTable OLD_TABLE3 {
            get {
                return this.tableOLD_TABLE3;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.BrowsableAttribute(true)]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
        public override System.Data.SchemaSerializationMode SchemaSerializationMode {
            get {
                return this._schemaSerializationMode;
            }
            set {
                this._schemaSerializationMode = value;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new System.Data.DataTableCollection Tables {
            get {
                return base.Tables;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
        public new System.Data.DataRelationCollection Relations {
            get {
                return base.Relations;
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void InitializeDerivedDataSet() {
            this.BeginInit();
            this.InitClass();
            this.EndInit();
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public override System.Data.DataSet Clone() {
            oldDBDataSet_Old cln = ((oldDBDataSet_Old)(base.Clone()));
            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return cln;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeTables() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override bool ShouldSerializeRelations() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override void ReadXmlSerializable(System.Xml.XmlReader reader) {
            if ((this.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)) {
                this.Reset();
                System.Data.DataSet ds = new System.Data.DataSet();
                ds.ReadXml(reader);
                if ((ds.Tables["OLD_TABLE1"] != null)) {
                    base.Tables.Add(new OLD_TABLE1DataTable(ds.Tables["OLD_TABLE1"]));
                }
                if ((ds.Tables["OLD_TABLE2"] != null)) {
                    base.Tables.Add(new OLD_TABLE2DataTable(ds.Tables["OLD_TABLE2"]));
                }
                if ((ds.Tables["OLD_TABLE3"] != null)) {
                    base.Tables.Add(new OLD_TABLE3DataTable(ds.Tables["OLD_TABLE3"]));
                }
                this.DataSetName = ds.DataSetName;
                this.Prefix = ds.Prefix;
                this.Namespace = ds.Namespace;
                this.Locale = ds.Locale;
                this.CaseSensitive = ds.CaseSensitive;
                this.EnforceConstraints = ds.EnforceConstraints;
                this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
                this.InitVars();
            }
            else {
                this.ReadXml(reader);
                this.InitVars();
            }
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
            System.IO.MemoryStream stream = new System.IO.MemoryStream();
            this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));
            stream.Position = 0;
            return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars() {
            this.InitVars(true);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        internal void InitVars(bool initTable) {
            this.tableOLD_TABLE1 = ((OLD_TABLE1DataTable)(base.Tables["OLD_TABLE1"]));
            if ((initTable == true)) {
                if ((this.tableOLD_TABLE1 != null)) {
                    this.tableOLD_TABLE1.InitVars();
                }
            }
            this.tableOLD_TABLE2 = ((OLD_TABLE2DataTable)(base.Tables["OLD_TABLE2"]));
            if ((initTable == true)) {
                if ((this.tableOLD_TABLE2 != null)) {
                    this.tableOLD_TABLE2.InitVars();
                }
            }
            this.tableOLD_TABLE3 = ((OLD_TABLE3DataTable)(base.Tables["OLD_TABLE3"]));
            if ((initTable == true)) {
                if ((this.tableOLD_TABLE3 != null)) {
                    this.tableOLD_TABLE3.InitVars();
                }
            }
            this.relationOLD_TABLE1_OLD_TABLE2 = this.Relations["OLD_TABLE1_OLD_TABLE2"];
            this.relationOLD_TABLE1_OLD_TABLE3 = this.Relations["OLD_TABLE1_OLD_TABLE3"];
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void InitClass() {
            this.DataSetName = "oldDBDataSet_Old";
            this.Prefix = "";
            this.Namespace = "http://tempuri.org/oldDBDataSet_Old.xsd";
            this.EnforceConstraints = true;
            this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
            this.tableOLD_TABLE1 = new OLD_TABLE1DataTable();
            base.Tables.Add(this.tableOLD_TABLE1);
            this.tableOLD_TABLE2 = new OLD_TABLE2DataTable();
            base.Tables.Add(this.tableOLD_TABLE2);
            this.tableOLD_TABLE3 = new OLD_TABLE3DataTable();
            base.Tables.Add(this.tableOLD_TABLE3);
            this.relationOLD_TABLE1_OLD_TABLE2 = new System.Data.DataRelation("OLD_TABLE1_OLD_TABLE2", new System.Data.DataColumn[] {
                        this.tableOLD_TABLE1.OLD_IDColumn}, new System.Data.DataColumn[] {
                        this.tableOLD_TABLE2.OLD_IDColumn}, false);
            this.Relations.Add(this.relationOLD_TABLE1_OLD_TABLE2);
            this.relationOLD_TABLE1_OLD_TABLE3 = new System.Data.DataRelation("OLD_TABLE1_OLD_TABLE3", new System.Data.DataColumn[] {
                        this.tableOLD_TABLE1.OLD_IDColumn}, new System.Data.DataColumn[] {
                        this.tableOLD_TABLE3.OLD_IDColumn}, false);
            this.Relations.Add(this.relationOLD_TABLE1_OLD_TABLE3);
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeOLD_TABLE1() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeOLD_TABLE2() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private bool ShouldSerializeOLD_TABLE3() {
            return false;
        }
        
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {

⌨️ 快捷键说明

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