DataSet2.cs
上传用户:hjieqiu
上传日期:2013-05-11
资源大小:16494k
文件大小:73k
源码类别:

企业管理

开发平台:

C#

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.573
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. namespace 财务管理系统 {
  11.     using System;
  12.     using System.Data;
  13.     using System.Xml;
  14.     using System.Runtime.Serialization;
  15.     
  16.     
  17.     [Serializable()]
  18.     [System.ComponentModel.DesignerCategoryAttribute("code")]
  19.     [System.Diagnostics.DebuggerStepThrough()]
  20.     [System.ComponentModel.ToolboxItem(true)]
  21.     public class DataSet2 : DataSet {
  22.         
  23.         private 帐簿初始化表DataTable table帐簿初始化表;
  24.         
  25.         private 系统参数表DataTable table系统参数表;
  26.         
  27.         private 资产负债表DataTable table资产负债表;
  28.         
  29.         public DataSet2() {
  30.             this.InitClass();
  31.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  32.             this.Tables.CollectionChanged += schemaChangedHandler;
  33.             this.Relations.CollectionChanged += schemaChangedHandler;
  34.         }
  35.         
  36.         protected DataSet2(SerializationInfo info, StreamingContext context) {
  37.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  38.             if ((strSchema != null)) {
  39.                 DataSet ds = new DataSet();
  40.                 ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
  41.                 if ((ds.Tables["帐簿初始化表"] != null)) {
  42.                     this.Tables.Add(new 帐簿初始化表DataTable(ds.Tables["帐簿初始化表"]));
  43.                 }
  44.                 if ((ds.Tables["系统参数表"] != null)) {
  45.                     this.Tables.Add(new 系统参数表DataTable(ds.Tables["系统参数表"]));
  46.                 }
  47.                 if ((ds.Tables["资产负债表"] != null)) {
  48.                     this.Tables.Add(new 资产负债表DataTable(ds.Tables["资产负债表"]));
  49.                 }
  50.                 this.DataSetName = ds.DataSetName;
  51.                 this.Prefix = ds.Prefix;
  52.                 this.Namespace = ds.Namespace;
  53.                 this.Locale = ds.Locale;
  54.                 this.CaseSensitive = ds.CaseSensitive;
  55.                 this.EnforceConstraints = ds.EnforceConstraints;
  56.                 this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  57.                 this.InitVars();
  58.             }
  59.             else {
  60.                 this.InitClass();
  61.             }
  62.             this.GetSerializationData(info, context);
  63.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  64.             this.Tables.CollectionChanged += schemaChangedHandler;
  65.             this.Relations.CollectionChanged += schemaChangedHandler;
  66.         }
  67.         
  68.         [System.ComponentModel.Browsable(false)]
  69.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  70.         public 帐簿初始化表DataTable 帐簿初始化表 {
  71.             get {
  72.                 return this.table帐簿初始化表;
  73.             }
  74.         }
  75.         
  76.         [System.ComponentModel.Browsable(false)]
  77.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  78.         public 系统参数表DataTable 系统参数表 {
  79.             get {
  80.                 return this.table系统参数表;
  81.             }
  82.         }
  83.         
  84.         [System.ComponentModel.Browsable(false)]
  85.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  86.         public 资产负债表DataTable 资产负债表 {
  87.             get {
  88.                 return this.table资产负债表;
  89.             }
  90.         }
  91.         
  92.         public override DataSet Clone() {
  93.             DataSet2 cln = ((DataSet2)(base.Clone()));
  94.             cln.InitVars();
  95.             return cln;
  96.         }
  97.         
  98.         protected override bool ShouldSerializeTables() {
  99.             return false;
  100.         }
  101.         
  102.         protected override bool ShouldSerializeRelations() {
  103.             return false;
  104.         }
  105.         
  106.         protected override void ReadXmlSerializable(XmlReader reader) {
  107.             this.Reset();
  108.             DataSet ds = new DataSet();
  109.             ds.ReadXml(reader);
  110.             if ((ds.Tables["帐簿初始化表"] != null)) {
  111.                 this.Tables.Add(new 帐簿初始化表DataTable(ds.Tables["帐簿初始化表"]));
  112.             }
  113.             if ((ds.Tables["系统参数表"] != null)) {
  114.                 this.Tables.Add(new 系统参数表DataTable(ds.Tables["系统参数表"]));
  115.             }
  116.             if ((ds.Tables["资产负债表"] != null)) {
  117.                 this.Tables.Add(new 资产负债表DataTable(ds.Tables["资产负债表"]));
  118.             }
  119.             this.DataSetName = ds.DataSetName;
  120.             this.Prefix = ds.Prefix;
  121.             this.Namespace = ds.Namespace;
  122.             this.Locale = ds.Locale;
  123.             this.CaseSensitive = ds.CaseSensitive;
  124.             this.EnforceConstraints = ds.EnforceConstraints;
  125.             this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  126.             this.InitVars();
  127.         }
  128.         
  129.         protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  130.             System.IO.MemoryStream stream = new System.IO.MemoryStream();
  131.             this.WriteXmlSchema(new XmlTextWriter(stream, null));
  132.             stream.Position = 0;
  133.             return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
  134.         }
  135.         
  136.         internal void InitVars() {
  137.             this.table帐簿初始化表 = ((帐簿初始化表DataTable)(this.Tables["帐簿初始化表"]));
  138.             if ((this.table帐簿初始化表 != null)) {
  139.                 this.table帐簿初始化表.InitVars();
  140.             }
  141.             this.table系统参数表 = ((系统参数表DataTable)(this.Tables["系统参数表"]));
  142.             if ((this.table系统参数表 != null)) {
  143.                 this.table系统参数表.InitVars();
  144.             }
  145.             this.table资产负债表 = ((资产负债表DataTable)(this.Tables["资产负债表"]));
  146.             if ((this.table资产负债表 != null)) {
  147.                 this.table资产负债表.InitVars();
  148.             }
  149.         }
  150.         
  151.         private void InitClass() {
  152.             this.DataSetName = "DataSet2";
  153.             this.Prefix = "";
  154.             this.Namespace = "http://www.tempuri.org/DataSet2.xsd";
  155.             this.Locale = new System.Globalization.CultureInfo("zh-CN");
  156.             this.CaseSensitive = false;
  157.             this.EnforceConstraints = true;
  158.             this.table帐簿初始化表 = new 帐簿初始化表DataTable();
  159.             this.Tables.Add(this.table帐簿初始化表);
  160.             this.table系统参数表 = new 系统参数表DataTable();
  161.             this.Tables.Add(this.table系统参数表);
  162.             this.table资产负债表 = new 资产负债表DataTable();
  163.             this.Tables.Add(this.table资产负债表);
  164.         }
  165.         
  166.         private bool ShouldSerialize帐簿初始化表() {
  167.             return false;
  168.         }
  169.         
  170.         private bool ShouldSerialize系统参数表() {
  171.             return false;
  172.         }
  173.         
  174.         private bool ShouldSerialize资产负债表() {
  175.             return false;
  176.         }
  177.         
  178.         private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
  179.             if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
  180.                 this.InitVars();
  181.             }
  182.         }
  183.         
  184.         public delegate void 帐簿初始化表RowChangeEventHandler(object sender, 帐簿初始化表RowChangeEvent e);
  185.         
  186.         public delegate void 系统参数表RowChangeEventHandler(object sender, 系统参数表RowChangeEvent e);
  187.         
  188.         public delegate void 资产负债表RowChangeEventHandler(object sender, 资产负债表RowChangeEvent e);
  189.         
  190.         [System.Diagnostics.DebuggerStepThrough()]
  191.         public class 帐簿初始化表DataTable : DataTable, System.Collections.IEnumerable {
  192.             
  193.             private DataColumn column科目代码;
  194.             
  195.             private DataColumn column科目名称;
  196.             
  197.             private DataColumn column累计借方;
  198.             
  199.             private DataColumn column累计贷方;
  200.             
  201.             private DataColumn column期初余额;
  202.             
  203.             private DataColumn column余额方向;
  204.             
  205.             internal 帐簿初始化表DataTable() : 
  206.                     base("帐簿初始化表") {
  207.                 this.InitClass();
  208.             }
  209.             
  210.             internal 帐簿初始化表DataTable(DataTable table) : 
  211.                     base(table.TableName) {
  212.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  213.                     this.CaseSensitive = table.CaseSensitive;
  214.                 }
  215.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  216.                     this.Locale = table.Locale;
  217.                 }
  218.                 if ((table.Namespace != table.DataSet.Namespace)) {
  219.                     this.Namespace = table.Namespace;
  220.                 }
  221.                 this.Prefix = table.Prefix;
  222.                 this.MinimumCapacity = table.MinimumCapacity;
  223.                 this.DisplayExpression = table.DisplayExpression;
  224.             }
  225.             
  226.             [System.ComponentModel.Browsable(false)]
  227.             public int Count {
  228.                 get {
  229.                     return this.Rows.Count;
  230.                 }
  231.             }
  232.             
  233.             internal DataColumn 科目代码Column {
  234.                 get {
  235.                     return this.column科目代码;
  236.                 }
  237.             }
  238.             
  239.             internal DataColumn 科目名称Column {
  240.                 get {
  241.                     return this.column科目名称;
  242.                 }
  243.             }
  244.             
  245.             internal DataColumn 累计借方Column {
  246.                 get {
  247.                     return this.column累计借方;
  248.                 }
  249.             }
  250.             
  251.             internal DataColumn 累计贷方Column {
  252.                 get {
  253.                     return this.column累计贷方;
  254.                 }
  255.             }
  256.             
  257.             internal DataColumn 期初余额Column {
  258.                 get {
  259.                     return this.column期初余额;
  260.                 }
  261.             }
  262.             
  263.             internal DataColumn 余额方向Column {
  264.                 get {
  265.                     return this.column余额方向;
  266.                 }
  267.             }
  268.             
  269.             public 帐簿初始化表Row this[int index] {
  270.                 get {
  271.                     return ((帐簿初始化表Row)(this.Rows[index]));
  272.                 }
  273.             }
  274.             
  275.             public event 帐簿初始化表RowChangeEventHandler 帐簿初始化表RowChanged;
  276.             
  277.             public event 帐簿初始化表RowChangeEventHandler 帐簿初始化表RowChanging;
  278.             
  279.             public event 帐簿初始化表RowChangeEventHandler 帐簿初始化表RowDeleted;
  280.             
  281.             public event 帐簿初始化表RowChangeEventHandler 帐簿初始化表RowDeleting;
  282.             
  283.             public void Add帐簿初始化表Row(帐簿初始化表Row row) {
  284.                 this.Rows.Add(row);
  285.             }
  286.             
  287.             public 帐簿初始化表Row Add帐簿初始化表Row(string 科目代码, string 科目名称, System.Decimal 累计借方, System.Decimal 累计贷方, System.Decimal 期初余额, string 余额方向) {
  288.                 帐簿初始化表Row row帐簿初始化表Row = ((帐簿初始化表Row)(this.NewRow()));
  289.                 row帐簿初始化表Row.ItemArray = new object[] {
  290.                         科目代码,
  291.                         科目名称,
  292.                         累计借方,
  293.                         累计贷方,
  294.                         期初余额,
  295.                         余额方向};
  296.                 this.Rows.Add(row帐簿初始化表Row);
  297.                 return row帐簿初始化表Row;
  298.             }
  299.             
  300.             public 帐簿初始化表Row FindBy科目代码(string 科目代码) {
  301.                 return ((帐簿初始化表Row)(this.Rows.Find(new object[] {
  302.                             科目代码})));
  303.             }
  304.             
  305.             public System.Collections.IEnumerator GetEnumerator() {
  306.                 return this.Rows.GetEnumerator();
  307.             }
  308.             
  309.             public override DataTable Clone() {
  310.                 帐簿初始化表DataTable cln = ((帐簿初始化表DataTable)(base.Clone()));
  311.                 cln.InitVars();
  312.                 return cln;
  313.             }
  314.             
  315.             protected override DataTable CreateInstance() {
  316.                 return new 帐簿初始化表DataTable();
  317.             }
  318.             
  319.             internal void InitVars() {
  320.                 this.column科目代码 = this.Columns["科目代码"];
  321.                 this.column科目名称 = this.Columns["科目名称"];
  322.                 this.column累计借方 = this.Columns["累计借方"];
  323.                 this.column累计贷方 = this.Columns["累计贷方"];
  324.                 this.column期初余额 = this.Columns["期初余额"];
  325.                 this.column余额方向 = this.Columns["余额方向"];
  326.             }
  327.             
  328.             private void InitClass() {
  329.                 this.column科目代码 = new DataColumn("科目代码", typeof(string), null, System.Data.MappingType.Element);
  330.                 this.Columns.Add(this.column科目代码);
  331.                 this.column科目名称 = new DataColumn("科目名称", typeof(string), null, System.Data.MappingType.Element);
  332.                 this.Columns.Add(this.column科目名称);
  333.                 this.column累计借方 = new DataColumn("累计借方", typeof(System.Decimal), null, System.Data.MappingType.Element);
  334.                 this.Columns.Add(this.column累计借方);
  335.                 this.column累计贷方 = new DataColumn("累计贷方", typeof(System.Decimal), null, System.Data.MappingType.Element);
  336.                 this.Columns.Add(this.column累计贷方);
  337.                 this.column期初余额 = new DataColumn("期初余额", typeof(System.Decimal), null, System.Data.MappingType.Element);
  338.                 this.Columns.Add(this.column期初余额);
  339.                 this.column余额方向 = new DataColumn("余额方向", typeof(string), null, System.Data.MappingType.Element);
  340.                 this.Columns.Add(this.column余额方向);
  341.                 this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] {
  342.                                 this.column科目代码}, true));
  343.                 this.column科目代码.AllowDBNull = false;
  344.                 this.column科目代码.Unique = true;
  345.             }
  346.             
  347.             public 帐簿初始化表Row New帐簿初始化表Row() {
  348.                 return ((帐簿初始化表Row)(this.NewRow()));
  349.             }
  350.             
  351.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  352.                 return new 帐簿初始化表Row(builder);
  353.             }
  354.             
  355.             protected override System.Type GetRowType() {
  356.                 return typeof(帐簿初始化表Row);
  357.             }
  358.             
  359.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  360.                 base.OnRowChanged(e);
  361.                 if ((this.帐簿初始化表RowChanged != null)) {
  362.                     this.帐簿初始化表RowChanged(this, new 帐簿初始化表RowChangeEvent(((帐簿初始化表Row)(e.Row)), e.Action));
  363.                 }
  364.             }
  365.             
  366.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  367.                 base.OnRowChanging(e);
  368.                 if ((this.帐簿初始化表RowChanging != null)) {
  369.                     this.帐簿初始化表RowChanging(this, new 帐簿初始化表RowChangeEvent(((帐簿初始化表Row)(e.Row)), e.Action));
  370.                 }
  371.             }
  372.             
  373.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  374.                 base.OnRowDeleted(e);
  375.                 if ((this.帐簿初始化表RowDeleted != null)) {
  376.                     this.帐簿初始化表RowDeleted(this, new 帐簿初始化表RowChangeEvent(((帐簿初始化表Row)(e.Row)), e.Action));
  377.                 }
  378.             }
  379.             
  380.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  381.                 base.OnRowDeleting(e);
  382.                 if ((this.帐簿初始化表RowDeleting != null)) {
  383.                     this.帐簿初始化表RowDeleting(this, new 帐簿初始化表RowChangeEvent(((帐簿初始化表Row)(e.Row)), e.Action));
  384.                 }
  385.             }
  386.             
  387.             public void Remove帐簿初始化表Row(帐簿初始化表Row row) {
  388.                 this.Rows.Remove(row);
  389.             }
  390.         }
  391.         
  392.         [System.Diagnostics.DebuggerStepThrough()]
  393.         public class 帐簿初始化表Row : DataRow {
  394.             
  395.             private 帐簿初始化表DataTable table帐簿初始化表;
  396.             
  397.             internal 帐簿初始化表Row(DataRowBuilder rb) : 
  398.                     base(rb) {
  399.                 this.table帐簿初始化表 = ((帐簿初始化表DataTable)(this.Table));
  400.             }
  401.             
  402.             public string 科目代码 {
  403.                 get {
  404.                     return ((string)(this[this.table帐簿初始化表.科目代码Column]));
  405.                 }
  406.                 set {
  407.                     this[this.table帐簿初始化表.科目代码Column] = value;
  408.                 }
  409.             }
  410.             
  411.             public string 科目名称 {
  412.                 get {
  413.                     try {
  414.                         return ((string)(this[this.table帐簿初始化表.科目名称Column]));
  415.                     }
  416.                     catch (InvalidCastException e) {
  417.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  418.                     }
  419.                 }
  420.                 set {
  421.                     this[this.table帐簿初始化表.科目名称Column] = value;
  422.                 }
  423.             }
  424.             
  425.             public System.Decimal 累计借方 {
  426.                 get {
  427.                     try {
  428.                         return ((System.Decimal)(this[this.table帐簿初始化表.累计借方Column]));
  429.                     }
  430.                     catch (InvalidCastException e) {
  431.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  432.                     }
  433.                 }
  434.                 set {
  435.                     this[this.table帐簿初始化表.累计借方Column] = value;
  436.                 }
  437.             }
  438.             
  439.             public System.Decimal 累计贷方 {
  440.                 get {
  441.                     try {
  442.                         return ((System.Decimal)(this[this.table帐簿初始化表.累计贷方Column]));
  443.                     }
  444.                     catch (InvalidCastException e) {
  445.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  446.                     }
  447.                 }
  448.                 set {
  449.                     this[this.table帐簿初始化表.累计贷方Column] = value;
  450.                 }
  451.             }
  452.             
  453.             public System.Decimal 期初余额 {
  454.                 get {
  455.                     try {
  456.                         return ((System.Decimal)(this[this.table帐簿初始化表.期初余额Column]));
  457.                     }
  458.                     catch (InvalidCastException e) {
  459.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  460.                     }
  461.                 }
  462.                 set {
  463.                     this[this.table帐簿初始化表.期初余额Column] = value;
  464.                 }
  465.             }
  466.             
  467.             public string 余额方向 {
  468.                 get {
  469.                     try {
  470.                         return ((string)(this[this.table帐簿初始化表.余额方向Column]));
  471.                     }
  472.                     catch (InvalidCastException e) {
  473.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  474.                     }
  475.                 }
  476.                 set {
  477.                     this[this.table帐簿初始化表.余额方向Column] = value;
  478.                 }
  479.             }
  480.             
  481.             public bool Is科目名称Null() {
  482.                 return this.IsNull(this.table帐簿初始化表.科目名称Column);
  483.             }
  484.             
  485.             public void Set科目名称Null() {
  486.                 this[this.table帐簿初始化表.科目名称Column] = System.Convert.DBNull;
  487.             }
  488.             
  489.             public bool Is累计借方Null() {
  490.                 return this.IsNull(this.table帐簿初始化表.累计借方Column);
  491.             }
  492.             
  493.             public void Set累计借方Null() {
  494.                 this[this.table帐簿初始化表.累计借方Column] = System.Convert.DBNull;
  495.             }
  496.             
  497.             public bool Is累计贷方Null() {
  498.                 return this.IsNull(this.table帐簿初始化表.累计贷方Column);
  499.             }
  500.             
  501.             public void Set累计贷方Null() {
  502.                 this[this.table帐簿初始化表.累计贷方Column] = System.Convert.DBNull;
  503.             }
  504.             
  505.             public bool Is期初余额Null() {
  506.                 return this.IsNull(this.table帐簿初始化表.期初余额Column);
  507.             }
  508.             
  509.             public void Set期初余额Null() {
  510.                 this[this.table帐簿初始化表.期初余额Column] = System.Convert.DBNull;
  511.             }
  512.             
  513.             public bool Is余额方向Null() {
  514.                 return this.IsNull(this.table帐簿初始化表.余额方向Column);
  515.             }
  516.             
  517.             public void Set余额方向Null() {
  518.                 this[this.table帐簿初始化表.余额方向Column] = System.Convert.DBNull;
  519.             }
  520.         }
  521.         
  522.         [System.Diagnostics.DebuggerStepThrough()]
  523.         public class 帐簿初始化表RowChangeEvent : EventArgs {
  524.             
  525.             private 帐簿初始化表Row eventRow;
  526.             
  527.             private DataRowAction eventAction;
  528.             
  529.             public 帐簿初始化表RowChangeEvent(帐簿初始化表Row row, DataRowAction action) {
  530.                 this.eventRow = row;
  531.                 this.eventAction = action;
  532.             }
  533.             
  534.             public 帐簿初始化表Row Row {
  535.                 get {
  536.                     return this.eventRow;
  537.                 }
  538.             }
  539.             
  540.             public DataRowAction Action {
  541.                 get {
  542.                     return this.eventAction;
  543.                 }
  544.             }
  545.         }
  546.         
  547.         [System.Diagnostics.DebuggerStepThrough()]
  548.         public class 系统参数表DataTable : DataTable, System.Collections.IEnumerable {
  549.             
  550.             private DataColumn column编号;
  551.             
  552.             private DataColumn column参数名称;
  553.             
  554.             private DataColumn column取值;
  555.             
  556.             internal 系统参数表DataTable() : 
  557.                     base("系统参数表") {
  558.                 this.InitClass();
  559.             }
  560.             
  561.             internal 系统参数表DataTable(DataTable table) : 
  562.                     base(table.TableName) {
  563.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  564.                     this.CaseSensitive = table.CaseSensitive;
  565.                 }
  566.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  567.                     this.Locale = table.Locale;
  568.                 }
  569.                 if ((table.Namespace != table.DataSet.Namespace)) {
  570.                     this.Namespace = table.Namespace;
  571.                 }
  572.                 this.Prefix = table.Prefix;
  573.                 this.MinimumCapacity = table.MinimumCapacity;
  574.                 this.DisplayExpression = table.DisplayExpression;
  575.             }
  576.             
  577.             [System.ComponentModel.Browsable(false)]
  578.             public int Count {
  579.                 get {
  580.                     return this.Rows.Count;
  581.                 }
  582.             }
  583.             
  584.             internal DataColumn 编号Column {
  585.                 get {
  586.                     return this.column编号;
  587.                 }
  588.             }
  589.             
  590.             internal DataColumn 参数名称Column {
  591.                 get {
  592.                     return this.column参数名称;
  593.                 }
  594.             }
  595.             
  596.             internal DataColumn 取值Column {
  597.                 get {
  598.                     return this.column取值;
  599.                 }
  600.             }
  601.             
  602.             public 系统参数表Row this[int index] {
  603.                 get {
  604.                     return ((系统参数表Row)(this.Rows[index]));
  605.                 }
  606.             }
  607.             
  608.             public event 系统参数表RowChangeEventHandler 系统参数表RowChanged;
  609.             
  610.             public event 系统参数表RowChangeEventHandler 系统参数表RowChanging;
  611.             
  612.             public event 系统参数表RowChangeEventHandler 系统参数表RowDeleted;
  613.             
  614.             public event 系统参数表RowChangeEventHandler 系统参数表RowDeleting;
  615.             
  616.             public void Add系统参数表Row(系统参数表Row row) {
  617.                 this.Rows.Add(row);
  618.             }
  619.             
  620.             public 系统参数表Row Add系统参数表Row(string 参数名称, int 取值) {
  621.                 系统参数表Row row系统参数表Row = ((系统参数表Row)(this.NewRow()));
  622.                 row系统参数表Row.ItemArray = new object[] {
  623.                         null,
  624.                         参数名称,
  625.                         取值};
  626.                 this.Rows.Add(row系统参数表Row);
  627.                 return row系统参数表Row;
  628.             }
  629.             
  630.             public System.Collections.IEnumerator GetEnumerator() {
  631.                 return this.Rows.GetEnumerator();
  632.             }
  633.             
  634.             public override DataTable Clone() {
  635.                 系统参数表DataTable cln = ((系统参数表DataTable)(base.Clone()));
  636.                 cln.InitVars();
  637.                 return cln;
  638.             }
  639.             
  640.             protected override DataTable CreateInstance() {
  641.                 return new 系统参数表DataTable();
  642.             }
  643.             
  644.             internal void InitVars() {
  645.                 this.column编号 = this.Columns["编号"];
  646.                 this.column参数名称 = this.Columns["参数名称"];
  647.                 this.column取值 = this.Columns["取值"];
  648.             }
  649.             
  650.             private void InitClass() {
  651.                 this.column编号 = new DataColumn("编号", typeof(int), null, System.Data.MappingType.Element);
  652.                 this.Columns.Add(this.column编号);
  653.                 this.column参数名称 = new DataColumn("参数名称", typeof(string), null, System.Data.MappingType.Element);
  654.                 this.Columns.Add(this.column参数名称);
  655.                 this.column取值 = new DataColumn("取值", typeof(int), null, System.Data.MappingType.Element);
  656.                 this.Columns.Add(this.column取值);
  657.                 this.column编号.AutoIncrement = true;
  658.                 this.column编号.AllowDBNull = false;
  659.                 this.column编号.ReadOnly = true;
  660.             }
  661.             
  662.             public 系统参数表Row New系统参数表Row() {
  663.                 return ((系统参数表Row)(this.NewRow()));
  664.             }
  665.             
  666.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  667.                 return new 系统参数表Row(builder);
  668.             }
  669.             
  670.             protected override System.Type GetRowType() {
  671.                 return typeof(系统参数表Row);
  672.             }
  673.             
  674.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  675.                 base.OnRowChanged(e);
  676.                 if ((this.系统参数表RowChanged != null)) {
  677.                     this.系统参数表RowChanged(this, new 系统参数表RowChangeEvent(((系统参数表Row)(e.Row)), e.Action));
  678.                 }
  679.             }
  680.             
  681.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  682.                 base.OnRowChanging(e);
  683.                 if ((this.系统参数表RowChanging != null)) {
  684.                     this.系统参数表RowChanging(this, new 系统参数表RowChangeEvent(((系统参数表Row)(e.Row)), e.Action));
  685.                 }
  686.             }
  687.             
  688.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  689.                 base.OnRowDeleted(e);
  690.                 if ((this.系统参数表RowDeleted != null)) {
  691.                     this.系统参数表RowDeleted(this, new 系统参数表RowChangeEvent(((系统参数表Row)(e.Row)), e.Action));
  692.                 }
  693.             }
  694.             
  695.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  696.                 base.OnRowDeleting(e);
  697.                 if ((this.系统参数表RowDeleting != null)) {
  698.                     this.系统参数表RowDeleting(this, new 系统参数表RowChangeEvent(((系统参数表Row)(e.Row)), e.Action));
  699.                 }
  700.             }
  701.             
  702.             public void Remove系统参数表Row(系统参数表Row row) {
  703.                 this.Rows.Remove(row);
  704.             }
  705.         }
  706.         
  707.         [System.Diagnostics.DebuggerStepThrough()]
  708.         public class 系统参数表Row : DataRow {
  709.             
  710.             private 系统参数表DataTable table系统参数表;
  711.             
  712.             internal 系统参数表Row(DataRowBuilder rb) : 
  713.                     base(rb) {
  714.                 this.table系统参数表 = ((系统参数表DataTable)(this.Table));
  715.             }
  716.             
  717.             public int 编号 {
  718.                 get {
  719.                     return ((int)(this[this.table系统参数表.编号Column]));
  720.                 }
  721.                 set {
  722.                     this[this.table系统参数表.编号Column] = value;
  723.                 }
  724.             }
  725.             
  726.             public string 参数名称 {
  727.                 get {
  728.                     try {
  729.                         return ((string)(this[this.table系统参数表.参数名称Column]));
  730.                     }
  731.                     catch (InvalidCastException e) {
  732.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  733.                     }
  734.                 }
  735.                 set {
  736.                     this[this.table系统参数表.参数名称Column] = value;
  737.                 }
  738.             }
  739.             
  740.             public int 取值 {
  741.                 get {
  742.                     try {
  743.                         return ((int)(this[this.table系统参数表.取值Column]));
  744.                     }
  745.                     catch (InvalidCastException e) {
  746.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  747.                     }
  748.                 }
  749.                 set {
  750.                     this[this.table系统参数表.取值Column] = value;
  751.                 }
  752.             }
  753.             
  754.             public bool Is参数名称Null() {
  755.                 return this.IsNull(this.table系统参数表.参数名称Column);
  756.             }
  757.             
  758.             public void Set参数名称Null() {
  759.                 this[this.table系统参数表.参数名称Column] = System.Convert.DBNull;
  760.             }
  761.             
  762.             public bool Is取值Null() {
  763.                 return this.IsNull(this.table系统参数表.取值Column);
  764.             }
  765.             
  766.             public void Set取值Null() {
  767.                 this[this.table系统参数表.取值Column] = System.Convert.DBNull;
  768.             }
  769.         }
  770.         
  771.         [System.Diagnostics.DebuggerStepThrough()]
  772.         public class 系统参数表RowChangeEvent : EventArgs {
  773.             
  774.             private 系统参数表Row eventRow;
  775.             
  776.             private DataRowAction eventAction;
  777.             
  778.             public 系统参数表RowChangeEvent(系统参数表Row row, DataRowAction action) {
  779.                 this.eventRow = row;
  780.                 this.eventAction = action;
  781.             }
  782.             
  783.             public 系统参数表Row Row {
  784.                 get {
  785.                     return this.eventRow;
  786.                 }
  787.             }
  788.             
  789.             public DataRowAction Action {
  790.                 get {
  791.                     return this.eventAction;
  792.                 }
  793.             }
  794.         }
  795.         
  796.         [System.Diagnostics.DebuggerStepThrough()]
  797.         public class 资产负债表DataTable : DataTable, System.Collections.IEnumerable {
  798.             
  799.             private DataColumn column会计期间;
  800.             
  801.             private DataColumn column现金及现金等价物;
  802.             
  803.             private DataColumn column应收账款;
  804.             
  805.             private DataColumn column坏账准备;
  806.             
  807.             private DataColumn column应收账款净值;
  808.             
  809.             private DataColumn column流动资产总计;
  810.             
  811.             private DataColumn column固定资产原值;
  812.             
  813.             private DataColumn column累计折旧;
  814.             
  815.             private DataColumn column固定资产总计;
  816.             
  817.             private DataColumn column其他资产;
  818.             
  819.             private DataColumn column资产总计;
  820.             
  821.             private DataColumn column应付账款;
  822.             
  823.             private DataColumn column预收账款;
  824.             
  825.             private DataColumn column应付工资;
  826.             
  827.             private DataColumn column其他负债;
  828.             
  829.             private DataColumn column负债总计;
  830.             
  831.             private DataColumn column实收资本;
  832.             
  833.             private DataColumn column资本公积;
  834.             
  835.             private DataColumn column赢余公积;
  836.             
  837.             private DataColumn column未分配利润;
  838.             
  839.             private DataColumn column所有者权益总计;
  840.             
  841.             private DataColumn column负债及所有者权益总计;
  842.             
  843.             internal 资产负债表DataTable() : 
  844.                     base("资产负债表") {
  845.                 this.InitClass();
  846.             }
  847.             
  848.             internal 资产负债表DataTable(DataTable table) : 
  849.                     base(table.TableName) {
  850.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  851.                     this.CaseSensitive = table.CaseSensitive;
  852.                 }
  853.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  854.                     this.Locale = table.Locale;
  855.                 }
  856.                 if ((table.Namespace != table.DataSet.Namespace)) {
  857.                     this.Namespace = table.Namespace;
  858.                 }
  859.                 this.Prefix = table.Prefix;
  860.                 this.MinimumCapacity = table.MinimumCapacity;
  861.                 this.DisplayExpression = table.DisplayExpression;
  862.             }
  863.             
  864.             [System.ComponentModel.Browsable(false)]
  865.             public int Count {
  866.                 get {
  867.                     return this.Rows.Count;
  868.                 }
  869.             }
  870.             
  871.             internal DataColumn 会计期间Column {
  872.                 get {
  873.                     return this.column会计期间;
  874.                 }
  875.             }
  876.             
  877.             internal DataColumn 现金及现金等价物Column {
  878.                 get {
  879.                     return this.column现金及现金等价物;
  880.                 }
  881.             }
  882.             
  883.             internal DataColumn 应收账款Column {
  884.                 get {
  885.                     return this.column应收账款;
  886.                 }
  887.             }
  888.             
  889.             internal DataColumn 坏账准备Column {
  890.                 get {
  891.                     return this.column坏账准备;
  892.                 }
  893.             }
  894.             
  895.             internal DataColumn 应收账款净值Column {
  896.                 get {
  897.                     return this.column应收账款净值;
  898.                 }
  899.             }
  900.             
  901.             internal DataColumn 流动资产总计Column {
  902.                 get {
  903.                     return this.column流动资产总计;
  904.                 }
  905.             }
  906.             
  907.             internal DataColumn 固定资产原值Column {
  908.                 get {
  909.                     return this.column固定资产原值;
  910.                 }
  911.             }
  912.             
  913.             internal DataColumn 累计折旧Column {
  914.                 get {
  915.                     return this.column累计折旧;
  916.                 }
  917.             }
  918.             
  919.             internal DataColumn 固定资产总计Column {
  920.                 get {
  921.                     return this.column固定资产总计;
  922.                 }
  923.             }
  924.             
  925.             internal DataColumn 其他资产Column {
  926.                 get {
  927.                     return this.column其他资产;
  928.                 }
  929.             }
  930.             
  931.             internal DataColumn 资产总计Column {
  932.                 get {
  933.                     return this.column资产总计;
  934.                 }
  935.             }
  936.             
  937.             internal DataColumn 应付账款Column {
  938.                 get {
  939.                     return this.column应付账款;
  940.                 }
  941.             }
  942.             
  943.             internal DataColumn 预收账款Column {
  944.                 get {
  945.                     return this.column预收账款;
  946.                 }
  947.             }
  948.             
  949.             internal DataColumn 应付工资Column {
  950.                 get {
  951.                     return this.column应付工资;
  952.                 }
  953.             }
  954.             
  955.             internal DataColumn 其他负债Column {
  956.                 get {
  957.                     return this.column其他负债;
  958.                 }
  959.             }
  960.             
  961.             internal DataColumn 负债总计Column {
  962.                 get {
  963.                     return this.column负债总计;
  964.                 }
  965.             }
  966.             
  967.             internal DataColumn 实收资本Column {
  968.                 get {
  969.                     return this.column实收资本;
  970.                 }
  971.             }
  972.             
  973.             internal DataColumn 资本公积Column {
  974.                 get {
  975.                     return this.column资本公积;
  976.                 }
  977.             }
  978.             
  979.             internal DataColumn 赢余公积Column {
  980.                 get {
  981.                     return this.column赢余公积;
  982.                 }
  983.             }
  984.             
  985.             internal DataColumn 未分配利润Column {
  986.                 get {
  987.                     return this.column未分配利润;
  988.                 }
  989.             }
  990.             
  991.             internal DataColumn 所有者权益总计Column {
  992.                 get {
  993.                     return this.column所有者权益总计;
  994.                 }
  995.             }
  996.             
  997.             internal DataColumn 负债及所有者权益总计Column {
  998.                 get {
  999.                     return this.column负债及所有者权益总计;
  1000.                 }
  1001.             }
  1002.             
  1003.             public 资产负债表Row this[int index] {
  1004.                 get {
  1005.                     return ((资产负债表Row)(this.Rows[index]));
  1006.                 }
  1007.             }
  1008.             
  1009.             public event 资产负债表RowChangeEventHandler 资产负债表RowChanged;
  1010.             
  1011.             public event 资产负债表RowChangeEventHandler 资产负债表RowChanging;
  1012.             
  1013.             public event 资产负债表RowChangeEventHandler 资产负债表RowDeleted;
  1014.             
  1015.             public event 资产负债表RowChangeEventHandler 资产负债表RowDeleting;
  1016.             
  1017.             public void Add资产负债表Row(资产负债表Row row) {
  1018.                 this.Rows.Add(row);
  1019.             }
  1020.             
  1021.             public 资产负债表Row Add资产负债表Row(
  1022.                         int 会计期间, 
  1023.                         System.Decimal 现金及现金等价物, 
  1024.                         System.Decimal 应收账款, 
  1025.                         System.Decimal 坏账准备, 
  1026.                         System.Decimal 应收账款净值, 
  1027.                         System.Decimal 流动资产总计, 
  1028.                         System.Decimal 固定资产原值, 
  1029.                         System.Decimal 累计折旧, 
  1030.                         System.Decimal 固定资产总计, 
  1031.                         System.Decimal 其他资产, 
  1032.                         System.Decimal 资产总计, 
  1033.                         System.Decimal 应付账款, 
  1034.                         System.Decimal 预收账款, 
  1035.                         System.Decimal 应付工资, 
  1036.                         System.Decimal 其他负债, 
  1037.                         System.Decimal 负债总计, 
  1038.                         System.Decimal 实收资本, 
  1039.                         System.Decimal 资本公积, 
  1040.                         System.Decimal 赢余公积, 
  1041.                         System.Decimal 未分配利润, 
  1042.                         System.Decimal 所有者权益总计, 
  1043.                         System.Decimal 负债及所有者权益总计) {
  1044.                 资产负债表Row row资产负债表Row = ((资产负债表Row)(this.NewRow()));
  1045.                 row资产负债表Row.ItemArray = new object[] {
  1046.                         会计期间,
  1047.                         现金及现金等价物,
  1048.                         应收账款,
  1049.                         坏账准备,
  1050.                         应收账款净值,
  1051.                         流动资产总计,
  1052.                         固定资产原值,
  1053.                         累计折旧,
  1054.                         固定资产总计,
  1055.                         其他资产,
  1056.                         资产总计,
  1057.                         应付账款,
  1058.                         预收账款,
  1059.                         应付工资,
  1060.                         其他负债,
  1061.                         负债总计,
  1062.                         实收资本,
  1063.                         资本公积,
  1064.                         赢余公积,
  1065.                         未分配利润,
  1066.                         所有者权益总计,
  1067.                         负债及所有者权益总计};
  1068.                 this.Rows.Add(row资产负债表Row);
  1069.                 return row资产负债表Row;
  1070.             }
  1071.             
  1072.             public 资产负债表Row FindBy会计期间(int 会计期间) {
  1073.                 return ((资产负债表Row)(this.Rows.Find(new object[] {
  1074.                             会计期间})));
  1075.             }
  1076.             
  1077.             public System.Collections.IEnumerator GetEnumerator() {
  1078.                 return this.Rows.GetEnumerator();
  1079.             }
  1080.             
  1081.             public override DataTable Clone() {
  1082.                 资产负债表DataTable cln = ((资产负债表DataTable)(base.Clone()));
  1083.                 cln.InitVars();
  1084.                 return cln;
  1085.             }
  1086.             
  1087.             protected override DataTable CreateInstance() {
  1088.                 return new 资产负债表DataTable();
  1089.             }
  1090.             
  1091.             internal void InitVars() {
  1092.                 this.column会计期间 = this.Columns["会计期间"];
  1093.                 this.column现金及现金等价物 = this.Columns["现金及现金等价物"];
  1094.                 this.column应收账款 = this.Columns["应收账款"];
  1095.                 this.column坏账准备 = this.Columns["坏账准备"];
  1096.                 this.column应收账款净值 = this.Columns["应收账款净值"];
  1097.                 this.column流动资产总计 = this.Columns["流动资产总计"];
  1098.                 this.column固定资产原值 = this.Columns["固定资产原值"];
  1099.                 this.column累计折旧 = this.Columns["累计折旧"];
  1100.                 this.column固定资产总计 = this.Columns["固定资产总计"];
  1101.                 this.column其他资产 = this.Columns["其他资产"];
  1102.                 this.column资产总计 = this.Columns["资产总计"];
  1103.                 this.column应付账款 = this.Columns["应付账款"];
  1104.                 this.column预收账款 = this.Columns["预收账款"];
  1105.                 this.column应付工资 = this.Columns["应付工资"];
  1106.                 this.column其他负债 = this.Columns["其他负债"];
  1107.                 this.column负债总计 = this.Columns["负债总计"];
  1108.                 this.column实收资本 = this.Columns["实收资本"];
  1109.                 this.column资本公积 = this.Columns["资本公积"];
  1110.                 this.column赢余公积 = this.Columns["赢余公积"];
  1111.                 this.column未分配利润 = this.Columns["未分配利润"];
  1112.                 this.column所有者权益总计 = this.Columns["所有者权益总计"];
  1113.                 this.column负债及所有者权益总计 = this.Columns["负债及所有者权益总计"];
  1114.             }
  1115.             
  1116.             private void InitClass() {
  1117.                 this.column会计期间 = new DataColumn("会计期间", typeof(int), null, System.Data.MappingType.Element);
  1118.                 this.Columns.Add(this.column会计期间);
  1119.                 this.column现金及现金等价物 = new DataColumn("现金及现金等价物", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1120.                 this.Columns.Add(this.column现金及现金等价物);
  1121.                 this.column应收账款 = new DataColumn("应收账款", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1122.                 this.Columns.Add(this.column应收账款);
  1123.                 this.column坏账准备 = new DataColumn("坏账准备", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1124.                 this.Columns.Add(this.column坏账准备);
  1125.                 this.column应收账款净值 = new DataColumn("应收账款净值", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1126.                 this.Columns.Add(this.column应收账款净值);
  1127.                 this.column流动资产总计 = new DataColumn("流动资产总计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1128.                 this.Columns.Add(this.column流动资产总计);
  1129.                 this.column固定资产原值 = new DataColumn("固定资产原值", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1130.                 this.Columns.Add(this.column固定资产原值);
  1131.                 this.column累计折旧 = new DataColumn("累计折旧", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1132.                 this.Columns.Add(this.column累计折旧);
  1133.                 this.column固定资产总计 = new DataColumn("固定资产总计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1134.                 this.Columns.Add(this.column固定资产总计);
  1135.                 this.column其他资产 = new DataColumn("其他资产", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1136.                 this.Columns.Add(this.column其他资产);
  1137.                 this.column资产总计 = new DataColumn("资产总计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1138.                 this.Columns.Add(this.column资产总计);
  1139.                 this.column应付账款 = new DataColumn("应付账款", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1140.                 this.Columns.Add(this.column应付账款);
  1141.                 this.column预收账款 = new DataColumn("预收账款", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1142.                 this.Columns.Add(this.column预收账款);
  1143.                 this.column应付工资 = new DataColumn("应付工资", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1144.                 this.Columns.Add(this.column应付工资);
  1145.                 this.column其他负债 = new DataColumn("其他负债", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1146.                 this.Columns.Add(this.column其他负债);
  1147.                 this.column负债总计 = new DataColumn("负债总计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1148.                 this.Columns.Add(this.column负债总计);
  1149.                 this.column实收资本 = new DataColumn("实收资本", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1150.                 this.Columns.Add(this.column实收资本);
  1151.                 this.column资本公积 = new DataColumn("资本公积", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1152.                 this.Columns.Add(this.column资本公积);
  1153.                 this.column赢余公积 = new DataColumn("赢余公积", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1154.                 this.Columns.Add(this.column赢余公积);
  1155.                 this.column未分配利润 = new DataColumn("未分配利润", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1156.                 this.Columns.Add(this.column未分配利润);
  1157.                 this.column所有者权益总计 = new DataColumn("所有者权益总计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1158.                 this.Columns.Add(this.column所有者权益总计);
  1159.                 this.column负债及所有者权益总计 = new DataColumn("负债及所有者权益总计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  1160.                 this.Columns.Add(this.column负债及所有者权益总计);
  1161.                 this.Constraints.Add(new UniqueConstraint("DataSet2Key1", new DataColumn[] {
  1162.                                 this.column会计期间}, true));
  1163.                 this.column会计期间.AllowDBNull = false;
  1164.                 this.column会计期间.Unique = true;
  1165.             }
  1166.             
  1167.             public 资产负债表Row New资产负债表Row() {
  1168.                 return ((资产负债表Row)(this.NewRow()));
  1169.             }
  1170.             
  1171.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  1172.                 return new 资产负债表Row(builder);
  1173.             }
  1174.             
  1175.             protected override System.Type GetRowType() {
  1176.                 return typeof(资产负债表Row);
  1177.             }
  1178.             
  1179.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  1180.                 base.OnRowChanged(e);
  1181.                 if ((this.资产负债表RowChanged != null)) {
  1182.                     this.资产负债表RowChanged(this, new 资产负债表RowChangeEvent(((资产负债表Row)(e.Row)), e.Action));
  1183.                 }
  1184.             }
  1185.             
  1186.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  1187.                 base.OnRowChanging(e);
  1188.                 if ((this.资产负债表RowChanging != null)) {
  1189.                     this.资产负债表RowChanging(this, new 资产负债表RowChangeEvent(((资产负债表Row)(e.Row)), e.Action));
  1190.                 }
  1191.             }
  1192.             
  1193.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  1194.                 base.OnRowDeleted(e);
  1195.                 if ((this.资产负债表RowDeleted != null)) {
  1196.                     this.资产负债表RowDeleted(this, new 资产负债表RowChangeEvent(((资产负债表Row)(e.Row)), e.Action));
  1197.                 }
  1198.             }
  1199.             
  1200.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  1201.                 base.OnRowDeleting(e);
  1202.                 if ((this.资产负债表RowDeleting != null)) {
  1203.                     this.资产负债表RowDeleting(this, new 资产负债表RowChangeEvent(((资产负债表Row)(e.Row)), e.Action));
  1204.                 }
  1205.             }
  1206.             
  1207.             public void Remove资产负债表Row(资产负债表Row row) {
  1208.                 this.Rows.Remove(row);
  1209.             }
  1210.         }
  1211.         
  1212.         [System.Diagnostics.DebuggerStepThrough()]
  1213.         public class 资产负债表Row : DataRow {
  1214.             
  1215.             private 资产负债表DataTable table资产负债表;
  1216.             
  1217.             internal 资产负债表Row(DataRowBuilder rb) : 
  1218.                     base(rb) {
  1219.                 this.table资产负债表 = ((资产负债表DataTable)(this.Table));
  1220.             }
  1221.             
  1222.             public int 会计期间 {
  1223.                 get {
  1224.                     return ((int)(this[this.table资产负债表.会计期间Column]));
  1225.                 }
  1226.                 set {
  1227.                     this[this.table资产负债表.会计期间Column] = value;
  1228.                 }
  1229.             }
  1230.             
  1231.             public System.Decimal 现金及现金等价物 {
  1232.                 get {
  1233.                     try {
  1234.                         return ((System.Decimal)(this[this.table资产负债表.现金及现金等价物Column]));
  1235.                     }
  1236.                     catch (InvalidCastException e) {
  1237.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1238.                     }
  1239.                 }
  1240.                 set {
  1241.                     this[this.table资产负债表.现金及现金等价物Column] = value;
  1242.                 }
  1243.             }
  1244.             
  1245.             public System.Decimal 应收账款 {
  1246.                 get {
  1247.                     try {
  1248.                         return ((System.Decimal)(this[this.table资产负债表.应收账款Column]));
  1249.                     }
  1250.                     catch (InvalidCastException e) {
  1251.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1252.                     }
  1253.                 }
  1254.                 set {
  1255.                     this[this.table资产负债表.应收账款Column] = value;
  1256.                 }
  1257.             }
  1258.             
  1259.             public System.Decimal 坏账准备 {
  1260.                 get {
  1261.                     try {
  1262.                         return ((System.Decimal)(this[this.table资产负债表.坏账准备Column]));
  1263.                     }
  1264.                     catch (InvalidCastException e) {
  1265.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1266.                     }
  1267.                 }
  1268.                 set {
  1269.                     this[this.table资产负债表.坏账准备Column] = value;
  1270.                 }
  1271.             }
  1272.             
  1273.             public System.Decimal 应收账款净值 {
  1274.                 get {
  1275.                     try {
  1276.                         return ((System.Decimal)(this[this.table资产负债表.应收账款净值Column]));
  1277.                     }
  1278.                     catch (InvalidCastException e) {
  1279.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1280.                     }
  1281.                 }
  1282.                 set {
  1283.                     this[this.table资产负债表.应收账款净值Column] = value;
  1284.                 }
  1285.             }
  1286.             
  1287.             public System.Decimal 流动资产总计 {
  1288.                 get {
  1289.                     try {
  1290.                         return ((System.Decimal)(this[this.table资产负债表.流动资产总计Column]));
  1291.                     }
  1292.                     catch (InvalidCastException e) {
  1293.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1294.                     }
  1295.                 }
  1296.                 set {
  1297.                     this[this.table资产负债表.流动资产总计Column] = value;
  1298.                 }
  1299.             }
  1300.             
  1301.             public System.Decimal 固定资产原值 {
  1302.                 get {
  1303.                     try {
  1304.                         return ((System.Decimal)(this[this.table资产负债表.固定资产原值Column]));
  1305.                     }
  1306.                     catch (InvalidCastException e) {
  1307.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1308.                     }
  1309.                 }
  1310.                 set {
  1311.                     this[this.table资产负债表.固定资产原值Column] = value;
  1312.                 }
  1313.             }
  1314.             
  1315.             public System.Decimal 累计折旧 {
  1316.                 get {
  1317.                     try {
  1318.                         return ((System.Decimal)(this[this.table资产负债表.累计折旧Column]));
  1319.                     }
  1320.                     catch (InvalidCastException e) {
  1321.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1322.                     }
  1323.                 }
  1324.                 set {
  1325.                     this[this.table资产负债表.累计折旧Column] = value;
  1326.                 }
  1327.             }
  1328.             
  1329.             public System.Decimal 固定资产总计 {
  1330.                 get {
  1331.                     try {
  1332.                         return ((System.Decimal)(this[this.table资产负债表.固定资产总计Column]));
  1333.                     }
  1334.                     catch (InvalidCastException e) {
  1335.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1336.                     }
  1337.                 }
  1338.                 set {
  1339.                     this[this.table资产负债表.固定资产总计Column] = value;
  1340.                 }
  1341.             }
  1342.             
  1343.             public System.Decimal 其他资产 {
  1344.                 get {
  1345.                     try {
  1346.                         return ((System.Decimal)(this[this.table资产负债表.其他资产Column]));
  1347.                     }
  1348.                     catch (InvalidCastException e) {
  1349.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1350.                     }
  1351.                 }
  1352.                 set {
  1353.                     this[this.table资产负债表.其他资产Column] = value;
  1354.                 }
  1355.             }
  1356.             
  1357.             public System.Decimal 资产总计 {
  1358.                 get {
  1359.                     try {
  1360.                         return ((System.Decimal)(this[this.table资产负债表.资产总计Column]));
  1361.                     }
  1362.                     catch (InvalidCastException e) {
  1363.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1364.                     }
  1365.                 }
  1366.                 set {
  1367.                     this[this.table资产负债表.资产总计Column] = value;
  1368.                 }
  1369.             }
  1370.             
  1371.             public System.Decimal 应付账款 {
  1372.                 get {
  1373.                     try {
  1374.                         return ((System.Decimal)(this[this.table资产负债表.应付账款Column]));
  1375.                     }
  1376.                     catch (InvalidCastException e) {
  1377.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1378.                     }
  1379.                 }
  1380.                 set {
  1381.                     this[this.table资产负债表.应付账款Column] = value;
  1382.                 }
  1383.             }
  1384.             
  1385.             public System.Decimal 预收账款 {
  1386.                 get {
  1387.                     try {
  1388.                         return ((System.Decimal)(this[this.table资产负债表.预收账款Column]));
  1389.                     }
  1390.                     catch (InvalidCastException e) {
  1391.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1392.                     }
  1393.                 }
  1394.                 set {
  1395.                     this[this.table资产负债表.预收账款Column] = value;
  1396.                 }
  1397.             }
  1398.             
  1399.             public System.Decimal 应付工资 {
  1400.                 get {
  1401.                     try {
  1402.                         return ((System.Decimal)(this[this.table资产负债表.应付工资Column]));
  1403.                     }
  1404.                     catch (InvalidCastException e) {
  1405.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1406.                     }
  1407.                 }
  1408.                 set {
  1409.                     this[this.table资产负债表.应付工资Column] = value;
  1410.                 }
  1411.             }
  1412.             
  1413.             public System.Decimal 其他负债 {
  1414.                 get {
  1415.                     try {
  1416.                         return ((System.Decimal)(this[this.table资产负债表.其他负债Column]));
  1417.                     }
  1418.                     catch (InvalidCastException e) {
  1419.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1420.                     }
  1421.                 }
  1422.                 set {
  1423.                     this[this.table资产负债表.其他负债Column] = value;
  1424.                 }
  1425.             }
  1426.             
  1427.             public System.Decimal 负债总计 {
  1428.                 get {
  1429.                     try {
  1430.                         return ((System.Decimal)(this[this.table资产负债表.负债总计Column]));
  1431.                     }
  1432.                     catch (InvalidCastException e) {
  1433.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1434.                     }
  1435.                 }
  1436.                 set {
  1437.                     this[this.table资产负债表.负债总计Column] = value;
  1438.                 }
  1439.             }
  1440.             
  1441.             public System.Decimal 实收资本 {
  1442.                 get {
  1443.                     try {
  1444.                         return ((System.Decimal)(this[this.table资产负债表.实收资本Column]));
  1445.                     }
  1446.                     catch (InvalidCastException e) {
  1447.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1448.                     }
  1449.                 }
  1450.                 set {
  1451.                     this[this.table资产负债表.实收资本Column] = value;
  1452.                 }
  1453.             }
  1454.             
  1455.             public System.Decimal 资本公积 {
  1456.                 get {
  1457.                     try {
  1458.                         return ((System.Decimal)(this[this.table资产负债表.资本公积Column]));
  1459.                     }
  1460.                     catch (InvalidCastException e) {
  1461.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1462.                     }
  1463.                 }
  1464.                 set {
  1465.                     this[this.table资产负债表.资本公积Column] = value;
  1466.                 }
  1467.             }
  1468.             
  1469.             public System.Decimal 赢余公积 {
  1470.                 get {
  1471.                     try {
  1472.                         return ((System.Decimal)(this[this.table资产负债表.赢余公积Column]));
  1473.                     }
  1474.                     catch (InvalidCastException e) {
  1475.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1476.                     }
  1477.                 }
  1478.                 set {
  1479.                     this[this.table资产负债表.赢余公积Column] = value;
  1480.                 }
  1481.             }
  1482.             
  1483.             public System.Decimal 未分配利润 {
  1484.                 get {
  1485.                     try {
  1486.                         return ((System.Decimal)(this[this.table资产负债表.未分配利润Column]));
  1487.                     }
  1488.                     catch (InvalidCastException e) {
  1489.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1490.                     }
  1491.                 }
  1492.                 set {
  1493.                     this[this.table资产负债表.未分配利润Column] = value;
  1494.                 }
  1495.             }
  1496.             
  1497.             public System.Decimal 所有者权益总计 {
  1498.                 get {
  1499.                     try {
  1500.                         return ((System.Decimal)(this[this.table资产负债表.所有者权益总计Column]));
  1501.                     }
  1502.                     catch (InvalidCastException e) {
  1503.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1504.                     }
  1505.                 }
  1506.                 set {
  1507.                     this[this.table资产负债表.所有者权益总计Column] = value;
  1508.                 }
  1509.             }
  1510.             
  1511.             public System.Decimal 负债及所有者权益总计 {
  1512.                 get {
  1513.                     try {
  1514.                         return ((System.Decimal)(this[this.table资产负债表.负债及所有者权益总计Column]));
  1515.                     }
  1516.                     catch (InvalidCastException e) {
  1517.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  1518.                     }
  1519.                 }
  1520.                 set {
  1521.                     this[this.table资产负债表.负债及所有者权益总计Column] = value;
  1522.                 }
  1523.             }
  1524.             
  1525.             public bool Is现金及现金等价物Null() {
  1526.                 return this.IsNull(this.table资产负债表.现金及现金等价物Column);
  1527.             }
  1528.             
  1529.             public void Set现金及现金等价物Null() {
  1530.                 this[this.table资产负债表.现金及现金等价物Column] = System.Convert.DBNull;
  1531.             }
  1532.             
  1533.             public bool Is应收账款Null() {
  1534.                 return this.IsNull(this.table资产负债表.应收账款Column);
  1535.             }
  1536.             
  1537.             public void Set应收账款Null() {
  1538.                 this[this.table资产负债表.应收账款Column] = System.Convert.DBNull;
  1539.             }
  1540.             
  1541.             public bool Is坏账准备Null() {
  1542.                 return this.IsNull(this.table资产负债表.坏账准备Column);
  1543.             }
  1544.             
  1545.             public void Set坏账准备Null() {
  1546.                 this[this.table资产负债表.坏账准备Column] = System.Convert.DBNull;
  1547.             }
  1548.             
  1549.             public bool Is应收账款净值Null() {
  1550.                 return this.IsNull(this.table资产负债表.应收账款净值Column);
  1551.             }
  1552.             
  1553.             public void Set应收账款净值Null() {
  1554.                 this[this.table资产负债表.应收账款净值Column] = System.Convert.DBNull;
  1555.             }
  1556.             
  1557.             public bool Is流动资产总计Null() {
  1558.                 return this.IsNull(this.table资产负债表.流动资产总计Column);
  1559.             }
  1560.             
  1561.             public void Set流动资产总计Null() {
  1562.                 this[this.table资产负债表.流动资产总计Column] = System.Convert.DBNull;
  1563.             }
  1564.             
  1565.             public bool Is固定资产原值Null() {
  1566.                 return this.IsNull(this.table资产负债表.固定资产原值Column);
  1567.             }
  1568.             
  1569.             public void Set固定资产原值Null() {
  1570.                 this[this.table资产负债表.固定资产原值Column] = System.Convert.DBNull;
  1571.             }
  1572.             
  1573.             public bool Is累计折旧Null() {
  1574.                 return this.IsNull(this.table资产负债表.累计折旧Column);
  1575.             }
  1576.             
  1577.             public void Set累计折旧Null() {
  1578.                 this[this.table资产负债表.累计折旧Column] = System.Convert.DBNull;
  1579.             }
  1580.             
  1581.             public bool Is固定资产总计Null() {
  1582.                 return this.IsNull(this.table资产负债表.固定资产总计Column);
  1583.             }
  1584.             
  1585.             public void Set固定资产总计Null() {
  1586.                 this[this.table资产负债表.固定资产总计Column] = System.Convert.DBNull;
  1587.             }
  1588.             
  1589.             public bool Is其他资产Null() {
  1590.                 return this.IsNull(this.table资产负债表.其他资产Column);
  1591.             }
  1592.             
  1593.             public void Set其他资产Null() {
  1594.                 this[this.table资产负债表.其他资产Column] = System.Convert.DBNull;
  1595.             }
  1596.             
  1597.             public bool Is资产总计Null() {
  1598.                 return this.IsNull(this.table资产负债表.资产总计Column);
  1599.             }
  1600.             
  1601.             public void Set资产总计Null() {
  1602.                 this[this.table资产负债表.资产总计Column] = System.Convert.DBNull;
  1603.             }
  1604.             
  1605.             public bool Is应付账款Null() {
  1606.                 return this.IsNull(this.table资产负债表.应付账款Column);
  1607.             }
  1608.             
  1609.             public void Set应付账款Null() {
  1610.                 this[this.table资产负债表.应付账款Column] = System.Convert.DBNull;
  1611.             }
  1612.             
  1613.             public bool Is预收账款Null() {
  1614.                 return this.IsNull(this.table资产负债表.预收账款Column);
  1615.             }
  1616.             
  1617.             public void Set预收账款Null() {
  1618.                 this[this.table资产负债表.预收账款Column] = System.Convert.DBNull;
  1619.             }
  1620.             
  1621.             public bool Is应付工资Null() {
  1622.                 return this.IsNull(this.table资产负债表.应付工资Column);
  1623.             }
  1624.             
  1625.             public void Set应付工资Null() {
  1626.                 this[this.table资产负债表.应付工资Column] = System.Convert.DBNull;
  1627.             }
  1628.             
  1629.             public bool Is其他负债Null() {
  1630.                 return this.IsNull(this.table资产负债表.其他负债Column);
  1631.             }
  1632.             
  1633.             public void Set其他负债Null() {
  1634.                 this[this.table资产负债表.其他负债Column] = System.Convert.DBNull;
  1635.             }
  1636.             
  1637.             public bool Is负债总计Null() {
  1638.                 return this.IsNull(this.table资产负债表.负债总计Column);
  1639.             }
  1640.             
  1641.             public void Set负债总计Null() {
  1642.                 this[this.table资产负债表.负债总计Column] = System.Convert.DBNull;
  1643.             }
  1644.             
  1645.             public bool Is实收资本Null() {
  1646.                 return this.IsNull(this.table资产负债表.实收资本Column);
  1647.             }
  1648.             
  1649.             public void Set实收资本Null() {
  1650.                 this[this.table资产负债表.实收资本Column] = System.Convert.DBNull;
  1651.             }
  1652.             
  1653.             public bool Is资本公积Null() {
  1654.                 return this.IsNull(this.table资产负债表.资本公积Column);
  1655.             }
  1656.             
  1657.             public void Set资本公积Null() {
  1658.                 this[this.table资产负债表.资本公积Column] = System.Convert.DBNull;
  1659.             }
  1660.             
  1661.             public bool Is赢余公积Null() {
  1662.                 return this.IsNull(this.table资产负债表.赢余公积Column);
  1663.             }
  1664.             
  1665.             public void Set赢余公积Null() {
  1666.                 this[this.table资产负债表.赢余公积Column] = System.Convert.DBNull;
  1667.             }
  1668.             
  1669.             public bool Is未分配利润Null() {
  1670.                 return this.IsNull(this.table资产负债表.未分配利润Column);
  1671.             }
  1672.             
  1673.             public void Set未分配利润Null() {
  1674.                 this[this.table资产负债表.未分配利润Column] = System.Convert.DBNull;
  1675.             }
  1676.             
  1677.             public bool Is所有者权益总计Null() {
  1678.                 return this.IsNull(this.table资产负债表.所有者权益总计Column);
  1679.             }
  1680.             
  1681.             public void Set所有者权益总计Null() {
  1682.                 this[this.table资产负债表.所有者权益总计Column] = System.Convert.DBNull;
  1683.             }
  1684.             
  1685.             public bool Is负债及所有者权益总计Null() {
  1686.                 return this.IsNull(this.table资产负债表.负债及所有者权益总计Column);
  1687.             }
  1688.             
  1689.             public void Set负债及所有者权益总计Null() {
  1690.                 this[this.table资产负债表.负债及所有者权益总计Column] = System.Convert.DBNull;
  1691.             }
  1692.         }
  1693.         
  1694.         [System.Diagnostics.DebuggerStepThrough()]
  1695.         public class 资产负债表RowChangeEvent : EventArgs {
  1696.             
  1697.             private 资产负债表Row eventRow;
  1698.             
  1699.             private DataRowAction eventAction;
  1700.             
  1701.             public 资产负债表RowChangeEvent(资产负债表Row row, DataRowAction action) {
  1702.                 this.eventRow = row;
  1703.                 this.eventAction = action;
  1704.             }
  1705.             
  1706.             public 资产负债表Row Row {
  1707.                 get {
  1708.                     return this.eventRow;
  1709.                 }
  1710.             }
  1711.             
  1712.             public DataRowAction Action {
  1713.                 get {
  1714.                     return this.eventAction;
  1715.                 }
  1716.             }
  1717.         }
  1718.     }
  1719. }