?? dataset1.cs
字號:
?//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.1.4322.573
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
namespace 教務管理系統 {
using System;
using System.Data;
using System.Xml;
using System.Runtime.Serialization;
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Diagnostics.DebuggerStepThrough()]
[System.ComponentModel.ToolboxItem(true)]
public class DataSet1 : DataSet {
private 政治面貌代碼表DataTable table政治面貌代碼表;
private 籍貫代碼表DataTable table籍貫代碼表;
private 民族代碼表DataTable table民族代碼表;
private 學籍代碼表DataTable table學籍代碼表;
private 班級信息DataTable table班級信息;
private 學生信息DataTable table學生信息;
private 課程信息DataTable table課程信息;
public DataSet1() {
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
protected DataSet1(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["政治面貌代碼表"] != null)) {
this.Tables.Add(new 政治面貌代碼表DataTable(ds.Tables["政治面貌代碼表"]));
}
if ((ds.Tables["籍貫代碼表"] != null)) {
this.Tables.Add(new 籍貫代碼表DataTable(ds.Tables["籍貫代碼表"]));
}
if ((ds.Tables["民族代碼表"] != null)) {
this.Tables.Add(new 民族代碼表DataTable(ds.Tables["民族代碼表"]));
}
if ((ds.Tables["學籍代碼表"] != null)) {
this.Tables.Add(new 學籍代碼表DataTable(ds.Tables["學籍代碼表"]));
}
if ((ds.Tables["班級信息"] != null)) {
this.Tables.Add(new 班級信息DataTable(ds.Tables["班級信息"]));
}
if ((ds.Tables["學生信息"] != null)) {
this.Tables.Add(new 學生信息DataTable(ds.Tables["學生信息"]));
}
if ((ds.Tables["課程信息"] != null)) {
this.Tables.Add(new 課程信息DataTable(ds.Tables["課程信息"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.InitClass();
}
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 政治面貌代碼表DataTable 政治面貌代碼表 {
get {
return this.table政治面貌代碼表;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 籍貫代碼表DataTable 籍貫代碼表 {
get {
return this.table籍貫代碼表;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 民族代碼表DataTable 民族代碼表 {
get {
return this.table民族代碼表;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 學籍代碼表DataTable 學籍代碼表 {
get {
return this.table學籍代碼表;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 班級信息DataTable 班級信息 {
get {
return this.table班級信息;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 學生信息DataTable 學生信息 {
get {
return this.table學生信息;
}
}
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
public 課程信息DataTable 課程信息 {
get {
return this.table課程信息;
}
}
public override DataSet Clone() {
DataSet1 cln = ((DataSet1)(base.Clone()));
cln.InitVars();
return cln;
}
protected override bool ShouldSerializeTables() {
return false;
}
protected override bool ShouldSerializeRelations() {
return false;
}
protected override void ReadXmlSerializable(XmlReader reader) {
this.Reset();
DataSet ds = new DataSet();
ds.ReadXml(reader);
if ((ds.Tables["政治面貌代碼表"] != null)) {
this.Tables.Add(new 政治面貌代碼表DataTable(ds.Tables["政治面貌代碼表"]));
}
if ((ds.Tables["籍貫代碼表"] != null)) {
this.Tables.Add(new 籍貫代碼表DataTable(ds.Tables["籍貫代碼表"]));
}
if ((ds.Tables["民族代碼表"] != null)) {
this.Tables.Add(new 民族代碼表DataTable(ds.Tables["民族代碼表"]));
}
if ((ds.Tables["學籍代碼表"] != null)) {
this.Tables.Add(new 學籍代碼表DataTable(ds.Tables["學籍代碼表"]));
}
if ((ds.Tables["班級信息"] != null)) {
this.Tables.Add(new 班級信息DataTable(ds.Tables["班級信息"]));
}
if ((ds.Tables["學生信息"] != null)) {
this.Tables.Add(new 學生信息DataTable(ds.Tables["學生信息"]));
}
if ((ds.Tables["課程信息"] != null)) {
this.Tables.Add(new 課程信息DataTable(ds.Tables["課程信息"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
}
internal void InitVars() {
this.table政治面貌代碼表 = ((政治面貌代碼表DataTable)(this.Tables["政治面貌代碼表"]));
if ((this.table政治面貌代碼表 != null)) {
this.table政治面貌代碼表.InitVars();
}
this.table籍貫代碼表 = ((籍貫代碼表DataTable)(this.Tables["籍貫代碼表"]));
if ((this.table籍貫代碼表 != null)) {
this.table籍貫代碼表.InitVars();
}
this.table民族代碼表 = ((民族代碼表DataTable)(this.Tables["民族代碼表"]));
if ((this.table民族代碼表 != null)) {
this.table民族代碼表.InitVars();
}
this.table學籍代碼表 = ((學籍代碼表DataTable)(this.Tables["學籍代碼表"]));
if ((this.table學籍代碼表 != null)) {
this.table學籍代碼表.InitVars();
}
this.table班級信息 = ((班級信息DataTable)(this.Tables["班級信息"]));
if ((this.table班級信息 != null)) {
this.table班級信息.InitVars();
}
this.table學生信息 = ((學生信息DataTable)(this.Tables["學生信息"]));
if ((this.table學生信息 != null)) {
this.table學生信息.InitVars();
}
this.table課程信息 = ((課程信息DataTable)(this.Tables["課程信息"]));
if ((this.table課程信息 != null)) {
this.table課程信息.InitVars();
}
}
private void InitClass() {
this.DataSetName = "DataSet1";
this.Prefix = "";
this.Namespace = "http://www.tempuri.org/DataSet1.xsd";
this.Locale = new System.Globalization.CultureInfo("zh-CN");
this.CaseSensitive = false;
this.EnforceConstraints = true;
this.table政治面貌代碼表 = new 政治面貌代碼表DataTable();
this.Tables.Add(this.table政治面貌代碼表);
this.table籍貫代碼表 = new 籍貫代碼表DataTable();
this.Tables.Add(this.table籍貫代碼表);
this.table民族代碼表 = new 民族代碼表DataTable();
this.Tables.Add(this.table民族代碼表);
this.table學籍代碼表 = new 學籍代碼表DataTable();
this.Tables.Add(this.table學籍代碼表);
this.table班級信息 = new 班級信息DataTable();
this.Tables.Add(this.table班級信息);
this.table學生信息 = new 學生信息DataTable();
this.Tables.Add(this.table學生信息);
this.table課程信息 = new 課程信息DataTable();
this.Tables.Add(this.table課程信息);
}
private bool ShouldSerialize政治面貌代碼表() {
return false;
}
private bool ShouldSerialize籍貫代碼表() {
return false;
}
private bool ShouldSerialize民族代碼表() {
return false;
}
private bool ShouldSerialize學籍代碼表() {
return false;
}
private bool ShouldSerialize班級信息() {
return false;
}
private bool ShouldSerialize學生信息() {
return false;
}
private bool ShouldSerialize課程信息() {
return false;
}
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
public delegate void 政治面貌代碼表RowChangeEventHandler(object sender, 政治面貌代碼表RowChangeEvent e);
public delegate void 籍貫代碼表RowChangeEventHandler(object sender, 籍貫代碼表RowChangeEvent e);
public delegate void 民族代碼表RowChangeEventHandler(object sender, 民族代碼表RowChangeEvent e);
public delegate void 學籍代碼表RowChangeEventHandler(object sender, 學籍代碼表RowChangeEvent e);
public delegate void 班級信息RowChangeEventHandler(object sender, 班級信息RowChangeEvent e);
public delegate void 學生信息RowChangeEventHandler(object sender, 學生信息RowChangeEvent e);
public delegate void 課程信息RowChangeEventHandler(object sender, 課程信息RowChangeEvent e);
[System.Diagnostics.DebuggerStepThrough()]
public class 政治面貌代碼表DataTable : DataTable, System.Collections.IEnumerable {
private DataColumn column政治面貌編號;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -