roominfodata.cs

来自「真的很不错哦 用了c#开发 面向对象过程」· CS 代码 · 共 793 行 · 第 1/3 页

CS
793
字号
                    }
                }
                set {
                    this[this.tableRoomInfo_value.AnameColumn] = value;
                }
            }
            
            public string Uname {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.UnameColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.UnameColumn] = value;
                }
            }
            
            public string OderPrice {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.OderPriceColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.OderPriceColumn] = value;
                }
            }
            
            public string WorkPrice {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.WorkPriceColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.WorkPriceColumn] = value;
                }
            }
            
            public string NdepositMoney {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.NdepositMoneyColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.NdepositMoneyColumn] = value;
                }
            }
            
            public string RoomMoney {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.RoomMoneyColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.RoomMoneyColumn] = value;
                }
            }
            
            public string totalMoney {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.totalMoneyColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.totalMoneyColumn] = value;
                }
            }
            
            public System.DateTime ndatetime {
                get {
                    try {
                        return ((System.DateTime)(this[this.tableRoomInfo_value.ndatetimeColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.ndatetimeColumn] = value;
                }
            }
            
            public System.DateTime leaveTime {
                get {
                    try {
                        return ((System.DateTime)(this[this.tableRoomInfo_value.leaveTimeColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.leaveTimeColumn] = value;
                }
            }
            
            public string UseTime {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.UseTimeColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.UseTimeColumn] = value;
                }
            }
            
            public string Remark {
                get {
                    try {
                        return ((string)(this[this.tableRoomInfo_value.RemarkColumn]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableRoomInfo_value.RemarkColumn] = value;
                }
            }
            
            public bool IsAnameNull() {
                return this.IsNull(this.tableRoomInfo_value.AnameColumn);
            }
            
            public void SetAnameNull() {
                this[this.tableRoomInfo_value.AnameColumn] = System.Convert.DBNull;
            }
            
            public bool IsUnameNull() {
                return this.IsNull(this.tableRoomInfo_value.UnameColumn);
            }
            
            public void SetUnameNull() {
                this[this.tableRoomInfo_value.UnameColumn] = System.Convert.DBNull;
            }
            
            public bool IsOderPriceNull() {
                return this.IsNull(this.tableRoomInfo_value.OderPriceColumn);
            }
            
            public void SetOderPriceNull() {
                this[this.tableRoomInfo_value.OderPriceColumn] = System.Convert.DBNull;
            }
            
            public bool IsWorkPriceNull() {
                return this.IsNull(this.tableRoomInfo_value.WorkPriceColumn);
            }
            
            public void SetWorkPriceNull() {
                this[this.tableRoomInfo_value.WorkPriceColumn] = System.Convert.DBNull;
            }
            
            public bool IsNdepositMoneyNull() {
                return this.IsNull(this.tableRoomInfo_value.NdepositMoneyColumn);
            }
            
            public void SetNdepositMoneyNull() {
                this[this.tableRoomInfo_value.NdepositMoneyColumn] = System.Convert.DBNull;
            }
            
            public bool IsRoomMoneyNull() {
                return this.IsNull(this.tableRoomInfo_value.RoomMoneyColumn);
            }
            
            public void SetRoomMoneyNull() {
                this[this.tableRoomInfo_value.RoomMoneyColumn] = System.Convert.DBNull;
            }
            
            public bool IstotalMoneyNull() {
                return this.IsNull(this.tableRoomInfo_value.totalMoneyColumn);
            }
            
            public void SettotalMoneyNull() {
                this[this.tableRoomInfo_value.totalMoneyColumn] = System.Convert.DBNull;
            }
            
            public bool IsndatetimeNull() {
                return this.IsNull(this.tableRoomInfo_value.ndatetimeColumn);
            }
            
            public void SetndatetimeNull() {
                this[this.tableRoomInfo_value.ndatetimeColumn] = System.Convert.DBNull;
            }
            
            public bool IsleaveTimeNull() {
                return this.IsNull(this.tableRoomInfo_value.leaveTimeColumn);
            }
            
            public void SetleaveTimeNull() {
                this[this.tableRoomInfo_value.leaveTimeColumn] = System.Convert.DBNull;
            }
            
            public bool IsUseTimeNull() {
                return this.IsNull(this.tableRoomInfo_value.UseTimeColumn);
            }
            
            public void SetUseTimeNull() {
                this[this.tableRoomInfo_value.UseTimeColumn] = System.Convert.DBNull;
            }
            
            public bool IsRemarkNull() {
                return this.IsNull(this.tableRoomInfo_value.RemarkColumn);
            }
            
            public void SetRemarkNull() {
                this[this.tableRoomInfo_value.RemarkColumn] = System.Convert.DBNull;
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class RoomInfo_valueRowChangeEvent : EventArgs {
            
            private RoomInfo_valueRow eventRow;
            
            private DataRowAction eventAction;
            
            public RoomInfo_valueRowChangeEvent(RoomInfo_valueRow row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public RoomInfo_valueRow Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}

⌨️ 快捷键说明

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