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

📄 dataset1.cs

📁 由C开发的教务管理系统源码中的排课子系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
            private DataColumn column政治面貌;
            
            internal 政治面貌代码表DataTable() : 
                    base("政治面貌代码表") {
                this.InitClass();
            }
            
            internal 政治面貌代码表DataTable(DataTable table) : 
                    base(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;
                this.DisplayExpression = table.DisplayExpression;
            }
            
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            internal DataColumn 政治面貌编号Column {
                get {
                    return this.column政治面貌编号;
                }
            }
            
            internal DataColumn 政治面貌Column {
                get {
                    return this.column政治面貌;
                }
            }
            
            public 政治面貌代码表Row this[int index] {
                get {
                    return ((政治面貌代码表Row)(this.Rows[index]));
                }
            }
            
            public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowChanged;
            
            public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowChanging;
            
            public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowDeleted;
            
            public event 政治面貌代码表RowChangeEventHandler 政治面貌代码表RowDeleting;
            
            public void Add政治面貌代码表Row(政治面貌代码表Row row) {
                this.Rows.Add(row);
            }
            
            public 政治面貌代码表Row Add政治面貌代码表Row(string 政治面貌编号, string 政治面貌) {
                政治面貌代码表Row row政治面貌代码表Row = ((政治面貌代码表Row)(this.NewRow()));
                row政治面貌代码表Row.ItemArray = new object[] {
                        政治面貌编号,
                        政治面貌};
                this.Rows.Add(row政治面貌代码表Row);
                return row政治面貌代码表Row;
            }
            
            public 政治面貌代码表Row FindBy政治面貌编号(string 政治面貌编号) {
                return ((政治面貌代码表Row)(this.Rows.Find(new object[] {
                            政治面貌编号})));
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                政治面貌代码表DataTable cln = ((政治面貌代码表DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new 政治面貌代码表DataTable();
            }
            
            internal void InitVars() {
                this.column政治面貌编号 = this.Columns["政治面貌编号"];
                this.column政治面貌 = this.Columns["政治面貌"];
            }
            
            private void InitClass() {
                this.column政治面貌编号 = new DataColumn("政治面貌编号", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column政治面貌编号);
                this.column政治面貌 = new DataColumn("政治面貌", typeof(string), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column政治面貌);
                this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
                                this.column政治面貌编号}, true));
                this.column政治面貌编号.AllowDBNull = false;
                this.column政治面貌编号.Unique = true;
            }
            
            public 政治面貌代码表Row New政治面貌代码表Row() {
                return ((政治面貌代码表Row)(this.NewRow()));
            }
            
            protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
                return new 政治面貌代码表Row(builder);
            }
            
            protected override System.Type GetRowType() {
                return typeof(政治面貌代码表Row);
            }
            
            protected override void OnRowChanged(DataRowChangeEventArgs e) {
                base.OnRowChanged(e);
                if ((this.政治面貌代码表RowChanged != null)) {
                    this.政治面貌代码表RowChanged(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowChanging(DataRowChangeEventArgs e) {
                base.OnRowChanging(e);
                if ((this.政治面貌代码表RowChanging != null)) {
                    this.政治面貌代码表RowChanging(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleted(DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.政治面貌代码表RowDeleted != null)) {
                    this.政治面貌代码表RowDeleted(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleting(DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.政治面貌代码表RowDeleting != null)) {
                    this.政治面貌代码表RowDeleting(this, new 政治面貌代码表RowChangeEvent(((政治面貌代码表Row)(e.Row)), e.Action));
                }
            }
            
            public void Remove政治面貌代码表Row(政治面貌代码表Row row) {
                this.Rows.Remove(row);
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class 政治面貌代码表Row : DataRow {
            
            private 政治面貌代码表DataTable table政治面貌代码表;
            
            internal 政治面貌代码表Row(DataRowBuilder rb) : 
                    base(rb) {
                this.table政治面貌代码表 = ((政治面貌代码表DataTable)(this.Table));
            }
            
            public string 政治面貌编号 {
                get {
                    return ((string)(this[this.table政治面貌代码表.政治面貌编号Column]));
                }
                set {
                    this[this.table政治面貌代码表.政治面貌编号Column] = value;
                }
            }
            
            public string 政治面貌 {
                get {
                    try {
                        return ((string)(this[this.table政治面貌代码表.政治面貌Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table政治面貌代码表.政治面貌Column] = value;
                }
            }
            
            public bool Is政治面貌Null() {
                return this.IsNull(this.table政治面貌代码表.政治面貌Column);
            }
            
            public void Set政治面貌Null() {
                this[this.table政治面貌代码表.政治面貌Column] = System.Convert.DBNull;
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class 政治面貌代码表RowChangeEvent : EventArgs {
            
            private 政治面貌代码表Row eventRow;
            
            private DataRowAction eventAction;
            
            public 政治面貌代码表RowChangeEvent(政治面貌代码表Row row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public 政治面貌代码表Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class 籍贯代码表DataTable : DataTable, System.Collections.IEnumerable {
            
            private DataColumn column籍贯编号;
            
            private DataColumn column籍贯;
            
            internal 籍贯代码表DataTable() : 
                    base("籍贯代码表") {
                this.InitClass();
            }
            
            internal 籍贯代码表DataTable(DataTable table) : 
                    base(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;
                this.DisplayExpression = table.DisplayExpression;
            }
            
            [System.ComponentModel.Browsable(false)]
            public int Count {
                get {
                    return this.Rows.Count;
                }
            }
            
            internal DataColumn 籍贯编号Column {
                get {
                    return this.column籍贯编号;
                }
            }
            
            internal DataColumn 籍贯Column {
                get {
                    return this.column籍贯;
                }
            }
            
            public 籍贯代码表Row this[int index] {
                get {
                    return ((籍贯代码表Row)(this.Rows[index]));
                }
            }
            
            public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowChanged;
            
            public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowChanging;
            
            public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowDeleted;
            
            public event 籍贯代码表RowChangeEventHandler 籍贯代码表RowDeleting;
            
            public void Add籍贯代码表Row(籍贯代码表Row row) {
                this.Rows.Add(row);
            }
            
            public 籍贯代码表Row Add籍贯代码表Row(string 籍贯编号, string 籍贯) {
                籍贯代码表Row row籍贯代码表Row = ((籍贯代码表Row)(this.NewRow()));
                row籍贯代码表Row.ItemArray = new object[] {
                        籍贯编号,
                        籍贯};
                this.Rows.Add(row籍贯代码表Row);
                return row籍贯代码表Row;
            }
            
            public 籍贯代码表Row FindBy籍贯编号(string 籍贯编号) {
                return ((籍贯代码表Row)(this.Rows.Find(new object[] {
                            籍贯编号})));
            }
            
            public System.Collections.IEnumerator GetEnumerator() {
                return this.Rows.GetEnumerator();
            }
            
            public override DataTable Clone() {
                籍贯代码表DataTable cln = ((籍贯代码表DataTable)(base.Clone()));
                cln.InitVars();
                return cln;
            }
            
            protected override DataTable CreateInstance() {
                return new 籍贯代码表DataTable();

⌨️ 快捷键说明

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