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

企业管理

开发平台:

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