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

📄 testlibrarydataset.designer.cs

📁 计算机考试管理系统 包括模拟测试
💻 CS
📖 第 1 页 / 共 5 页
字号:
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class SQuestionDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columnNumber;
            
            private System.Data.DataColumn columnQuestion;
            
            private System.Data.DataColumn columnChoiceA;
            
            private System.Data.DataColumn columnChoiceB;
            
            private System.Data.DataColumn columnChoiceC;
            
            private System.Data.DataColumn columnChoiceD;
            
            private System.Data.DataColumn columnAnswer;
            
            private System.Data.DataColumn columnDifficulty;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SQuestionDataTable() {
                this.TableName = "SQuestion";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal SQuestionDataTable(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 SQuestionDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn NumberColumn {
                get {
                    return this.columnNumber;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn QuestionColumn {
                get {
                    return this.columnQuestion;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ChoiceAColumn {
                get {
                    return this.columnChoiceA;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ChoiceBColumn {
                get {
                    return this.columnChoiceB;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ChoiceCColumn {
                get {
                    return this.columnChoiceC;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn ChoiceDColumn {
                get {
                    return this.columnChoiceD;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn AnswerColumn {
                get {
                    return this.columnAnswer;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn DifficultyColumn {
                get {
                    return this.columnDifficulty;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SQuestionRow this[int index] {
                get {
                    return ((SQuestionRow)(this.Rows[index]));
                }
            }
            
            public event SQuestionRowChangeEventHandler SQuestionRowChanging;
            
            public event SQuestionRowChangeEventHandler SQuestionRowChanged;
            
            public event SQuestionRowChangeEventHandler SQuestionRowDeleting;
            
            public event SQuestionRowChangeEventHandler SQuestionRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void AddSQuestionRow(SQuestionRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SQuestionRow AddSQuestionRow(int Number, string Question, string ChoiceA, string ChoiceB, string ChoiceC, string ChoiceD, byte Answer, byte Difficulty) {
                SQuestionRow rowSQuestionRow = ((SQuestionRow)(this.NewRow()));
                rowSQuestionRow.ItemArray = new object[] {
                        Number,
                        Question,
                        ChoiceA,
                        ChoiceB,
                        ChoiceC,
                        ChoiceD,
                        Answer,
                        Difficulty};
                this.Rows.Add(rowSQuestionRow);
                return rowSQuestionRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SQuestionRow FindByNumber(int Number) {
                return ((SQuestionRow)(this.Rows.Find(new object[] {
                            Number})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                SQuestionDataTable cln = ((SQuestionDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new SQuestionDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columnNumber = base.Columns["Number"];
                this.columnQuestion = base.Columns["Question"];
                this.columnChoiceA = base.Columns["ChoiceA"];
                this.columnChoiceB = base.Columns["ChoiceB"];
                this.columnChoiceC = base.Columns["ChoiceC"];
                this.columnChoiceD = base.Columns["ChoiceD"];
                this.columnAnswer = base.Columns["Answer"];
                this.columnDifficulty = base.Columns["Difficulty"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columnNumber = new System.Data.DataColumn("Number", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnNumber);
                this.columnQuestion = new System.Data.DataColumn("Question", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnQuestion);
                this.columnChoiceA = new System.Data.DataColumn("ChoiceA", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnChoiceA);
                this.columnChoiceB = new System.Data.DataColumn("ChoiceB", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnChoiceB);
                this.columnChoiceC = new System.Data.DataColumn("ChoiceC", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnChoiceC);
                this.columnChoiceD = new System.Data.DataColumn("ChoiceD", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnChoiceD);
                this.columnAnswer = new System.Data.DataColumn("Answer", typeof(byte), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnAnswer);
                this.columnDifficulty = new System.Data.DataColumn("Difficulty", typeof(byte), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columnDifficulty);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columnNumber}, true));
                this.columnNumber.AllowDBNull = false;
                this.columnNumber.Unique = true;
                this.columnQuestion.AllowDBNull = false;
                this.columnQuestion.MaxLength = 2048;
                this.columnChoiceA.MaxLength = 256;
                this.columnChoiceB.MaxLength = 256;
                this.columnChoiceC.MaxLength = 256;
                this.columnChoiceD.MaxLength = 256;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public SQuestionRow NewSQuestionRow() {
                return ((SQuestionRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new SQuestionRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(SQuestionRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.SQuestionRowChanged != null)) {
                    this.SQuestionRowChanged(this, new SQuestionRowChangeEvent(((SQuestionRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.SQuestionRowChanging != null)) {
                    this.SQuestionRowChanging(this, new SQuestionRowChangeEvent(((SQuestionRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.SQuestionRowDeleted != null)) {
                    this.SQuestionRowDeleted(this, new SQuestionRowChangeEvent(((SQuestionRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.SQuestionRowDeleting != null)) {
                    this.SQuestionRowDeleting(this, new SQuestionRowChangeEvent(((SQuestionRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemoveSQuestionRow(SQuestionRow 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();
                TestLibraryDataSet ds = new TestLibraryDataSet();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";

⌨️ 快捷键说明

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