📄 studentdataset.designer.cs
字号:
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.ClassRowDeleted != null)) {
this.ClassRowDeleted(this, new ClassRowChangeEvent(((ClassRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.ClassRowDeleting != null)) {
this.ClassRowDeleting(this, new ClassRowChangeEvent(((ClassRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveClassRow(ClassRow 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();
studentDataSet ds = new studentDataSet();
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 = "ClassDataTable";
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 EnrolledDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn _columnS_;
private System.Data.DataColumn columnCname;
private System.Data.DataColumn columnGrade;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EnrolledDataTable() {
this.TableName = "Enrolled";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal EnrolledDataTable(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 EnrolledDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn _S_Column {
get {
return this._columnS_;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn CnameColumn {
get {
return this.columnCname;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn GradeColumn {
get {
return this.columnGrade;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EnrolledRow this[int index] {
get {
return ((EnrolledRow)(this.Rows[index]));
}
}
public event EnrolledRowChangeEventHandler EnrolledRowChanging;
public event EnrolledRowChangeEventHandler EnrolledRowChanged;
public event EnrolledRowChangeEventHandler EnrolledRowDeleting;
public event EnrolledRowChangeEventHandler EnrolledRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddEnrolledRow(EnrolledRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EnrolledRow AddEnrolledRow(int _S_, string Cname, int Grade) {
EnrolledRow rowEnrolledRow = ((EnrolledRow)(this.NewRow()));
rowEnrolledRow.ItemArray = new object[] {
_S_,
Cname,
Grade};
this.Rows.Add(rowEnrolledRow);
return rowEnrolledRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EnrolledRow FindBy_S_Cname(int _S_, string Cname) {
return ((EnrolledRow)(this.Rows.Find(new object[] {
_S_,
Cname})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
EnrolledDataTable cln = ((EnrolledDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new EnrolledDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this._columnS_ = base.Columns["S#"];
this.columnCname = base.Columns["Cname"];
this.columnGrade = base.Columns["Grade"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this._columnS_ = new System.Data.DataColumn("S#", typeof(int), null, System.Data.MappingType.Element);
this._columnS_.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_S_");
this._columnS_.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_S_Column");
this._columnS_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnS_");
this._columnS_.ExtendedProperties.Add("Generator_UserColumnName", "S#");
base.Columns.Add(this._columnS_);
this.columnCname = new System.Data.DataColumn("Cname", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnCname);
this.columnGrade = new System.Data.DataColumn("Grade", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnGrade);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this._columnS_,
this.columnCname}, true));
this._columnS_.AllowDBNull = false;
this.columnCname.AllowDBNull = false;
this.columnCname.MaxLength = 15;
this.columnGrade.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public EnrolledRow NewEnrolledRow() {
return ((EnrolledRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new EnrolledRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(EnrolledRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.EnrolledRowChanged != null)) {
this.EnrolledRowChanged(this, new EnrolledRowChangeEvent(((EnrolledRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.EnrolledRowChanging != null)) {
this.EnrolledRowChanging(this, new EnrolledRowChangeEvent(((EnrolledRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.EnrolledRowDeleted != null)) {
this.EnrolledRowDeleted(this, new EnrolledRowChangeEvent(((EnrolledRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.EnrolledRowDeleting != null)) {
this.EnrolledRowDeleting(this, new EnrolledRowChangeEvent(((EnrolledRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveEnrolledRow(EnrolledRow 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();
studentDataSet ds = new studentDataSet();
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;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -