2958 lines
		
	
	
		
			186 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			2958 lines
		
	
	
		
			186 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| //------------------------------------------------------------------------------
 | |
| // <auto-generated>
 | |
| //     이 코드는 도구를 사용하여 생성되었습니다.
 | |
| //     런타임 버전:4.0.30319.42000
 | |
| //
 | |
| //     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
 | |
| //     이러한 변경 내용이 손실됩니다.
 | |
| // </auto-generated>
 | |
| //------------------------------------------------------------------------------
 | |
| 
 | |
| #pragma warning disable 1591
 | |
| 
 | |
| namespace Project {
 | |
|     
 | |
|     
 | |
|     /// <summary>
 | |
|     ///Represents a strongly typed in-memory cache of data.
 | |
|     ///</summary>
 | |
|     [global::System.Serializable()]
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
 | |
|     [global::System.Xml.Serialization.XmlRootAttribute("DsPMPDatabase")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
 | |
|     public partial class DsPMPDatabase : global::System.Data.DataSet {
 | |
|         
 | |
|         private SPMasterDataTable tableSPMaster;
 | |
|         
 | |
|         private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public DsPMPDatabase() {
 | |
|             this.BeginInit();
 | |
|             this.InitClass();
 | |
|             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
 | |
|             base.Tables.CollectionChanged += schemaChangedHandler;
 | |
|             base.Relations.CollectionChanged += schemaChangedHandler;
 | |
|             this.EndInit();
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected DsPMPDatabase(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
 | |
|                 base(info, context, false) {
 | |
|             if ((this.IsBinarySerialized(info, context) == true)) {
 | |
|                 this.InitVars(false);
 | |
|                 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
 | |
|                 this.Tables.CollectionChanged += schemaChangedHandler1;
 | |
|                 this.Relations.CollectionChanged += schemaChangedHandler1;
 | |
|                 return;
 | |
|             }
 | |
|             string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
 | |
|             if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
 | |
|                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
 | |
|                 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
 | |
|                 if ((ds.Tables["SPMaster"] != null)) {
 | |
|                     base.Tables.Add(new SPMasterDataTable(ds.Tables["SPMaster"]));
 | |
|                 }
 | |
|                 this.DataSetName = ds.DataSetName;
 | |
|                 this.Prefix = ds.Prefix;
 | |
|                 this.Namespace = ds.Namespace;
 | |
|                 this.Locale = ds.Locale;
 | |
|                 this.CaseSensitive = ds.CaseSensitive;
 | |
|                 this.EnforceConstraints = ds.EnforceConstraints;
 | |
|                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             else {
 | |
|                 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
 | |
|             }
 | |
|             this.GetSerializationData(info, context);
 | |
|             global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
 | |
|             base.Tables.CollectionChanged += schemaChangedHandler;
 | |
|             this.Relations.CollectionChanged += schemaChangedHandler;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
 | |
|         public SPMasterDataTable SPMaster {
 | |
|             get {
 | |
|                 return this.tableSPMaster;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.BrowsableAttribute(true)]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
 | |
|         public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
 | |
|             get {
 | |
|                 return this._schemaSerializationMode;
 | |
|             }
 | |
|             set {
 | |
|                 this._schemaSerializationMode = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 | |
|         public new global::System.Data.DataTableCollection Tables {
 | |
|             get {
 | |
|                 return base.Tables;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
 | |
|         public new global::System.Data.DataRelationCollection Relations {
 | |
|             get {
 | |
|                 return base.Relations;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected override void InitializeDerivedDataSet() {
 | |
|             this.BeginInit();
 | |
|             this.InitClass();
 | |
|             this.EndInit();
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public override global::System.Data.DataSet Clone() {
 | |
|             DsPMPDatabase cln = ((DsPMPDatabase)(base.Clone()));
 | |
|             cln.InitVars();
 | |
|             cln.SchemaSerializationMode = this.SchemaSerializationMode;
 | |
|             return cln;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected override bool ShouldSerializeTables() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected override bool ShouldSerializeRelations() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
 | |
|             if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
 | |
|                 this.Reset();
 | |
|                 global::System.Data.DataSet ds = new global::System.Data.DataSet();
 | |
|                 ds.ReadXml(reader);
 | |
|                 if ((ds.Tables["SPMaster"] != null)) {
 | |
|                     base.Tables.Add(new SPMasterDataTable(ds.Tables["SPMaster"]));
 | |
|                 }
 | |
|                 this.DataSetName = ds.DataSetName;
 | |
|                 this.Prefix = ds.Prefix;
 | |
|                 this.Namespace = ds.Namespace;
 | |
|                 this.Locale = ds.Locale;
 | |
|                 this.CaseSensitive = ds.CaseSensitive;
 | |
|                 this.EnforceConstraints = ds.EnforceConstraints;
 | |
|                 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             else {
 | |
|                 this.ReadXml(reader);
 | |
|                 this.InitVars();
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
 | |
|             global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
 | |
|             this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
 | |
|             stream.Position = 0;
 | |
|             return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         internal void InitVars() {
 | |
|             this.InitVars(true);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         internal void InitVars(bool initTable) {
 | |
|             this.tableSPMaster = ((SPMasterDataTable)(base.Tables["SPMaster"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableSPMaster != null)) {
 | |
|                     this.tableSPMaster.InitVars();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private void InitClass() {
 | |
|             this.DataSetName = "DsPMPDatabase";
 | |
|             this.Prefix = "";
 | |
|             this.Namespace = "http://tempuri.org/DsPMPDatabase.xsd";
 | |
|             this.EnforceConstraints = true;
 | |
|             this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|             this.tableSPMaster = new SPMasterDataTable();
 | |
|             base.Tables.Add(this.tableSPMaster);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeSPMaster() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
 | |
|             if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
 | |
|                 this.InitVars();
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
 | |
|             DsPMPDatabase ds = new DsPMPDatabase();
 | |
|             global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
 | |
|             global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
 | |
|             global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|             any.Namespace = ds.Namespace;
 | |
|             sequence.Items.Add(any);
 | |
|             type.Particle = sequence;
 | |
|             global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
 | |
|             if (xs.Contains(dsSchema.TargetNamespace)) {
 | |
|                 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
 | |
|                 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
 | |
|                 try {
 | |
|                     global::System.Xml.Schema.XmlSchema schema = null;
 | |
|                     dsSchema.Write(s1);
 | |
|                     for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
 | |
|                         schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
 | |
|                         s2.SetLength(0);
 | |
|                         schema.Write(s2);
 | |
|                         if ((s1.Length == s2.Length)) {
 | |
|                             s1.Position = 0;
 | |
|                             s2.Position = 0;
 | |
|                             for (; ((s1.Position != s1.Length) 
 | |
|                                         && (s1.ReadByte() == s2.ReadByte())); ) {
 | |
|                                 ;
 | |
|                             }
 | |
|                             if ((s1.Position == s1.Length)) {
 | |
|                                 return type;
 | |
|                             }
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 finally {
 | |
|                     if ((s1 != null)) {
 | |
|                         s1.Close();
 | |
|                     }
 | |
|                     if ((s2 != null)) {
 | |
|                         s2.Close();
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             xs.Add(dsSchema);
 | |
|             return type;
 | |
|         }
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void SPMasterRowChangeEventHandler(object sender, SPMasterRowChangeEvent e);
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class SPMasterDataTable : global::System.Data.TypedTableBase<SPMasterRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnID;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnCtrlNo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnSIDNo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnStorage;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnLocation;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnUseEqmt;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnPartName;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnPartNo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnProcess;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnSupplier;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnSupplierNo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnCurrentQty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnMHA;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnDivision;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnBadQty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnPrice;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnPriceUnit;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnCostCenter;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnMemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnEnrDate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnEnrollee;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterDataTable() {
 | |
|                 this.TableName = "SPMaster";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal SPMasterDataTable(global::System.Data.DataTable table) {
 | |
|                 this.TableName = table.TableName;
 | |
|                 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
 | |
|                     this.CaseSensitive = table.CaseSensitive;
 | |
|                 }
 | |
|                 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
 | |
|                     this.Locale = table.Locale;
 | |
|                 }
 | |
|                 if ((table.Namespace != table.DataSet.Namespace)) {
 | |
|                     this.Namespace = table.Namespace;
 | |
|                 }
 | |
|                 this.Prefix = table.Prefix;
 | |
|                 this.MinimumCapacity = table.MinimumCapacity;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected SPMasterDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : 
 | |
|                     base(info, context) {
 | |
|                 this.InitVars();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn IDColumn {
 | |
|                 get {
 | |
|                     return this.columnID;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn CtrlNoColumn {
 | |
|                 get {
 | |
|                     return this.columnCtrlNo;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn SIDNoColumn {
 | |
|                 get {
 | |
|                     return this.columnSIDNo;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn StorageColumn {
 | |
|                 get {
 | |
|                     return this.columnStorage;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn LocationColumn {
 | |
|                 get {
 | |
|                     return this.columnLocation;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn UseEqmtColumn {
 | |
|                 get {
 | |
|                     return this.columnUseEqmt;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn PartNameColumn {
 | |
|                 get {
 | |
|                     return this.columnPartName;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn PartNoColumn {
 | |
|                 get {
 | |
|                     return this.columnPartNo;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn ProcessColumn {
 | |
|                 get {
 | |
|                     return this.columnProcess;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn SupplierColumn {
 | |
|                 get {
 | |
|                     return this.columnSupplier;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn SupplierNoColumn {
 | |
|                 get {
 | |
|                     return this.columnSupplierNo;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn CurrentQtyColumn {
 | |
|                 get {
 | |
|                     return this.columnCurrentQty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn MHAColumn {
 | |
|                 get {
 | |
|                     return this.columnMHA;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn DivisionColumn {
 | |
|                 get {
 | |
|                     return this.columnDivision;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn BadQtyColumn {
 | |
|                 get {
 | |
|                     return this.columnBadQty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn PriceColumn {
 | |
|                 get {
 | |
|                     return this.columnPrice;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn PriceUnitColumn {
 | |
|                 get {
 | |
|                     return this.columnPriceUnit;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn CostCenterColumn {
 | |
|                 get {
 | |
|                     return this.columnCostCenter;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn MemoColumn {
 | |
|                 get {
 | |
|                     return this.columnMemo;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn EnrDateColumn {
 | |
|                 get {
 | |
|                     return this.columnEnrDate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn EnrolleeColumn {
 | |
|                 get {
 | |
|                     return this.columnEnrollee;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             [global::System.ComponentModel.Browsable(false)]
 | |
|             public int Count {
 | |
|                 get {
 | |
|                     return this.Rows.Count;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterRow this[int index] {
 | |
|                 get {
 | |
|                     return ((SPMasterRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event SPMasterRowChangeEventHandler SPMasterRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event SPMasterRowChangeEventHandler SPMasterRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event SPMasterRowChangeEventHandler SPMasterRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event SPMasterRowChangeEventHandler SPMasterRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddSPMasterRow(SPMasterRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterRow AddSPMasterRow(
 | |
|                         string CtrlNo, 
 | |
|                         string SIDNo, 
 | |
|                         string Storage, 
 | |
|                         string Location, 
 | |
|                         string UseEqmt, 
 | |
|                         string PartName, 
 | |
|                         string PartNo, 
 | |
|                         string Process, 
 | |
|                         string Supplier, 
 | |
|                         string SupplierNo, 
 | |
|                         double CurrentQty, 
 | |
|                         double MHA, 
 | |
|                         string Division, 
 | |
|                         float BadQty, 
 | |
|                         double Price, 
 | |
|                         string PriceUnit, 
 | |
|                         string CostCenter, 
 | |
|                         string Memo, 
 | |
|                         System.DateTime EnrDate, 
 | |
|                         string Enrollee) {
 | |
|                 SPMasterRow rowSPMasterRow = ((SPMasterRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         CtrlNo,
 | |
|                         SIDNo,
 | |
|                         Storage,
 | |
|                         Location,
 | |
|                         UseEqmt,
 | |
|                         PartName,
 | |
|                         PartNo,
 | |
|                         Process,
 | |
|                         Supplier,
 | |
|                         SupplierNo,
 | |
|                         CurrentQty,
 | |
|                         MHA,
 | |
|                         Division,
 | |
|                         BadQty,
 | |
|                         Price,
 | |
|                         PriceUnit,
 | |
|                         CostCenter,
 | |
|                         Memo,
 | |
|                         EnrDate,
 | |
|                         Enrollee};
 | |
|                 rowSPMasterRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowSPMasterRow);
 | |
|                 return rowSPMasterRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterRow FindByID(int ID) {
 | |
|                 return ((SPMasterRow)(this.Rows.Find(new object[] {
 | |
|                             ID})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 SPMasterDataTable cln = ((SPMasterDataTable)(base.Clone()));
 | |
|                 cln.InitVars();
 | |
|                 return cln;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override global::System.Data.DataTable CreateInstance() {
 | |
|                 return new SPMasterDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnID = base.Columns["ID"];
 | |
|                 this.columnCtrlNo = base.Columns["CtrlNo"];
 | |
|                 this.columnSIDNo = base.Columns["SIDNo"];
 | |
|                 this.columnStorage = base.Columns["Storage"];
 | |
|                 this.columnLocation = base.Columns["Location"];
 | |
|                 this.columnUseEqmt = base.Columns["UseEqmt"];
 | |
|                 this.columnPartName = base.Columns["PartName"];
 | |
|                 this.columnPartNo = base.Columns["PartNo"];
 | |
|                 this.columnProcess = base.Columns["Process"];
 | |
|                 this.columnSupplier = base.Columns["Supplier"];
 | |
|                 this.columnSupplierNo = base.Columns["SupplierNo"];
 | |
|                 this.columnCurrentQty = base.Columns["CurrentQty"];
 | |
|                 this.columnMHA = base.Columns["MHA"];
 | |
|                 this.columnDivision = base.Columns["Division"];
 | |
|                 this.columnBadQty = base.Columns["BadQty"];
 | |
|                 this.columnPrice = base.Columns["Price"];
 | |
|                 this.columnPriceUnit = base.Columns["PriceUnit"];
 | |
|                 this.columnCostCenter = base.Columns["CostCenter"];
 | |
|                 this.columnMemo = base.Columns["Memo"];
 | |
|                 this.columnEnrDate = base.Columns["EnrDate"];
 | |
|                 this.columnEnrollee = base.Columns["Enrollee"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnID);
 | |
|                 this.columnCtrlNo = new global::System.Data.DataColumn("CtrlNo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnCtrlNo);
 | |
|                 this.columnSIDNo = new global::System.Data.DataColumn("SIDNo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnSIDNo);
 | |
|                 this.columnStorage = new global::System.Data.DataColumn("Storage", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnStorage);
 | |
|                 this.columnLocation = new global::System.Data.DataColumn("Location", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnLocation);
 | |
|                 this.columnUseEqmt = new global::System.Data.DataColumn("UseEqmt", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnUseEqmt);
 | |
|                 this.columnPartName = new global::System.Data.DataColumn("PartName", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnPartName);
 | |
|                 this.columnPartNo = new global::System.Data.DataColumn("PartNo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnPartNo);
 | |
|                 this.columnProcess = new global::System.Data.DataColumn("Process", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnProcess);
 | |
|                 this.columnSupplier = new global::System.Data.DataColumn("Supplier", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnSupplier);
 | |
|                 this.columnSupplierNo = new global::System.Data.DataColumn("SupplierNo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnSupplierNo);
 | |
|                 this.columnCurrentQty = new global::System.Data.DataColumn("CurrentQty", typeof(double), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnCurrentQty);
 | |
|                 this.columnMHA = new global::System.Data.DataColumn("MHA", typeof(double), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnMHA);
 | |
|                 this.columnDivision = new global::System.Data.DataColumn("Division", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnDivision);
 | |
|                 this.columnBadQty = new global::System.Data.DataColumn("BadQty", typeof(float), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnBadQty);
 | |
|                 this.columnPrice = new global::System.Data.DataColumn("Price", typeof(double), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnPrice);
 | |
|                 this.columnPriceUnit = new global::System.Data.DataColumn("PriceUnit", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnPriceUnit);
 | |
|                 this.columnCostCenter = new global::System.Data.DataColumn("CostCenter", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnCostCenter);
 | |
|                 this.columnMemo = new global::System.Data.DataColumn("Memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnMemo);
 | |
|                 this.columnEnrDate = new global::System.Data.DataColumn("EnrDate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnEnrDate);
 | |
|                 this.columnEnrollee = new global::System.Data.DataColumn("Enrollee", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnEnrollee);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnID}, true));
 | |
|                 this.columnID.AutoIncrement = true;
 | |
|                 this.columnID.AutoIncrementSeed = -1;
 | |
|                 this.columnID.AutoIncrementStep = -1;
 | |
|                 this.columnID.AllowDBNull = false;
 | |
|                 this.columnID.Unique = true;
 | |
|                 this.columnCtrlNo.MaxLength = 10;
 | |
|                 this.columnSIDNo.MaxLength = 20;
 | |
|                 this.columnStorage.MaxLength = 15;
 | |
|                 this.columnLocation.MaxLength = 25;
 | |
|                 this.columnUseEqmt.MaxLength = 30;
 | |
|                 this.columnPartName.MaxLength = 55;
 | |
|                 this.columnPartNo.MaxLength = 255;
 | |
|                 this.columnProcess.MaxLength = 20;
 | |
|                 this.columnSupplier.MaxLength = 30;
 | |
|                 this.columnSupplierNo.MaxLength = 25;
 | |
|                 this.columnDivision.MaxLength = 20;
 | |
|                 this.columnPriceUnit.MaxLength = 5;
 | |
|                 this.columnCostCenter.MaxLength = 20;
 | |
|                 this.columnMemo.MaxLength = 60;
 | |
|                 this.columnEnrollee.MaxLength = 15;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterRow NewSPMasterRow() {
 | |
|                 return ((SPMasterRow)(this.NewRow()));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
 | |
|                 return new SPMasterRow(builder);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override global::System.Type GetRowType() {
 | |
|                 return typeof(SPMasterRow);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanged(e);
 | |
|                 if ((this.SPMasterRowChanged != null)) {
 | |
|                     this.SPMasterRowChanged(this, new SPMasterRowChangeEvent(((SPMasterRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowChanging(e);
 | |
|                 if ((this.SPMasterRowChanging != null)) {
 | |
|                     this.SPMasterRowChanging(this, new SPMasterRowChangeEvent(((SPMasterRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleted(e);
 | |
|                 if ((this.SPMasterRowDeleted != null)) {
 | |
|                     this.SPMasterRowDeleted(this, new SPMasterRowChangeEvent(((SPMasterRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
 | |
|                 base.OnRowDeleting(e);
 | |
|                 if ((this.SPMasterRowDeleting != null)) {
 | |
|                     this.SPMasterRowDeleting(this, new SPMasterRowChangeEvent(((SPMasterRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveSPMasterRow(SPMasterRow row) {
 | |
|                 this.Rows.Remove(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
 | |
|                 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
 | |
|                 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
 | |
|                 DsPMPDatabase ds = new DsPMPDatabase();
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
 | |
|                 any1.MinOccurs = new decimal(0);
 | |
|                 any1.MaxOccurs = decimal.MaxValue;
 | |
|                 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
 | |
|                 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
 | |
|                 any2.MinOccurs = new decimal(1);
 | |
|                 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
 | |
|                 sequence.Items.Add(any2);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute1.Name = "namespace";
 | |
|                 attribute1.FixedValue = ds.Namespace;
 | |
|                 type.Attributes.Add(attribute1);
 | |
|                 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
 | |
|                 attribute2.Name = "tableTypeName";
 | |
|                 attribute2.FixedValue = "SPMasterDataTable";
 | |
|                 type.Attributes.Add(attribute2);
 | |
|                 type.Particle = sequence;
 | |
|                 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
 | |
|                 if (xs.Contains(dsSchema.TargetNamespace)) {
 | |
|                     global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
 | |
|                     global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
 | |
|                     try {
 | |
|                         global::System.Xml.Schema.XmlSchema schema = null;
 | |
|                         dsSchema.Write(s1);
 | |
|                         for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
 | |
|                             schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
 | |
|                             s2.SetLength(0);
 | |
|                             schema.Write(s2);
 | |
|                             if ((s1.Length == s2.Length)) {
 | |
|                                 s1.Position = 0;
 | |
|                                 s2.Position = 0;
 | |
|                                 for (; ((s1.Position != s1.Length) 
 | |
|                                             && (s1.ReadByte() == s2.ReadByte())); ) {
 | |
|                                     ;
 | |
|                                 }
 | |
|                                 if ((s1.Position == s1.Length)) {
 | |
|                                     return type;
 | |
|                                 }
 | |
|                             }
 | |
|                         }
 | |
|                     }
 | |
|                     finally {
 | |
|                         if ((s1 != null)) {
 | |
|                             s1.Close();
 | |
|                         }
 | |
|                         if ((s2 != null)) {
 | |
|                             s2.Close();
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 xs.Add(dsSchema);
 | |
|                 return type;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class SPMasterRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private SPMasterDataTable tableSPMaster;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal SPMasterRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableSPMaster = ((SPMasterDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int ID {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableSPMaster.IDColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.IDColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string CtrlNo {
 | |
|                 get {
 | |
|                     if (this.IsCtrlNoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.CtrlNoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.CtrlNoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string SIDNo {
 | |
|                 get {
 | |
|                     if (this.IsSIDNoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.SIDNoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.SIDNoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Storage {
 | |
|                 get {
 | |
|                     if (this.IsStorageNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.StorageColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.StorageColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Location {
 | |
|                 get {
 | |
|                     if (this.IsLocationNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.LocationColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.LocationColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string UseEqmt {
 | |
|                 get {
 | |
|                     if (this.IsUseEqmtNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.UseEqmtColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.UseEqmtColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string PartName {
 | |
|                 get {
 | |
|                     if (this.IsPartNameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.PartNameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.PartNameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string PartNo {
 | |
|                 get {
 | |
|                     if (this.IsPartNoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.PartNoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.PartNoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Process {
 | |
|                 get {
 | |
|                     if (this.IsProcessNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.ProcessColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.ProcessColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Supplier {
 | |
|                 get {
 | |
|                     if (this.IsSupplierNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.SupplierColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.SupplierColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string SupplierNo {
 | |
|                 get {
 | |
|                     if (this.IsSupplierNoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.SupplierNoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.SupplierNoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public double CurrentQty {
 | |
|                 get {
 | |
|                     if (this.IsCurrentQtyNull()) {
 | |
|                         return 0D;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((double)(this[this.tableSPMaster.CurrentQtyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.CurrentQtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public double MHA {
 | |
|                 get {
 | |
|                     if (this.IsMHANull()) {
 | |
|                         return 0D;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((double)(this[this.tableSPMaster.MHAColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.MHAColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Division {
 | |
|                 get {
 | |
|                     if (this.IsDivisionNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.DivisionColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.DivisionColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public float BadQty {
 | |
|                 get {
 | |
|                     if (this.IsBadQtyNull()) {
 | |
|                         return 0F;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((float)(this[this.tableSPMaster.BadQtyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.BadQtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public double Price {
 | |
|                 get {
 | |
|                     if (this.IsPriceNull()) {
 | |
|                         return 0D;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((double)(this[this.tableSPMaster.PriceColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.PriceColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string PriceUnit {
 | |
|                 get {
 | |
|                     if (this.IsPriceUnitNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.PriceUnitColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.PriceUnitColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string CostCenter {
 | |
|                 get {
 | |
|                     if (this.IsCostCenterNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.CostCenterColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.CostCenterColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Memo {
 | |
|                 get {
 | |
|                     if (this.IsMemoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.MemoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.MemoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime EnrDate {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((global::System.DateTime)(this[this.tableSPMaster.EnrDateColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'SPMaster\' 테이블의 \'EnrDate\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.EnrDateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string Enrollee {
 | |
|                 get {
 | |
|                     if (this.IsEnrolleeNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableSPMaster.EnrolleeColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableSPMaster.EnrolleeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsCtrlNoNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.CtrlNoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetCtrlNoNull() {
 | |
|                 this[this.tableSPMaster.CtrlNoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsSIDNoNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.SIDNoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetSIDNoNull() {
 | |
|                 this[this.tableSPMaster.SIDNoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsStorageNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.StorageColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetStorageNull() {
 | |
|                 this[this.tableSPMaster.StorageColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsLocationNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.LocationColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetLocationNull() {
 | |
|                 this[this.tableSPMaster.LocationColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsUseEqmtNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.UseEqmtColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetUseEqmtNull() {
 | |
|                 this[this.tableSPMaster.UseEqmtColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsPartNameNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.PartNameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetPartNameNull() {
 | |
|                 this[this.tableSPMaster.PartNameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsPartNoNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.PartNoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetPartNoNull() {
 | |
|                 this[this.tableSPMaster.PartNoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsProcessNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.ProcessColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetProcessNull() {
 | |
|                 this[this.tableSPMaster.ProcessColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsSupplierNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.SupplierColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetSupplierNull() {
 | |
|                 this[this.tableSPMaster.SupplierColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsSupplierNoNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.SupplierNoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetSupplierNoNull() {
 | |
|                 this[this.tableSPMaster.SupplierNoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsCurrentQtyNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.CurrentQtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetCurrentQtyNull() {
 | |
|                 this[this.tableSPMaster.CurrentQtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsMHANull() {
 | |
|                 return this.IsNull(this.tableSPMaster.MHAColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetMHANull() {
 | |
|                 this[this.tableSPMaster.MHAColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsDivisionNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.DivisionColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetDivisionNull() {
 | |
|                 this[this.tableSPMaster.DivisionColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsBadQtyNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.BadQtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetBadQtyNull() {
 | |
|                 this[this.tableSPMaster.BadQtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsPriceNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.PriceColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetPriceNull() {
 | |
|                 this[this.tableSPMaster.PriceColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsPriceUnitNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.PriceUnitColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetPriceUnitNull() {
 | |
|                 this[this.tableSPMaster.PriceUnitColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsCostCenterNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.CostCenterColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetCostCenterNull() {
 | |
|                 this[this.tableSPMaster.CostCenterColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsMemoNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.MemoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetMemoNull() {
 | |
|                 this[this.tableSPMaster.MemoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsEnrDateNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.EnrDateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetEnrDateNull() {
 | |
|                 this[this.tableSPMaster.EnrDateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsEnrolleeNull() {
 | |
|                 return this.IsNull(this.tableSPMaster.EnrolleeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetEnrolleeNull() {
 | |
|                 this[this.tableSPMaster.EnrolleeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class SPMasterRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private SPMasterRow eventRow;
 | |
|             
 | |
|             private global::System.Data.DataRowAction eventAction;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterRowChangeEvent(SPMasterRow row, global::System.Data.DataRowAction action) {
 | |
|                 this.eventRow = row;
 | |
|                 this.eventAction = action;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public SPMasterRow Row {
 | |
|                 get {
 | |
|                     return this.eventRow;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataRowAction Action {
 | |
|                 get {
 | |
|                     return this.eventAction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| namespace Project.DsPMPDatabaseTableAdapters {
 | |
|     
 | |
|     
 | |
|     /// <summary>
 | |
|     ///Represents the connection and commands used to retrieve and save data.
 | |
|     ///</summary>
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.ComponentModel.DataObjectAttribute(true)]
 | |
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
 | |
|         ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|     public partial class SPMasterTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.OleDb.OleDbDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.OleDb.OleDbConnection _connection;
 | |
|         
 | |
|         private global::System.Data.OleDb.OleDbTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.OleDb.OleDbCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public SPMasterTableAdapter() {
 | |
|             this.ClearBeforeFill = true;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected internal global::System.Data.OleDb.OleDbDataAdapter Adapter {
 | |
|             get {
 | |
|                 if ((this._adapter == null)) {
 | |
|                     this.InitAdapter();
 | |
|                 }
 | |
|                 return this._adapter;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         internal global::System.Data.OleDb.OleDbConnection Connection {
 | |
|             get {
 | |
|                 if ((this._connection == null)) {
 | |
|                     this.InitConnection();
 | |
|                 }
 | |
|                 return this._connection;
 | |
|             }
 | |
|             set {
 | |
|                 this._connection = value;
 | |
|                 if ((this.Adapter.InsertCommand != null)) {
 | |
|                     this.Adapter.InsertCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.DeleteCommand != null)) {
 | |
|                     this.Adapter.DeleteCommand.Connection = value;
 | |
|                 }
 | |
|                 if ((this.Adapter.UpdateCommand != null)) {
 | |
|                     this.Adapter.UpdateCommand.Connection = value;
 | |
|                 }
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     if ((this.CommandCollection[i] != null)) {
 | |
|                         ((global::System.Data.OleDb.OleDbCommand)(this.CommandCollection[i])).Connection = value;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         internal global::System.Data.OleDb.OleDbTransaction Transaction {
 | |
|             get {
 | |
|                 return this._transaction;
 | |
|             }
 | |
|             set {
 | |
|                 this._transaction = value;
 | |
|                 for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
 | |
|                     this.CommandCollection[i].Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.DeleteCommand != null))) {
 | |
|                     this.Adapter.DeleteCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.InsertCommand != null))) {
 | |
|                     this.Adapter.InsertCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|                 if (((this.Adapter != null) 
 | |
|                             && (this.Adapter.UpdateCommand != null))) {
 | |
|                     this.Adapter.UpdateCommand.Transaction = this._transaction;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected global::System.Data.OleDb.OleDbCommand[] CommandCollection {
 | |
|             get {
 | |
|                 if ((this._commandCollection == null)) {
 | |
|                     this.InitCommandCollection();
 | |
|                 }
 | |
|                 return this._commandCollection;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public bool ClearBeforeFill {
 | |
|             get {
 | |
|                 return this._clearBeforeFill;
 | |
|             }
 | |
|             set {
 | |
|                 this._clearBeforeFill = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private void InitAdapter() {
 | |
|             this._adapter = new global::System.Data.OleDb.OleDbDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "SPMaster";
 | |
|             tableMapping.ColumnMappings.Add("ID", "ID");
 | |
|             tableMapping.ColumnMappings.Add("CtrlNo", "CtrlNo");
 | |
|             tableMapping.ColumnMappings.Add("SIDNo", "SIDNo");
 | |
|             tableMapping.ColumnMappings.Add("Storage", "Storage");
 | |
|             tableMapping.ColumnMappings.Add("Location", "Location");
 | |
|             tableMapping.ColumnMappings.Add("UseEqmt", "UseEqmt");
 | |
|             tableMapping.ColumnMappings.Add("PartName", "PartName");
 | |
|             tableMapping.ColumnMappings.Add("PartNo", "PartNo");
 | |
|             tableMapping.ColumnMappings.Add("Process", "Process");
 | |
|             tableMapping.ColumnMappings.Add("Supplier", "Supplier");
 | |
|             tableMapping.ColumnMappings.Add("SupplierNo", "SupplierNo");
 | |
|             tableMapping.ColumnMappings.Add("CurrentQty", "CurrentQty");
 | |
|             tableMapping.ColumnMappings.Add("MHA", "MHA");
 | |
|             tableMapping.ColumnMappings.Add("Division", "Division");
 | |
|             tableMapping.ColumnMappings.Add("BadQty", "BadQty");
 | |
|             tableMapping.ColumnMappings.Add("Price", "Price");
 | |
|             tableMapping.ColumnMappings.Add("PriceUnit", "PriceUnit");
 | |
|             tableMapping.ColumnMappings.Add("CostCenter", "CostCenter");
 | |
|             tableMapping.ColumnMappings.Add("Memo", "Memo");
 | |
|             tableMapping.ColumnMappings.Add("EnrDate", "EnrDate");
 | |
|             tableMapping.ColumnMappings.Add("Enrollee", "Enrollee");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.OleDb.OleDbCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM `SPMaster` WHERE ((`ID` = ?) AND ((? = 1 AND `CtrlNo` IS NULL) OR (`CtrlNo` = ?)) AND ((? = 1 AND `SIDNo` IS NULL) OR (`SIDNo` = ?)) AND ((? = 1 AND `Storage` IS NULL) OR (`Storage` = ?)) AND ((? = 1 AND `Location` IS NULL) OR (`Location` = ?)) AND ((? = 1 AND `UseEqmt` IS NULL) OR (`UseEqmt` = ?)) AND ((? = 1 AND `PartName` IS NULL) OR (`PartName` = ?)) AND ((? = 1 AND `PartNo` IS NULL) OR (`PartNo` = ?)) AND ((? = 1 AND `Process` IS NULL) OR (`Process` = ?)) AND ((? = 1 AND `Supplier` IS NULL) OR (`Supplier` = ?)) AND ((? = 1 AND `SupplierNo` IS NULL) OR (`SupplierNo` = ?)) AND ((? = 1 AND `CurrentQty` IS NULL) OR (`CurrentQty` = ?)) AND ((? = 1 AND `MHA` IS NULL) OR (`MHA` = ?)) AND ((? = 1 AND `Division` IS NULL) OR (`Division` = ?)) AND ((? = 1 AND `BadQty` IS NULL) OR (`BadQty` = ?)) AND ((? = 1 AND `Price` IS NULL) OR (`Price` = ?)) AND ((? = 1 AND `PriceUnit` IS NULL) OR (`PriceUnit` = ?)) AND ((? = 1 AND `CostCenter` IS NULL) OR (`CostCenter` = ?)) AND ((? = 1 AND `Memo` IS NULL) OR (`Memo` = ?)) AND ((? = 1 AND `EnrDate` IS NULL) OR (`EnrDate` = ?)) AND ((? = 1 AND `Enrollee` IS NULL) OR (`Enrollee` = ?)))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_ID", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "ID", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_CtrlNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CtrlNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_CtrlNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CtrlNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_SIDNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SIDNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_SIDNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SIDNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Storage", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Storage", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Storage", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Storage", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Location", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Location", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Location", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Location", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_UseEqmt", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UseEqmt", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_UseEqmt", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UseEqmt", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_PartName", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartName", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_PartName", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartName", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_PartNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_PartNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Process", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Process", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Process", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Process", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Supplier", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Supplier", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Supplier", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Supplier", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_SupplierNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SupplierNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_SupplierNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SupplierNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_CurrentQty", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CurrentQty", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_CurrentQty", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CurrentQty", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_MHA", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "MHA", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_MHA", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "MHA", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Division", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Division", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Division", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Division", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_BadQty", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "BadQty", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_BadQty", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "BadQty", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Price", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Price", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Price", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Price", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_PriceUnit", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PriceUnit", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_PriceUnit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PriceUnit", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_CostCenter", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CostCenter", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_CostCenter", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CostCenter", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Memo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Memo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Memo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Memo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_EnrDate", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "EnrDate", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_EnrDate", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "EnrDate", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Enrollee", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Enrollee", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Enrollee", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Enrollee", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.InsertCommand = new global::System.Data.OleDb.OleDbCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO `SPMaster` (`CtrlNo`, `SIDNo`, `Storage`, `Location`, `UseEqmt`, `PartName`, `PartNo`, `Process`, `Supplier`, `SupplierNo`, `CurrentQty`, `MHA`, `Division`, `BadQty`, `Price`, `PriceUnit`, `CostCenter`, `Memo`, `EnrDate`, `Enrollee`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("CtrlNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CtrlNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("SIDNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SIDNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Storage", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Storage", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Location", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Location", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("UseEqmt", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UseEqmt", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("PartName", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartName", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("PartNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Process", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Process", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Supplier", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Supplier", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("SupplierNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SupplierNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("CurrentQty", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CurrentQty", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("MHA", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "MHA", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Division", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Division", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("BadQty", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "BadQty", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Price", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Price", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("PriceUnit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PriceUnit", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("CostCenter", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CostCenter", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Memo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Memo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("EnrDate", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "EnrDate", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Enrollee", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Enrollee", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.OleDb.OleDbCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE `SPMaster` SET `CtrlNo` = ?, `SIDNo` = ?, `Storage` = ?, `Location` = ?, `UseEqmt` = ?, `PartName` = ?, `PartNo` = ?, `Process` = ?, `Supplier` = ?, `SupplierNo` = ?, `CurrentQty` = ?, `MHA` = ?, `Division` = ?, `BadQty` = ?, `Price` = ?, `PriceUnit` = ?, `CostCenter` = ?, `Memo` = ?, `EnrDate` = ?, `Enrollee` = ? WHERE ((`ID` = ?) AND ((? = 1 AND `CtrlNo` IS NULL) OR (`CtrlNo` = ?)) AND ((? = 1 AND `SIDNo` IS NULL) OR (`SIDNo` = ?)) AND ((? = 1 AND `Storage` IS NULL) OR (`Storage` = ?)) AND ((? = 1 AND `Location` IS NULL) OR (`Location` = ?)) AND ((? = 1 AND `UseEqmt` IS NULL) OR (`UseEqmt` = ?)) AND ((? = 1 AND `PartName` IS NULL) OR (`PartName` = ?)) AND ((? = 1 AND `PartNo` IS NULL) OR (`PartNo` = ?)) AND ((? = 1 AND `Process` IS NULL) OR (`Process` = ?)) AND ((? = 1 AND `Supplier` IS NULL) OR (`Supplier` = ?)) AND ((? = 1 AND `SupplierNo` IS NULL) OR (`SupplierNo` = ?)) AND ((? = 1 AND `CurrentQty` IS NULL) OR (`CurrentQty` = ?)) AND ((? = 1 AND `MHA` IS NULL) OR (`MHA` = ?)) AND ((? = 1 AND `Division` IS NULL) OR (`Division` = ?)) AND ((? = 1 AND `BadQty` IS NULL) OR (`BadQty` = ?)) AND ((? = 1 AND `Price` IS NULL) OR (`Price` = ?)) AND ((? = 1 AND `PriceUnit` IS NULL) OR (`PriceUnit` = ?)) AND ((? = 1 AND `CostCenter` IS NULL) OR (`CostCenter` = ?)) AND ((? = 1 AND `Memo` IS NULL) OR (`Memo` = ?)) AND ((? = 1 AND `EnrDate` IS NULL) OR (`EnrDate` = ?)) AND ((? = 1 AND `Enrollee` IS NULL) OR (`Enrollee` = ?)))";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("CtrlNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CtrlNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("SIDNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SIDNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Storage", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Storage", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Location", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Location", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("UseEqmt", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UseEqmt", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("PartName", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartName", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("PartNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Process", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Process", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Supplier", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Supplier", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("SupplierNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SupplierNo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("CurrentQty", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CurrentQty", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("MHA", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "MHA", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Division", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Division", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("BadQty", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "BadQty", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Price", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Price", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("PriceUnit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PriceUnit", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("CostCenter", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CostCenter", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Memo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Memo", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("EnrDate", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "EnrDate", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Enrollee", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Enrollee", global::System.Data.DataRowVersion.Current, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_ID", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "ID", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_CtrlNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CtrlNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_CtrlNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CtrlNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_SIDNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SIDNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_SIDNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SIDNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Storage", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Storage", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Storage", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Storage", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Location", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Location", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Location", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Location", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_UseEqmt", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UseEqmt", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_UseEqmt", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "UseEqmt", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_PartName", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartName", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_PartName", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartName", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_PartNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_PartNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PartNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Process", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Process", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Process", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Process", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Supplier", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Supplier", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Supplier", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Supplier", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_SupplierNo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SupplierNo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_SupplierNo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "SupplierNo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_CurrentQty", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CurrentQty", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_CurrentQty", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CurrentQty", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_MHA", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "MHA", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_MHA", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "MHA", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Division", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Division", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Division", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Division", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_BadQty", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "BadQty", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_BadQty", global::System.Data.OleDb.OleDbType.Single, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "BadQty", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Price", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Price", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Price", global::System.Data.OleDb.OleDbType.Double, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Price", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_PriceUnit", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PriceUnit", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_PriceUnit", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "PriceUnit", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_CostCenter", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CostCenter", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_CostCenter", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "CostCenter", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Memo", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Memo", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Memo", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Memo", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_EnrDate", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "EnrDate", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_EnrDate", global::System.Data.OleDb.OleDbType.Date, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "EnrDate", global::System.Data.DataRowVersion.Original, false, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("IsNull_Enrollee", global::System.Data.OleDb.OleDbType.Integer, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Enrollee", global::System.Data.DataRowVersion.Original, true, null));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OleDb.OleDbParameter("Original_Enrollee", global::System.Data.OleDb.OleDbType.VarWChar, 0, global::System.Data.ParameterDirection.Input, ((byte)(0)), ((byte)(0)), "Enrollee", global::System.Data.DataRowVersion.Original, false, null));
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private void InitConnection() {
 | |
|             this._connection = new global::System.Data.OleDb.OleDbConnection();
 | |
|             this._connection.ConnectionString = global::Project.Properties.Settings.Default.PMPCS;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private void InitCommandCollection() {
 | |
|             this._commandCollection = new global::System.Data.OleDb.OleDbCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.OleDb.OleDbCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  SPMaster.*\r\nFROM     SPMaster";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
 | |
|         public virtual int Fill(DsPMPDatabase.SPMasterDataTable dataTable) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((this.ClearBeforeFill == true)) {
 | |
|                 dataTable.Clear();
 | |
|             }
 | |
|             int returnValue = this.Adapter.Fill(dataTable);
 | |
|             return returnValue;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
 | |
|         public virtual DsPMPDatabase.SPMasterDataTable GetData() {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             DsPMPDatabase.SPMasterDataTable dataTable = new DsPMPDatabase.SPMasterDataTable();
 | |
|             this.Adapter.Fill(dataTable);
 | |
|             return dataTable;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         public virtual int Update(DsPMPDatabase.SPMasterDataTable dataTable) {
 | |
|             return this.Adapter.Update(dataTable);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         public virtual int Update(DsPMPDatabase dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "SPMaster");
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         public virtual int Update(global::System.Data.DataRow dataRow) {
 | |
|             return this.Adapter.Update(new global::System.Data.DataRow[] {
 | |
|                         dataRow});
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         public virtual int Update(global::System.Data.DataRow[] dataRows) {
 | |
|             return this.Adapter.Update(dataRows);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
 | |
|         public virtual int Delete(
 | |
|                     int Original_ID, 
 | |
|                     string Original_CtrlNo, 
 | |
|                     string Original_SIDNo, 
 | |
|                     string Original_Storage, 
 | |
|                     string Original_Location, 
 | |
|                     string Original_UseEqmt, 
 | |
|                     string Original_PartName, 
 | |
|                     string Original_PartNo, 
 | |
|                     string Original_Process, 
 | |
|                     string Original_Supplier, 
 | |
|                     string Original_SupplierNo, 
 | |
|                     global::System.Nullable<double> Original_CurrentQty, 
 | |
|                     global::System.Nullable<double> Original_MHA, 
 | |
|                     string Original_Division, 
 | |
|                     global::System.Nullable<float> Original_BadQty, 
 | |
|                     global::System.Nullable<double> Original_Price, 
 | |
|                     string Original_PriceUnit, 
 | |
|                     string Original_CostCenter, 
 | |
|                     string Original_Memo, 
 | |
|                     global::System.Nullable<global::System.DateTime> Original_EnrDate, 
 | |
|                     string Original_Enrollee) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID));
 | |
|             if ((Original_CtrlNo == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_CtrlNo));
 | |
|             }
 | |
|             if ((Original_SIDNo == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_SIDNo));
 | |
|             }
 | |
|             if ((Original_Storage == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Storage));
 | |
|             }
 | |
|             if ((Original_Location == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Location));
 | |
|             }
 | |
|             if ((Original_UseEqmt == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[10].Value = ((string)(Original_UseEqmt));
 | |
|             }
 | |
|             if ((Original_PartName == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[12].Value = ((string)(Original_PartName));
 | |
|             }
 | |
|             if ((Original_PartNo == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_PartNo));
 | |
|             }
 | |
|             if ((Original_Process == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = ((string)(Original_Process));
 | |
|             }
 | |
|             if ((Original_Supplier == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[18].Value = ((string)(Original_Supplier));
 | |
|             }
 | |
|             if ((Original_SupplierNo == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[20].Value = ((string)(Original_SupplierNo));
 | |
|             }
 | |
|             if ((Original_CurrentQty.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_CurrentQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_MHA.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = ((double)(Original_MHA.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_Division == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[26].Value = ((string)(Original_Division));
 | |
|             }
 | |
|             if ((Original_BadQty.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = ((float)(Original_BadQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_Price.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[30].Value = ((double)(Original_Price.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_PriceUnit == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[32].Value = ((string)(Original_PriceUnit));
 | |
|             }
 | |
|             if ((Original_CostCenter == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[34].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[33].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[34].Value = ((string)(Original_CostCenter));
 | |
|             }
 | |
|             if ((Original_Memo == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[36].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[35].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[36].Value = ((string)(Original_Memo));
 | |
|             }
 | |
|             if ((Original_EnrDate.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[38].Value = ((System.DateTime)(Original_EnrDate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_Enrollee == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[40].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[39].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[40].Value = ((string)(Original_Enrollee));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
 | |
|             if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 this.Adapter.DeleteCommand.Connection.Open();
 | |
|             }
 | |
|             try {
 | |
|                 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
 | |
|                 return returnValue;
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     this.Adapter.DeleteCommand.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
 | |
|         public virtual int Insert(
 | |
|                     string CtrlNo, 
 | |
|                     string SIDNo, 
 | |
|                     string Storage, 
 | |
|                     string Location, 
 | |
|                     string UseEqmt, 
 | |
|                     string PartName, 
 | |
|                     string PartNo, 
 | |
|                     string Process, 
 | |
|                     string Supplier, 
 | |
|                     string SupplierNo, 
 | |
|                     global::System.Nullable<double> CurrentQty, 
 | |
|                     global::System.Nullable<double> MHA, 
 | |
|                     string Division, 
 | |
|                     global::System.Nullable<float> BadQty, 
 | |
|                     global::System.Nullable<double> Price, 
 | |
|                     string PriceUnit, 
 | |
|                     string CostCenter, 
 | |
|                     string Memo, 
 | |
|                     global::System.Nullable<global::System.DateTime> EnrDate, 
 | |
|                     string Enrollee) {
 | |
|             if ((CtrlNo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(CtrlNo));
 | |
|             }
 | |
|             if ((SIDNo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(SIDNo));
 | |
|             }
 | |
|             if ((Storage == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Storage));
 | |
|             }
 | |
|             if ((Location == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Location));
 | |
|             }
 | |
|             if ((UseEqmt == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(UseEqmt));
 | |
|             }
 | |
|             if ((PartName == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(PartName));
 | |
|             }
 | |
|             if ((PartNo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(PartNo));
 | |
|             }
 | |
|             if ((Process == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Process));
 | |
|             }
 | |
|             if ((Supplier == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(Supplier));
 | |
|             }
 | |
|             if ((SupplierNo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = ((string)(SupplierNo));
 | |
|             }
 | |
|             if ((CurrentQty.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((double)(CurrentQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((MHA.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((double)(MHA.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Division == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(Division));
 | |
|             }
 | |
|             if ((BadQty.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((float)(BadQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Price.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((double)(Price.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((PriceUnit == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = ((string)(PriceUnit));
 | |
|             }
 | |
|             if ((CostCenter == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = ((string)(CostCenter));
 | |
|             }
 | |
|             if ((Memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = ((string)(Memo));
 | |
|             }
 | |
|             if ((EnrDate.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[18].Value = ((System.DateTime)(EnrDate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Enrollee == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[19].Value = ((string)(Enrollee));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
 | |
|             if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 this.Adapter.InsertCommand.Connection.Open();
 | |
|             }
 | |
|             try {
 | |
|                 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
 | |
|                 return returnValue;
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     this.Adapter.InsertCommand.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
 | |
|         public virtual int Update(
 | |
|                     string CtrlNo, 
 | |
|                     string SIDNo, 
 | |
|                     string Storage, 
 | |
|                     string Location, 
 | |
|                     string UseEqmt, 
 | |
|                     string PartName, 
 | |
|                     string PartNo, 
 | |
|                     string Process, 
 | |
|                     string Supplier, 
 | |
|                     string SupplierNo, 
 | |
|                     global::System.Nullable<double> CurrentQty, 
 | |
|                     global::System.Nullable<double> MHA, 
 | |
|                     string Division, 
 | |
|                     global::System.Nullable<float> BadQty, 
 | |
|                     global::System.Nullable<double> Price, 
 | |
|                     string PriceUnit, 
 | |
|                     string CostCenter, 
 | |
|                     string Memo, 
 | |
|                     global::System.Nullable<global::System.DateTime> EnrDate, 
 | |
|                     string Enrollee, 
 | |
|                     int Original_ID, 
 | |
|                     string Original_CtrlNo, 
 | |
|                     string Original_SIDNo, 
 | |
|                     string Original_Storage, 
 | |
|                     string Original_Location, 
 | |
|                     string Original_UseEqmt, 
 | |
|                     string Original_PartName, 
 | |
|                     string Original_PartNo, 
 | |
|                     string Original_Process, 
 | |
|                     string Original_Supplier, 
 | |
|                     string Original_SupplierNo, 
 | |
|                     global::System.Nullable<double> Original_CurrentQty, 
 | |
|                     global::System.Nullable<double> Original_MHA, 
 | |
|                     string Original_Division, 
 | |
|                     global::System.Nullable<float> Original_BadQty, 
 | |
|                     global::System.Nullable<double> Original_Price, 
 | |
|                     string Original_PriceUnit, 
 | |
|                     string Original_CostCenter, 
 | |
|                     string Original_Memo, 
 | |
|                     global::System.Nullable<global::System.DateTime> Original_EnrDate, 
 | |
|                     string Original_Enrollee) {
 | |
|             if ((CtrlNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(CtrlNo));
 | |
|             }
 | |
|             if ((SIDNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(SIDNo));
 | |
|             }
 | |
|             if ((Storage == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Storage));
 | |
|             }
 | |
|             if ((Location == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Location));
 | |
|             }
 | |
|             if ((UseEqmt == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(UseEqmt));
 | |
|             }
 | |
|             if ((PartName == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(PartName));
 | |
|             }
 | |
|             if ((PartNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(PartNo));
 | |
|             }
 | |
|             if ((Process == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Process));
 | |
|             }
 | |
|             if ((Supplier == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Supplier));
 | |
|             }
 | |
|             if ((SupplierNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(SupplierNo));
 | |
|             }
 | |
|             if ((CurrentQty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((double)(CurrentQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((MHA.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(MHA.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Division == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Division));
 | |
|             }
 | |
|             if ((BadQty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((float)(BadQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Price.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(Price.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((PriceUnit == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(PriceUnit));
 | |
|             }
 | |
|             if ((CostCenter == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(CostCenter));
 | |
|             }
 | |
|             if ((Memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Memo));
 | |
|             }
 | |
|             if ((EnrDate.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(EnrDate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Enrollee == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Enrollee));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_ID));
 | |
|             if ((Original_CtrlNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_CtrlNo));
 | |
|             }
 | |
|             if ((Original_SIDNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_SIDNo));
 | |
|             }
 | |
|             if ((Original_Storage == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_Storage));
 | |
|             }
 | |
|             if ((Original_Location == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Location));
 | |
|             }
 | |
|             if ((Original_UseEqmt == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_UseEqmt));
 | |
|             }
 | |
|             if ((Original_PartName == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_PartName));
 | |
|             }
 | |
|             if ((Original_PartNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_PartNo));
 | |
|             }
 | |
|             if ((Original_Process == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_Process));
 | |
|             }
 | |
|             if ((Original_Supplier == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_Supplier));
 | |
|             }
 | |
|             if ((Original_SupplierNo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_SupplierNo));
 | |
|             }
 | |
|             if ((Original_CurrentQty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((double)(Original_CurrentQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_MHA.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((double)(Original_MHA.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_Division == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_Division));
 | |
|             }
 | |
|             if ((Original_BadQty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((float)(Original_BadQty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_Price.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((double)(Original_Price.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_PriceUnit == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_PriceUnit));
 | |
|             }
 | |
|             if ((Original_CostCenter == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_CostCenter));
 | |
|             }
 | |
|             if ((Original_Memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_Memo));
 | |
|             }
 | |
|             if ((Original_EnrDate.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((System.DateTime)(Original_EnrDate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_Enrollee == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_Enrollee));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
 | |
|             if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 this.Adapter.UpdateCommand.Connection.Open();
 | |
|             }
 | |
|             try {
 | |
|                 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
 | |
|                 return returnValue;
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     this.Adapter.UpdateCommand.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <summary>
 | |
|     ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
 | |
|     ///</summary>
 | |
|     [global::System.ComponentModel.DesignerCategoryAttribute("code")]
 | |
|     [global::System.ComponentModel.ToolboxItem(true)]
 | |
|     [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
 | |
|         "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
 | |
|     public partial class TableAdapterManager : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private UpdateOrderOption _updateOrder;
 | |
|         
 | |
|         private SPMasterTableAdapter _sPMasterTableAdapter;
 | |
|         
 | |
|         private bool _backupDataSetBeforeUpdate;
 | |
|         
 | |
|         private global::System.Data.IDbConnection _connection;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public UpdateOrderOption UpdateOrder {
 | |
|             get {
 | |
|                 return this._updateOrder;
 | |
|             }
 | |
|             set {
 | |
|                 this._updateOrder = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
 | |
|             "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
 | |
|             "a", "System.Drawing.Design.UITypeEditor")]
 | |
|         public SPMasterTableAdapter SPMasterTableAdapter {
 | |
|             get {
 | |
|                 return this._sPMasterTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._sPMasterTableAdapter = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public bool BackupDataSetBeforeUpdate {
 | |
|             get {
 | |
|                 return this._backupDataSetBeforeUpdate;
 | |
|             }
 | |
|             set {
 | |
|                 this._backupDataSetBeforeUpdate = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         public global::System.Data.IDbConnection Connection {
 | |
|             get {
 | |
|                 if ((this._connection != null)) {
 | |
|                     return this._connection;
 | |
|                 }
 | |
|                 if (((this._sPMasterTableAdapter != null) 
 | |
|                             && (this._sPMasterTableAdapter.Connection != null))) {
 | |
|                     return this._sPMasterTableAdapter.Connection;
 | |
|                 }
 | |
|                 return null;
 | |
|             }
 | |
|             set {
 | |
|                 this._connection = value;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         [global::System.ComponentModel.Browsable(false)]
 | |
|         public int TableAdapterInstanceCount {
 | |
|             get {
 | |
|                 int count = 0;
 | |
|                 if ((this._sPMasterTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 return count;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Update rows in top-down order.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private int UpdateUpdatedRows(DsPMPDatabase dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             int result = 0;
 | |
|             if ((this._sPMasterTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._sPMasterTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Insert rows in top-down order.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private int UpdateInsertedRows(DsPMPDatabase dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             int result = 0;
 | |
|             if ((this._sPMasterTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._sPMasterTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Delete rows in bottom-up order.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private int UpdateDeletedRows(DsPMPDatabase dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
 | |
|             int result = 0;
 | |
|             if ((this._sPMasterTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.SPMaster.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._sPMasterTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             if (((updatedRows == null) 
 | |
|                         || (updatedRows.Length < 1))) {
 | |
|                 return updatedRows;
 | |
|             }
 | |
|             if (((allAddedRows == null) 
 | |
|                         || (allAddedRows.Count < 1))) {
 | |
|                 return updatedRows;
 | |
|             }
 | |
|             global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
 | |
|             for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
 | |
|                 global::System.Data.DataRow row = updatedRows[i];
 | |
|                 if ((allAddedRows.Contains(row) == false)) {
 | |
|                     realUpdatedRows.Add(row);
 | |
|                 }
 | |
|             }
 | |
|             return realUpdatedRows.ToArray();
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Update all changes to the dataset.
 | |
|         ///</summary>
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public virtual int UpdateAll(DsPMPDatabase dataSet) {
 | |
|             if ((dataSet == null)) {
 | |
|                 throw new global::System.ArgumentNullException("dataSet");
 | |
|             }
 | |
|             if ((dataSet.HasChanges() == false)) {
 | |
|                 return 0;
 | |
|             }
 | |
|             if (((this._sPMasterTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._sPMasterTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             global::System.Data.IDbConnection workConnection = this.Connection;
 | |
|             if ((workConnection == null)) {
 | |
|                 throw new global::System.ApplicationException("TableAdapterManager에 연결 정보가 없습니다. 각 TableAdapterManager TableAdapter 속성을 올바른 Tabl" +
 | |
|                         "eAdapter 인스턴스로 설정하십시오.");
 | |
|             }
 | |
|             bool workConnOpened = false;
 | |
|             if (((workConnection.State & global::System.Data.ConnectionState.Broken) 
 | |
|                         == global::System.Data.ConnectionState.Broken)) {
 | |
|                 workConnection.Close();
 | |
|             }
 | |
|             if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
 | |
|                 workConnection.Open();
 | |
|                 workConnOpened = true;
 | |
|             }
 | |
|             global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
 | |
|             if ((workTransaction == null)) {
 | |
|                 throw new global::System.ApplicationException("트랜잭션을 시작할 수 없습니다. 현재 데이터 연결에서 트랜잭션이 지원되지 않거나 현재 상태에서 트랜잭션을 시작할 수 없습니다.");
 | |
|             }
 | |
|             global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
 | |
|             global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
 | |
|             global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
 | |
|             global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
 | |
|             int result = 0;
 | |
|             global::System.Data.DataSet backupDataSet = null;
 | |
|             if (this.BackupDataSetBeforeUpdate) {
 | |
|                 backupDataSet = new global::System.Data.DataSet();
 | |
|                 backupDataSet.Merge(dataSet);
 | |
|             }
 | |
|             try {
 | |
|                 // ---- Prepare for update -----------
 | |
|                 //
 | |
|                 if ((this._sPMasterTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._sPMasterTableAdapter, this._sPMasterTableAdapter.Connection);
 | |
|                     this._sPMasterTableAdapter.Connection = ((global::System.Data.OleDb.OleDbConnection)(workConnection));
 | |
|                     this._sPMasterTableAdapter.Transaction = ((global::System.Data.OleDb.OleDbTransaction)(workTransaction));
 | |
|                     if (this._sPMasterTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._sPMasterTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._sPMasterTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 // 
 | |
|                 //---- Perform updates -----------
 | |
|                 //
 | |
|                 if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
 | |
|                     result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
 | |
|                     result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
 | |
|                 }
 | |
|                 else {
 | |
|                     result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
 | |
|                     result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
 | |
|                 }
 | |
|                 result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
 | |
|                 // 
 | |
|                 //---- Commit updates -----------
 | |
|                 //
 | |
|                 workTransaction.Commit();
 | |
|                 if ((0 < allAddedRows.Count)) {
 | |
|                     global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
 | |
|                     allAddedRows.CopyTo(rows);
 | |
|                     for (int i = 0; (i < rows.Length); i = (i + 1)) {
 | |
|                         global::System.Data.DataRow row = rows[i];
 | |
|                         row.AcceptChanges();
 | |
|                     }
 | |
|                 }
 | |
|                 if ((0 < allChangedRows.Count)) {
 | |
|                     global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
 | |
|                     allChangedRows.CopyTo(rows);
 | |
|                     for (int i = 0; (i < rows.Length); i = (i + 1)) {
 | |
|                         global::System.Data.DataRow row = rows[i];
 | |
|                         row.AcceptChanges();
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             catch (global::System.Exception ex) {
 | |
|                 workTransaction.Rollback();
 | |
|                 // ---- Restore the dataset -----------
 | |
|                 if (this.BackupDataSetBeforeUpdate) {
 | |
|                     global::System.Diagnostics.Debug.Assert((backupDataSet != null));
 | |
|                     dataSet.Clear();
 | |
|                     dataSet.Merge(backupDataSet);
 | |
|                 }
 | |
|                 else {
 | |
|                     if ((0 < allAddedRows.Count)) {
 | |
|                         global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
 | |
|                         allAddedRows.CopyTo(rows);
 | |
|                         for (int i = 0; (i < rows.Length); i = (i + 1)) {
 | |
|                             global::System.Data.DataRow row = rows[i];
 | |
|                             row.AcceptChanges();
 | |
|                             row.SetAdded();
 | |
|                         }
 | |
|                     }
 | |
|                 }
 | |
|                 throw ex;
 | |
|             }
 | |
|             finally {
 | |
|                 if (workConnOpened) {
 | |
|                     workConnection.Close();
 | |
|                 }
 | |
|                 if ((this._sPMasterTableAdapter != null)) {
 | |
|                     this._sPMasterTableAdapter.Connection = ((global::System.Data.OleDb.OleDbConnection)(revertConnections[this._sPMasterTableAdapter]));
 | |
|                     this._sPMasterTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
 | |
|                     global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
 | |
|                     adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
 | |
|                     for (int i = 0; (i < adapters.Length); i = (i + 1)) {
 | |
|                         global::System.Data.Common.DataAdapter adapter = adapters[i];
 | |
|                         adapter.AcceptChangesDuringUpdate = true;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|             return result;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
 | |
|             global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
 | |
|             if ((this._connection != null)) {
 | |
|                 return true;
 | |
|             }
 | |
|             if (((this.Connection == null) 
 | |
|                         || (inputConnection == null))) {
 | |
|                 return true;
 | |
|             }
 | |
|             if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
 | |
|                 return true;
 | |
|             }
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Update Order Option
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public enum UpdateOrderOption {
 | |
|             
 | |
|             InsertUpdateDelete = 0,
 | |
|             
 | |
|             UpdateInsertDelete = 1,
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Used to sort self-referenced table's rows
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
 | |
|             
 | |
|             private global::System.Data.DataRelation _relation;
 | |
|             
 | |
|             private int _childFirst;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
 | |
|                 this._relation = relation;
 | |
|                 if (childFirst) {
 | |
|                     this._childFirst = -1;
 | |
|                 }
 | |
|                 else {
 | |
|                     this._childFirst = 1;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
 | |
|                 global::System.Diagnostics.Debug.Assert((row != null));
 | |
|                 global::System.Data.DataRow root = row;
 | |
|                 distance = 0;
 | |
| 
 | |
|                 global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
 | |
|                 traversedRows[row] = row;
 | |
| 
 | |
|                 global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
 | |
|                 for (
 | |
|                 ; ((parent != null) 
 | |
|                             && (traversedRows.ContainsKey(parent) == false)); 
 | |
|                 ) {
 | |
|                     distance = (distance + 1);
 | |
|                     root = parent;
 | |
|                     traversedRows[parent] = parent;
 | |
|                     parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
 | |
|                 }
 | |
| 
 | |
|                 if ((distance == 0)) {
 | |
|                     traversedRows.Clear();
 | |
|                     traversedRows[row] = row;
 | |
|                     parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
 | |
|                     for (
 | |
|                     ; ((parent != null) 
 | |
|                                 && (traversedRows.ContainsKey(parent) == false)); 
 | |
|                     ) {
 | |
|                         distance = (distance + 1);
 | |
|                         root = parent;
 | |
|                         traversedRows[parent] = parent;
 | |
|                         parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
 | |
|                     }
 | |
|                 }
 | |
| 
 | |
|                 return root;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
 | |
|                 if (object.ReferenceEquals(row1, row2)) {
 | |
|                     return 0;
 | |
|                 }
 | |
|                 if ((row1 == null)) {
 | |
|                     return -1;
 | |
|                 }
 | |
|                 if ((row2 == null)) {
 | |
|                     return 1;
 | |
|                 }
 | |
| 
 | |
|                 int distance1 = 0;
 | |
|                 global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
 | |
| 
 | |
|                 int distance2 = 0;
 | |
|                 global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
 | |
| 
 | |
|                 if (object.ReferenceEquals(root1, root2)) {
 | |
|                     return (this._childFirst * distance1.CompareTo(distance2));
 | |
|                 }
 | |
|                 else {
 | |
|                     global::System.Diagnostics.Debug.Assert(((root1.Table != null) 
 | |
|                                     && (root2.Table != null)));
 | |
|                     if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return 1;
 | |
|                     }
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| }
 | |
| 
 | |
| #pragma warning restore 1591 | 
