📄 newdbdataset.designer.cs
字号:
NEW_TABLE1DataTable cln = ((NEW_TABLE1DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new NEW_TABLE1DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnNEW_ID = base.Columns["NEW_ID"];
this.columnNEW_XINGMING = base.Columns["NEW_XINGMING"];
this.columnNEW_NIANLING = base.Columns["NEW_NIANLING"];
this.columnNEW_XINGBIE = base.Columns["NEW_XINGBIE"];
this.columnNEW_XUELI = base.Columns["NEW_XUELI"];
this.columnNEW_XUEXIAO = base.Columns["NEW_XUEXIAO"];
this.columnNEW_SHENGRI = base.Columns["NEW_SHENGRI"];
this.columnNEW_GONGZUONIAN = base.Columns["NEW_GONGZUONIAN"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnNEW_ID = new System.Data.DataColumn("NEW_ID", typeof(decimal), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_ID);
this.columnNEW_XINGMING = new System.Data.DataColumn("NEW_XINGMING", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_XINGMING);
this.columnNEW_NIANLING = new System.Data.DataColumn("NEW_NIANLING", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_NIANLING);
this.columnNEW_XINGBIE = new System.Data.DataColumn("NEW_XINGBIE", typeof(bool), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_XINGBIE);
this.columnNEW_XUELI = new System.Data.DataColumn("NEW_XUELI", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_XUELI);
this.columnNEW_XUEXIAO = new System.Data.DataColumn("NEW_XUEXIAO", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_XUEXIAO);
this.columnNEW_SHENGRI = new System.Data.DataColumn("NEW_SHENGRI", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_SHENGRI);
this.columnNEW_GONGZUONIAN = new System.Data.DataColumn("NEW_GONGZUONIAN", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnNEW_GONGZUONIAN);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnNEW_ID}, true));
this.columnNEW_ID.AllowDBNull = false;
this.columnNEW_ID.Unique = true;
this.columnNEW_XINGMING.MaxLength = 10;
this.columnNEW_NIANLING.MaxLength = 3;
this.columnNEW_XUELI.MaxLength = 5;
this.columnNEW_XUEXIAO.MaxLength = 20;
this.columnNEW_GONGZUONIAN.MaxLength = 2;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NEW_TABLE1Row NewNEW_TABLE1Row() {
return ((NEW_TABLE1Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new NEW_TABLE1Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(NEW_TABLE1Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.NEW_TABLE1RowChanged != null)) {
this.NEW_TABLE1RowChanged(this, new NEW_TABLE1RowChangeEvent(((NEW_TABLE1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.NEW_TABLE1RowChanging != null)) {
this.NEW_TABLE1RowChanging(this, new NEW_TABLE1RowChangeEvent(((NEW_TABLE1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.NEW_TABLE1RowDeleted != null)) {
this.NEW_TABLE1RowDeleted(this, new NEW_TABLE1RowChangeEvent(((NEW_TABLE1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.NEW_TABLE1RowDeleting != null)) {
this.NEW_TABLE1RowDeleting(this, new NEW_TABLE1RowChangeEvent(((NEW_TABLE1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveNEW_TABLE1Row(NEW_TABLE1Row 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();
newDBDataSet ds = new newDBDataSet();
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 = "NEW_TABLE1DataTable";
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 NEW_TABLE2DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnNEW_ID;
private System.Data.DataColumn columnNEW_BUMEN;
private System.Data.DataColumn columnNEW_ZHIWEI;
private System.Data.DataColumn columnNEW_GONGZI;
private System.Data.DataColumn columnNEW_YEJIMIAOSHU;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NEW_TABLE2DataTable() {
this.TableName = "NEW_TABLE2";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal NEW_TABLE2DataTable(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 NEW_TABLE2DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NEW_IDColumn {
get {
return this.columnNEW_ID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NEW_BUMENColumn {
get {
return this.columnNEW_BUMEN;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NEW_ZHIWEIColumn {
get {
return this.columnNEW_ZHIWEI;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NEW_GONGZIColumn {
get {
return this.columnNEW_GONGZI;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn NEW_YEJIMIAOSHUColumn {
get {
return this.columnNEW_YEJIMIAOSHU;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NEW_TABLE2Row this[int index] {
get {
return ((NEW_TABLE2Row)(this.Rows[index]));
}
}
public event NEW_TABLE2RowChangeEventHandler NEW_TABLE2RowChanging;
public event NEW_TABLE2RowChangeEventHandler NEW_TABLE2RowChanged;
public event NEW_TABLE2RowChangeEventHandler NEW_TABLE2RowDeleting;
public event NEW_TABLE2RowChangeEventHandler NEW_TABLE2RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddNEW_TABLE2Row(NEW_TABLE2Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NEW_TABLE2Row AddNEW_TABLE2Row(NEW_TABLE1Row parentNEW_TABLE1RowByNEW_TABLE1_NEW_TABLE2, string NEW_BUMEN, string NEW_ZHIWEI, double NEW_GONGZI, string NEW_YEJIMIAOSHU) {
NEW_TABLE2Row rowNEW_TABLE2Row = ((NEW_TABLE2Row)(this.NewRow()));
rowNEW_TABLE2Row.ItemArray = new object[] {
parentNEW_TABLE1RowByNEW_TABLE1_NEW_TABLE2[0],
NEW_BUMEN,
NEW_ZHIWEI,
NEW_GONGZI,
NEW_YEJIMIAOSHU};
this.Rows.Add(rowNEW_TABLE2Row);
return rowNEW_TABLE2Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public NEW_TABLE2Row FindByNEW_ID(decimal NEW_ID) {
return ((NEW_TABLE2Row)(this.Rows.Find(new object[] {
NEW_ID})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -