dataset2.cs

来自「进销存管理实例程序源代码」· CS 代码 · 共 1,491 行 · 第 1/5 页

CS
1,491
字号
                    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 int 会计期间 {
                get {
                    return ((int)(this[this.table资产负债表.会计期间Column]));
                }
                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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 System.Decimal 未分配利润 {
                get {
                    try {
                        return ((System.Decimal)(this[this.table资产负债表.未分配利润Column]));
                    }
                    catch (InvalidCastException e) {
                        throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
    

⌨️ 快捷键说明

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