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

📄 adult_datadataset3.designer.cs

📁 基于决策树和贝叶斯的预测分析器
💻 CS
📖 第 1 页 / 共 5 页
字号:
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                testdata1DataTable cln = ((testdata1DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new testdata1DataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnage = base.Columns["age"];
                this.columnworkclass = base.Columns["workclass"];
                this.columnfnlwgt = base.Columns["fnlwgt"];
                this.columneducation = base.Columns["education"];
                this.columneducation_num = base.Columns["education_num"];
                this.columnmarital_status = base.Columns["marital_status"];
                this.columnoccupation = base.Columns["occupation"];
                this.columnrelationship = base.Columns["relationship"];
                this.columnrace = base.Columns["race"];
                this.columnsex = base.Columns["sex"];
                this.columncapital_gain = base.Columns["capital_gain"];
                this.columncapital_loss = base.Columns["capital_loss"];
                this.columnhours_per_week = base.Columns["hours_per_week"];
                this.columnnative_country = base.Columns["native_country"];
                this.columnmakeover = base.Columns["makeover"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnage = new System.Data.DataColumn("age", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnage);
                this.columnworkclass = new System.Data.DataColumn("workclass", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnworkclass);
                this.columnfnlwgt = new System.Data.DataColumn("fnlwgt", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnfnlwgt);
                this.columneducation = new System.Data.DataColumn("education", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columneducation);
                this.columneducation_num = new System.Data.DataColumn("education_num", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columneducation_num);
                this.columnmarital_status = new System.Data.DataColumn("marital_status", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnmarital_status);
                this.columnoccupation = new System.Data.DataColumn("occupation", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnoccupation);
                this.columnrelationship = new System.Data.DataColumn("relationship", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnrelationship);
                this.columnrace = new System.Data.DataColumn("race", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnrace);
                this.columnsex = new System.Data.DataColumn("sex", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnsex);
                this.columncapital_gain = new System.Data.DataColumn("capital_gain", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columncapital_gain);
                this.columncapital_loss = new System.Data.DataColumn("capital_loss", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columncapital_loss);
                this.columnhours_per_week = new System.Data.DataColumn("hours_per_week", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnhours_per_week);
                this.columnnative_country = new System.Data.DataColumn("native_country", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnnative_country);
                this.columnmakeover = new System.Data.DataColumn("makeover", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnmakeover);
                this.columnworkclass.MaxLength = 30;
                this.columneducation.MaxLength = 20;
                this.columnmarital_status.MaxLength = 30;
                this.columnoccupation.MaxLength = 30;
                this.columnrelationship.MaxLength = 30;
                this.columnrace.MaxLength = 20;
                this.columnsex.MaxLength = 10;
                this.columnnative_country.MaxLength = 30;
                this.columnmakeover.MaxLength = 10;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public testdata1Row Newtestdata1Row() {
                return ((testdata1Row)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new testdata1Row(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(testdata1Row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.testdata1RowChanged != null)) {
                    this.testdata1RowChanged(this, new testdata1RowChangeEvent(((testdata1Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.testdata1RowChanging != null)) {
                    this.testdata1RowChanging(this, new testdata1RowChangeEvent(((testdata1Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.testdata1RowDeleted != null)) {
                    this.testdata1RowDeleted(this, new testdata1RowChangeEvent(((testdata1Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.testdata1RowDeleting != null)) {
                    this.testdata1RowDeleting(this, new testdata1RowChangeEvent(((testdata1Row)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Removetestdata1Row(testdata1Row 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();
                adult_dataDataSet ds = new adult_dataDataSet();
                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 = "testdata1DataTable";
                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 testdata2DataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnage;
            
            private System.Data.DataColumn columneducation;
            
            private System.Data.DataColumn columnoccupation;
            
            private System.Data.DataColumn columnsex;
            
            private System.Data.DataColumn columnnative_country;
            
            private System.Data.DataColumn columnmakeover50k;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public testdata2DataTable() {
                this.TableName = "testdata2";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal testdata2DataTable(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 testdata2DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ageColumn {
                get {
                    return this.columnage;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn educationColumn {
                get {
                    return this.columneducation;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn occupationColumn {
                get {
                    return this.columnoccupation;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn sexColumn {
                get {
                    return this.columnsex;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn native_countryColumn {
                get {
                    return this.columnnative_country;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn makeover50kColumn {
                get {
                    return this.columnmakeover50k;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public testdata2Row this[int index] {
                get {
                    return ((testdata2Row)(this.Rows[index]));
                }
            }
            
            public event testdata2RowChangeEventHandler testdata2RowChanging;
            
            public event testdata2RowChangeEventHandler testdata2RowChanged;
            
            public event testdata2RowChangeEventHandler testdata2RowDeleting;
            
            public event testdata2RowChangeEventHandler testdata2RowDeleted;

⌨️ 快捷键说明

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