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

📄 stockformds1.cs

📁 制造业ERP系统搜集
💻 CS
📖 第 1 页 / 共 4 页
字号:
            }
            
            protected override void OnRowDeleted(DataRowChangeEventArgs e) {
                base.OnRowDeleted(e);
                if ((this.view_采购订单明细历史RowDeleted != null)) {
                    this.view_采购订单明细历史RowDeleted(this, new view_采购订单明细历史RowChangeEvent(((view_采购订单明细历史Row)(e.Row)), e.Action));
                }
            }
            
            protected override void OnRowDeleting(DataRowChangeEventArgs e) {
                base.OnRowDeleting(e);
                if ((this.view_采购订单明细历史RowDeleting != null)) {
                    this.view_采购订单明细历史RowDeleting(this, new view_采购订单明细历史RowChangeEvent(((view_采购订单明细历史Row)(e.Row)), e.Action));
                }
            }
            
            public void Removeview_采购订单明细历史Row(view_采购订单明细历史Row row) {
                this.Rows.Remove(row);
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class view_采购订单明细历史Row : DataRow {
            
            private view_采购订单明细历史DataTable tableview_采购订单明细历史;
            
            internal view_采购订单明细历史Row(DataRowBuilder rb) : 
                    base(rb) {
                this.tableview_采购订单明细历史 = ((view_采购订单明细历史DataTable)(this.Table));
            }
            
            public string 订单编号 {
                get {
                    return ((string)(this[this.tableview_采购订单明细历史.订单编号Column]));
                }
                set {
                    this[this.tableview_采购订单明细历史.订单编号Column] = value;
                }
            }
            
            public string 物料编号 {
                get {
                    return ((string)(this[this.tableview_采购订单明细历史.物料编号Column]));
                }
                set {
                    this[this.tableview_采购订单明细历史.物料编号Column] = value;
                }
            }
            
            public string 品名 {
                get {
                    try {
                        return ((string)(this[this.tableview_采购订单明细历史.品名Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.品名Column] = value;
                }
            }
            
            public string 规格 {
                get {
                    try {
                        return ((string)(this[this.tableview_采购订单明细历史.规格Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.规格Column] = value;
                }
            }
            
            public string 单位 {
                get {
                    return ((string)(this[this.tableview_采购订单明细历史.单位Column]));
                }
                set {
                    this[this.tableview_采购订单明细历史.单位Column] = value;
                }
            }
            
            public string 拼音编码 {
                get {
                    try {
                        return ((string)(this[this.tableview_采购订单明细历史.拼音编码Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.拼音编码Column] = value;
                }
            }
            
            public System.Decimal 订货数量 {
                get {
                    return ((System.Decimal)(this[this.tableview_采购订单明细历史.订货数量Column]));
                }
                set {
                    this[this.tableview_采购订单明细历史.订货数量Column] = value;
                }
            }
            
            public System.Decimal 进价 {
                get {
                    try {
                        return ((System.Decimal)(this[this.tableview_采购订单明细历史.进价Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.进价Column] = value;
                }
            }
            
            public System.Decimal 税价合计 {
                get {
                    try {
                        return ((System.Decimal)(this[this.tableview_采购订单明细历史.税价合计Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.税价合计Column] = value;
                }
            }
            
            public System.Decimal 扣率 {
                get {
                    try {
                        return ((System.Decimal)(this[this.tableview_采购订单明细历史.扣率Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.扣率Column] = value;
                }
            }
            
            public System.Decimal 税率 {
                get {
                    try {
                        return ((System.Decimal)(this[this.tableview_采购订单明细历史.税率Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.税率Column] = value;
                }
            }
            
            public System.Decimal 不含税价 {
                get {
                    try {
                        return ((System.Decimal)(this[this.tableview_采购订单明细历史.不含税价Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.不含税价Column] = value;
                }
            }
            
            public System.Decimal 税额 {
                get {
                    try {
                        return ((System.Decimal)(this[this.tableview_采购订单明细历史.税额Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
                    }
                }
                set {
                    this[this.tableview_采购订单明细历史.税额Column] = value;
                }
            }
            
            public bool Is品名Null() {
                return this.IsNull(this.tableview_采购订单明细历史.品名Column);
            }
            
            public void Set品名Null() {
                this[this.tableview_采购订单明细历史.品名Column] = System.Convert.DBNull;
            }
            
            public bool Is规格Null() {
                return this.IsNull(this.tableview_采购订单明细历史.规格Column);
            }
            
            public void Set规格Null() {
                this[this.tableview_采购订单明细历史.规格Column] = System.Convert.DBNull;
            }
            
            public bool Is拼音编码Null() {
                return this.IsNull(this.tableview_采购订单明细历史.拼音编码Column);
            }
            
            public void Set拼音编码Null() {
                this[this.tableview_采购订单明细历史.拼音编码Column] = System.Convert.DBNull;
            }
            
            public bool Is进价Null() {
                return this.IsNull(this.tableview_采购订单明细历史.进价Column);
            }
            
            public void Set进价Null() {
                this[this.tableview_采购订单明细历史.进价Column] = System.Convert.DBNull;
            }
            
            public bool Is税价合计Null() {
                return this.IsNull(this.tableview_采购订单明细历史.税价合计Column);
            }
            
            public void Set税价合计Null() {
                this[this.tableview_采购订单明细历史.税价合计Column] = System.Convert.DBNull;
            }
            
            public bool Is扣率Null() {
                return this.IsNull(this.tableview_采购订单明细历史.扣率Column);
            }
            
            public void Set扣率Null() {
                this[this.tableview_采购订单明细历史.扣率Column] = System.Convert.DBNull;
            }
            
            public bool Is税率Null() {
                return this.IsNull(this.tableview_采购订单明细历史.税率Column);
            }
            
            public void Set税率Null() {
                this[this.tableview_采购订单明细历史.税率Column] = System.Convert.DBNull;
            }
            
            public bool Is不含税价Null() {
                return this.IsNull(this.tableview_采购订单明细历史.不含税价Column);
            }
            
            public void Set不含税价Null() {
                this[this.tableview_采购订单明细历史.不含税价Column] = System.Convert.DBNull;
            }
            
            public bool Is税额Null() {
                return this.IsNull(this.tableview_采购订单明细历史.税额Column);
            }
            
            public void Set税额Null() {
                this[this.tableview_采购订单明细历史.税额Column] = System.Convert.DBNull;
            }
        }
        
        [System.Diagnostics.DebuggerStepThrough()]
        public class view_采购订单明细历史RowChangeEvent : EventArgs {
            
            private view_采购订单明细历史Row eventRow;
            
            private DataRowAction eventAction;
            
            public view_采购订单明细历史RowChangeEvent(view_采购订单明细历史Row row, DataRowAction action) {
                this.eventRow = row;
                this.eventAction = action;
            }
            
            public view_采购订单明细历史Row Row {
                get {
                    return this.eventRow;
                }
            }
            
            public DataRowAction Action {
                get {
                    return this.eventAction;
                }
            }
        }
    }
}

⌨️ 快捷键说明

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