📄 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用户权限表;
private 班级信息DataTable table班级信息;
private 用户权限表1DataTable table用户权限表1;
private DataRelation relation学籍代码表_学生信息;
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["用户权限表"]));
}
if ((ds.Tables["班级信息"] != null)) {
this.Tables.Add(new 班级信息DataTable(ds.Tables["班级信息"]));
}
if ((ds.Tables["用户权限表1"] != null)) {
this.Tables.Add(new 用户权限表1DataTable(ds.Tables["用户权限表1"]));
}
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用户权限表;
}
}
[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 用户权限表1DataTable 用户权限表1 {
get {
return this.table用户权限表1;
}
}
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["用户权限表"]));
}
if ((ds.Tables["班级信息"] != null)) {
this.Tables.Add(new 班级信息DataTable(ds.Tables["班级信息"]));
}
if ((ds.Tables["用户权限表1"] != null)) {
this.Tables.Add(new 用户权限表1DataTable(ds.Tables["用户权限表1"]));
}
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();
}
this.table班级信息 = ((班级信息DataTable)(this.Tables["班级信息"]));
if ((this.table班级信息 != null)) {
this.table班级信息.InitVars();
}
this.table用户权限表1 = ((用户权限表1DataTable)(this.Tables["用户权限表1"]));
if ((this.table用户权限表1 != null)) {
this.table用户权限表1.InitVars();
}
this.relation学籍代码表_学生信息 = this.Relations["学籍代码表_学生信息"];
}
private void InitClass() {
this.DataSetName = "Dataset1";
this.Prefix = "";
this.Namespace = "http://www.tempuri.org/Dataset1.xsd";
this.Locale = new System.Globalization.CultureInfo("en-US");
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用户权限表);
this.table班级信息 = new 班级信息DataTable();
this.Tables.Add(this.table班级信息);
this.table用户权限表1 = new 用户权限表1DataTable();
this.Tables.Add(this.table用户权限表1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -