⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dataset1.cs

📁 成绩管理系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
//------------------------------------------------------------------------------
// <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 tang {
    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 实验室管理人员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["考勤记录"]));
                }
                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考勤记录;
            }
        }
        
        [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["考勤记录"]));
            }
            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();
            }
            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考勤记录);
            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;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -