📄 organization.designer.cs
字号:
this.columnspeciality_college = base.Columns["speciality_college"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnspeciality_ID = new System.Data.DataColumn("speciality_ID", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnspeciality_ID);
this.columnspeciality_name = new System.Data.DataColumn("speciality_name", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnspeciality_name);
this.columnspeciality_college = new System.Data.DataColumn("speciality_college", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnspeciality_college);
this.Constraints.Add(new System.Data.UniqueConstraint("OrganizationKey2", new System.Data.DataColumn[] {
this.columnspeciality_ID}, true));
this.columnspeciality_ID.AllowDBNull = false;
this.columnspeciality_ID.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public specialityRow NewspecialityRow() {
return ((specialityRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new specialityRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(specialityRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.specialityRowChanged != null)) {
this.specialityRowChanged(this, new specialityRowChangeEvent(((specialityRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.specialityRowChanging != null)) {
this.specialityRowChanging(this, new specialityRowChangeEvent(((specialityRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.specialityRowDeleted != null)) {
this.specialityRowDeleted(this, new specialityRowChangeEvent(((specialityRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.specialityRowDeleting != null)) {
this.specialityRowDeleting(this, new specialityRowChangeEvent(((specialityRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemovespecialityRow(specialityRow 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();
Organization ds = new Organization();
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 = "specialityDataTable";
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 classesDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnclass_ID;
private System.Data.DataColumn columnclass_name;
private System.Data.DataColumn columnclass_headTeacher;
private System.Data.DataColumn columnclass_speciality;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public classesDataTable() {
this.TableName = "classes";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal classesDataTable(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 classesDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn class_IDColumn {
get {
return this.columnclass_ID;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn class_nameColumn {
get {
return this.columnclass_name;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn class_headTeacherColumn {
get {
return this.columnclass_headTeacher;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn class_specialityColumn {
get {
return this.columnclass_speciality;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public classesRow this[int index] {
get {
return ((classesRow)(this.Rows[index]));
}
}
public event classesRowChangeEventHandler classesRowChanging;
public event classesRowChangeEventHandler classesRowChanged;
public event classesRowChangeEventHandler classesRowDeleting;
public event classesRowChangeEventHandler classesRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddclassesRow(classesRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public classesRow AddclassesRow(string class_ID, string class_name, string class_headTeacher, string class_speciality) {
classesRow rowclassesRow = ((classesRow)(this.NewRow()));
rowclassesRow.ItemArray = new object[] {
class_ID,
class_name,
class_headTeacher,
class_speciality};
this.Rows.Add(rowclassesRow);
return rowclassesRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public classesRow FindByclass_ID(string class_ID) {
return ((classesRow)(this.Rows.Find(new object[] {
class_ID})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
classesDataTable cln = ((classesDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new classesDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnclass_ID = base.Columns["class_ID"];
this.columnclass_name = base.Columns["class_name"];
this.columnclass_headTeacher = base.Columns["class_headTeacher"];
this.columnclass_speciality = base.Columns["class_speciality"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnclass_ID = new System.Data.DataColumn("class_ID", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnclass_ID);
this.columnclass_name = new System.Data.DataColumn("class_name", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnclass_name);
this.columnclass_headTeacher = new System.Data.DataColumn("class_headTeacher", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnclass_headTeacher);
this.columnclass_speciality = new System.Data.DataColumn("class_speciality", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnclass_speciality);
this.Constraints.Add(new System.Data.UniqueConstraint("OrganizationKey3", new System.Data.DataColumn[] {
this.columnclass_ID}, true));
this.columnclass_ID.AllowDBNull = false;
this.columnclass_ID.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public classesRow NewclassesRow() {
return ((classesRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new classesRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(classesRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.classesRowChanged != null)) {
this.classesRowChanged(this, new classesRowChangeEvent(((classesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.classesRowChanging != null)) {
this.classesRowChanging(this, new classesRowChangeEvent(((classesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.classesRowDeleted != null)) {
this.classesRowDeleted(this, new classesRowChangeEvent(((classesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.classesRowDeleting != null)) {
this.classesRowDeleting(this, new classesRowChangeEvent(((classesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveclassesRow(classesRow 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();
Organization ds = new Organization();
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);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -