📄 mydatabasedataset.designer.cs
字号:
[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()]
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 MyTable3Row this[int index] {
get {
return ((MyTable3Row)(this.Rows[index]));
}
}
public event MyTable3RowChangeEventHandler MyTable3RowChanging;
public event MyTable3RowChangeEventHandler MyTable3RowChanged;
public event MyTable3RowChangeEventHandler MyTable3RowDeleting;
public event MyTable3RowChangeEventHandler MyTable3RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddMyTable3Row(MyTable3Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable3Row AddMyTable3Row(string 学号, string 成员姓名, string 成员性别, string 与本人关系) {
MyTable3Row rowMyTable3Row = ((MyTable3Row)(this.NewRow()));
rowMyTable3Row.ItemArray = new object[] {
null,
学号,
成员姓名,
成员性别,
与本人关系};
this.Rows.Add(rowMyTable3Row);
return rowMyTable3Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable3Row FindByid(int id) {
return ((MyTable3Row)(this.Rows.Find(new object[] {
id})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
MyTable3DataTable cln = ((MyTable3DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new MyTable3DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnid = base.Columns["id"];
this.column学号 = base.Columns["学号"];
this.column成员姓名 = base.Columns["成员姓名"];
this.column成员性别 = base.Columns["成员性别"];
this.column与本人关系 = base.Columns["与本人关系"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnid = new System.Data.DataColumn("id", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnid);
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.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.columnid}, true));
this.columnid.AutoIncrement = true;
this.columnid.AllowDBNull = false;
this.columnid.ReadOnly = true;
this.columnid.Unique = true;
this.column学号.MaxLength = 8;
this.column成员姓名.MaxLength = 20;
this.column成员性别.MaxLength = 1;
this.column与本人关系.MaxLength = 50;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public MyTable3Row NewMyTable3Row() {
return ((MyTable3Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new MyTable3Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(MyTable3Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.MyTable3RowChanged != null)) {
this.MyTable3RowChanged(this, new MyTable3RowChangeEvent(((MyTable3Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.MyTable3RowChanging != null)) {
this.MyTable3RowChanging(this, new MyTable3RowChangeEvent(((MyTable3Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.MyTable3RowDeleted != null)) {
this.MyTable3RowDeleted(this, new MyTable3RowChangeEvent(((MyTable3Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.MyTable3RowDeleting != null)) {
this.MyTable3RowDeleting(this, new MyTable3RowChangeEvent(((MyTable3Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveMyTable3Row(MyTable3Row 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 = "MyTable3DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class MyTable1Row : System.Data.DataRow {
private MyTable1DataTable tableMyTable1;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MyTable1Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableMyTable1 = ((MyTable1DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 编码 {
get {
return ((string)(this[this.tableMyTable1.编码Column]));
}
set {
this[this.tableMyTable1.编码Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 名称 {
get {
try {
return ((string)(this[this.tableMyTable1.名称Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MyTable1”中列“名称”的值为 DBNull。", e);
}
}
set {
this[this.tableMyTable1.名称Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool Is名称Null() {
return this.IsNull(this.tableMyTable1.名称Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Set名称Null() {
this[this.tableMyTable1.名称Column] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class MyTable2Row : System.Data.DataRow {
private MyTable2DataTable tableMyTable2;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal MyTable2Row(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableMyTable2 = ((MyTable2DataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 学号 {
get {
return ((string)(this[this.tableMyTable2.学号Column]));
}
set {
this[this.tableMyTable2.学号Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string 姓名 {
get {
try {
return ((string)(this[this.tableMyTable2.姓名Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“MyTable2”中列“姓名”的值为 DBNull。", e);
}
}
set {
this[this.tableMyTable2.姓名Column] = value;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -