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

📄 dataset2.cs

📁 医院门诊收费系统
💻 CS
📖 第 1 页 / 共 5 页
字号:
                return row门诊划价Row;
            }
            
            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["性别"];
                this.column编号 = this.Columns["编号"];
                this.column科室 = this.Columns["科室"];
                this.column挂号编号 = this.Columns["挂号编号"];
                this.column医生 = this.Columns["医生"];
                this.column划价时间 = this.Columns["划价时间"];
                this.column划价员 = this.Columns["划价员"];
                this.column是否收费 = this.Columns["是否收费"];
                this.column收费员 = this.Columns["收费员"];
                this.column收费时间 = this.Columns["收费时间"];
                this.column划价金额 = this.Columns["划价金额"];
                this.column是否发药 = this.Columns["是否发药"];
                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.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.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.column划价时间 = new DataColumn("划价时间", typeof(System.DateTime), 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.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.column收费时间 = new DataColumn("收费时间", typeof(System.DateTime), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column收费时间);
                this.column划价金额 = new DataColumn("划价金额", typeof(System.Decimal), 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.column发药时间 = new DataColumn("发药时间", typeof(System.DateTime), 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.column姓名.AllowDBNull = false;
                this.column挂号编号.AllowDBNull = false;
                this.column收费员.AllowDBNull = false;
                this.column是否发药.AllowDBNull = false;
                this.column发药时间.AllowDBNull = false;
                this.column发药员.AllowDBNull = false;
            }
            
            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 string 编号 {
                get {
                    try {
                        return ((string)(this[this.table门诊划价.编号Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                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 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 System.DateTime 划价时间 {
                get {
                    try {
                        return ((System.DateTime)(this[this.table门诊划价.划价时间Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                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 string 是否收费 {
                get {
                    try {
                        return ((string)(this[this.table门诊划价.是否收费Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table门诊划价.是否收费Column] = value;
                }
            }
            
            public string 收费员 {
                get {
                    return ((string)(this[this.table门诊划价.收费员Column]));
                }
                set {
                    this[this.table门诊划价.收费员Column] = value;
                }
            }
            
            public System.DateTime 收费时间 {
                get {
                    try {
                        return ((System.DateTime)(this[this.table门诊划价.收费时间Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table门诊划价.收费时间Column] = value;
                }
            }
            
            public System.Decimal 划价金额 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table门诊划价.划价金额Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.table门诊划价.划价金额Column] = value;
                }
            }
            
            public string 是否发药 {
                get {
                    return ((string)(this[this.table门诊划价.是否发药Column]));
                }
                set {
                    this[this.table门诊划价.是否发药Column] = value;
                }
            }
            
            public System.DateTime 发药时间 {
                get {
                    return ((System.DateTime)(this[this.table门诊划价.发药时间Column]));
                }
                set {
                    this[this.table门诊划价.发药时间Column] = value;
                }
            }
            
            public string 发药员 {
                get {
                    return ((string)(this[this.table门诊划价.发药员Column]));
                }
                set {
                    this[this.table门诊划价.发药员Column] = value;
                }
            }
            
            public bool Is性别Null() {
                return this.IsNull(this.table门诊划价.性别Column);

⌨️ 快捷键说明

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