📄 adult_datadataset3.designer.cs
字号:
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn raceColumn {
get {
return this.columnrace;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn sexColumn {
get {
return this.columnsex;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn capital_gainColumn {
get {
return this.columncapital_gain;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn capital_lossColumn {
get {
return this.columncapital_loss;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn hours_per_weekColumn {
get {
return this.columnhours_per_week;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn native_countryColumn {
get {
return this.columnnative_country;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn makeoverColumn {
get {
return this.columnmakeover;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public traindata1Row this[int index] {
get {
return ((traindata1Row)(this.Rows[index]));
}
}
public event traindata1RowChangeEventHandler traindata1RowChanging;
public event traindata1RowChangeEventHandler traindata1RowChanged;
public event traindata1RowChangeEventHandler traindata1RowDeleting;
public event traindata1RowChangeEventHandler traindata1RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Addtraindata1Row(traindata1Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public traindata1Row Addtraindata1Row(int age, string workclass, int fnlwgt, string education, int education_num, string marital_status, string occupation, string relationship, string race, string sex, int capital_gain, int capital_loss, int hours_per_week, string native_country, string makeover) {
traindata1Row rowtraindata1Row = ((traindata1Row)(this.NewRow()));
rowtraindata1Row.ItemArray = new object[] {
age,
workclass,
fnlwgt,
education,
education_num,
marital_status,
occupation,
relationship,
race,
sex,
capital_gain,
capital_loss,
hours_per_week,
native_country,
makeover};
this.Rows.Add(rowtraindata1Row);
return rowtraindata1Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
traindata1DataTable cln = ((traindata1DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new traindata1DataTable();
}
[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 traindata1Row Newtraindata1Row() {
return ((traindata1Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new traindata1Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(traindata1Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.traindata1RowChanged != null)) {
this.traindata1RowChanged(this, new traindata1RowChangeEvent(((traindata1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.traindata1RowChanging != null)) {
this.traindata1RowChanging(this, new traindata1RowChangeEvent(((traindata1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.traindata1RowDeleted != null)) {
this.traindata1RowDeleted(this, new traindata1RowChangeEvent(((traindata1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.traindata1RowDeleting != null)) {
this.traindata1RowDeleting(this, new traindata1RowChangeEvent(((traindata1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removetraindata1Row(traindata1Row 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 = "traindata1DataTable";
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 traindata2DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -