📄 mydatabasedataset.designer.cs
字号:
System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
return type;
}
public delegate void MyTable1RowChangeEventHandler(object sender, MyTable1RowChangeEvent e);
public delegate void MyTable2RowChangeEventHandler(object sender, MyTable2RowChangeEvent e);
public delegate void MyTable3RowChangeEventHandler(object sender, MyTable3RowChangeEvent e);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class MyTable1DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn column编码;
private System.Data.DataColumn column名称;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable1DataTable() {
this.TableName = "MyTable1";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MyTable1DataTable(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 MyTable1DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 编码Column {
get {
return this.column编码;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn 名称Column {
get {
return this.column名称;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable1Row this[int index] {
get {
return ((MyTable1Row)(this.Rows[index]));
}
}
public event MyTable1RowChangeEventHandler MyTable1RowChanging;
public event MyTable1RowChangeEventHandler MyTable1RowChanged;
public event MyTable1RowChangeEventHandler MyTable1RowDeleting;
public event MyTable1RowChangeEventHandler MyTable1RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddMyTable1Row(MyTable1Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable1Row AddMyTable1Row(MyTable2Row parentMyTable2RowByMyTable2_MyTable1, string 名称) {
MyTable1Row rowMyTable1Row = ((MyTable1Row)(this.NewRow()));
rowMyTable1Row.ItemArray = new object[] {
parentMyTable2RowByMyTable2_MyTable1[4],
名称};
this.Rows.Add(rowMyTable1Row);
return rowMyTable1Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable1Row FindBy编码(string 编码) {
return ((MyTable1Row)(this.Rows.Find(new object[] {
编码})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
MyTable1DataTable cln = ((MyTable1DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new MyTable1DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.column编码 = base.Columns["编码"];
this.column名称 = base.Columns["名称"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.column编码 = new System.Data.DataColumn("编码", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column编码);
this.column名称 = new System.Data.DataColumn("名称", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.column名称);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.column编码}, true));
this.column编码.AllowDBNull = false;
this.column编码.Unique = true;
this.column编码.MaxLength = 2;
this.column名称.MaxLength = 20;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable1Row NewMyTable1Row() {
return ((MyTable1Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new MyTable1Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(MyTable1Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.MyTable1RowChanged != null)) {
this.MyTable1RowChanged(this, new MyTable1RowChangeEvent(((MyTable1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.MyTable1RowChanging != null)) {
this.MyTable1RowChanging(this, new MyTable1RowChangeEvent(((MyTable1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.MyTable1RowDeleted != null)) {
this.MyTable1RowDeleted(this, new MyTable1RowChangeEvent(((MyTable1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.MyTable1RowDeleting != null)) {
this.MyTable1RowDeleting(this, new MyTable1RowChangeEvent(((MyTable1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveMyTable1Row(MyTable1Row 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();
MyDatabaseDataSet ds = new MyDatabaseDataSet();
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 = "MyTable1DataTable";
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 MyTable2DataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn column学号;
private System.Data.DataColumn column姓名;
private System.Data.DataColumn column性别;
private System.Data.DataColumn column出生日期;
private System.Data.DataColumn column学院编码;
private System.Data.DataColumn column成绩;
private System.Data.DataColumn column照片;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable2DataTable() {
this.TableName = "MyTable2";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MyTable2DataTable(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 MyTable2DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -