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

企业管理

开发平台:

C#

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