📄 adult_datadataset.designer.cs
字号:
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.traindata2RowDeleting != null)) {
this.traindata2RowDeleting(this, new traindata2RowChangeEvent(((traindata2Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removetraindata2Row(traindata2Row 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 = "traindata2DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class traindata1Row : System.Data.DataRow {
private traindata1DataTable tabletraindata1;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal traindata1Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.tabletraindata1 = ((traindata1DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int age {
get {
try {
return ((int)(this[this.tabletraindata1.ageColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“age”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.ageColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string workclass {
get {
try {
return ((string)(this[this.tabletraindata1.workclassColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“workclass”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.workclassColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int fnlwgt {
get {
try {
return ((int)(this[this.tabletraindata1.fnlwgtColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“fnlwgt”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.fnlwgtColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string education {
get {
try {
return ((string)(this[this.tabletraindata1.educationColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“education”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.educationColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int education_num {
get {
try {
return ((int)(this[this.tabletraindata1.education_numColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“education_num”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.education_numColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string marital_status {
get {
try {
return ((string)(this[this.tabletraindata1.marital_statusColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“marital_status”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.marital_statusColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string occupation {
get {
try {
return ((string)(this[this.tabletraindata1.occupationColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“occupation”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.occupationColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string relationship {
get {
try {
return ((string)(this[this.tabletraindata1.relationshipColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“relationship”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.relationshipColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string race {
get {
try {
return ((string)(this[this.tabletraindata1.raceColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“race”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.raceColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string sex {
get {
try {
return ((string)(this[this.tabletraindata1.sexColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“sex”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.sexColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int capital_gain {
get {
try {
return ((int)(this[this.tabletraindata1.capital_gainColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“capital_gain”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.capital_gainColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int capital_loss {
get {
try {
return ((int)(this[this.tabletraindata1.capital_lossColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“capital_loss”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.capital_lossColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int hours_per_week {
get {
try {
return ((int)(this[this.tabletraindata1.hours_per_weekColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“hours_per_week”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.hours_per_weekColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string native_country {
get {
try {
return ((string)(this[this.tabletraindata1.native_countryColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“native_country”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.native_countryColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string makeover {
get {
try {
return ((string)(this[this.tabletraindata1.makeoverColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“traindata1”中列“makeover”的值为 DBNull。", e);
}
}
set {
this[this.tabletraindata1.makeoverColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsageNull() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -