📄 adult_datadataset.designer.cs
字号:
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 System.Data.DataColumn columnage;
private System.Data.DataColumn columneducation;
private System.Data.DataColumn columnoccupation;
private System.Data.DataColumn columnnative_country;
private System.Data.DataColumn columnmakeover50k;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public traindata2DataTable() {
this.TableName = "traindata2";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal traindata2DataTable(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 traindata2DataTable(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 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 traindata2Row this[int index] {
get {
return ((traindata2Row)(this.Rows[index]));
}
}
public event traindata2RowChangeEventHandler traindata2RowChanging;
public event traindata2RowChangeEventHandler traindata2RowChanged;
public event traindata2RowChangeEventHandler traindata2RowDeleting;
public event traindata2RowChangeEventHandler traindata2RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Addtraindata2Row(traindata2Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public traindata2Row Addtraindata2Row(int age, string education, string occupation, string native_country, string makeover50k) {
traindata2Row rowtraindata2Row = ((traindata2Row)(this.NewRow()));
rowtraindata2Row.ItemArray = new object[] {
age,
education,
occupation,
native_country,
makeover50k};
this.Rows.Add(rowtraindata2Row);
return rowtraindata2Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
traindata2DataTable cln = ((traindata2DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new traindata2DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnage = base.Columns["age"];
this.columneducation = base.Columns["education"];
this.columnoccupation = base.Columns["occupation"];
this.columnnative_country = base.Columns["native_country"];
this.columnmakeover50k = base.Columns["makeover50k"];
}
[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.columneducation = new System.Data.DataColumn("education", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columneducation);
this.columnoccupation = new System.Data.DataColumn("occupation", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnoccupation);
this.columnnative_country = new System.Data.DataColumn("native_country", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnnative_country);
this.columnmakeover50k = new System.Data.DataColumn("makeover50k", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnmakeover50k);
this.columneducation.MaxLength = 20;
this.columnoccupation.MaxLength = 30;
this.columnnative_country.MaxLength = 30;
this.columnmakeover50k.MaxLength = 10;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public traindata2Row Newtraindata2Row() {
return ((traindata2Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new traindata2Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(traindata2Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.traindata2RowChanged != null)) {
this.traindata2RowChanged(this, new traindata2RowChangeEvent(((traindata2Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.traindata2RowChanging != null)) {
this.traindata2RowChanging(this, new traindata2RowChangeEvent(((traindata2Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.traindata2RowDeleted != null)) {
this.traindata2RowDeleted(this, new traindata2RowChangeEvent(((traindata2Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -