📄 misdataset.designer.cs
字号:
public override System.Data.DataTable Clone() {
courseDataTable cln = ((courseDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new courseDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnc_id = base.Columns["c_id"];
this.columnc_name = base.Columns["c_name"];
this.columnc_type = base.Columns["c_type"];
this.columnbook = base.Columns["book"];
this.columntime = base.Columns["time"];
this.columns_type = base.Columns["s_type"];
this.columne_type = base.Columns["e_type"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnc_id = new System.Data.DataColumn("c_id", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnc_id);
this.columnc_name = new System.Data.DataColumn("c_name", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnc_name);
this.columnc_type = new System.Data.DataColumn("c_type", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnc_type);
this.columnbook = new System.Data.DataColumn("book", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnbook);
this.columntime = new System.Data.DataColumn("time", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.columntime);
this.columns_type = new System.Data.DataColumn("s_type", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columns_type);
this.columne_type = new System.Data.DataColumn("e_type", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columne_type);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnc_id}, true));
this.columnc_id.AllowDBNull = false;
this.columnc_id.Unique = true;
this.columnc_name.AllowDBNull = false;
this.columnc_name.MaxLength = 50;
this.columnc_type.AllowDBNull = false;
this.columnc_type.MaxLength = 50;
this.columnbook.AllowDBNull = false;
this.columnbook.MaxLength = 50;
this.columntime.AllowDBNull = false;
this.columns_type.AllowDBNull = false;
this.columns_type.MaxLength = 50;
this.columne_type.AllowDBNull = false;
this.columne_type.MaxLength = 50;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public courseRow NewcourseRow() {
return ((courseRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new courseRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(courseRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.courseRowChanged != null)) {
this.courseRowChanged(this, new courseRowChangeEvent(((courseRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.courseRowChanging != null)) {
this.courseRowChanging(this, new courseRowChangeEvent(((courseRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.courseRowDeleted != null)) {
this.courseRowDeleted(this, new courseRowChangeEvent(((courseRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.courseRowDeleting != null)) {
this.courseRowDeleting(this, new courseRowChangeEvent(((courseRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemovecourseRow(courseRow 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();
misDataSet ds = new misDataSet();
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 = "courseDataTable";
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 studentDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columns_id;
private System.Data.DataColumn columns_name;
private System.Data.DataColumn columns_sex;
private System.Data.DataColumn columns_depart;
private System.Data.DataColumn columns_class;
private System.Data.DataColumn columns_origin;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public studentDataTable() {
this.TableName = "student";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal studentDataTable(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 studentDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn s_idColumn {
get {
return this.columns_id;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn s_nameColumn {
get {
return this.columns_name;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn s_sexColumn {
get {
return this.columns_sex;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn s_departColumn {
get {
return this.columns_depart;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn s_classColumn {
get {
return this.columns_class;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn s_originColumn {
get {
return this.columns_origin;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public studentRow this[int index] {
get {
return ((studentRow)(this.Rows[index]));
}
}
public event studentRowChangeEventHandler studentRowChanging;
public event studentRowChangeEventHandler studentRowChanged;
public event studentRowChangeEventHandler studentRowDeleting;
public event studentRowChangeEventHandler studentRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddstudentRow(studentRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public studentRow AddstudentRow(int s_id, string s_name, string s_sex, string s_depart, string s_class, string s_origin) {
studentRow rowstudentRow = ((studentRow)(this.NewRow()));
rowstudentRow.ItemArray = new object[] {
s_id,
s_name,
s_sex,
s_depart,
s_class,
s_origin};
this.Rows.Add(rowstudentRow);
return rowstudentRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public studentRow FindBys_id(int s_id) {
return ((studentRow)(this.Rows.Find(new object[] {
s_id})));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -