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

📄 misdataset.designer.cs

📁 一个CSharp写的小型信息系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                studentDataTable cln = ((studentDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new studentDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columns_id = base.Columns["s_id"];
                this.columns_name = base.Columns["s_name"];
                this.columns_sex = base.Columns["s_sex"];
                this.columns_depart = base.Columns["s_depart"];
                this.columns_class = base.Columns["s_class"];
                this.columns_origin = base.Columns["s_origin"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columns_id = new System.Data.DataColumn("s_id", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_id);
                this.columns_name = new System.Data.DataColumn("s_name", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_name);
                this.columns_sex = new System.Data.DataColumn("s_sex", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_sex);
                this.columns_depart = new System.Data.DataColumn("s_depart", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_depart);
                this.columns_class = new System.Data.DataColumn("s_class", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_class);
                this.columns_origin = new System.Data.DataColumn("s_origin", typeof(string), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_origin);
                this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
                                this.columns_id}, true));
                this.columns_id.AllowDBNull = false;
                this.columns_id.Unique = true;
                this.columns_name.AllowDBNull = false;
                this.columns_name.MaxLength = 50;
                this.columns_sex.AllowDBNull = false;
                this.columns_sex.MaxLength = 50;
                this.columns_depart.AllowDBNull = false;
                this.columns_depart.MaxLength = 50;
                this.columns_class.AllowDBNull = false;
                this.columns_class.MaxLength = 50;
                this.columns_origin.MaxLength = 50;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public studentRow NewstudentRow() {
                return ((studentRow)(this.NewRow()));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
                return new studentRow(builder);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Type GetRowType() {
                return typeof(studentRow);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.studentRowChanged != null)) {
                    this.studentRowChanged(this, new studentRowChangeEvent(((studentRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.studentRowChanging != null)) {
                    this.studentRowChanging(this, new studentRowChangeEvent(((studentRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.studentRowDeleted != null)) {
                    this.studentRowDeleted(this, new studentRowChangeEvent(((studentRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.studentRowDeleting != null)) {
                    this.studentRowDeleting(this, new studentRowChangeEvent(((studentRow)(e.Row)), e.Action));
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void RemovestudentRow(studentRow 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();
                misDataSet ds = new misDataSet();
                xs.Add(ds.GetSchemaSerializable());
                System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
                any1.Namespace = "http://www.w3.org/2001/XMLSchema";
                any1.MinOccurs = new decimal(0);
                any1.MaxOccurs = decimal.MaxValue;
                any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any1);
                System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
                any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
                any2.MinOccurs = new decimal(1);
                any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
                sequence.Items.Add(any2);
                System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute1.Name = "namespace";
                attribute1.FixedValue = ds.Namespace;
                type.Attributes.Add(attribute1);
                System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
                attribute2.Name = "tableTypeName";
                attribute2.FixedValue = "studentDataTable";
                type.Attributes.Add(attribute2);
                type.Particle = sequence;
                return type;
            }
        }
        
        [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
        [System.Serializable()]
        [System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
        public partial class student_courseDataTable : System.Data.DataTable, System.Collections.IEnumerable {
            
            private System.Data.DataColumn columns_id;
            
            private System.Data.DataColumn columnc_id;
            
            private System.Data.DataColumn columnscore;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_courseDataTable() {
                this.TableName = "student_course";
                this.BeginInit();
                this.InitClass();
                this.EndInit();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal student_courseDataTable(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 student_courseDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : 
                    base(info, context) {
                this.InitVars();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn s_idColumn {
                get {
                    return this.columns_id;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn c_idColumn {
                get {
                    return this.columnc_id;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public System.Data.DataColumn scoreColumn {
                get {
                    return this.columnscore;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_courseRow this[int index] {
                get {
                    return ((student_courseRow)(this.Rows[index]));
                }
            }
            
            public event student_courseRowChangeEventHandler student_courseRowChanging;
            
            public event student_courseRowChangeEventHandler student_courseRowChanged;
            
            public event student_courseRowChangeEventHandler student_courseRowDeleting;
            
            public event student_courseRowChangeEventHandler student_courseRowDeleted;
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public void Addstudent_courseRow(student_courseRow row) {
                this.Rows.Add(row);
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_courseRow Addstudent_courseRow(studentRow parentstudentRowByFK_student_course_student, courseRow parentcourseRowByFK_student_course_course, decimal score) {
                student_courseRow rowstudent_courseRow = ((student_courseRow)(this.NewRow()));
                rowstudent_courseRow.ItemArray = new object[] {
                        parentstudentRowByFK_student_course_student[0],
                        parentcourseRowByFK_student_course_course[0],
                        score};
                this.Rows.Add(rowstudent_courseRow);
                return rowstudent_courseRow;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public student_courseRow FindBys_idc_id(int s_id, int c_id) {
                return ((student_courseRow)(this.Rows.Find(new object[] {
                            s_id,
                            c_id})));
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public virtual System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            public override System.Data.DataTable Clone() {
                student_courseDataTable cln = ((student_courseDataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            protected override System.Data.DataTable CreateInstance() {
                return new student_courseDataTable();
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            internal void InitVars() {
                this.columns_id = base.Columns["s_id"];
                this.columnc_id = base.Columns["c_id"];
                this.columnscore = base.Columns["score"];
            }
            
            [System.Diagnostics.DebuggerNonUserCodeAttribute()]
            private void InitClass() {
                this.columns_id = new System.Data.DataColumn("s_id", typeof(int), null, System.Data.MappingType.Element);
                base.Columns.Add(this.columns_id);

⌨️ 快捷键说明

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