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

📄 dataset2.cs

📁 C#数据库编程(酒店管理系统)
💻 CS
📖 第 1 页 / 共 5 页
字号:
                    return this.column是否加床;
                }
            }
            
            internal DataColumn 加床价格Column {
                get {
                    return this.column加床价格;
                }
            }
            
            internal DataColumn 预收款Column {
                get {
                    return this.column预收款;
                }
            }
            
            internal DataColumn 预定人Column {
                get {
                    return this.column预定人;
                }
            }
            
            internal DataColumn 预定公司Column {
                get {
                    return this.column预定公司;
                }
            }
            
            internal DataColumn 联系电话Column {
                get {
                    return this.column联系电话;
                }
            }
            
            internal DataColumn 备注Column {
                get {
                    return this.column备注;
                }
            }
            
            internal DataColumn 操作员Column {
                get {
                    return this.column操作员;
                }
            }
            
            internal DataColumn 业务员Column {
                get {
                    return this.column业务员;
                }
            }
            
            internal DataColumn 早餐Column {
                get {
                    return this.column早餐;
                }
            }
            
            internal DataColumn 叫醒Column {
                get {
                    return this.column叫醒;
                }
            }
            
            internal DataColumn 保密Column {
                get {
                    return this.column保密;
                }
            }
            
            internal DataColumn vipColumn {
                get {
                    return this.columnvip;
                }
            }
            
            internal DataColumn 电话等级Column {
                get {
                    return this.column电话等级;
                }
            }
            
            internal DataColumn 特要说明Column {
                get {
                    return this.column特要说明;
                }
            }
            
            internal DataColumn 应收帐款Column {
                get {
                    return this.column应收帐款;
                }
            }
            
            internal DataColumn 是否结帐Column {
                get {
                    return this.column是否结帐;
                }
            }
            
            internal DataColumn 结帐金额Column {
                get {
                    return this.column结帐金额;
                }
            }
            
            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 预定单号, 
                        int 会员编号, 
                        string 客房类型, 
                        System.DateTime 抵店时间, 
                        System.DateTime 离店时间, 
                        string 单据状态, 
                        int 入住人数, 
                        string 客房编号, 
                        System.Decimal 客房价格, 
                        System.Decimal 入住价格, 
                        System.Decimal 折扣, 
                        string 折扣原因, 
                        bool 是否加床, 
                        System.Decimal 加床价格, 
                        System.Decimal 预收款, 
                        string 预定人, 
                        string 预定公司, 
                        string 联系电话, 
                        string 备注, 
                        string 操作员, 
                        string 业务员, 
                        bool 早餐, 
                        bool 叫醒, 
                        bool 保密, 
                        bool vip, 
                        string 电话等级, 
                        string 特要说明, 
                        System.Decimal 应收帐款, 
                        bool 是否结帐, 
                        System.Decimal 结帐金额, 
                        System.DateTime 结帐日期, 
                        string 付款方式) {
                入住单Row row入住单Row = ((入住单Row)(this.NewRow()));
                row入住单Row.ItemArray = new object[] {
                        入住单号,
                        预定单号,
                        会员编号,
                        客房类型,
                        抵店时间,
                        离店时间,
                        单据状态,
                        入住人数,
                        客房编号,
                        客房价格,
                        入住价格,
                        折扣,
                        折扣原因,
                        是否加床,
                        加床价格,
                        预收款,
                        预定人,
                        预定公司,
                        联系电话,
                        备注,
                        操作员,
                        业务员,
                        早餐,
                        叫醒,
                        保密,
                        vip,
                        电话等级,
                        特要说明,
                        应收帐款,
                        是否结帐,
                        结帐金额,
                        结帐日期,
                        付款方式};
                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["预定单号"];
                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["预定人"];
                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.columnvip = this.Columns["vip"];
                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(int), 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.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(int), 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.Decimal), 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(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(bool), 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(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(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(bool), null, System.Data.MappingType.Element);
                this.Columns.Add(this.column早餐);
                this.column叫醒 = new DataColumn("叫醒"

⌨️ 快捷键说明

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