📄 stuaddedinfo.designer.cs
字号:
base.Columns.Add(this.columnchange_reason);
this.columnchange_date = new System.Data.DataColumn("change_date", typeof(System.DateTime), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnchange_date);
this.columnchangeType_name = new System.Data.DataColumn("changeType_name", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnchangeType_name);
this.Constraints.Add(new System.Data.UniqueConstraint("StuAddedInfoKey2", new System.Data.DataColumn[] {
this.columnchange_ID}, true));
this.columnchange_ID.AutoIncrement = true;
this.columnchange_ID.AllowDBNull = false;
this.columnchange_ID.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public changesRow NewchangesRow() {
return ((changesRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new changesRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(changesRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.changesRowChanged != null)) {
this.changesRowChanged(this, new changesRowChangeEvent(((changesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.changesRowChanging != null)) {
this.changesRowChanging(this, new changesRowChangeEvent(((changesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.changesRowDeleted != null)) {
this.changesRowDeleted(this, new changesRowChangeEvent(((changesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.changesRowDeleting != null)) {
this.changesRowDeleting(this, new changesRowChangeEvent(((changesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemovechangesRow(changesRow 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();
StuAddedInfo ds = new StuAddedInfo();
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 = "changesDataTable";
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 punishmentsDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnpunishment_ID;
private System.Data.DataColumn columnpunishment_studentID;
private System.Data.DataColumn columnpunishment_typeID;
private System.Data.DataColumn columnpunishment_reason;
private System.Data.DataColumn columnpunishment_date;
private System.Data.DataColumn columnpunishment_isMoved;
private System.Data.DataColumn columnpunishmentType_name;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public punishmentsDataTable() {
this.TableName = "punishments";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal punishmentsDataTable(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 punishmentsDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishment_IDColumn {
get {
return this.columnpunishment_ID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishment_studentIDColumn {
get {
return this.columnpunishment_studentID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishment_typeIDColumn {
get {
return this.columnpunishment_typeID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishment_reasonColumn {
get {
return this.columnpunishment_reason;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishment_dateColumn {
get {
return this.columnpunishment_date;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishment_isMovedColumn {
get {
return this.columnpunishment_isMoved;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn punishmentType_nameColumn {
get {
return this.columnpunishmentType_name;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public punishmentsRow this[int index] {
get {
return ((punishmentsRow)(this.Rows[index]));
}
}
public event punishmentsRowChangeEventHandler punishmentsRowChanging;
public event punishmentsRowChangeEventHandler punishmentsRowChanged;
public event punishmentsRowChangeEventHandler punishmentsRowDeleting;
public event punishmentsRowChangeEventHandler punishmentsRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddpunishmentsRow(punishmentsRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public punishmentsRow AddpunishmentsRow(string punishment_studentID, punishmentTypesRow parentpunishmentTypesRowBypunishmentTypespunishments, string punishment_reason, System.DateTime punishment_date, bool punishment_isMoved, string punishmentType_name) {
punishmentsRow rowpunishmentsRow = ((punishmentsRow)(this.NewRow()));
rowpunishmentsRow.ItemArray = new object[] {
null,
punishment_studentID,
parentpunishmentTypesRowBypunishmentTypespunishments[0],
punishment_reason,
punishment_date,
punishment_isMoved,
punishmentType_name};
this.Rows.Add(rowpunishmentsRow);
return rowpunishmentsRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public punishmentsRow FindBypunishment_ID(int punishment_ID) {
return ((punishmentsRow)(this.Rows.Find(new object[] {
punishment_ID})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
punishmentsDataTable cln = ((punishmentsDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new punishmentsDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnpunishment_ID = base.Columns["punishment_ID"];
this.columnpunishment_studentID = base.Columns["punishment_studentID"];
this.columnpunishment_typeID = base.Columns["punishment_typeID"];
this.columnpunishment_reason = base.Columns["punishment_reason"];
this.columnpunishment_date = base.Columns["punishment_date"];
this.columnpunishment_isMoved = base.Columns["punishment_isMoved"];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -