📄 dataset1.designer.cs
字号:
YuanxiDataTable cln = ((YuanxiDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new YuanxiDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnY_ID = base.Columns["Y_ID"];
this.columnY_Number = base.Columns["Y_Number"];
this.columnY_Name = base.Columns["Y_Name"];
this.columnY_Head = base.Columns["Y_Head"];
this.columnY_Des = base.Columns["Y_Des"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnY_ID = new System.Data.DataColumn("Y_ID", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnY_ID);
this.columnY_Number = new System.Data.DataColumn("Y_Number", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnY_Number);
this.columnY_Name = new System.Data.DataColumn("Y_Name", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnY_Name);
this.columnY_Head = new System.Data.DataColumn("Y_Head", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnY_Head);
this.columnY_Des = new System.Data.DataColumn("Y_Des", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnY_Des);
this.Constraints.Add(new System.Data.UniqueConstraint("Dataset1Key2", new System.Data.DataColumn[] {
this.columnY_Number}, true));
this.columnY_ID.AutoIncrement = true;
this.columnY_ID.AllowDBNull = false;
this.columnY_ID.ReadOnly = true;
this.columnY_Number.AllowDBNull = false;
this.columnY_Number.Unique = true;
this.columnY_Name.AllowDBNull = false;
this.columnY_Head.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public YuanxiRow NewYuanxiRow() {
return ((YuanxiRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new YuanxiRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(YuanxiRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.YuanxiRowChanged != null)) {
this.YuanxiRowChanged(this, new YuanxiRowChangeEvent(((YuanxiRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.YuanxiRowChanging != null)) {
this.YuanxiRowChanging(this, new YuanxiRowChangeEvent(((YuanxiRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.YuanxiRowDeleted != null)) {
this.YuanxiRowDeleted(this, new YuanxiRowChangeEvent(((YuanxiRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.YuanxiRowDeleting != null)) {
this.YuanxiRowDeleting(this, new YuanxiRowChangeEvent(((YuanxiRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveYuanxiRow(YuanxiRow 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();
Dataset1 ds = new Dataset1();
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 = "YuanxiDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class StudRow : System.Data.DataRow {
private StudDataTable tableStud;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal StudRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableStud = ((StudDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int s_ID {
get {
return ((int)(this[this.tableStud.s_IDColumn]));
}
set {
this[this.tableStud.s_IDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string s_Number {
get {
return ((string)(this[this.tableStud.s_NumberColumn]));
}
set {
this[this.tableStud.s_NumberColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string s_Name {
get {
return ((string)(this[this.tableStud.s_NameColumn]));
}
set {
this[this.tableStud.s_NameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int s_Age {
get {
return ((int)(this[this.tableStud.s_AgeColumn]));
}
set {
this[this.tableStud.s_AgeColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Y_Number {
get {
return ((int)(this[this.tableStud.Y_NumberColumn]));
}
set {
this[this.tableStud.Y_NumberColumn] = value;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class YuanxiRow : System.Data.DataRow {
private YuanxiDataTable tableYuanxi;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal YuanxiRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableYuanxi = ((YuanxiDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Y_ID {
get {
return ((int)(this[this.tableYuanxi.Y_IDColumn]));
}
set {
this[this.tableYuanxi.Y_IDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Y_Number {
get {
return ((int)(this[this.tableYuanxi.Y_NumberColumn]));
}
set {
this[this.tableYuanxi.Y_NumberColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Y_Name {
get {
return ((string)(this[this.tableYuanxi.Y_NameColumn]));
}
set {
this[this.tableYuanxi.Y_NameColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Y_Head {
get {
return ((string)(this[this.tableYuanxi.Y_HeadColumn]));
}
set {
this[this.tableYuanxi.Y_HeadColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Y_Des {
get {
try {
return ((string)(this[this.tableYuanxi.Y_DesColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“Yuanxi”中列“Y_Des”的值为 DBNull。", e);
}
}
set {
this[this.tableYuanxi.Y_DesColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsY_DesNull() {
return this.IsNull(this.tableYuanxi.Y_DesColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetY_DesNull() {
this[this.tableYuanxi.Y_DesColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class StudRowChangeEvent : System.EventArgs {
private StudRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StudRowChangeEvent(StudRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public StudRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class YuanxiRowChangeEvent : System.EventArgs {
private YuanxiRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public YuanxiRowChangeEvent(YuanxiRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public YuanxiRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -