📄 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课程编号;
private DataColumn column课程名称;
private DataColumn column本学期课程;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -