DataSet2.cs
上传用户:ksd66jhda
上传日期:2013-04-03
资源大小:234k
文件大小:30k
源码类别:

其他行业

开发平台:

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.         public DataSet2() {
  26.             this.InitClass();
  27.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  28.             this.Tables.CollectionChanged += schemaChangedHandler;
  29.             this.Relations.CollectionChanged += schemaChangedHandler;
  30.         }
  31.         
  32.         protected DataSet2(SerializationInfo info, StreamingContext context) {
  33.             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  34.             if ((strSchema != null)) {
  35.                 DataSet ds = new DataSet();
  36.                 ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema)));
  37.                 if ((ds.Tables["进货单"] != null)) {
  38.                     this.Tables.Add(new 进货单DataTable(ds.Tables["进货单"]));
  39.                 }
  40.                 this.DataSetName = ds.DataSetName;
  41.                 this.Prefix = ds.Prefix;
  42.                 this.Namespace = ds.Namespace;
  43.                 this.Locale = ds.Locale;
  44.                 this.CaseSensitive = ds.CaseSensitive;
  45.                 this.EnforceConstraints = ds.EnforceConstraints;
  46.                 this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  47.                 this.InitVars();
  48.             }
  49.             else {
  50.                 this.InitClass();
  51.             }
  52.             this.GetSerializationData(info, context);
  53.             System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  54.             this.Tables.CollectionChanged += schemaChangedHandler;
  55.             this.Relations.CollectionChanged += schemaChangedHandler;
  56.         }
  57.         
  58.         [System.ComponentModel.Browsable(false)]
  59.         [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)]
  60.         public 进货单DataTable 进货单 {
  61.             get {
  62.                 return this.table进货单;
  63.             }
  64.         }
  65.         
  66.         public override DataSet Clone() {
  67.             DataSet2 cln = ((DataSet2)(base.Clone()));
  68.             cln.InitVars();
  69.             return cln;
  70.         }
  71.         
  72.         protected override bool ShouldSerializeTables() {
  73.             return false;
  74.         }
  75.         
  76.         protected override bool ShouldSerializeRelations() {
  77.             return false;
  78.         }
  79.         
  80.         protected override void ReadXmlSerializable(XmlReader reader) {
  81.             this.Reset();
  82.             DataSet ds = new DataSet();
  83.             ds.ReadXml(reader);
  84.             if ((ds.Tables["进货单"] != null)) {
  85.                 this.Tables.Add(new 进货单DataTable(ds.Tables["进货单"]));
  86.             }
  87.             this.DataSetName = ds.DataSetName;
  88.             this.Prefix = ds.Prefix;
  89.             this.Namespace = ds.Namespace;
  90.             this.Locale = ds.Locale;
  91.             this.CaseSensitive = ds.CaseSensitive;
  92.             this.EnforceConstraints = ds.EnforceConstraints;
  93.             this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
  94.             this.InitVars();
  95.         }
  96.         
  97.         protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  98.             System.IO.MemoryStream stream = new System.IO.MemoryStream();
  99.             this.WriteXmlSchema(new XmlTextWriter(stream, null));
  100.             stream.Position = 0;
  101.             return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null);
  102.         }
  103.         
  104.         internal void InitVars() {
  105.             this.table进货单 = ((进货单DataTable)(this.Tables["进货单"]));
  106.             if ((this.table进货单 != null)) {
  107.                 this.table进货单.InitVars();
  108.             }
  109.         }
  110.         
  111.         private void InitClass() {
  112.             this.DataSetName = "DataSet2";
  113.             this.Prefix = "";
  114.             this.Namespace = "http://www.tempuri.org/DataSet2.xsd";
  115.             this.Locale = new System.Globalization.CultureInfo("zh-CN");
  116.             this.CaseSensitive = false;
  117.             this.EnforceConstraints = true;
  118.             this.table进货单 = new 进货单DataTable();
  119.             this.Tables.Add(this.table进货单);
  120.         }
  121.         
  122.         private bool ShouldSerialize进货单() {
  123.             return false;
  124.         }
  125.         
  126.         private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
  127.             if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
  128.                 this.InitVars();
  129.             }
  130.         }
  131.         
  132.         public delegate void 进货单RowChangeEventHandler(object sender, 进货单RowChangeEvent e);
  133.         
  134.         [System.Diagnostics.DebuggerStepThrough()]
  135.         public class 进货单DataTable : DataTable, System.Collections.IEnumerable {
  136.             
  137.             private DataColumn column供货商号;
  138.             
  139.             private DataColumn column货号;
  140.             
  141.             private DataColumn column进货日期;
  142.             
  143.             private DataColumn column业务员;
  144.             
  145.             private DataColumn column制单人;
  146.             
  147.             private DataColumn column进货数量;
  148.             
  149.             private DataColumn column进价;
  150.             
  151.             private DataColumn column税价合计;
  152.             
  153.             private DataColumn column税率;
  154.             
  155.             private DataColumn column不含税价;
  156.             
  157.             private DataColumn column税额;
  158.             
  159.             private DataColumn column名称;
  160.             
  161.             private DataColumn column品名;
  162.             
  163.             private DataColumn column仓库;
  164.             
  165.             private DataColumn column单位;
  166.             
  167.             internal 进货单DataTable() : 
  168.                     base("进货单") {
  169.                 this.InitClass();
  170.             }
  171.             
  172.             internal 进货单DataTable(DataTable table) : 
  173.                     base(table.TableName) {
  174.                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  175.                     this.CaseSensitive = table.CaseSensitive;
  176.                 }
  177.                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  178.                     this.Locale = table.Locale;
  179.                 }
  180.                 if ((table.Namespace != table.DataSet.Namespace)) {
  181.                     this.Namespace = table.Namespace;
  182.                 }
  183.                 this.Prefix = table.Prefix;
  184.                 this.MinimumCapacity = table.MinimumCapacity;
  185.                 this.DisplayExpression = table.DisplayExpression;
  186.             }
  187.             
  188.             [System.ComponentModel.Browsable(false)]
  189.             public int Count {
  190.                 get {
  191.                     return this.Rows.Count;
  192.                 }
  193.             }
  194.             
  195.             internal DataColumn 供货商号Column {
  196.                 get {
  197.                     return this.column供货商号;
  198.                 }
  199.             }
  200.             
  201.             internal DataColumn 货号Column {
  202.                 get {
  203.                     return this.column货号;
  204.                 }
  205.             }
  206.             
  207.             internal DataColumn 进货日期Column {
  208.                 get {
  209.                     return this.column进货日期;
  210.                 }
  211.             }
  212.             
  213.             internal DataColumn 业务员Column {
  214.                 get {
  215.                     return this.column业务员;
  216.                 }
  217.             }
  218.             
  219.             internal DataColumn 制单人Column {
  220.                 get {
  221.                     return this.column制单人;
  222.                 }
  223.             }
  224.             
  225.             internal DataColumn 进货数量Column {
  226.                 get {
  227.                     return this.column进货数量;
  228.                 }
  229.             }
  230.             
  231.             internal DataColumn 进价Column {
  232.                 get {
  233.                     return this.column进价;
  234.                 }
  235.             }
  236.             
  237.             internal DataColumn 税价合计Column {
  238.                 get {
  239.                     return this.column税价合计;
  240.                 }
  241.             }
  242.             
  243.             internal DataColumn 税率Column {
  244.                 get {
  245.                     return this.column税率;
  246.                 }
  247.             }
  248.             
  249.             internal DataColumn 不含税价Column {
  250.                 get {
  251.                     return this.column不含税价;
  252.                 }
  253.             }
  254.             
  255.             internal DataColumn 税额Column {
  256.                 get {
  257.                     return this.column税额;
  258.                 }
  259.             }
  260.             
  261.             internal DataColumn 名称Column {
  262.                 get {
  263.                     return this.column名称;
  264.                 }
  265.             }
  266.             
  267.             internal DataColumn 品名Column {
  268.                 get {
  269.                     return this.column品名;
  270.                 }
  271.             }
  272.             
  273.             internal DataColumn 仓库Column {
  274.                 get {
  275.                     return this.column仓库;
  276.                 }
  277.             }
  278.             
  279.             internal DataColumn 单位Column {
  280.                 get {
  281.                     return this.column单位;
  282.                 }
  283.             }
  284.             
  285.             public 进货单Row this[int index] {
  286.                 get {
  287.                     return ((进货单Row)(this.Rows[index]));
  288.                 }
  289.             }
  290.             
  291.             public event 进货单RowChangeEventHandler 进货单RowChanged;
  292.             
  293.             public event 进货单RowChangeEventHandler 进货单RowChanging;
  294.             
  295.             public event 进货单RowChangeEventHandler 进货单RowDeleted;
  296.             
  297.             public event 进货单RowChangeEventHandler 进货单RowDeleting;
  298.             
  299.             public void Add进货单Row(进货单Row row) {
  300.                 this.Rows.Add(row);
  301.             }
  302.             
  303.             public 进货单Row Add进货单Row(string 供货商号, string 货号, System.DateTime 进货日期, string 业务员, string 制单人, System.Decimal 进货数量, System.Decimal 进价, System.Decimal 税价合计, System.Decimal 税率, System.Decimal 不含税价, System.Decimal 税额, string 名称, string 品名, string 仓库, string 单位) {
  304.                 进货单Row row进货单Row = ((进货单Row)(this.NewRow()));
  305.                 row进货单Row.ItemArray = new object[] {
  306.                         供货商号,
  307.                         货号,
  308.                         进货日期,
  309.                         业务员,
  310.                         制单人,
  311.                         进货数量,
  312.                         进价,
  313.                         税价合计,
  314.                         税率,
  315.                         不含税价,
  316.                         税额,
  317.                         名称,
  318.                         品名,
  319.                         仓库,
  320.                         单位};
  321.                 this.Rows.Add(row进货单Row);
  322.                 return row进货单Row;
  323.             }
  324.             
  325.             public System.Collections.IEnumerator GetEnumerator() {
  326.                 return this.Rows.GetEnumerator();
  327.             }
  328.             
  329.             public override DataTable Clone() {
  330.                 进货单DataTable cln = ((进货单DataTable)(base.Clone()));
  331.                 cln.InitVars();
  332.                 return cln;
  333.             }
  334.             
  335.             protected override DataTable CreateInstance() {
  336.                 return new 进货单DataTable();
  337.             }
  338.             
  339.             internal void InitVars() {
  340.                 this.column供货商号 = this.Columns["供货商号"];
  341.                 this.column货号 = this.Columns["货号"];
  342.                 this.column进货日期 = this.Columns["进货日期"];
  343.                 this.column业务员 = this.Columns["业务员"];
  344.                 this.column制单人 = this.Columns["制单人"];
  345.                 this.column进货数量 = this.Columns["进货数量"];
  346.                 this.column进价 = this.Columns["进价"];
  347.                 this.column税价合计 = this.Columns["税价合计"];
  348.                 this.column税率 = this.Columns["税率"];
  349.                 this.column不含税价 = this.Columns["不含税价"];
  350.                 this.column税额 = this.Columns["税额"];
  351.                 this.column名称 = this.Columns["名称"];
  352.                 this.column品名 = this.Columns["品名"];
  353.                 this.column仓库 = this.Columns["仓库"];
  354.                 this.column单位 = this.Columns["单位"];
  355.             }
  356.             
  357.             private void InitClass() {
  358.                 this.column供货商号 = new DataColumn("供货商号", typeof(string), null, System.Data.MappingType.Element);
  359.                 this.Columns.Add(this.column供货商号);
  360.                 this.column货号 = new DataColumn("货号", typeof(string), null, System.Data.MappingType.Element);
  361.                 this.Columns.Add(this.column货号);
  362.                 this.column进货日期 = new DataColumn("进货日期", typeof(System.DateTime), null, System.Data.MappingType.Element);
  363.                 this.Columns.Add(this.column进货日期);
  364.                 this.column业务员 = new DataColumn("业务员", typeof(string), null, System.Data.MappingType.Element);
  365.                 this.Columns.Add(this.column业务员);
  366.                 this.column制单人 = new DataColumn("制单人", typeof(string), null, System.Data.MappingType.Element);
  367.                 this.Columns.Add(this.column制单人);
  368.                 this.column进货数量 = new DataColumn("进货数量", typeof(System.Decimal), null, System.Data.MappingType.Element);
  369.                 this.Columns.Add(this.column进货数量);
  370.                 this.column进价 = new DataColumn("进价", typeof(System.Decimal), null, System.Data.MappingType.Element);
  371.                 this.Columns.Add(this.column进价);
  372.                 this.column税价合计 = new DataColumn("税价合计", typeof(System.Decimal), null, System.Data.MappingType.Element);
  373.                 this.Columns.Add(this.column税价合计);
  374.                 this.column税率 = new DataColumn("税率", typeof(System.Decimal), null, System.Data.MappingType.Element);
  375.                 this.Columns.Add(this.column税率);
  376.                 this.column不含税价 = new DataColumn("不含税价", typeof(System.Decimal), null, System.Data.MappingType.Element);
  377.                 this.Columns.Add(this.column不含税价);
  378.                 this.column税额 = new DataColumn("税额", typeof(System.Decimal), null, System.Data.MappingType.Element);
  379.                 this.Columns.Add(this.column税额);
  380.                 this.column名称 = new DataColumn("名称", typeof(string), null, System.Data.MappingType.Element);
  381.                 this.Columns.Add(this.column名称);
  382.                 this.column品名 = new DataColumn("品名", typeof(string), null, System.Data.MappingType.Element);
  383.                 this.Columns.Add(this.column品名);
  384.                 this.column仓库 = new DataColumn("仓库", typeof(string), null, System.Data.MappingType.Element);
  385.                 this.Columns.Add(this.column仓库);
  386.                 this.column单位 = new DataColumn("单位", typeof(string), null, System.Data.MappingType.Element);
  387.                 this.Columns.Add(this.column单位);
  388.                 this.column供货商号.AllowDBNull = false;
  389.                 this.column货号.AllowDBNull = false;
  390.                 this.column进货数量.AllowDBNull = false;
  391.                 this.column单位.AllowDBNull = false;
  392.             }
  393.             
  394.             public 进货单Row New进货单Row() {
  395.                 return ((进货单Row)(this.NewRow()));
  396.             }
  397.             
  398.             protected override DataRow NewRowFromBuilder(DataRowBuilder builder) {
  399.                 return new 进货单Row(builder);
  400.             }
  401.             
  402.             protected override System.Type GetRowType() {
  403.                 return typeof(进货单Row);
  404.             }
  405.             
  406.             protected override void OnRowChanged(DataRowChangeEventArgs e) {
  407.                 base.OnRowChanged(e);
  408.                 if ((this.进货单RowChanged != null)) {
  409.                     this.进货单RowChanged(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
  410.                 }
  411.             }
  412.             
  413.             protected override void OnRowChanging(DataRowChangeEventArgs e) {
  414.                 base.OnRowChanging(e);
  415.                 if ((this.进货单RowChanging != null)) {
  416.                     this.进货单RowChanging(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
  417.                 }
  418.             }
  419.             
  420.             protected override void OnRowDeleted(DataRowChangeEventArgs e) {
  421.                 base.OnRowDeleted(e);
  422.                 if ((this.进货单RowDeleted != null)) {
  423.                     this.进货单RowDeleted(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
  424.                 }
  425.             }
  426.             
  427.             protected override void OnRowDeleting(DataRowChangeEventArgs e) {
  428.                 base.OnRowDeleting(e);
  429.                 if ((this.进货单RowDeleting != null)) {
  430.                     this.进货单RowDeleting(this, new 进货单RowChangeEvent(((进货单Row)(e.Row)), e.Action));
  431.                 }
  432.             }
  433.             
  434.             public void Remove进货单Row(进货单Row row) {
  435.                 this.Rows.Remove(row);
  436.             }
  437.         }
  438.         
  439.         [System.Diagnostics.DebuggerStepThrough()]
  440.         public class 进货单Row : DataRow {
  441.             
  442.             private 进货单DataTable table进货单;
  443.             
  444.             internal 进货单Row(DataRowBuilder rb) : 
  445.                     base(rb) {
  446.                 this.table进货单 = ((进货单DataTable)(this.Table));
  447.             }
  448.             
  449.             public string 供货商号 {
  450.                 get {
  451.                     return ((string)(this[this.table进货单.供货商号Column]));
  452.                 }
  453.                 set {
  454.                     this[this.table进货单.供货商号Column] = value;
  455.                 }
  456.             }
  457.             
  458.             public string 货号 {
  459.                 get {
  460.                     return ((string)(this[this.table进货单.货号Column]));
  461.                 }
  462.                 set {
  463.                     this[this.table进货单.货号Column] = value;
  464.                 }
  465.             }
  466.             
  467.             public System.DateTime 进货日期 {
  468.                 get {
  469.                     try {
  470.                         return ((System.DateTime)(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 string 业务员 {
  482.                 get {
  483.                     try {
  484.                         return ((string)(this[this.table进货单.业务员Column]));
  485.                     }
  486.                     catch (InvalidCastException e) {
  487.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  488.                     }
  489.                 }
  490.                 set {
  491.                     this[this.table进货单.业务员Column] = value;
  492.                 }
  493.             }
  494.             
  495.             public string 制单人 {
  496.                 get {
  497.                     try {
  498.                         return ((string)(this[this.table进货单.制单人Column]));
  499.                     }
  500.                     catch (InvalidCastException e) {
  501.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  502.                     }
  503.                 }
  504.                 set {
  505.                     this[this.table进货单.制单人Column] = value;
  506.                 }
  507.             }
  508.             
  509.             public System.Decimal 进货数量 {
  510.                 get {
  511.                     return ((System.Decimal)(this[this.table进货单.进货数量Column]));
  512.                 }
  513.                 set {
  514.                     this[this.table进货单.进货数量Column] = value;
  515.                 }
  516.             }
  517.             
  518.             public System.Decimal 进价 {
  519.                 get {
  520.                     try {
  521.                         return ((System.Decimal)(this[this.table进货单.进价Column]));
  522.                     }
  523.                     catch (InvalidCastException e) {
  524.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  525.                     }
  526.                 }
  527.                 set {
  528.                     this[this.table进货单.进价Column] = value;
  529.                 }
  530.             }
  531.             
  532.             public System.Decimal 税价合计 {
  533.                 get {
  534.                     try {
  535.                         return ((System.Decimal)(this[this.table进货单.税价合计Column]));
  536.                     }
  537.                     catch (InvalidCastException e) {
  538.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  539.                     }
  540.                 }
  541.                 set {
  542.                     this[this.table进货单.税价合计Column] = value;
  543.                 }
  544.             }
  545.             
  546.             public System.Decimal 税率 {
  547.                 get {
  548.                     try {
  549.                         return ((System.Decimal)(this[this.table进货单.税率Column]));
  550.                     }
  551.                     catch (InvalidCastException e) {
  552.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  553.                     }
  554.                 }
  555.                 set {
  556.                     this[this.table进货单.税率Column] = value;
  557.                 }
  558.             }
  559.             
  560.             public System.Decimal 不含税价 {
  561.                 get {
  562.                     try {
  563.                         return ((System.Decimal)(this[this.table进货单.不含税价Column]));
  564.                     }
  565.                     catch (InvalidCastException e) {
  566.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  567.                     }
  568.                 }
  569.                 set {
  570.                     this[this.table进货单.不含税价Column] = value;
  571.                 }
  572.             }
  573.             
  574.             public System.Decimal 税额 {
  575.                 get {
  576.                     try {
  577.                         return ((System.Decimal)(this[this.table进货单.税额Column]));
  578.                     }
  579.                     catch (InvalidCastException e) {
  580.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  581.                     }
  582.                 }
  583.                 set {
  584.                     this[this.table进货单.税额Column] = value;
  585.                 }
  586.             }
  587.             
  588.             public string 名称 {
  589.                 get {
  590.                     try {
  591.                         return ((string)(this[this.table进货单.名称Column]));
  592.                     }
  593.                     catch (InvalidCastException e) {
  594.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  595.                     }
  596.                 }
  597.                 set {
  598.                     this[this.table进货单.名称Column] = value;
  599.                 }
  600.             }
  601.             
  602.             public string 品名 {
  603.                 get {
  604.                     try {
  605.                         return ((string)(this[this.table进货单.品名Column]));
  606.                     }
  607.                     catch (InvalidCastException e) {
  608.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  609.                     }
  610.                 }
  611.                 set {
  612.                     this[this.table进货单.品名Column] = value;
  613.                 }
  614.             }
  615.             
  616.             public string 仓库 {
  617.                 get {
  618.                     try {
  619.                         return ((string)(this[this.table进货单.仓库Column]));
  620.                     }
  621.                     catch (InvalidCastException e) {
  622.                         throw new StrongTypingException("无法获取值,因为它是 DBNull。", e);
  623.                     }
  624.                 }
  625.                 set {
  626.                     this[this.table进货单.仓库Column] = value;
  627.                 }
  628.             }
  629.             
  630.             public string 单位 {
  631.                 get {
  632.                     return ((string)(this[this.table进货单.单位Column]));
  633.                 }
  634.                 set {
  635.                     this[this.table进货单.单位Column] = value;
  636.                 }
  637.             }
  638.             
  639.             public bool Is进货日期Null() {
  640.                 return this.IsNull(this.table进货单.进货日期Column);
  641.             }
  642.             
  643.             public void Set进货日期Null() {
  644.                 this[this.table进货单.进货日期Column] = System.Convert.DBNull;
  645.             }
  646.             
  647.             public bool Is业务员Null() {
  648.                 return this.IsNull(this.table进货单.业务员Column);
  649.             }
  650.             
  651.             public void Set业务员Null() {
  652.                 this[this.table进货单.业务员Column] = System.Convert.DBNull;
  653.             }
  654.             
  655.             public bool Is制单人Null() {
  656.                 return this.IsNull(this.table进货单.制单人Column);
  657.             }
  658.             
  659.             public void Set制单人Null() {
  660.                 this[this.table进货单.制单人Column] = System.Convert.DBNull;
  661.             }
  662.             
  663.             public bool Is进价Null() {
  664.                 return this.IsNull(this.table进货单.进价Column);
  665.             }
  666.             
  667.             public void Set进价Null() {
  668.                 this[this.table进货单.进价Column] = System.Convert.DBNull;
  669.             }
  670.             
  671.             public bool Is税价合计Null() {
  672.                 return this.IsNull(this.table进货单.税价合计Column);
  673.             }
  674.             
  675.             public void Set税价合计Null() {
  676.                 this[this.table进货单.税价合计Column] = System.Convert.DBNull;
  677.             }
  678.             
  679.             public bool Is税率Null() {
  680.                 return this.IsNull(this.table进货单.税率Column);
  681.             }
  682.             
  683.             public void Set税率Null() {
  684.                 this[this.table进货单.税率Column] = System.Convert.DBNull;
  685.             }
  686.             
  687.             public bool Is不含税价Null() {
  688.                 return this.IsNull(this.table进货单.不含税价Column);
  689.             }
  690.             
  691.             public void Set不含税价Null() {
  692.                 this[this.table进货单.不含税价Column] = System.Convert.DBNull;
  693.             }
  694.             
  695.             public bool Is税额Null() {
  696.                 return this.IsNull(this.table进货单.税额Column);
  697.             }
  698.             
  699.             public void Set税额Null() {
  700.                 this[this.table进货单.税额Column] = System.Convert.DBNull;
  701.             }
  702.             
  703.             public bool Is名称Null() {
  704.                 return this.IsNull(this.table进货单.名称Column);
  705.             }
  706.             
  707.             public void Set名称Null() {
  708.                 this[this.table进货单.名称Column] = System.Convert.DBNull;
  709.             }
  710.             
  711.             public bool Is品名Null() {
  712.                 return this.IsNull(this.table进货单.品名Column);
  713.             }
  714.             
  715.             public void Set品名Null() {
  716.                 this[this.table进货单.品名Column] = System.Convert.DBNull;
  717.             }
  718.             
  719.             public bool Is仓库Null() {
  720.                 return this.IsNull(this.table进货单.仓库Column);
  721.             }
  722.             
  723.             public void Set仓库Null() {
  724.                 this[this.table进货单.仓库Column] = System.Convert.DBNull;
  725.             }
  726.         }
  727.         
  728.         [System.Diagnostics.DebuggerStepThrough()]
  729.         public class 进货单RowChangeEvent : EventArgs {
  730.             
  731.             private 进货单Row eventRow;
  732.             
  733.             private DataRowAction eventAction;
  734.             
  735.             public 进货单RowChangeEvent(进货单Row row, DataRowAction action) {
  736.                 this.eventRow = row;
  737.                 this.eventAction = action;
  738.             }
  739.             
  740.             public 进货单Row Row {
  741.                 get {
  742.                     return this.eventRow;
  743.                 }
  744.             }
  745.             
  746.             public DataRowAction Action {
  747.                 get {
  748.                     return this.eventAction;
  749.                 }
  750.             }
  751.         }
  752.     }
  753. }