20374 lines
		
	
	
		
			1.2 MiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			20374 lines
		
	
	
		
			1.2 MiB
		
	
	
	
	
	
	
	
| //------------------------------------------------------------------------------
 | |
| // <auto-generated>
 | |
| //     이 코드는 도구를 사용하여 생성되었습니다.
 | |
| //     런타임 버전:4.0.30319.42000
 | |
| //
 | |
| //     파일 내용을 변경하면 잘못된 동작이 발생할 수 있으며, 코드를 다시 생성하면
 | |
| //     이러한 변경 내용이 손실됩니다.
 | |
| // </auto-generated>
 | |
| //------------------------------------------------------------------------------
 | |
| 
 | |
| #pragma warning disable 1591
 | |
| 
 | |
| namespace FCM0000 {
 | |
|     
 | |
|     
 | |
|     /// <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("dsMSSQL")]
 | |
|     [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
 | |
|     public partial class dsMSSQL : global::System.Data.DataSet {
 | |
|         
 | |
|         private ItemsDataTable tableItems;
 | |
|         
 | |
|         private CommonDataTable tableCommon;
 | |
|         
 | |
|         private BoardDataTable tableBoard;
 | |
|         
 | |
|         private RequestItemDataTable tableRequestItem;
 | |
|         
 | |
|         private CustomsDataTable tableCustoms;
 | |
|         
 | |
|         private StaffDataTable tableStaff;
 | |
|         
 | |
|         private PurchaseDataTable tablePurchase;
 | |
|         
 | |
|         private ProjectsDataTable tableProjects;
 | |
|         
 | |
|         private HolidayLIstDataTable tableHolidayLIst;
 | |
|         
 | |
|         private InventoryUserDataTable tableInventoryUser;
 | |
|         
 | |
|         private EETGW_DocuFormDataTable tableEETGW_DocuForm;
 | |
|         
 | |
|         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 dsMSSQL() {
 | |
|             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 dsMSSQL(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["Items"] != null)) {
 | |
|                     base.Tables.Add(new ItemsDataTable(ds.Tables["Items"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Common"] != null)) {
 | |
|                     base.Tables.Add(new CommonDataTable(ds.Tables["Common"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Board"] != null)) {
 | |
|                     base.Tables.Add(new BoardDataTable(ds.Tables["Board"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["RequestItem"] != null)) {
 | |
|                     base.Tables.Add(new RequestItemDataTable(ds.Tables["RequestItem"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Customs"] != null)) {
 | |
|                     base.Tables.Add(new CustomsDataTable(ds.Tables["Customs"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Staff"] != null)) {
 | |
|                     base.Tables.Add(new StaffDataTable(ds.Tables["Staff"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Purchase"] != null)) {
 | |
|                     base.Tables.Add(new PurchaseDataTable(ds.Tables["Purchase"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Projects"] != null)) {
 | |
|                     base.Tables.Add(new ProjectsDataTable(ds.Tables["Projects"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["HolidayLIst"] != null)) {
 | |
|                     base.Tables.Add(new HolidayLIstDataTable(ds.Tables["HolidayLIst"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["InventoryUser"] != null)) {
 | |
|                     base.Tables.Add(new InventoryUserDataTable(ds.Tables["InventoryUser"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["EETGW_DocuForm"] != null)) {
 | |
|                     base.Tables.Add(new EETGW_DocuFormDataTable(ds.Tables["EETGW_DocuForm"]));
 | |
|                 }
 | |
|                 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 ItemsDataTable Items {
 | |
|             get {
 | |
|                 return this.tableItems;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 CommonDataTable Common {
 | |
|             get {
 | |
|                 return this.tableCommon;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 BoardDataTable Board {
 | |
|             get {
 | |
|                 return this.tableBoard;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 RequestItemDataTable RequestItem {
 | |
|             get {
 | |
|                 return this.tableRequestItem;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 CustomsDataTable Customs {
 | |
|             get {
 | |
|                 return this.tableCustoms;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 StaffDataTable Staff {
 | |
|             get {
 | |
|                 return this.tableStaff;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 PurchaseDataTable Purchase {
 | |
|             get {
 | |
|                 return this.tablePurchase;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 ProjectsDataTable Projects {
 | |
|             get {
 | |
|                 return this.tableProjects;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 HolidayLIstDataTable HolidayLIst {
 | |
|             get {
 | |
|                 return this.tableHolidayLIst;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 InventoryUserDataTable InventoryUser {
 | |
|             get {
 | |
|                 return this.tableInventoryUser;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 EETGW_DocuFormDataTable EETGW_DocuForm {
 | |
|             get {
 | |
|                 return this.tableEETGW_DocuForm;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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() {
 | |
|             dsMSSQL cln = ((dsMSSQL)(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["Items"] != null)) {
 | |
|                     base.Tables.Add(new ItemsDataTable(ds.Tables["Items"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Common"] != null)) {
 | |
|                     base.Tables.Add(new CommonDataTable(ds.Tables["Common"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Board"] != null)) {
 | |
|                     base.Tables.Add(new BoardDataTable(ds.Tables["Board"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["RequestItem"] != null)) {
 | |
|                     base.Tables.Add(new RequestItemDataTable(ds.Tables["RequestItem"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Customs"] != null)) {
 | |
|                     base.Tables.Add(new CustomsDataTable(ds.Tables["Customs"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Staff"] != null)) {
 | |
|                     base.Tables.Add(new StaffDataTable(ds.Tables["Staff"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Purchase"] != null)) {
 | |
|                     base.Tables.Add(new PurchaseDataTable(ds.Tables["Purchase"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["Projects"] != null)) {
 | |
|                     base.Tables.Add(new ProjectsDataTable(ds.Tables["Projects"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["HolidayLIst"] != null)) {
 | |
|                     base.Tables.Add(new HolidayLIstDataTable(ds.Tables["HolidayLIst"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["InventoryUser"] != null)) {
 | |
|                     base.Tables.Add(new InventoryUserDataTable(ds.Tables["InventoryUser"]));
 | |
|                 }
 | |
|                 if ((ds.Tables["EETGW_DocuForm"] != null)) {
 | |
|                     base.Tables.Add(new EETGW_DocuFormDataTable(ds.Tables["EETGW_DocuForm"]));
 | |
|                 }
 | |
|                 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.tableItems = ((ItemsDataTable)(base.Tables["Items"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableItems != null)) {
 | |
|                     this.tableItems.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableCommon = ((CommonDataTable)(base.Tables["Common"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableCommon != null)) {
 | |
|                     this.tableCommon.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableBoard = ((BoardDataTable)(base.Tables["Board"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableBoard != null)) {
 | |
|                     this.tableBoard.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableRequestItem = ((RequestItemDataTable)(base.Tables["RequestItem"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableRequestItem != null)) {
 | |
|                     this.tableRequestItem.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableCustoms = ((CustomsDataTable)(base.Tables["Customs"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableCustoms != null)) {
 | |
|                     this.tableCustoms.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableStaff = ((StaffDataTable)(base.Tables["Staff"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableStaff != null)) {
 | |
|                     this.tableStaff.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tablePurchase = ((PurchaseDataTable)(base.Tables["Purchase"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tablePurchase != null)) {
 | |
|                     this.tablePurchase.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableProjects = ((ProjectsDataTable)(base.Tables["Projects"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableProjects != null)) {
 | |
|                     this.tableProjects.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableHolidayLIst = ((HolidayLIstDataTable)(base.Tables["HolidayLIst"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableHolidayLIst != null)) {
 | |
|                     this.tableHolidayLIst.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableInventoryUser = ((InventoryUserDataTable)(base.Tables["InventoryUser"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableInventoryUser != null)) {
 | |
|                     this.tableInventoryUser.InitVars();
 | |
|                 }
 | |
|             }
 | |
|             this.tableEETGW_DocuForm = ((EETGW_DocuFormDataTable)(base.Tables["EETGW_DocuForm"]));
 | |
|             if ((initTable == true)) {
 | |
|                 if ((this.tableEETGW_DocuForm != null)) {
 | |
|                     this.tableEETGW_DocuForm.InitVars();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private void InitClass() {
 | |
|             this.DataSetName = "dsMSSQL";
 | |
|             this.Prefix = "";
 | |
|             this.Namespace = "http://tempuri.org/dsMSSQL.xsd";
 | |
|             this.EnforceConstraints = true;
 | |
|             this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
 | |
|             this.tableItems = new ItemsDataTable();
 | |
|             base.Tables.Add(this.tableItems);
 | |
|             this.tableCommon = new CommonDataTable();
 | |
|             base.Tables.Add(this.tableCommon);
 | |
|             this.tableBoard = new BoardDataTable();
 | |
|             base.Tables.Add(this.tableBoard);
 | |
|             this.tableRequestItem = new RequestItemDataTable();
 | |
|             base.Tables.Add(this.tableRequestItem);
 | |
|             this.tableCustoms = new CustomsDataTable();
 | |
|             base.Tables.Add(this.tableCustoms);
 | |
|             this.tableStaff = new StaffDataTable();
 | |
|             base.Tables.Add(this.tableStaff);
 | |
|             this.tablePurchase = new PurchaseDataTable();
 | |
|             base.Tables.Add(this.tablePurchase);
 | |
|             this.tableProjects = new ProjectsDataTable();
 | |
|             base.Tables.Add(this.tableProjects);
 | |
|             this.tableHolidayLIst = new HolidayLIstDataTable();
 | |
|             base.Tables.Add(this.tableHolidayLIst);
 | |
|             this.tableInventoryUser = new InventoryUserDataTable();
 | |
|             base.Tables.Add(this.tableInventoryUser);
 | |
|             this.tableEETGW_DocuForm = new EETGW_DocuFormDataTable();
 | |
|             base.Tables.Add(this.tableEETGW_DocuForm);
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeItems() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeCommon() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeBoard() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeRequestItem() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeCustoms() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeStaff() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializePurchase() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeProjects() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeHolidayLIst() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeInventoryUser() {
 | |
|             return false;
 | |
|         }
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         private bool ShouldSerializeEETGW_DocuForm() {
 | |
|             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) {
 | |
|             dsMSSQL ds = new dsMSSQL();
 | |
|             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 ItemsRowChangeEventHandler(object sender, ItemsRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void CommonRowChangeEventHandler(object sender, CommonRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void BoardRowChangeEventHandler(object sender, BoardRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void RequestItemRowChangeEventHandler(object sender, RequestItemRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void CustomsRowChangeEventHandler(object sender, CustomsRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void StaffRowChangeEventHandler(object sender, StaffRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void PurchaseRowChangeEventHandler(object sender, PurchaseRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void ProjectsRowChangeEventHandler(object sender, ProjectsRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void HolidayLIstRowChangeEventHandler(object sender, HolidayLIstRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void InventoryUserRowChangeEventHandler(object sender, InventoryUserRowChangeEvent e);
 | |
|         
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public delegate void EETGW_DocuFormRowChangeEventHandler(object sender, EETGW_DocuFormRowChangeEvent e);
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class ItemsDataTable : global::System.Data.TypedTableBase<ItemsRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmodel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmanu;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsupply;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnprice;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsupplyidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnscale;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnunit;
 | |
|             
 | |
|             private global::System.Data.DataColumn columndisable;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnbparam1;
 | |
|             
 | |
|             private global::System.Data.DataColumn columniparam1;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnimport;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpriceD;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ItemsDataTable() {
 | |
|                 this.TableName = "Items";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal ItemsDataTable(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 ItemsDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn nameColumn {
 | |
|                 get {
 | |
|                     return this.columnname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn sidColumn {
 | |
|                 get {
 | |
|                     return this.columnsid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn modelColumn {
 | |
|                 get {
 | |
|                     return this.columnmodel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn manuColumn {
 | |
|                 get {
 | |
|                     return this.columnmanu;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn supplyColumn {
 | |
|                 get {
 | |
|                     return this.columnsupply;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 cateColumn {
 | |
|                 get {
 | |
|                     return this.columncate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn supplyidxColumn {
 | |
|                 get {
 | |
|                     return this.columnsupplyidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn scaleColumn {
 | |
|                 get {
 | |
|                     return this.columnscale;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn unitColumn {
 | |
|                 get {
 | |
|                     return this.columnunit;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn disableColumn {
 | |
|                 get {
 | |
|                     return this.columndisable;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn bparam1Column {
 | |
|                 get {
 | |
|                     return this.columnbparam1;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn iparam1Column {
 | |
|                 get {
 | |
|                     return this.columniparam1;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn importColumn {
 | |
|                 get {
 | |
|                     return this.columnimport;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn priceDColumn {
 | |
|                 get {
 | |
|                     return this.columnpriceD;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 ItemsRow this[int index] {
 | |
|                 get {
 | |
|                     return ((ItemsRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ItemsRowChangeEventHandler ItemsRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ItemsRowChangeEventHandler ItemsRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ItemsRowChangeEventHandler ItemsRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ItemsRowChangeEventHandler ItemsRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddItemsRow(ItemsRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ItemsRow AddItemsRow(
 | |
|                         string name, 
 | |
|                         string sid, 
 | |
|                         string model, 
 | |
|                         string manu, 
 | |
|                         string supply, 
 | |
|                         string memo, 
 | |
|                         string wuid, 
 | |
|                         System.DateTime wdate, 
 | |
|                         decimal price, 
 | |
|                         string cate, 
 | |
|                         int supplyidx, 
 | |
|                         double scale, 
 | |
|                         string unit, 
 | |
|                         bool disable, 
 | |
|                         bool bparam1, 
 | |
|                         int iparam1, 
 | |
|                         string import, 
 | |
|                         string gcode, 
 | |
|                         decimal priceD) {
 | |
|                 ItemsRow rowItemsRow = ((ItemsRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         name,
 | |
|                         sid,
 | |
|                         model,
 | |
|                         manu,
 | |
|                         supply,
 | |
|                         memo,
 | |
|                         wuid,
 | |
|                         wdate,
 | |
|                         price,
 | |
|                         cate,
 | |
|                         supplyidx,
 | |
|                         scale,
 | |
|                         unit,
 | |
|                         disable,
 | |
|                         bparam1,
 | |
|                         iparam1,
 | |
|                         import,
 | |
|                         gcode,
 | |
|                         priceD};
 | |
|                 rowItemsRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowItemsRow);
 | |
|                 return rowItemsRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ItemsRow FindByidx(int idx) {
 | |
|                 return ((ItemsRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 ItemsDataTable cln = ((ItemsDataTable)(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 ItemsDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnname = base.Columns["name"];
 | |
|                 this.columnsid = base.Columns["sid"];
 | |
|                 this.columnmodel = base.Columns["model"];
 | |
|                 this.columnmanu = base.Columns["manu"];
 | |
|                 this.columnsupply = base.Columns["supply"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columnprice = base.Columns["price"];
 | |
|                 this.columncate = base.Columns["cate"];
 | |
|                 this.columnsupplyidx = base.Columns["supplyidx"];
 | |
|                 this.columnscale = base.Columns["scale"];
 | |
|                 this.columnunit = base.Columns["unit"];
 | |
|                 this.columndisable = base.Columns["disable"];
 | |
|                 this.columnbparam1 = base.Columns["bparam1"];
 | |
|                 this.columniparam1 = base.Columns["iparam1"];
 | |
|                 this.columnimport = base.Columns["import"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|                 this.columnpriceD = base.Columns["priceD"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname);
 | |
|                 this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsid);
 | |
|                 this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmodel);
 | |
|                 this.columnmanu = new global::System.Data.DataColumn("manu", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmanu);
 | |
|                 this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsupply);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columnprice = new global::System.Data.DataColumn("price", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnprice);
 | |
|                 this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncate);
 | |
|                 this.columnsupplyidx = new global::System.Data.DataColumn("supplyidx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsupplyidx);
 | |
|                 this.columnscale = new global::System.Data.DataColumn("scale", typeof(double), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnscale);
 | |
|                 this.columnunit = new global::System.Data.DataColumn("unit", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnunit);
 | |
|                 this.columndisable = new global::System.Data.DataColumn("disable", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columndisable);
 | |
|                 this.columnbparam1 = new global::System.Data.DataColumn("bparam1", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnbparam1);
 | |
|                 this.columniparam1 = new global::System.Data.DataColumn("iparam1", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columniparam1);
 | |
|                 this.columnimport = new global::System.Data.DataColumn("import", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnimport);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.columnpriceD = new global::System.Data.DataColumn("priceD", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpriceD);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnname.MaxLength = 200;
 | |
|                 this.columnsid.MaxLength = 50;
 | |
|                 this.columnmodel.MaxLength = 200;
 | |
|                 this.columnmanu.MaxLength = 100;
 | |
|                 this.columnsupply.MaxLength = 100;
 | |
|                 this.columnmemo.MaxLength = 255;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columncate.MaxLength = 50;
 | |
|                 this.columnscale.DefaultValue = ((double)(1D));
 | |
|                 this.columnunit.DefaultValue = ((string)("EA"));
 | |
|                 this.columnunit.MaxLength = 50;
 | |
|                 this.columnimport.MaxLength = 1;
 | |
|                 this.columngcode.MaxLength = 10;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ItemsRow NewItemsRow() {
 | |
|                 return ((ItemsRow)(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 ItemsRow(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(ItemsRow);
 | |
|             }
 | |
|             
 | |
|             [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.ItemsRowChanged != null)) {
 | |
|                     this.ItemsRowChanged(this, new ItemsRowChangeEvent(((ItemsRow)(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.ItemsRowChanging != null)) {
 | |
|                     this.ItemsRowChanging(this, new ItemsRowChangeEvent(((ItemsRow)(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.ItemsRowDeleted != null)) {
 | |
|                     this.ItemsRowDeleted(this, new ItemsRowChangeEvent(((ItemsRow)(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.ItemsRowDeleting != null)) {
 | |
|                     this.ItemsRowDeleting(this, new ItemsRowChangeEvent(((ItemsRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveItemsRow(ItemsRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "ItemsDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class CommonDataTable : global::System.Data.TypedTableBase<CommonRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngrp;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncode;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsvalue;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnivalue;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnfvalue;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CommonDataTable() {
 | |
|                 this.TableName = "Common";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal CommonDataTable(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 CommonDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn grpColumn {
 | |
|                 get {
 | |
|                     return this.columngrp;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn codeColumn {
 | |
|                 get {
 | |
|                     return this.columncode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn svalueColumn {
 | |
|                 get {
 | |
|                     return this.columnsvalue;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn ivalueColumn {
 | |
|                 get {
 | |
|                     return this.columnivalue;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn fvalueColumn {
 | |
|                 get {
 | |
|                     return this.columnfvalue;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 CommonRow this[int index] {
 | |
|                 get {
 | |
|                     return ((CommonRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CommonRowChangeEventHandler CommonRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CommonRowChangeEventHandler CommonRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CommonRowChangeEventHandler CommonRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CommonRowChangeEventHandler CommonRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddCommonRow(CommonRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CommonRow AddCommonRow(string grp, string code, string svalue, int ivalue, double fvalue, string memo, string wuid, System.DateTime wdate, string gcode) {
 | |
|                 CommonRow rowCommonRow = ((CommonRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         grp,
 | |
|                         code,
 | |
|                         svalue,
 | |
|                         ivalue,
 | |
|                         fvalue,
 | |
|                         memo,
 | |
|                         wuid,
 | |
|                         wdate,
 | |
|                         gcode};
 | |
|                 rowCommonRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowCommonRow);
 | |
|                 return rowCommonRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CommonRow FindByidx(int idx) {
 | |
|                 return ((CommonRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 CommonDataTable cln = ((CommonDataTable)(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 CommonDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columngrp = base.Columns["grp"];
 | |
|                 this.columncode = base.Columns["code"];
 | |
|                 this.columnsvalue = base.Columns["svalue"];
 | |
|                 this.columnivalue = base.Columns["ivalue"];
 | |
|                 this.columnfvalue = base.Columns["fvalue"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columngrp = new global::System.Data.DataColumn("grp", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngrp);
 | |
|                 this.columncode = new global::System.Data.DataColumn("code", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncode);
 | |
|                 this.columnsvalue = new global::System.Data.DataColumn("svalue", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsvalue);
 | |
|                 this.columnivalue = new global::System.Data.DataColumn("ivalue", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnivalue);
 | |
|                 this.columnfvalue = new global::System.Data.DataColumn("fvalue", typeof(double), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnfvalue);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columngrp.MaxLength = 10;
 | |
|                 this.columncode.MaxLength = 10;
 | |
|                 this.columnsvalue.MaxLength = 32767;
 | |
|                 this.columnmemo.MaxLength = 32767;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columngcode.AllowDBNull = false;
 | |
|                 this.columngcode.MaxLength = 10;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CommonRow NewCommonRow() {
 | |
|                 return ((CommonRow)(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 CommonRow(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(CommonRow);
 | |
|             }
 | |
|             
 | |
|             [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.CommonRowChanged != null)) {
 | |
|                     this.CommonRowChanged(this, new CommonRowChangeEvent(((CommonRow)(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.CommonRowChanging != null)) {
 | |
|                     this.CommonRowChanging(this, new CommonRowChangeEvent(((CommonRow)(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.CommonRowDeleted != null)) {
 | |
|                     this.CommonRowDeleted(this, new CommonRowChangeEvent(((CommonRow)(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.CommonRowDeleting != null)) {
 | |
|                     this.CommonRowDeleting(this, new CommonRowChangeEvent(((CommonRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveCommonRow(CommonRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "CommonDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class BoardDataTable : global::System.Data.TypedTableBase<BoardRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnbidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnheader;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columntitle;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncontents;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnfile;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnguid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnurl;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnproject;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public BoardDataTable() {
 | |
|                 this.TableName = "Board";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal BoardDataTable(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 BoardDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn bidxColumn {
 | |
|                 get {
 | |
|                     return this.columnbidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn headerColumn {
 | |
|                 get {
 | |
|                     return this.columnheader;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn cateColumn {
 | |
|                 get {
 | |
|                     return this.columncate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn titleColumn {
 | |
|                 get {
 | |
|                     return this.columntitle;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn contentsColumn {
 | |
|                 get {
 | |
|                     return this.columncontents;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn fileColumn {
 | |
|                 get {
 | |
|                     return this.columnfile;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn guidColumn {
 | |
|                 get {
 | |
|                     return this.columnguid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn urlColumn {
 | |
|                 get {
 | |
|                     return this.columnurl;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectColumn {
 | |
|                 get {
 | |
|                     return this.columnproject;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pidxColumn {
 | |
|                 get {
 | |
|                     return this.columnpidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 BoardRow this[int index] {
 | |
|                 get {
 | |
|                     return ((BoardRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event BoardRowChangeEventHandler BoardRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event BoardRowChangeEventHandler BoardRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event BoardRowChangeEventHandler BoardRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event BoardRowChangeEventHandler BoardRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddBoardRow(BoardRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public BoardRow AddBoardRow(int bidx, bool header, string cate, string title, string contents, string file, string guid, string url, string wuid, System.DateTime wdate, int project, int pidx, string gcode) {
 | |
|                 BoardRow rowBoardRow = ((BoardRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         bidx,
 | |
|                         header,
 | |
|                         cate,
 | |
|                         title,
 | |
|                         contents,
 | |
|                         file,
 | |
|                         guid,
 | |
|                         url,
 | |
|                         wuid,
 | |
|                         wdate,
 | |
|                         project,
 | |
|                         pidx,
 | |
|                         gcode};
 | |
|                 rowBoardRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowBoardRow);
 | |
|                 return rowBoardRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public BoardRow FindByidx(int idx) {
 | |
|                 return ((BoardRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 BoardDataTable cln = ((BoardDataTable)(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 BoardDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnbidx = base.Columns["bidx"];
 | |
|                 this.columnheader = base.Columns["header"];
 | |
|                 this.columncate = base.Columns["cate"];
 | |
|                 this.columntitle = base.Columns["title"];
 | |
|                 this.columncontents = base.Columns["contents"];
 | |
|                 this.columnfile = base.Columns["file"];
 | |
|                 this.columnguid = base.Columns["guid"];
 | |
|                 this.columnurl = base.Columns["url"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columnproject = base.Columns["project"];
 | |
|                 this.columnpidx = base.Columns["pidx"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnbidx = new global::System.Data.DataColumn("bidx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnbidx);
 | |
|                 this.columnheader = new global::System.Data.DataColumn("header", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnheader);
 | |
|                 this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncate);
 | |
|                 this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columntitle);
 | |
|                 this.columncontents = new global::System.Data.DataColumn("contents", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncontents);
 | |
|                 this.columnfile = new global::System.Data.DataColumn("file", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnfile);
 | |
|                 this.columnguid = new global::System.Data.DataColumn("guid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnguid);
 | |
|                 this.columnurl = new global::System.Data.DataColumn("url", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnurl);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnproject);
 | |
|                 this.columnpidx = new global::System.Data.DataColumn("pidx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpidx);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columncate.MaxLength = 10;
 | |
|                 this.columntitle.MaxLength = 255;
 | |
|                 this.columncontents.MaxLength = 2147483647;
 | |
|                 this.columnfile.MaxLength = 200;
 | |
|                 this.columnguid.MaxLength = 50;
 | |
|                 this.columnurl.MaxLength = 2147483647;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columngcode.AllowDBNull = false;
 | |
|                 this.columngcode.MaxLength = 20;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public BoardRow NewBoardRow() {
 | |
|                 return ((BoardRow)(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 BoardRow(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(BoardRow);
 | |
|             }
 | |
|             
 | |
|             [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.BoardRowChanged != null)) {
 | |
|                     this.BoardRowChanged(this, new BoardRowChangeEvent(((BoardRow)(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.BoardRowChanging != null)) {
 | |
|                     this.BoardRowChanging(this, new BoardRowChangeEvent(((BoardRow)(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.BoardRowDeleted != null)) {
 | |
|                     this.BoardRowDeleted(this, new BoardRowChangeEvent(((BoardRow)(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.BoardRowDeleting != null)) {
 | |
|                     this.BoardRowDeleting(this, new BoardRowChangeEvent(((BoardRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveBoardRow(BoardRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "BoardDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class RequestItemDataTable : global::System.Data.TypedTableBase<RequestItemRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columntolist;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncclist;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnbcclist;
 | |
|             
 | |
|             private global::System.Data.DataColumn columntitle;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnurl;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnqty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnremark;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnbMail;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnproject;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmodel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnprojectName;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public RequestItemDataTable() {
 | |
|                 this.TableName = "RequestItem";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal RequestItemDataTable(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 RequestItemDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn tolistColumn {
 | |
|                 get {
 | |
|                     return this.columntolist;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn cclistColumn {
 | |
|                 get {
 | |
|                     return this.columncclist;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn bcclistColumn {
 | |
|                 get {
 | |
|                     return this.columnbcclist;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn titleColumn {
 | |
|                 get {
 | |
|                     return this.columntitle;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn sidColumn {
 | |
|                 get {
 | |
|                     return this.columnsid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn urlColumn {
 | |
|                 get {
 | |
|                     return this.columnurl;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn qtyColumn {
 | |
|                 get {
 | |
|                     return this.columnqty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn remarkColumn {
 | |
|                 get {
 | |
|                     return this.columnremark;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pdateColumn {
 | |
|                 get {
 | |
|                     return this.columnpdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn bMailColumn {
 | |
|                 get {
 | |
|                     return this.columnbMail;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectColumn {
 | |
|                 get {
 | |
|                     return this.columnproject;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn modelColumn {
 | |
|                 get {
 | |
|                     return this.columnmodel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectNameColumn {
 | |
|                 get {
 | |
|                     return this.columnprojectName;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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")]
 | |
|             [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 RequestItemRow this[int index] {
 | |
|                 get {
 | |
|                     return ((RequestItemRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event RequestItemRowChangeEventHandler RequestItemRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event RequestItemRowChangeEventHandler RequestItemRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event RequestItemRowChangeEventHandler RequestItemRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event RequestItemRowChangeEventHandler RequestItemRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddRequestItemRow(RequestItemRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public RequestItemRow AddRequestItemRow(
 | |
|                         string tolist, 
 | |
|                         string cclist, 
 | |
|                         string bcclist, 
 | |
|                         string title, 
 | |
|                         string sid, 
 | |
|                         string url, 
 | |
|                         int qty, 
 | |
|                         string remark, 
 | |
|                         string wuid, 
 | |
|                         System.DateTime wdate, 
 | |
|                         System.DateTime pdate, 
 | |
|                         bool bMail, 
 | |
|                         int project, 
 | |
|                         string model, 
 | |
|                         string projectName, 
 | |
|                         string memo) {
 | |
|                 RequestItemRow rowRequestItemRow = ((RequestItemRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         tolist,
 | |
|                         cclist,
 | |
|                         bcclist,
 | |
|                         title,
 | |
|                         sid,
 | |
|                         url,
 | |
|                         qty,
 | |
|                         remark,
 | |
|                         wuid,
 | |
|                         wdate,
 | |
|                         pdate,
 | |
|                         bMail,
 | |
|                         project,
 | |
|                         model,
 | |
|                         projectName,
 | |
|                         memo};
 | |
|                 rowRequestItemRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowRequestItemRow);
 | |
|                 return rowRequestItemRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public RequestItemRow FindByidx(int idx) {
 | |
|                 return ((RequestItemRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 RequestItemDataTable cln = ((RequestItemDataTable)(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 RequestItemDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columntolist = base.Columns["tolist"];
 | |
|                 this.columncclist = base.Columns["cclist"];
 | |
|                 this.columnbcclist = base.Columns["bcclist"];
 | |
|                 this.columntitle = base.Columns["title"];
 | |
|                 this.columnsid = base.Columns["sid"];
 | |
|                 this.columnurl = base.Columns["url"];
 | |
|                 this.columnqty = base.Columns["qty"];
 | |
|                 this.columnremark = base.Columns["remark"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columnpdate = base.Columns["pdate"];
 | |
|                 this.columnbMail = base.Columns["bMail"];
 | |
|                 this.columnproject = base.Columns["project"];
 | |
|                 this.columnmodel = base.Columns["model"];
 | |
|                 this.columnprojectName = base.Columns["projectName"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columntolist = new global::System.Data.DataColumn("tolist", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columntolist);
 | |
|                 this.columncclist = new global::System.Data.DataColumn("cclist", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncclist);
 | |
|                 this.columnbcclist = new global::System.Data.DataColumn("bcclist", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnbcclist);
 | |
|                 this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columntitle);
 | |
|                 this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsid);
 | |
|                 this.columnurl = new global::System.Data.DataColumn("url", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnurl);
 | |
|                 this.columnqty = new global::System.Data.DataColumn("qty", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnqty);
 | |
|                 this.columnremark = new global::System.Data.DataColumn("remark", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnremark);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpdate);
 | |
|                 this.columnbMail = new global::System.Data.DataColumn("bMail", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnbMail);
 | |
|                 this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnproject);
 | |
|                 this.columnmodel = new global::System.Data.DataColumn("model", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmodel);
 | |
|                 this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnprojectName);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columntolist.MaxLength = 2147483647;
 | |
|                 this.columncclist.MaxLength = 2147483647;
 | |
|                 this.columnbcclist.MaxLength = 2147483647;
 | |
|                 this.columntitle.MaxLength = 2147483647;
 | |
|                 this.columnsid.MaxLength = 20;
 | |
|                 this.columnurl.MaxLength = 2147483647;
 | |
|                 this.columnremark.MaxLength = 2147483647;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columnmodel.MaxLength = 100;
 | |
|                 this.columnprojectName.ReadOnly = true;
 | |
|                 this.columnprojectName.MaxLength = 200;
 | |
|                 this.columnmemo.MaxLength = 100;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public RequestItemRow NewRequestItemRow() {
 | |
|                 return ((RequestItemRow)(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 RequestItemRow(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(RequestItemRow);
 | |
|             }
 | |
|             
 | |
|             [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.RequestItemRowChanged != null)) {
 | |
|                     this.RequestItemRowChanged(this, new RequestItemRowChangeEvent(((RequestItemRow)(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.RequestItemRowChanging != null)) {
 | |
|                     this.RequestItemRowChanging(this, new RequestItemRowChangeEvent(((RequestItemRow)(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.RequestItemRowDeleted != null)) {
 | |
|                     this.RequestItemRowDeleted(this, new RequestItemRowChangeEvent(((RequestItemRow)(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.RequestItemRowDeleting != null)) {
 | |
|                     this.RequestItemRowDeleting(this, new RequestItemRowChangeEvent(((RequestItemRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveRequestItemRow(RequestItemRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "RequestItemDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class CustomsDataTable : global::System.Data.TypedTableBase<CustomsRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngrp;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columntel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnfax;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnemail;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnowner;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnownertel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnaddress;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnuptae;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnstaff;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnstafftel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname2;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CustomsDataTable() {
 | |
|                 this.TableName = "Customs";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal CustomsDataTable(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 CustomsDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn grpColumn {
 | |
|                 get {
 | |
|                     return this.columngrp;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn nameColumn {
 | |
|                 get {
 | |
|                     return this.columnname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn telColumn {
 | |
|                 get {
 | |
|                     return this.columntel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn faxColumn {
 | |
|                 get {
 | |
|                     return this.columnfax;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn emailColumn {
 | |
|                 get {
 | |
|                     return this.columnemail;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn ownerColumn {
 | |
|                 get {
 | |
|                     return this.columnowner;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn ownertelColumn {
 | |
|                 get {
 | |
|                     return this.columnownertel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn addressColumn {
 | |
|                 get {
 | |
|                     return this.columnaddress;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn uptaeColumn {
 | |
|                 get {
 | |
|                     return this.columnuptae;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn staffColumn {
 | |
|                 get {
 | |
|                     return this.columnstaff;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn stafftelColumn {
 | |
|                 get {
 | |
|                     return this.columnstafftel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn name2Column {
 | |
|                 get {
 | |
|                     return this.columnname2;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 CustomsRow this[int index] {
 | |
|                 get {
 | |
|                     return ((CustomsRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CustomsRowChangeEventHandler CustomsRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CustomsRowChangeEventHandler CustomsRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CustomsRowChangeEventHandler CustomsRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event CustomsRowChangeEventHandler CustomsRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddCustomsRow(CustomsRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CustomsRow AddCustomsRow(
 | |
|                         string grp, 
 | |
|                         string name, 
 | |
|                         string tel, 
 | |
|                         string fax, 
 | |
|                         string email, 
 | |
|                         string memo, 
 | |
|                         string wuid, 
 | |
|                         System.DateTime wdate, 
 | |
|                         string owner, 
 | |
|                         string ownertel, 
 | |
|                         string address, 
 | |
|                         string uptae, 
 | |
|                         string staff, 
 | |
|                         string stafftel, 
 | |
|                         string name2, 
 | |
|                         string gcode) {
 | |
|                 CustomsRow rowCustomsRow = ((CustomsRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         grp,
 | |
|                         name,
 | |
|                         tel,
 | |
|                         fax,
 | |
|                         email,
 | |
|                         memo,
 | |
|                         wuid,
 | |
|                         wdate,
 | |
|                         owner,
 | |
|                         ownertel,
 | |
|                         address,
 | |
|                         uptae,
 | |
|                         staff,
 | |
|                         stafftel,
 | |
|                         name2,
 | |
|                         gcode};
 | |
|                 rowCustomsRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowCustomsRow);
 | |
|                 return rowCustomsRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CustomsRow FindByidx(int idx) {
 | |
|                 return ((CustomsRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 CustomsDataTable cln = ((CustomsDataTable)(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 CustomsDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columngrp = base.Columns["grp"];
 | |
|                 this.columnname = base.Columns["name"];
 | |
|                 this.columntel = base.Columns["tel"];
 | |
|                 this.columnfax = base.Columns["fax"];
 | |
|                 this.columnemail = base.Columns["email"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columnowner = base.Columns["owner"];
 | |
|                 this.columnownertel = base.Columns["ownertel"];
 | |
|                 this.columnaddress = base.Columns["address"];
 | |
|                 this.columnuptae = base.Columns["uptae"];
 | |
|                 this.columnstaff = base.Columns["staff"];
 | |
|                 this.columnstafftel = base.Columns["stafftel"];
 | |
|                 this.columnname2 = base.Columns["name2"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columngrp = new global::System.Data.DataColumn("grp", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngrp);
 | |
|                 this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname);
 | |
|                 this.columntel = new global::System.Data.DataColumn("tel", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columntel);
 | |
|                 this.columnfax = new global::System.Data.DataColumn("fax", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnfax);
 | |
|                 this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnemail);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columnowner = new global::System.Data.DataColumn("owner", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnowner);
 | |
|                 this.columnownertel = new global::System.Data.DataColumn("ownertel", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnownertel);
 | |
|                 this.columnaddress = new global::System.Data.DataColumn("address", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnaddress);
 | |
|                 this.columnuptae = new global::System.Data.DataColumn("uptae", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnuptae);
 | |
|                 this.columnstaff = new global::System.Data.DataColumn("staff", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnstaff);
 | |
|                 this.columnstafftel = new global::System.Data.DataColumn("stafftel", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnstafftel);
 | |
|                 this.columnname2 = new global::System.Data.DataColumn("name2", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname2);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columngrp.MaxLength = 20;
 | |
|                 this.columnname.MaxLength = 50;
 | |
|                 this.columntel.MaxLength = 150;
 | |
|                 this.columnfax.MaxLength = 100;
 | |
|                 this.columnemail.MaxLength = 100;
 | |
|                 this.columnmemo.MaxLength = 255;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columnowner.MaxLength = 50;
 | |
|                 this.columnownertel.MaxLength = 20;
 | |
|                 this.columnaddress.MaxLength = 255;
 | |
|                 this.columnuptae.MaxLength = 100;
 | |
|                 this.columnstaff.MaxLength = 250;
 | |
|                 this.columnstafftel.MaxLength = 150;
 | |
|                 this.columnname2.MaxLength = 100;
 | |
|                 this.columngcode.AllowDBNull = false;
 | |
|                 this.columngcode.MaxLength = 10;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public CustomsRow NewCustomsRow() {
 | |
|                 return ((CustomsRow)(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 CustomsRow(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(CustomsRow);
 | |
|             }
 | |
|             
 | |
|             [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.CustomsRowChanged != null)) {
 | |
|                     this.CustomsRowChanged(this, new CustomsRowChangeEvent(((CustomsRow)(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.CustomsRowChanging != null)) {
 | |
|                     this.CustomsRowChanging(this, new CustomsRowChangeEvent(((CustomsRow)(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.CustomsRowDeleted != null)) {
 | |
|                     this.CustomsRowDeleted(this, new CustomsRowChangeEvent(((CustomsRow)(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.CustomsRowDeleting != null)) {
 | |
|                     this.CustomsRowDeleting(this, new CustomsRowChangeEvent(((CustomsRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveCustomsRow(CustomsRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "CustomsDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class StaffDataTable : global::System.Data.TypedTableBase<StaffRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngrade;
 | |
|             
 | |
|             private global::System.Data.DataColumn columndept;
 | |
|             
 | |
|             private global::System.Data.DataColumn columntel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnemail;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public StaffDataTable() {
 | |
|                 this.TableName = "Staff";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal StaffDataTable(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 StaffDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn cidColumn {
 | |
|                 get {
 | |
|                     return this.columncid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn nameColumn {
 | |
|                 get {
 | |
|                     return this.columnname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gradeColumn {
 | |
|                 get {
 | |
|                     return this.columngrade;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn deptColumn {
 | |
|                 get {
 | |
|                     return this.columndept;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn telColumn {
 | |
|                 get {
 | |
|                     return this.columntel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn emailColumn {
 | |
|                 get {
 | |
|                     return this.columnemail;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 StaffRow this[int index] {
 | |
|                 get {
 | |
|                     return ((StaffRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event StaffRowChangeEventHandler StaffRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event StaffRowChangeEventHandler StaffRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event StaffRowChangeEventHandler StaffRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event StaffRowChangeEventHandler StaffRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddStaffRow(StaffRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public StaffRow AddStaffRow(int cid, string name, string grade, string dept, string tel, string email, string memo, string wuid, System.DateTime wdate, string gcode) {
 | |
|                 StaffRow rowStaffRow = ((StaffRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         cid,
 | |
|                         name,
 | |
|                         grade,
 | |
|                         dept,
 | |
|                         tel,
 | |
|                         email,
 | |
|                         memo,
 | |
|                         wuid,
 | |
|                         wdate,
 | |
|                         gcode};
 | |
|                 rowStaffRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowStaffRow);
 | |
|                 return rowStaffRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public StaffRow FindByidx(int idx) {
 | |
|                 return ((StaffRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 StaffDataTable cln = ((StaffDataTable)(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 StaffDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columncid = base.Columns["cid"];
 | |
|                 this.columnname = base.Columns["name"];
 | |
|                 this.columngrade = base.Columns["grade"];
 | |
|                 this.columndept = base.Columns["dept"];
 | |
|                 this.columntel = base.Columns["tel"];
 | |
|                 this.columnemail = base.Columns["email"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columncid = new global::System.Data.DataColumn("cid", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncid);
 | |
|                 this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname);
 | |
|                 this.columngrade = new global::System.Data.DataColumn("grade", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngrade);
 | |
|                 this.columndept = new global::System.Data.DataColumn("dept", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columndept);
 | |
|                 this.columntel = new global::System.Data.DataColumn("tel", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columntel);
 | |
|                 this.columnemail = new global::System.Data.DataColumn("email", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnemail);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnname.MaxLength = 100;
 | |
|                 this.columngrade.MaxLength = 20;
 | |
|                 this.columndept.MaxLength = 50;
 | |
|                 this.columntel.MaxLength = 100;
 | |
|                 this.columnemail.MaxLength = 100;
 | |
|                 this.columnmemo.MaxLength = 255;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columngcode.AllowDBNull = false;
 | |
|                 this.columngcode.MaxLength = 10;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public StaffRow NewStaffRow() {
 | |
|                 return ((StaffRow)(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 StaffRow(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(StaffRow);
 | |
|             }
 | |
|             
 | |
|             [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.StaffRowChanged != null)) {
 | |
|                     this.StaffRowChanged(this, new StaffRowChangeEvent(((StaffRow)(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.StaffRowChanging != null)) {
 | |
|                     this.StaffRowChanging(this, new StaffRowChangeEvent(((StaffRow)(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.StaffRowDeleted != null)) {
 | |
|                     this.StaffRowDeleted(this, new StaffRowChangeEvent(((StaffRow)(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.StaffRowDeleting != null)) {
 | |
|                     this.StaffRowDeleting(this, new StaffRowChangeEvent(((StaffRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveStaffRow(StaffRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "StaffDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class PurchaseDataTable : global::System.Data.TypedTableBase<PurchaseRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnstate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnprocess;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnreceive;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsc;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnrequest;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumscale;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumunit;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumqty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumprice;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpumamt;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsupply;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsupplyidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnproject;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnprojectidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnasset;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnedate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnindate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columndept;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnimport;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public PurchaseDataTable() {
 | |
|                 this.TableName = "Purchase";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal PurchaseDataTable(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 PurchaseDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pdateColumn {
 | |
|                 get {
 | |
|                     return this.columnpdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn stateColumn {
 | |
|                 get {
 | |
|                     return this.columnstate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 receiveColumn {
 | |
|                 get {
 | |
|                     return this.columnreceive;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn scColumn {
 | |
|                 get {
 | |
|                     return this.columnsc;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn requestColumn {
 | |
|                 get {
 | |
|                     return this.columnrequest;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn sidColumn {
 | |
|                 get {
 | |
|                     return this.columnsid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumnameColumn {
 | |
|                 get {
 | |
|                     return this.columnpumname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumidxColumn {
 | |
|                 get {
 | |
|                     return this.columnpumidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumscaleColumn {
 | |
|                 get {
 | |
|                     return this.columnpumscale;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumunitColumn {
 | |
|                 get {
 | |
|                     return this.columnpumunit;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumqtyColumn {
 | |
|                 get {
 | |
|                     return this.columnpumqty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumpriceColumn {
 | |
|                 get {
 | |
|                     return this.columnpumprice;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pumamtColumn {
 | |
|                 get {
 | |
|                     return this.columnpumamt;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn supplyColumn {
 | |
|                 get {
 | |
|                     return this.columnsupply;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn supplyidxColumn {
 | |
|                 get {
 | |
|                     return this.columnsupplyidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectColumn {
 | |
|                 get {
 | |
|                     return this.columnproject;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectidxColumn {
 | |
|                 get {
 | |
|                     return this.columnprojectidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn assetColumn {
 | |
|                 get {
 | |
|                     return this.columnasset;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn edateColumn {
 | |
|                 get {
 | |
|                     return this.columnedate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn indateColumn {
 | |
|                 get {
 | |
|                     return this.columnindate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn poColumn {
 | |
|                 get {
 | |
|                     return this.columnpo;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn deptColumn {
 | |
|                 get {
 | |
|                     return this.columndept;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn importColumn {
 | |
|                 get {
 | |
|                     return this.columnimport;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 PurchaseRow this[int index] {
 | |
|                 get {
 | |
|                     return ((PurchaseRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event PurchaseRowChangeEventHandler PurchaseRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event PurchaseRowChangeEventHandler PurchaseRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event PurchaseRowChangeEventHandler PurchaseRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event PurchaseRowChangeEventHandler PurchaseRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddPurchaseRow(PurchaseRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public PurchaseRow AddPurchaseRow(
 | |
|                         string pdate, 
 | |
|                         string state, 
 | |
|                         string process, 
 | |
|                         string receive, 
 | |
|                         string sc, 
 | |
|                         string request, 
 | |
|                         string sid, 
 | |
|                         string pumname, 
 | |
|                         int pumidx, 
 | |
|                         string pumscale, 
 | |
|                         string pumunit, 
 | |
|                         int pumqty, 
 | |
|                         decimal pumprice, 
 | |
|                         decimal pumamt, 
 | |
|                         string supply, 
 | |
|                         int supplyidx, 
 | |
|                         string project, 
 | |
|                         int projectidx, 
 | |
|                         string asset, 
 | |
|                         string edate, 
 | |
|                         string indate, 
 | |
|                         string po, 
 | |
|                         string dept, 
 | |
|                         bool import, 
 | |
|                         string wuid, 
 | |
|                         System.DateTime wdate) {
 | |
|                 PurchaseRow rowPurchaseRow = ((PurchaseRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         pdate,
 | |
|                         state,
 | |
|                         process,
 | |
|                         receive,
 | |
|                         sc,
 | |
|                         request,
 | |
|                         sid,
 | |
|                         pumname,
 | |
|                         pumidx,
 | |
|                         pumscale,
 | |
|                         pumunit,
 | |
|                         pumqty,
 | |
|                         pumprice,
 | |
|                         pumamt,
 | |
|                         supply,
 | |
|                         supplyidx,
 | |
|                         project,
 | |
|                         projectidx,
 | |
|                         asset,
 | |
|                         edate,
 | |
|                         indate,
 | |
|                         po,
 | |
|                         dept,
 | |
|                         import,
 | |
|                         wuid,
 | |
|                         wdate};
 | |
|                 rowPurchaseRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowPurchaseRow);
 | |
|                 return rowPurchaseRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public PurchaseRow FindByidx(int idx) {
 | |
|                 return ((PurchaseRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 PurchaseDataTable cln = ((PurchaseDataTable)(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 PurchaseDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnpdate = base.Columns["pdate"];
 | |
|                 this.columnstate = base.Columns["state"];
 | |
|                 this.columnprocess = base.Columns["process"];
 | |
|                 this.columnreceive = base.Columns["receive"];
 | |
|                 this.columnsc = base.Columns["sc"];
 | |
|                 this.columnrequest = base.Columns["request"];
 | |
|                 this.columnsid = base.Columns["sid"];
 | |
|                 this.columnpumname = base.Columns["pumname"];
 | |
|                 this.columnpumidx = base.Columns["pumidx"];
 | |
|                 this.columnpumscale = base.Columns["pumscale"];
 | |
|                 this.columnpumunit = base.Columns["pumunit"];
 | |
|                 this.columnpumqty = base.Columns["pumqty"];
 | |
|                 this.columnpumprice = base.Columns["pumprice"];
 | |
|                 this.columnpumamt = base.Columns["pumamt"];
 | |
|                 this.columnsupply = base.Columns["supply"];
 | |
|                 this.columnsupplyidx = base.Columns["supplyidx"];
 | |
|                 this.columnproject = base.Columns["project"];
 | |
|                 this.columnprojectidx = base.Columns["projectidx"];
 | |
|                 this.columnasset = base.Columns["asset"];
 | |
|                 this.columnedate = base.Columns["edate"];
 | |
|                 this.columnindate = base.Columns["indate"];
 | |
|                 this.columnpo = base.Columns["po"];
 | |
|                 this.columndept = base.Columns["dept"];
 | |
|                 this.columnimport = base.Columns["import"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpdate);
 | |
|                 this.columnstate = new global::System.Data.DataColumn("state", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnstate);
 | |
|                 this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnprocess);
 | |
|                 this.columnreceive = new global::System.Data.DataColumn("receive", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnreceive);
 | |
|                 this.columnsc = new global::System.Data.DataColumn("sc", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsc);
 | |
|                 this.columnrequest = new global::System.Data.DataColumn("request", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnrequest);
 | |
|                 this.columnsid = new global::System.Data.DataColumn("sid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsid);
 | |
|                 this.columnpumname = new global::System.Data.DataColumn("pumname", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumname);
 | |
|                 this.columnpumidx = new global::System.Data.DataColumn("pumidx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumidx);
 | |
|                 this.columnpumscale = new global::System.Data.DataColumn("pumscale", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumscale);
 | |
|                 this.columnpumunit = new global::System.Data.DataColumn("pumunit", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumunit);
 | |
|                 this.columnpumqty = new global::System.Data.DataColumn("pumqty", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumqty);
 | |
|                 this.columnpumprice = new global::System.Data.DataColumn("pumprice", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumprice);
 | |
|                 this.columnpumamt = new global::System.Data.DataColumn("pumamt", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpumamt);
 | |
|                 this.columnsupply = new global::System.Data.DataColumn("supply", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsupply);
 | |
|                 this.columnsupplyidx = new global::System.Data.DataColumn("supplyidx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsupplyidx);
 | |
|                 this.columnproject = new global::System.Data.DataColumn("project", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnproject);
 | |
|                 this.columnprojectidx = new global::System.Data.DataColumn("projectidx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnprojectidx);
 | |
|                 this.columnasset = new global::System.Data.DataColumn("asset", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnasset);
 | |
|                 this.columnedate = new global::System.Data.DataColumn("edate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnedate);
 | |
|                 this.columnindate = new global::System.Data.DataColumn("indate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnindate);
 | |
|                 this.columnpo = new global::System.Data.DataColumn("po", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpo);
 | |
|                 this.columndept = new global::System.Data.DataColumn("dept", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columndept);
 | |
|                 this.columnimport = new global::System.Data.DataColumn("import", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnimport);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnpdate.MaxLength = 10;
 | |
|                 this.columnstate.MaxLength = 30;
 | |
|                 this.columnprocess.MaxLength = 30;
 | |
|                 this.columnreceive.MaxLength = 50;
 | |
|                 this.columnsc.MaxLength = 30;
 | |
|                 this.columnrequest.MaxLength = 50;
 | |
|                 this.columnsid.MaxLength = 50;
 | |
|                 this.columnpumname.MaxLength = 2147483647;
 | |
|                 this.columnpumscale.MaxLength = 200;
 | |
|                 this.columnpumunit.MaxLength = 50;
 | |
|                 this.columnsupply.MaxLength = 200;
 | |
|                 this.columnproject.MaxLength = 2147483647;
 | |
|                 this.columnasset.MaxLength = 50;
 | |
|                 this.columnedate.MaxLength = 10;
 | |
|                 this.columnindate.MaxLength = 10;
 | |
|                 this.columnpo.MaxLength = 50;
 | |
|                 this.columndept.MaxLength = 500;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public PurchaseRow NewPurchaseRow() {
 | |
|                 return ((PurchaseRow)(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 PurchaseRow(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(PurchaseRow);
 | |
|             }
 | |
|             
 | |
|             [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.PurchaseRowChanged != null)) {
 | |
|                     this.PurchaseRowChanged(this, new PurchaseRowChangeEvent(((PurchaseRow)(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.PurchaseRowChanging != null)) {
 | |
|                     this.PurchaseRowChanging(this, new PurchaseRowChangeEvent(((PurchaseRow)(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.PurchaseRowDeleted != null)) {
 | |
|                     this.PurchaseRowDeleted(this, new PurchaseRowChangeEvent(((PurchaseRow)(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.PurchaseRowDeleting != null)) {
 | |
|                     this.PurchaseRowDeleting(this, new PurchaseRowChangeEvent(((PurchaseRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemovePurchaseRow(PurchaseRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "PurchaseDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class ProjectsDataTable : global::System.Data.TypedTableBase<ProjectsRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnddate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnedate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnname;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnodate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpart;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnprocess;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnreqstaff;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnsdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnstatus;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnisdel;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncategory;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnuserManager;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnorderno;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ProjectsDataTable() {
 | |
|                 this.TableName = "Projects";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal ProjectsDataTable(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 ProjectsDataTable(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 ddateColumn {
 | |
|                 get {
 | |
|                     return this.columnddate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn edateColumn {
 | |
|                 get {
 | |
|                     return this.columnedate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 nameColumn {
 | |
|                 get {
 | |
|                     return this.columnname;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn odateColumn {
 | |
|                 get {
 | |
|                     return this.columnodate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn partColumn {
 | |
|                 get {
 | |
|                     return this.columnpart;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pdateColumn {
 | |
|                 get {
 | |
|                     return this.columnpdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 reqstaffColumn {
 | |
|                 get {
 | |
|                     return this.columnreqstaff;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn sdateColumn {
 | |
|                 get {
 | |
|                     return this.columnsdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn statusColumn {
 | |
|                 get {
 | |
|                     return this.columnstatus;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn isdelColumn {
 | |
|                 get {
 | |
|                     return this.columnisdel;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn categoryColumn {
 | |
|                 get {
 | |
|                     return this.columncategory;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn userManagerColumn {
 | |
|                 get {
 | |
|                     return this.columnuserManager;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn ordernoColumn {
 | |
|                 get {
 | |
|                     return this.columnorderno;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 ProjectsRow this[int index] {
 | |
|                 get {
 | |
|                     return ((ProjectsRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ProjectsRowChangeEventHandler ProjectsRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ProjectsRowChangeEventHandler ProjectsRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ProjectsRowChangeEventHandler ProjectsRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event ProjectsRowChangeEventHandler ProjectsRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddProjectsRow(ProjectsRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ProjectsRow AddProjectsRow(
 | |
|                         string ddate, 
 | |
|                         string edate, 
 | |
|                         string memo, 
 | |
|                         string name, 
 | |
|                         string odate, 
 | |
|                         string part, 
 | |
|                         string pdate, 
 | |
|                         string process, 
 | |
|                         string reqstaff, 
 | |
|                         string sdate, 
 | |
|                         string status, 
 | |
|                         System.DateTime wdate, 
 | |
|                         string wuid, 
 | |
|                         string gcode, 
 | |
|                         bool isdel, 
 | |
|                         string category, 
 | |
|                         string userManager, 
 | |
|                         string orderno) {
 | |
|                 ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         ddate,
 | |
|                         edate,
 | |
|                         null,
 | |
|                         memo,
 | |
|                         name,
 | |
|                         odate,
 | |
|                         part,
 | |
|                         pdate,
 | |
|                         process,
 | |
|                         reqstaff,
 | |
|                         sdate,
 | |
|                         status,
 | |
|                         wdate,
 | |
|                         wuid,
 | |
|                         gcode,
 | |
|                         isdel,
 | |
|                         category,
 | |
|                         userManager,
 | |
|                         orderno};
 | |
|                 rowProjectsRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowProjectsRow);
 | |
|                 return rowProjectsRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ProjectsRow FindByidx(int idx) {
 | |
|                 return ((ProjectsRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 ProjectsDataTable cln = ((ProjectsDataTable)(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 ProjectsDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnddate = base.Columns["ddate"];
 | |
|                 this.columnedate = base.Columns["edate"];
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnname = base.Columns["name"];
 | |
|                 this.columnodate = base.Columns["odate"];
 | |
|                 this.columnpart = base.Columns["part"];
 | |
|                 this.columnpdate = base.Columns["pdate"];
 | |
|                 this.columnprocess = base.Columns["process"];
 | |
|                 this.columnreqstaff = base.Columns["reqstaff"];
 | |
|                 this.columnsdate = base.Columns["sdate"];
 | |
|                 this.columnstatus = base.Columns["status"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|                 this.columnisdel = base.Columns["isdel"];
 | |
|                 this.columncategory = base.Columns["category"];
 | |
|                 this.columnuserManager = base.Columns["userManager"];
 | |
|                 this.columnorderno = base.Columns["orderno"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnddate = new global::System.Data.DataColumn("ddate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnddate);
 | |
|                 this.columnedate = new global::System.Data.DataColumn("edate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnedate);
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnname);
 | |
|                 this.columnodate = new global::System.Data.DataColumn("odate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnodate);
 | |
|                 this.columnpart = new global::System.Data.DataColumn("part", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpart);
 | |
|                 this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpdate);
 | |
|                 this.columnprocess = new global::System.Data.DataColumn("process", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnprocess);
 | |
|                 this.columnreqstaff = new global::System.Data.DataColumn("reqstaff", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnreqstaff);
 | |
|                 this.columnsdate = new global::System.Data.DataColumn("sdate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnsdate);
 | |
|                 this.columnstatus = new global::System.Data.DataColumn("status", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnstatus);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.columnisdel = new global::System.Data.DataColumn("isdel", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnisdel);
 | |
|                 this.columncategory = new global::System.Data.DataColumn("category", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncategory);
 | |
|                 this.columnuserManager = new global::System.Data.DataColumn("userManager", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnuserManager);
 | |
|                 this.columnorderno = new global::System.Data.DataColumn("orderno", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnorderno);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnddate.MaxLength = 50;
 | |
|                 this.columnedate.MaxLength = 50;
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnmemo.MaxLength = 255;
 | |
|                 this.columnname.MaxLength = 255;
 | |
|                 this.columnodate.MaxLength = 50;
 | |
|                 this.columnpart.MaxLength = 50;
 | |
|                 this.columnpdate.MaxLength = 10;
 | |
|                 this.columnprocess.MaxLength = 50;
 | |
|                 this.columnreqstaff.MaxLength = 50;
 | |
|                 this.columnsdate.MaxLength = 50;
 | |
|                 this.columnstatus.MaxLength = 50;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columngcode.AllowDBNull = false;
 | |
|                 this.columngcode.MaxLength = 10;
 | |
|                 this.columncategory.MaxLength = 50;
 | |
|                 this.columnuserManager.MaxLength = 50;
 | |
|                 this.columnorderno.MaxLength = 50;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public ProjectsRow NewProjectsRow() {
 | |
|                 return ((ProjectsRow)(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 ProjectsRow(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(ProjectsRow);
 | |
|             }
 | |
|             
 | |
|             [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.ProjectsRowChanged != null)) {
 | |
|                     this.ProjectsRowChanged(this, new ProjectsRowChangeEvent(((ProjectsRow)(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.ProjectsRowChanging != null)) {
 | |
|                     this.ProjectsRowChanging(this, new ProjectsRowChangeEvent(((ProjectsRow)(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.ProjectsRowDeleted != null)) {
 | |
|                     this.ProjectsRowDeleted(this, new ProjectsRowChangeEvent(((ProjectsRow)(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.ProjectsRowDeleting != null)) {
 | |
|                     this.ProjectsRowDeleting(this, new ProjectsRowChangeEvent(((ProjectsRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveProjectsRow(ProjectsRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "ProjectsDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class HolidayLIstDataTable : global::System.Data.TypedTableBase<HolidayLIstRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnfree;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public HolidayLIstDataTable() {
 | |
|                 this.TableName = "HolidayLIst";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal HolidayLIstDataTable(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 HolidayLIstDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pdateColumn {
 | |
|                 get {
 | |
|                     return this.columnpdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn freeColumn {
 | |
|                 get {
 | |
|                     return this.columnfree;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 HolidayLIstRow this[int index] {
 | |
|                 get {
 | |
|                     return ((HolidayLIstRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event HolidayLIstRowChangeEventHandler HolidayLIstRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event HolidayLIstRowChangeEventHandler HolidayLIstRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event HolidayLIstRowChangeEventHandler HolidayLIstRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event HolidayLIstRowChangeEventHandler HolidayLIstRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddHolidayLIstRow(HolidayLIstRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public HolidayLIstRow AddHolidayLIstRow(string pdate, bool free, string memo, string wuid, System.DateTime wdate) {
 | |
|                 HolidayLIstRow rowHolidayLIstRow = ((HolidayLIstRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         pdate,
 | |
|                         free,
 | |
|                         memo,
 | |
|                         wuid,
 | |
|                         wdate};
 | |
|                 rowHolidayLIstRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowHolidayLIstRow);
 | |
|                 return rowHolidayLIstRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public HolidayLIstRow FindByidx(int idx) {
 | |
|                 return ((HolidayLIstRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 HolidayLIstDataTable cln = ((HolidayLIstDataTable)(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 HolidayLIstDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnpdate = base.Columns["pdate"];
 | |
|                 this.columnfree = base.Columns["free"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpdate);
 | |
|                 this.columnfree = new global::System.Data.DataColumn("free", typeof(bool), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnfree);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnpdate.MaxLength = 10;
 | |
|                 this.columnmemo.MaxLength = 255;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public HolidayLIstRow NewHolidayLIstRow() {
 | |
|                 return ((HolidayLIstRow)(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 HolidayLIstRow(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(HolidayLIstRow);
 | |
|             }
 | |
|             
 | |
|             [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.HolidayLIstRowChanged != null)) {
 | |
|                     this.HolidayLIstRowChanged(this, new HolidayLIstRowChangeEvent(((HolidayLIstRow)(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.HolidayLIstRowChanging != null)) {
 | |
|                     this.HolidayLIstRowChanging(this, new HolidayLIstRowChangeEvent(((HolidayLIstRow)(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.HolidayLIstRowDeleted != null)) {
 | |
|                     this.HolidayLIstRowDeleted(this, new HolidayLIstRowChangeEvent(((HolidayLIstRow)(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.HolidayLIstRowDeleting != null)) {
 | |
|                     this.HolidayLIstRowDeleting(this, new HolidayLIstRowChangeEvent(((HolidayLIstRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveHolidayLIstRow(HolidayLIstRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "HolidayLIstDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class InventoryUserDataTable : global::System.Data.TypedTableBase<InventoryUserRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnpdate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columninvtype;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnitem;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnItemName;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnserial;
 | |
|             
 | |
|             private global::System.Data.DataColumn columndr_qty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columndr_amt;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncr_qty;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncr_amt;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnmemo;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnproject;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnprojectName;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnplace;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public InventoryUserDataTable() {
 | |
|                 this.TableName = "InventoryUser";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal InventoryUserDataTable(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 InventoryUserDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn pdateColumn {
 | |
|                 get {
 | |
|                     return this.columnpdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn invtypeColumn {
 | |
|                 get {
 | |
|                     return this.columninvtype;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn uidColumn {
 | |
|                 get {
 | |
|                     return this.columnuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn itemColumn {
 | |
|                 get {
 | |
|                     return this.columnitem;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn ItemNameColumn {
 | |
|                 get {
 | |
|                     return this.columnItemName;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn serialColumn {
 | |
|                 get {
 | |
|                     return this.columnserial;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn dr_qtyColumn {
 | |
|                 get {
 | |
|                     return this.columndr_qty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn dr_amtColumn {
 | |
|                 get {
 | |
|                     return this.columndr_amt;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn cr_qtyColumn {
 | |
|                 get {
 | |
|                     return this.columncr_qty;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn cr_amtColumn {
 | |
|                 get {
 | |
|                     return this.columncr_amt;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 projectColumn {
 | |
|                 get {
 | |
|                     return this.columnproject;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn projectNameColumn {
 | |
|                 get {
 | |
|                     return this.columnprojectName;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn placeColumn {
 | |
|                 get {
 | |
|                     return this.columnplace;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 InventoryUserRow this[int index] {
 | |
|                 get {
 | |
|                     return ((InventoryUserRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event InventoryUserRowChangeEventHandler InventoryUserRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event InventoryUserRowChangeEventHandler InventoryUserRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event InventoryUserRowChangeEventHandler InventoryUserRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event InventoryUserRowChangeEventHandler InventoryUserRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddInventoryUserRow(InventoryUserRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public InventoryUserRow AddInventoryUserRow(
 | |
|                         string pdate, 
 | |
|                         string invtype, 
 | |
|                         string uid, 
 | |
|                         int item, 
 | |
|                         string ItemName, 
 | |
|                         string serial, 
 | |
|                         int dr_qty, 
 | |
|                         decimal dr_amt, 
 | |
|                         int cr_qty, 
 | |
|                         decimal cr_amt, 
 | |
|                         string memo, 
 | |
|                         int project, 
 | |
|                         string projectName, 
 | |
|                         string place, 
 | |
|                         string wuid, 
 | |
|                         System.DateTime wdate) {
 | |
|                 InventoryUserRow rowInventoryUserRow = ((InventoryUserRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         pdate,
 | |
|                         invtype,
 | |
|                         uid,
 | |
|                         item,
 | |
|                         ItemName,
 | |
|                         serial,
 | |
|                         dr_qty,
 | |
|                         dr_amt,
 | |
|                         cr_qty,
 | |
|                         cr_amt,
 | |
|                         memo,
 | |
|                         project,
 | |
|                         projectName,
 | |
|                         place,
 | |
|                         wuid,
 | |
|                         wdate};
 | |
|                 rowInventoryUserRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowInventoryUserRow);
 | |
|                 return rowInventoryUserRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public InventoryUserRow FindByidx(int idx) {
 | |
|                 return ((InventoryUserRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 InventoryUserDataTable cln = ((InventoryUserDataTable)(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 InventoryUserDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columnpdate = base.Columns["pdate"];
 | |
|                 this.columninvtype = base.Columns["invtype"];
 | |
|                 this.columnuid = base.Columns["uid"];
 | |
|                 this.columnitem = base.Columns["item"];
 | |
|                 this.columnItemName = base.Columns["ItemName"];
 | |
|                 this.columnserial = base.Columns["serial"];
 | |
|                 this.columndr_qty = base.Columns["dr_qty"];
 | |
|                 this.columndr_amt = base.Columns["dr_amt"];
 | |
|                 this.columncr_qty = base.Columns["cr_qty"];
 | |
|                 this.columncr_amt = base.Columns["cr_amt"];
 | |
|                 this.columnmemo = base.Columns["memo"];
 | |
|                 this.columnproject = base.Columns["project"];
 | |
|                 this.columnprojectName = base.Columns["projectName"];
 | |
|                 this.columnplace = base.Columns["place"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columnpdate = new global::System.Data.DataColumn("pdate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnpdate);
 | |
|                 this.columninvtype = new global::System.Data.DataColumn("invtype", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columninvtype);
 | |
|                 this.columnuid = new global::System.Data.DataColumn("uid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnuid);
 | |
|                 this.columnitem = new global::System.Data.DataColumn("item", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnitem);
 | |
|                 this.columnItemName = new global::System.Data.DataColumn("ItemName", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnItemName);
 | |
|                 this.columnserial = new global::System.Data.DataColumn("serial", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnserial);
 | |
|                 this.columndr_qty = new global::System.Data.DataColumn("dr_qty", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columndr_qty);
 | |
|                 this.columndr_amt = new global::System.Data.DataColumn("dr_amt", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columndr_amt);
 | |
|                 this.columncr_qty = new global::System.Data.DataColumn("cr_qty", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncr_qty);
 | |
|                 this.columncr_amt = new global::System.Data.DataColumn("cr_amt", typeof(decimal), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncr_amt);
 | |
|                 this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnmemo);
 | |
|                 this.columnproject = new global::System.Data.DataColumn("project", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnproject);
 | |
|                 this.columnprojectName = new global::System.Data.DataColumn("projectName", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnprojectName);
 | |
|                 this.columnplace = new global::System.Data.DataColumn("place", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnplace);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columnpdate.MaxLength = 10;
 | |
|                 this.columninvtype.MaxLength = 2;
 | |
|                 this.columnuid.MaxLength = 20;
 | |
|                 this.columnItemName.MaxLength = 200;
 | |
|                 this.columnserial.MaxLength = 50;
 | |
|                 this.columnmemo.MaxLength = 255;
 | |
|                 this.columnprojectName.MaxLength = 255;
 | |
|                 this.columnplace.MaxLength = 100;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public InventoryUserRow NewInventoryUserRow() {
 | |
|                 return ((InventoryUserRow)(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 InventoryUserRow(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(InventoryUserRow);
 | |
|             }
 | |
|             
 | |
|             [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.InventoryUserRowChanged != null)) {
 | |
|                     this.InventoryUserRowChanged(this, new InventoryUserRowChangeEvent(((InventoryUserRow)(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.InventoryUserRowChanging != null)) {
 | |
|                     this.InventoryUserRowChanging(this, new InventoryUserRowChangeEvent(((InventoryUserRow)(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.InventoryUserRowDeleted != null)) {
 | |
|                     this.InventoryUserRowDeleted(this, new InventoryUserRowChangeEvent(((InventoryUserRow)(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.InventoryUserRowDeleting != null)) {
 | |
|                     this.InventoryUserRowDeleting(this, new InventoryUserRowChangeEvent(((InventoryUserRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveInventoryUserRow(InventoryUserRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "InventoryUserDataTable";
 | |
|                 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 the strongly named DataTable class.
 | |
|         ///</summary>
 | |
|         [global::System.Serializable()]
 | |
|         [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
 | |
|         public partial class EETGW_DocuFormDataTable : global::System.Data.TypedTableBase<EETGW_DocuFormRow> {
 | |
|             
 | |
|             private global::System.Data.DataColumn columnidx;
 | |
|             
 | |
|             private global::System.Data.DataColumn columngcode;
 | |
|             
 | |
|             private global::System.Data.DataColumn columncate;
 | |
|             
 | |
|             private global::System.Data.DataColumn columntitle;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnbody;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwuid;
 | |
|             
 | |
|             private global::System.Data.DataColumn columnwdate;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public EETGW_DocuFormDataTable() {
 | |
|                 this.TableName = "EETGW_DocuForm";
 | |
|                 this.BeginInit();
 | |
|                 this.InitClass();
 | |
|                 this.EndInit();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal EETGW_DocuFormDataTable(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 EETGW_DocuFormDataTable(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 idxColumn {
 | |
|                 get {
 | |
|                     return this.columnidx;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn gcodeColumn {
 | |
|                 get {
 | |
|                     return this.columngcode;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn cateColumn {
 | |
|                 get {
 | |
|                     return this.columncate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn titleColumn {
 | |
|                 get {
 | |
|                     return this.columntitle;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn bodyColumn {
 | |
|                 get {
 | |
|                     return this.columnbody;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wuidColumn {
 | |
|                 get {
 | |
|                     return this.columnwuid;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public global::System.Data.DataColumn wdateColumn {
 | |
|                 get {
 | |
|                     return this.columnwdate;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [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 EETGW_DocuFormRow this[int index] {
 | |
|                 get {
 | |
|                     return ((EETGW_DocuFormRow)(this.Rows[index]));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event EETGW_DocuFormRowChangeEventHandler EETGW_DocuFormRowChanging;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event EETGW_DocuFormRowChangeEventHandler EETGW_DocuFormRowChanged;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event EETGW_DocuFormRowChangeEventHandler EETGW_DocuFormRowDeleting;
 | |
|             
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public event EETGW_DocuFormRowChangeEventHandler EETGW_DocuFormRowDeleted;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void AddEETGW_DocuFormRow(EETGW_DocuFormRow row) {
 | |
|                 this.Rows.Add(row);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public EETGW_DocuFormRow AddEETGW_DocuFormRow(string gcode, string cate, string title, string body, string wuid, System.DateTime wdate) {
 | |
|                 EETGW_DocuFormRow rowEETGW_DocuFormRow = ((EETGW_DocuFormRow)(this.NewRow()));
 | |
|                 object[] columnValuesArray = new object[] {
 | |
|                         null,
 | |
|                         gcode,
 | |
|                         cate,
 | |
|                         title,
 | |
|                         body,
 | |
|                         wuid,
 | |
|                         wdate};
 | |
|                 rowEETGW_DocuFormRow.ItemArray = columnValuesArray;
 | |
|                 this.Rows.Add(rowEETGW_DocuFormRow);
 | |
|                 return rowEETGW_DocuFormRow;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public EETGW_DocuFormRow FindByidx(int idx) {
 | |
|                 return ((EETGW_DocuFormRow)(this.Rows.Find(new object[] {
 | |
|                             idx})));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public override global::System.Data.DataTable Clone() {
 | |
|                 EETGW_DocuFormDataTable cln = ((EETGW_DocuFormDataTable)(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 EETGW_DocuFormDataTable();
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal void InitVars() {
 | |
|                 this.columnidx = base.Columns["idx"];
 | |
|                 this.columngcode = base.Columns["gcode"];
 | |
|                 this.columncate = base.Columns["cate"];
 | |
|                 this.columntitle = base.Columns["title"];
 | |
|                 this.columnbody = base.Columns["body"];
 | |
|                 this.columnwuid = base.Columns["wuid"];
 | |
|                 this.columnwdate = base.Columns["wdate"];
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             private void InitClass() {
 | |
|                 this.columnidx = new global::System.Data.DataColumn("idx", typeof(int), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnidx);
 | |
|                 this.columngcode = new global::System.Data.DataColumn("gcode", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columngcode);
 | |
|                 this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columncate);
 | |
|                 this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columntitle);
 | |
|                 this.columnbody = new global::System.Data.DataColumn("body", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnbody);
 | |
|                 this.columnwuid = new global::System.Data.DataColumn("wuid", typeof(string), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwuid);
 | |
|                 this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
 | |
|                 base.Columns.Add(this.columnwdate);
 | |
|                 this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
 | |
|                                 this.columnidx}, true));
 | |
|                 this.columnidx.AutoIncrement = true;
 | |
|                 this.columnidx.AutoIncrementSeed = -1;
 | |
|                 this.columnidx.AutoIncrementStep = -1;
 | |
|                 this.columnidx.AllowDBNull = false;
 | |
|                 this.columnidx.ReadOnly = true;
 | |
|                 this.columnidx.Unique = true;
 | |
|                 this.columngcode.AllowDBNull = false;
 | |
|                 this.columngcode.MaxLength = 10;
 | |
|                 this.columncate.MaxLength = 2;
 | |
|                 this.columntitle.MaxLength = 100;
 | |
|                 this.columnbody.MaxLength = 2147483647;
 | |
|                 this.columnwuid.AllowDBNull = false;
 | |
|                 this.columnwuid.MaxLength = 20;
 | |
|                 this.columnwdate.AllowDBNull = false;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public EETGW_DocuFormRow NewEETGW_DocuFormRow() {
 | |
|                 return ((EETGW_DocuFormRow)(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 EETGW_DocuFormRow(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(EETGW_DocuFormRow);
 | |
|             }
 | |
|             
 | |
|             [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.EETGW_DocuFormRowChanged != null)) {
 | |
|                     this.EETGW_DocuFormRowChanged(this, new EETGW_DocuFormRowChangeEvent(((EETGW_DocuFormRow)(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.EETGW_DocuFormRowChanging != null)) {
 | |
|                     this.EETGW_DocuFormRowChanging(this, new EETGW_DocuFormRowChangeEvent(((EETGW_DocuFormRow)(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.EETGW_DocuFormRowDeleted != null)) {
 | |
|                     this.EETGW_DocuFormRowDeleted(this, new EETGW_DocuFormRowChangeEvent(((EETGW_DocuFormRow)(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.EETGW_DocuFormRowDeleting != null)) {
 | |
|                     this.EETGW_DocuFormRowDeleting(this, new EETGW_DocuFormRowChangeEvent(((EETGW_DocuFormRow)(e.Row)), e.Action));
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void RemoveEETGW_DocuFormRow(EETGW_DocuFormRow 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();
 | |
|                 dsMSSQL ds = new dsMSSQL();
 | |
|                 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 = "EETGW_DocuFormDataTable";
 | |
|                 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 ItemsRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private ItemsDataTable tableItems;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal ItemsRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableItems = ((ItemsDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableItems.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string name {
 | |
|                 get {
 | |
|                     if (this.IsnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.nameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.nameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string sid {
 | |
|                 get {
 | |
|                     if (this.IssidNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.sidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.sidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string model {
 | |
|                 get {
 | |
|                     if (this.IsmodelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.modelColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.modelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string manu {
 | |
|                 get {
 | |
|                     if (this.IsmanuNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.manuColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.manuColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string supply {
 | |
|                 get {
 | |
|                     if (this.IssupplyNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.supplyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.supplyColumn] = 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.tableItems.memoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableItems.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableItems.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public decimal price {
 | |
|                 get {
 | |
|                     if (this.IspriceNull()) {
 | |
|                         return 0m;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((decimal)(this[this.tableItems.priceColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.priceColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string cate {
 | |
|                 get {
 | |
|                     if (this.IscateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.cateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.cateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int supplyidx {
 | |
|                 get {
 | |
|                     if (this.IssupplyidxNull()) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tableItems.supplyidxColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.supplyidxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public double scale {
 | |
|                 get {
 | |
|                     if (this.IsscaleNull()) {
 | |
|                         return 1D;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((double)(this[this.tableItems.scaleColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.scaleColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string unit {
 | |
|                 get {
 | |
|                     if (this.IsunitNull()) {
 | |
|                         return "EA";
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.unitColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.unitColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool disable {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((bool)(this[this.tableItems.disableColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'disable\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.disableColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool bparam1 {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((bool)(this[this.tableItems.bparam1Column]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'bparam1\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.bparam1Column] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int iparam1 {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableItems.iparam1Column]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'iparam1\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.iparam1Column] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string import {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableItems.importColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.importColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     if (this.IsgcodeNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableItems.gcodeColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public decimal priceD {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((decimal)(this[this.tableItems.priceDColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'priceD\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableItems.priceDColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsnameNull() {
 | |
|                 return this.IsNull(this.tableItems.nameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetnameNull() {
 | |
|                 this[this.tableItems.nameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssidNull() {
 | |
|                 return this.IsNull(this.tableItems.sidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsidNull() {
 | |
|                 this[this.tableItems.sidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsmodelNull() {
 | |
|                 return this.IsNull(this.tableItems.modelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmodelNull() {
 | |
|                 this[this.tableItems.modelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsmanuNull() {
 | |
|                 return this.IsNull(this.tableItems.manuColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmanuNull() {
 | |
|                 this[this.tableItems.manuColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssupplyNull() {
 | |
|                 return this.IsNull(this.tableItems.supplyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsupplyNull() {
 | |
|                 this[this.tableItems.supplyColumn] = 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.tableItems.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableItems.memoColumn] = 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.tableItems.priceColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpriceNull() {
 | |
|                 this[this.tableItems.priceColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscateNull() {
 | |
|                 return this.IsNull(this.tableItems.cateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcateNull() {
 | |
|                 this[this.tableItems.cateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssupplyidxNull() {
 | |
|                 return this.IsNull(this.tableItems.supplyidxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsupplyidxNull() {
 | |
|                 this[this.tableItems.supplyidxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsscaleNull() {
 | |
|                 return this.IsNull(this.tableItems.scaleColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetscaleNull() {
 | |
|                 this[this.tableItems.scaleColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsunitNull() {
 | |
|                 return this.IsNull(this.tableItems.unitColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetunitNull() {
 | |
|                 this[this.tableItems.unitColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsdisableNull() {
 | |
|                 return this.IsNull(this.tableItems.disableColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetdisableNull() {
 | |
|                 this[this.tableItems.disableColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Isbparam1Null() {
 | |
|                 return this.IsNull(this.tableItems.bparam1Column);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setbparam1Null() {
 | |
|                 this[this.tableItems.bparam1Column] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Isiparam1Null() {
 | |
|                 return this.IsNull(this.tableItems.iparam1Column);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setiparam1Null() {
 | |
|                 this[this.tableItems.iparam1Column] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsimportNull() {
 | |
|                 return this.IsNull(this.tableItems.importColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetimportNull() {
 | |
|                 this[this.tableItems.importColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsgcodeNull() {
 | |
|                 return this.IsNull(this.tableItems.gcodeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetgcodeNull() {
 | |
|                 this[this.tableItems.gcodeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspriceDNull() {
 | |
|                 return this.IsNull(this.tableItems.priceDColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpriceDNull() {
 | |
|                 this[this.tableItems.priceDColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class CommonRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private CommonDataTable tableCommon;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal CommonRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableCommon = ((CommonDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableCommon.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string grp {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableCommon.grpColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'grp\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.grpColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string code {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableCommon.codeColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'code\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.codeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string svalue {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableCommon.svalueColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'svalue\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.svalueColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int ivalue {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableCommon.ivalueColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'ivalue\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.ivalueColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public double fvalue {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((double)(this[this.tableCommon.fvalueColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'fvalue\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.fvalueColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string memo {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableCommon.memoColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Common\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableCommon.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableCommon.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableCommon.gcodeColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCommon.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsgrpNull() {
 | |
|                 return this.IsNull(this.tableCommon.grpColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetgrpNull() {
 | |
|                 this[this.tableCommon.grpColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscodeNull() {
 | |
|                 return this.IsNull(this.tableCommon.codeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcodeNull() {
 | |
|                 this[this.tableCommon.codeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssvalueNull() {
 | |
|                 return this.IsNull(this.tableCommon.svalueColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsvalueNull() {
 | |
|                 this[this.tableCommon.svalueColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsivalueNull() {
 | |
|                 return this.IsNull(this.tableCommon.ivalueColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetivalueNull() {
 | |
|                 this[this.tableCommon.ivalueColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsfvalueNull() {
 | |
|                 return this.IsNull(this.tableCommon.fvalueColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetfvalueNull() {
 | |
|                 this[this.tableCommon.fvalueColumn] = 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.tableCommon.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableCommon.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class BoardRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private BoardDataTable tableBoard;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal BoardRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableBoard = ((BoardDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableBoard.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int bidx {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableBoard.bidxColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'bidx\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.bidxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool header {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((bool)(this[this.tableBoard.headerColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'header\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.headerColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string cate {
 | |
|                 get {
 | |
|                     if (this.IscateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableBoard.cateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.cateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string title {
 | |
|                 get {
 | |
|                     if (this.IstitleNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableBoard.titleColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.titleColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string contents {
 | |
|                 get {
 | |
|                     if (this.IscontentsNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableBoard.contentsColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.contentsColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string file {
 | |
|                 get {
 | |
|                     if (this.IsfileNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableBoard.fileColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.fileColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string guid {
 | |
|                 get {
 | |
|                     if (this.IsguidNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableBoard.guidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.guidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string url {
 | |
|                 get {
 | |
|                     if (this.IsurlNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableBoard.urlColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.urlColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableBoard.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableBoard.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int project {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableBoard.projectColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Board\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.projectColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int pidx {
 | |
|                 get {
 | |
|                     if (this.IspidxNull()) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tableBoard.pidxColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.pidxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableBoard.gcodeColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableBoard.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsbidxNull() {
 | |
|                 return this.IsNull(this.tableBoard.bidxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetbidxNull() {
 | |
|                 this[this.tableBoard.bidxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsheaderNull() {
 | |
|                 return this.IsNull(this.tableBoard.headerColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetheaderNull() {
 | |
|                 this[this.tableBoard.headerColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscateNull() {
 | |
|                 return this.IsNull(this.tableBoard.cateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcateNull() {
 | |
|                 this[this.tableBoard.cateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IstitleNull() {
 | |
|                 return this.IsNull(this.tableBoard.titleColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SettitleNull() {
 | |
|                 this[this.tableBoard.titleColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscontentsNull() {
 | |
|                 return this.IsNull(this.tableBoard.contentsColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcontentsNull() {
 | |
|                 this[this.tableBoard.contentsColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsfileNull() {
 | |
|                 return this.IsNull(this.tableBoard.fileColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetfileNull() {
 | |
|                 this[this.tableBoard.fileColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsguidNull() {
 | |
|                 return this.IsNull(this.tableBoard.guidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetguidNull() {
 | |
|                 this[this.tableBoard.guidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsurlNull() {
 | |
|                 return this.IsNull(this.tableBoard.urlColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SeturlNull() {
 | |
|                 this[this.tableBoard.urlColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectNull() {
 | |
|                 return this.IsNull(this.tableBoard.projectColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectNull() {
 | |
|                 this[this.tableBoard.projectColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspidxNull() {
 | |
|                 return this.IsNull(this.tableBoard.pidxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpidxNull() {
 | |
|                 this[this.tableBoard.pidxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class RequestItemRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private RequestItemDataTable tableRequestItem;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal RequestItemRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableRequestItem = ((RequestItemDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableRequestItem.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string tolist {
 | |
|                 get {
 | |
|                     if (this.IstolistNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.tolistColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.tolistColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string cclist {
 | |
|                 get {
 | |
|                     if (this.IscclistNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.cclistColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.cclistColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string bcclist {
 | |
|                 get {
 | |
|                     if (this.IsbcclistNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.bcclistColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.bcclistColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string title {
 | |
|                 get {
 | |
|                     if (this.IstitleNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.titleColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.titleColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string sid {
 | |
|                 get {
 | |
|                     if (this.IssidNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.sidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.sidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string url {
 | |
|                 get {
 | |
|                     if (this.IsurlNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.urlColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.urlColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int qty {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableRequestItem.qtyColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'RequestItem\' 테이블의 \'qty\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.qtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string remark {
 | |
|                 get {
 | |
|                     if (this.IsremarkNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.remarkColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.remarkColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableRequestItem.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableRequestItem.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime pdate {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((global::System.DateTime)(this[this.tableRequestItem.pdateColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'RequestItem\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.pdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool bMail {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((bool)(this[this.tableRequestItem.bMailColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'RequestItem\' 테이블의 \'bMail\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.bMailColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int project {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableRequestItem.projectColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'RequestItem\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.projectColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string model {
 | |
|                 get {
 | |
|                     if (this.IsmodelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.modelColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.modelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string projectName {
 | |
|                 get {
 | |
|                     if (this.IsprojectNameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableRequestItem.projectNameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.projectNameColumn] = 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.tableRequestItem.memoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableRequestItem.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IstolistNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.tolistColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SettolistNull() {
 | |
|                 this[this.tableRequestItem.tolistColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscclistNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.cclistColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcclistNull() {
 | |
|                 this[this.tableRequestItem.cclistColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsbcclistNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.bcclistColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetbcclistNull() {
 | |
|                 this[this.tableRequestItem.bcclistColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IstitleNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.titleColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SettitleNull() {
 | |
|                 this[this.tableRequestItem.titleColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssidNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.sidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsidNull() {
 | |
|                 this[this.tableRequestItem.sidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsurlNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.urlColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SeturlNull() {
 | |
|                 this[this.tableRequestItem.urlColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsqtyNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.qtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetqtyNull() {
 | |
|                 this[this.tableRequestItem.qtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsremarkNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.remarkColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetremarkNull() {
 | |
|                 this[this.tableRequestItem.remarkColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspdateNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.pdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpdateNull() {
 | |
|                 this[this.tableRequestItem.pdateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsbMailNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.bMailColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetbMailNull() {
 | |
|                 this[this.tableRequestItem.bMailColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.projectColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectNull() {
 | |
|                 this[this.tableRequestItem.projectColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsmodelNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.modelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmodelNull() {
 | |
|                 this[this.tableRequestItem.modelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectNameNull() {
 | |
|                 return this.IsNull(this.tableRequestItem.projectNameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectNameNull() {
 | |
|                 this[this.tableRequestItem.projectNameColumn] = 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.tableRequestItem.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableRequestItem.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class CustomsRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private CustomsDataTable tableCustoms;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal CustomsRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableCustoms = ((CustomsDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableCustoms.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string grp {
 | |
|                 get {
 | |
|                     if (this.IsgrpNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.grpColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.grpColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string name {
 | |
|                 get {
 | |
|                     if (this.IsnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.nameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.nameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string tel {
 | |
|                 get {
 | |
|                     if (this.IstelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.telColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.telColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string fax {
 | |
|                 get {
 | |
|                     if (this.IsfaxNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.faxColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.faxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string email {
 | |
|                 get {
 | |
|                     if (this.IsemailNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.emailColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.emailColumn] = 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.tableCustoms.memoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableCustoms.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableCustoms.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string owner {
 | |
|                 get {
 | |
|                     if (this.IsownerNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.ownerColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.ownerColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string ownertel {
 | |
|                 get {
 | |
|                     if (this.IsownertelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.ownertelColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.ownertelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string address {
 | |
|                 get {
 | |
|                     if (this.IsaddressNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.addressColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.addressColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string uptae {
 | |
|                 get {
 | |
|                     if (this.IsuptaeNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.uptaeColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.uptaeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string staff {
 | |
|                 get {
 | |
|                     if (this.IsstaffNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.staffColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.staffColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string stafftel {
 | |
|                 get {
 | |
|                     if (this.IsstafftelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.stafftelColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.stafftelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string name2 {
 | |
|                 get {
 | |
|                     if (this.Isname2Null()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableCustoms.name2Column]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.name2Column] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableCustoms.gcodeColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableCustoms.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsgrpNull() {
 | |
|                 return this.IsNull(this.tableCustoms.grpColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetgrpNull() {
 | |
|                 this[this.tableCustoms.grpColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsnameNull() {
 | |
|                 return this.IsNull(this.tableCustoms.nameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetnameNull() {
 | |
|                 this[this.tableCustoms.nameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IstelNull() {
 | |
|                 return this.IsNull(this.tableCustoms.telColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SettelNull() {
 | |
|                 this[this.tableCustoms.telColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsfaxNull() {
 | |
|                 return this.IsNull(this.tableCustoms.faxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetfaxNull() {
 | |
|                 this[this.tableCustoms.faxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsemailNull() {
 | |
|                 return this.IsNull(this.tableCustoms.emailColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetemailNull() {
 | |
|                 this[this.tableCustoms.emailColumn] = 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.tableCustoms.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableCustoms.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsownerNull() {
 | |
|                 return this.IsNull(this.tableCustoms.ownerColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetownerNull() {
 | |
|                 this[this.tableCustoms.ownerColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsownertelNull() {
 | |
|                 return this.IsNull(this.tableCustoms.ownertelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetownertelNull() {
 | |
|                 this[this.tableCustoms.ownertelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsaddressNull() {
 | |
|                 return this.IsNull(this.tableCustoms.addressColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetaddressNull() {
 | |
|                 this[this.tableCustoms.addressColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsuptaeNull() {
 | |
|                 return this.IsNull(this.tableCustoms.uptaeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetuptaeNull() {
 | |
|                 this[this.tableCustoms.uptaeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsstaffNull() {
 | |
|                 return this.IsNull(this.tableCustoms.staffColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetstaffNull() {
 | |
|                 this[this.tableCustoms.staffColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsstafftelNull() {
 | |
|                 return this.IsNull(this.tableCustoms.stafftelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetstafftelNull() {
 | |
|                 this[this.tableCustoms.stafftelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Isname2Null() {
 | |
|                 return this.IsNull(this.tableCustoms.name2Column);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setname2Null() {
 | |
|                 this[this.tableCustoms.name2Column] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class StaffRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private StaffDataTable tableStaff;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal StaffRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableStaff = ((StaffDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableStaff.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int cid {
 | |
|                 get {
 | |
|                     if (this.IscidNull()) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tableStaff.cidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.cidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string name {
 | |
|                 get {
 | |
|                     if (this.IsnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableStaff.nameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.nameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string grade {
 | |
|                 get {
 | |
|                     if (this.IsgradeNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableStaff.gradeColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.gradeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string dept {
 | |
|                 get {
 | |
|                     if (this.IsdeptNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableStaff.deptColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.deptColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string tel {
 | |
|                 get {
 | |
|                     if (this.IstelNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableStaff.telColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.telColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string email {
 | |
|                 get {
 | |
|                     if (this.IsemailNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableStaff.emailColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.emailColumn] = 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.tableStaff.memoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableStaff.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableStaff.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableStaff.gcodeColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableStaff.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscidNull() {
 | |
|                 return this.IsNull(this.tableStaff.cidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcidNull() {
 | |
|                 this[this.tableStaff.cidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsnameNull() {
 | |
|                 return this.IsNull(this.tableStaff.nameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetnameNull() {
 | |
|                 this[this.tableStaff.nameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsgradeNull() {
 | |
|                 return this.IsNull(this.tableStaff.gradeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetgradeNull() {
 | |
|                 this[this.tableStaff.gradeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsdeptNull() {
 | |
|                 return this.IsNull(this.tableStaff.deptColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetdeptNull() {
 | |
|                 this[this.tableStaff.deptColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IstelNull() {
 | |
|                 return this.IsNull(this.tableStaff.telColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SettelNull() {
 | |
|                 this[this.tableStaff.telColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsemailNull() {
 | |
|                 return this.IsNull(this.tableStaff.emailColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetemailNull() {
 | |
|                 this[this.tableStaff.emailColumn] = 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.tableStaff.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableStaff.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class PurchaseRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private PurchaseDataTable tablePurchase;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal PurchaseRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tablePurchase = ((PurchaseDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tablePurchase.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pdate {
 | |
|                 get {
 | |
|                     if (this.IspdateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.pdateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string state {
 | |
|                 get {
 | |
|                     if (this.IsstateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.stateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.stateColumn] = 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.tablePurchase.processColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.processColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string receive {
 | |
|                 get {
 | |
|                     if (this.IsreceiveNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.receiveColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.receiveColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string sc {
 | |
|                 get {
 | |
|                     if (this.IsscNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.scColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.scColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string request {
 | |
|                 get {
 | |
|                     if (this.IsrequestNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.requestColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.requestColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string sid {
 | |
|                 get {
 | |
|                     if (this.IssidNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.sidColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.sidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pumname {
 | |
|                 get {
 | |
|                     if (this.IspumnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.pumnameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumnameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int pumidx {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tablePurchase.pumidxColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'pumidx\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumidxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pumscale {
 | |
|                 get {
 | |
|                     if (this.IspumscaleNull()) {
 | |
|                         return "";
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.pumscaleColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumscaleColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pumunit {
 | |
|                 get {
 | |
|                     if (this.IspumunitNull()) {
 | |
|                         return "EA";
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.pumunitColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumunitColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int pumqty {
 | |
|                 get {
 | |
|                     if (this.IspumqtyNull()) {
 | |
|                         return 0;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablePurchase.pumqtyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumqtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public decimal pumprice {
 | |
|                 get {
 | |
|                     if (this.IspumpriceNull()) {
 | |
|                         return 0m;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((decimal)(this[this.tablePurchase.pumpriceColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumpriceColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public decimal pumamt {
 | |
|                 get {
 | |
|                     if (this.IspumamtNull()) {
 | |
|                         return 0m;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((decimal)(this[this.tablePurchase.pumamtColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.pumamtColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string supply {
 | |
|                 get {
 | |
|                     if (this.IssupplyNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.supplyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.supplyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int supplyidx {
 | |
|                 get {
 | |
|                     if (this.IssupplyidxNull()) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablePurchase.supplyidxColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.supplyidxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string project {
 | |
|                 get {
 | |
|                     if (this.IsprojectNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.projectColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.projectColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int projectidx {
 | |
|                 get {
 | |
|                     if (this.IsprojectidxNull()) {
 | |
|                         return -1;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((int)(this[this.tablePurchase.projectidxColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.projectidxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string asset {
 | |
|                 get {
 | |
|                     if (this.IsassetNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.assetColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.assetColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string edate {
 | |
|                 get {
 | |
|                     if (this.IsedateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.edateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.edateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string indate {
 | |
|                 get {
 | |
|                     if (this.IsindateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.indateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.indateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string po {
 | |
|                 get {
 | |
|                     if (this.IspoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.poColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.poColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string dept {
 | |
|                 get {
 | |
|                     if (this.IsdeptNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tablePurchase.deptColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.deptColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool import {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((bool)(this[this.tablePurchase.importColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Purchase\' 테이블의 \'import\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.importColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tablePurchase.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tablePurchase.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tablePurchase.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspdateNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpdateNull() {
 | |
|                 this[this.tablePurchase.pdateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsstateNull() {
 | |
|                 return this.IsNull(this.tablePurchase.stateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetstateNull() {
 | |
|                 this[this.tablePurchase.stateColumn] = 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.tablePurchase.processColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprocessNull() {
 | |
|                 this[this.tablePurchase.processColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsreceiveNull() {
 | |
|                 return this.IsNull(this.tablePurchase.receiveColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetreceiveNull() {
 | |
|                 this[this.tablePurchase.receiveColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsscNull() {
 | |
|                 return this.IsNull(this.tablePurchase.scColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetscNull() {
 | |
|                 this[this.tablePurchase.scColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsrequestNull() {
 | |
|                 return this.IsNull(this.tablePurchase.requestColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetrequestNull() {
 | |
|                 this[this.tablePurchase.requestColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssidNull() {
 | |
|                 return this.IsNull(this.tablePurchase.sidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsidNull() {
 | |
|                 this[this.tablePurchase.sidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumnameNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumnameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumnameNull() {
 | |
|                 this[this.tablePurchase.pumnameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumidxNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumidxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumidxNull() {
 | |
|                 this[this.tablePurchase.pumidxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumscaleNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumscaleColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumscaleNull() {
 | |
|                 this[this.tablePurchase.pumscaleColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumunitNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumunitColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumunitNull() {
 | |
|                 this[this.tablePurchase.pumunitColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumqtyNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumqtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumqtyNull() {
 | |
|                 this[this.tablePurchase.pumqtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumpriceNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumpriceColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumpriceNull() {
 | |
|                 this[this.tablePurchase.pumpriceColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspumamtNull() {
 | |
|                 return this.IsNull(this.tablePurchase.pumamtColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpumamtNull() {
 | |
|                 this[this.tablePurchase.pumamtColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssupplyNull() {
 | |
|                 return this.IsNull(this.tablePurchase.supplyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsupplyNull() {
 | |
|                 this[this.tablePurchase.supplyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssupplyidxNull() {
 | |
|                 return this.IsNull(this.tablePurchase.supplyidxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsupplyidxNull() {
 | |
|                 this[this.tablePurchase.supplyidxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectNull() {
 | |
|                 return this.IsNull(this.tablePurchase.projectColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectNull() {
 | |
|                 this[this.tablePurchase.projectColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectidxNull() {
 | |
|                 return this.IsNull(this.tablePurchase.projectidxColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectidxNull() {
 | |
|                 this[this.tablePurchase.projectidxColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsassetNull() {
 | |
|                 return this.IsNull(this.tablePurchase.assetColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetassetNull() {
 | |
|                 this[this.tablePurchase.assetColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsedateNull() {
 | |
|                 return this.IsNull(this.tablePurchase.edateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetedateNull() {
 | |
|                 this[this.tablePurchase.edateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsindateNull() {
 | |
|                 return this.IsNull(this.tablePurchase.indateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetindateNull() {
 | |
|                 this[this.tablePurchase.indateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspoNull() {
 | |
|                 return this.IsNull(this.tablePurchase.poColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpoNull() {
 | |
|                 this[this.tablePurchase.poColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsdeptNull() {
 | |
|                 return this.IsNull(this.tablePurchase.deptColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetdeptNull() {
 | |
|                 this[this.tablePurchase.deptColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsimportNull() {
 | |
|                 return this.IsNull(this.tablePurchase.importColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetimportNull() {
 | |
|                 this[this.tablePurchase.importColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class ProjectsRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private ProjectsDataTable tableProjects;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal ProjectsRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableProjects = ((ProjectsDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string ddate {
 | |
|                 get {
 | |
|                     if (this.IsddateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.ddateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.ddateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string edate {
 | |
|                 get {
 | |
|                     if (this.IsedateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.edateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.edateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableProjects.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.idxColumn] = 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.tableProjects.memoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string name {
 | |
|                 get {
 | |
|                     if (this.IsnameNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.nameColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.nameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string odate {
 | |
|                 get {
 | |
|                     if (this.IsodateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.odateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.odateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string part {
 | |
|                 get {
 | |
|                     if (this.IspartNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.partColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.partColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pdate {
 | |
|                 get {
 | |
|                     if (this.IspdateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.pdateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.pdateColumn] = 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.tableProjects.processColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.processColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string reqstaff {
 | |
|                 get {
 | |
|                     if (this.IsreqstaffNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.reqstaffColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.reqstaffColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string sdate {
 | |
|                 get {
 | |
|                     if (this.IssdateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.sdateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.sdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string status {
 | |
|                 get {
 | |
|                     if (this.IsstatusNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.statusColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.statusColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableProjects.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableProjects.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableProjects.gcodeColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool isdel {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((bool)(this[this.tableProjects.isdelColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'Projects\' 테이블의 \'isdel\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.isdelColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string category {
 | |
|                 get {
 | |
|                     if (this.IscategoryNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.categoryColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.categoryColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string userManager {
 | |
|                 get {
 | |
|                     if (this.IsuserManagerNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.userManagerColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.userManagerColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string orderno {
 | |
|                 get {
 | |
|                     if (this.IsordernoNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableProjects.ordernoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableProjects.ordernoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsddateNull() {
 | |
|                 return this.IsNull(this.tableProjects.ddateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetddateNull() {
 | |
|                 this[this.tableProjects.ddateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsedateNull() {
 | |
|                 return this.IsNull(this.tableProjects.edateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetedateNull() {
 | |
|                 this[this.tableProjects.edateColumn] = 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.tableProjects.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableProjects.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsnameNull() {
 | |
|                 return this.IsNull(this.tableProjects.nameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetnameNull() {
 | |
|                 this[this.tableProjects.nameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsodateNull() {
 | |
|                 return this.IsNull(this.tableProjects.odateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetodateNull() {
 | |
|                 this[this.tableProjects.odateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspartNull() {
 | |
|                 return this.IsNull(this.tableProjects.partColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpartNull() {
 | |
|                 this[this.tableProjects.partColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspdateNull() {
 | |
|                 return this.IsNull(this.tableProjects.pdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpdateNull() {
 | |
|                 this[this.tableProjects.pdateColumn] = 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.tableProjects.processColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprocessNull() {
 | |
|                 this[this.tableProjects.processColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsreqstaffNull() {
 | |
|                 return this.IsNull(this.tableProjects.reqstaffColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetreqstaffNull() {
 | |
|                 this[this.tableProjects.reqstaffColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IssdateNull() {
 | |
|                 return this.IsNull(this.tableProjects.sdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetsdateNull() {
 | |
|                 this[this.tableProjects.sdateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsstatusNull() {
 | |
|                 return this.IsNull(this.tableProjects.statusColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetstatusNull() {
 | |
|                 this[this.tableProjects.statusColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsisdelNull() {
 | |
|                 return this.IsNull(this.tableProjects.isdelColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetisdelNull() {
 | |
|                 this[this.tableProjects.isdelColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscategoryNull() {
 | |
|                 return this.IsNull(this.tableProjects.categoryColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcategoryNull() {
 | |
|                 this[this.tableProjects.categoryColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsuserManagerNull() {
 | |
|                 return this.IsNull(this.tableProjects.userManagerColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetuserManagerNull() {
 | |
|                 this[this.tableProjects.userManagerColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsordernoNull() {
 | |
|                 return this.IsNull(this.tableProjects.ordernoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetordernoNull() {
 | |
|                 this[this.tableProjects.ordernoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class HolidayLIstRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private HolidayLIstDataTable tableHolidayLIst;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal HolidayLIstRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableHolidayLIst = ((HolidayLIstDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableHolidayLIst.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableHolidayLIst.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pdate {
 | |
|                 get {
 | |
|                     if (this.IspdateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableHolidayLIst.pdateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableHolidayLIst.pdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool free {
 | |
|                 get {
 | |
|                     if (this.IsfreeNull()) {
 | |
|                         return false;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((bool)(this[this.tableHolidayLIst.freeColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableHolidayLIst.freeColumn] = 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.tableHolidayLIst.memoColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableHolidayLIst.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableHolidayLIst.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableHolidayLIst.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableHolidayLIst.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableHolidayLIst.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspdateNull() {
 | |
|                 return this.IsNull(this.tableHolidayLIst.pdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpdateNull() {
 | |
|                 this[this.tableHolidayLIst.pdateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsfreeNull() {
 | |
|                 return this.IsNull(this.tableHolidayLIst.freeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetfreeNull() {
 | |
|                 this[this.tableHolidayLIst.freeColumn] = 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.tableHolidayLIst.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableHolidayLIst.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class InventoryUserRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private InventoryUserDataTable tableInventoryUser;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal InventoryUserRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableInventoryUser = ((InventoryUserDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableInventoryUser.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string pdate {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.pdateColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'pdate\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.pdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string invtype {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.invtypeColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'invtype\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.invtypeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string uid {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.uidColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'uid\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.uidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int item {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableInventoryUser.itemColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'item\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.itemColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string ItemName {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.ItemNameColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'ItemName\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.ItemNameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string serial {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.serialColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'serial\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.serialColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int dr_qty {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableInventoryUser.dr_qtyColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'dr_qty\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.dr_qtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public decimal dr_amt {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((decimal)(this[this.tableInventoryUser.dr_amtColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'dr_amt\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.dr_amtColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int cr_qty {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableInventoryUser.cr_qtyColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'cr_qty\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.cr_qtyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public decimal cr_amt {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((decimal)(this[this.tableInventoryUser.cr_amtColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'cr_amt\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.cr_amtColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string memo {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.memoColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'memo\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.memoColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int project {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((int)(this[this.tableInventoryUser.projectColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'project\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.projectColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string projectName {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.projectNameColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'projectName\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.projectNameColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string place {
 | |
|                 get {
 | |
|                     try {
 | |
|                         return ((string)(this[this.tableInventoryUser.placeColumn]));
 | |
|                     }
 | |
|                     catch (global::System.InvalidCastException e) {
 | |
|                         throw new global::System.Data.StrongTypingException("\'InventoryUser\' 테이블의 \'place\' 열의 값이 DBNull입니다.", e);
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.placeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableInventoryUser.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableInventoryUser.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableInventoryUser.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IspdateNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.pdateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetpdateNull() {
 | |
|                 this[this.tableInventoryUser.pdateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsinvtypeNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.invtypeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetinvtypeNull() {
 | |
|                 this[this.tableInventoryUser.invtypeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsuidNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.uidColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetuidNull() {
 | |
|                 this[this.tableInventoryUser.uidColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsitemNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.itemColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetitemNull() {
 | |
|                 this[this.tableInventoryUser.itemColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsItemNameNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.ItemNameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetItemNameNull() {
 | |
|                 this[this.tableInventoryUser.ItemNameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsserialNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.serialColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetserialNull() {
 | |
|                 this[this.tableInventoryUser.serialColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Isdr_qtyNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.dr_qtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setdr_qtyNull() {
 | |
|                 this[this.tableInventoryUser.dr_qtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Isdr_amtNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.dr_amtColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setdr_amtNull() {
 | |
|                 this[this.tableInventoryUser.dr_amtColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Iscr_qtyNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.cr_qtyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setcr_qtyNull() {
 | |
|                 this[this.tableInventoryUser.cr_qtyColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool Iscr_amtNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.cr_amtColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void Setcr_amtNull() {
 | |
|                 this[this.tableInventoryUser.cr_amtColumn] = 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.tableInventoryUser.memoColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetmemoNull() {
 | |
|                 this[this.tableInventoryUser.memoColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.projectColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectNull() {
 | |
|                 this[this.tableInventoryUser.projectColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsprojectNameNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.projectNameColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetprojectNameNull() {
 | |
|                 this[this.tableInventoryUser.projectNameColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsplaceNull() {
 | |
|                 return this.IsNull(this.tableInventoryUser.placeColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetplaceNull() {
 | |
|                 this[this.tableInventoryUser.placeColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Represents strongly named DataRow class.
 | |
|         ///</summary>
 | |
|         public partial class EETGW_DocuFormRow : global::System.Data.DataRow {
 | |
|             
 | |
|             private EETGW_DocuFormDataTable tableEETGW_DocuForm;
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             internal EETGW_DocuFormRow(global::System.Data.DataRowBuilder rb) : 
 | |
|                     base(rb) {
 | |
|                 this.tableEETGW_DocuForm = ((EETGW_DocuFormDataTable)(this.Table));
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public int idx {
 | |
|                 get {
 | |
|                     return ((int)(this[this.tableEETGW_DocuForm.idxColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.idxColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string gcode {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableEETGW_DocuForm.gcodeColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.gcodeColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string cate {
 | |
|                 get {
 | |
|                     if (this.IscateNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableEETGW_DocuForm.cateColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.cateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string title {
 | |
|                 get {
 | |
|                     if (this.IstitleNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableEETGW_DocuForm.titleColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.titleColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string body {
 | |
|                 get {
 | |
|                     if (this.IsbodyNull()) {
 | |
|                         return string.Empty;
 | |
|                     }
 | |
|                     else {
 | |
|                         return ((string)(this[this.tableEETGW_DocuForm.bodyColumn]));
 | |
|                     }
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.bodyColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public string wuid {
 | |
|                 get {
 | |
|                     return ((string)(this[this.tableEETGW_DocuForm.wuidColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.wuidColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public System.DateTime wdate {
 | |
|                 get {
 | |
|                     return ((global::System.DateTime)(this[this.tableEETGW_DocuForm.wdateColumn]));
 | |
|                 }
 | |
|                 set {
 | |
|                     this[this.tableEETGW_DocuForm.wdateColumn] = value;
 | |
|                 }
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IscateNull() {
 | |
|                 return this.IsNull(this.tableEETGW_DocuForm.cateColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetcateNull() {
 | |
|                 this[this.tableEETGW_DocuForm.cateColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IstitleNull() {
 | |
|                 return this.IsNull(this.tableEETGW_DocuForm.titleColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SettitleNull() {
 | |
|                 this[this.tableEETGW_DocuForm.titleColumn] = global::System.Convert.DBNull;
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public bool IsbodyNull() {
 | |
|                 return this.IsNull(this.tableEETGW_DocuForm.bodyColumn);
 | |
|             }
 | |
|             
 | |
|             [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|             [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|             public void SetbodyNull() {
 | |
|                 this[this.tableEETGW_DocuForm.bodyColumn] = 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 ItemsRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private ItemsRow 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 ItemsRowChangeEvent(ItemsRow 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 ItemsRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class CommonRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private CommonRow 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 CommonRowChangeEvent(CommonRow 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 CommonRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class BoardRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private BoardRow 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 BoardRowChangeEvent(BoardRow 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 BoardRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class RequestItemRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private RequestItemRow 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 RequestItemRowChangeEvent(RequestItemRow 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 RequestItemRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class CustomsRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private CustomsRow 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 CustomsRowChangeEvent(CustomsRow 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 CustomsRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class StaffRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private StaffRow 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 StaffRowChangeEvent(StaffRow 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 StaffRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class PurchaseRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private PurchaseRow 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 PurchaseRowChangeEvent(PurchaseRow 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 PurchaseRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class ProjectsRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private ProjectsRow 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 ProjectsRowChangeEvent(ProjectsRow 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 ProjectsRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class HolidayLIstRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private HolidayLIstRow 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 HolidayLIstRowChangeEvent(HolidayLIstRow 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 HolidayLIstRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class InventoryUserRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private InventoryUserRow 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 InventoryUserRowChangeEvent(InventoryUserRow 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 InventoryUserRow 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;
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         /// <summary>
 | |
|         ///Row event argument class
 | |
|         ///</summary>
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public class EETGW_DocuFormRowChangeEvent : global::System.EventArgs {
 | |
|             
 | |
|             private EETGW_DocuFormRow 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 EETGW_DocuFormRowChangeEvent(EETGW_DocuFormRow 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 EETGW_DocuFormRow 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 FCM0000.dsMSSQLTableAdapters {
 | |
|     
 | |
|     
 | |
|     /// <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 ItemsTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public ItemsTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Items";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("name", "name");
 | |
|             tableMapping.ColumnMappings.Add("sid", "sid");
 | |
|             tableMapping.ColumnMappings.Add("model", "model");
 | |
|             tableMapping.ColumnMappings.Add("manu", "manu");
 | |
|             tableMapping.ColumnMappings.Add("supply", "supply");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("price", "price");
 | |
|             tableMapping.ColumnMappings.Add("cate", "cate");
 | |
|             tableMapping.ColumnMappings.Add("supplyidx", "supplyidx");
 | |
|             tableMapping.ColumnMappings.Add("scale", "scale");
 | |
|             tableMapping.ColumnMappings.Add("unit", "unit");
 | |
|             tableMapping.ColumnMappings.Add("disable", "disable");
 | |
|             tableMapping.ColumnMappings.Add("bparam1", "bparam1");
 | |
|             tableMapping.ColumnMappings.Add("iparam1", "iparam1");
 | |
|             tableMapping.ColumnMappings.Add("import", "import");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             tableMapping.ColumnMappings.Add("priceD", "priceD");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = "DELETE FROM Items\r\nWHERE  (idx = @Original_idx)";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO Items
 | |
|                (name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD)
 | |
| VALUES  (@name,@sid,@model,@manu,@supply,@price,@memo,@wuid,@wdate,@cate,@supplyidx,@scale,@unit,@disable,@bparam1,@iparam1,@import,@gcode,@priceD); 
 | |
| SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, name, idx";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE Items
 | |
| SET        name = @name, sid = @sid, model = @model, manu = @manu, supply = @supply, price = @price, memo = @memo, wuid = @wuid, wdate = @wdate, cate = @cate, supplyidx = @supplyidx, 
 | |
|                scale = @scale, unit = @unit, disable = @disable, bparam1 = @bparam1, iparam1 = @iparam1, import = @import, gcode = @gcode, priceD = @priceD
 | |
| WHERE  (idx = @Original_idx);  
 | |
| SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supplyidx, scale, unit, disable, bparam1, iparam1, import, gcode FROM Items WHERE (idx = @idx) ORDER BY cate, name, idx";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@manu", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "manu", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@price", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 0, "price", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 4, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@scale", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "scale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "unit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "disable", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bparam1", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@iparam1", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "iparam1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@priceD", global::System.Data.SqlDbType.Decimal, 9, global::System.Data.ParameterDirection.Input, 18, 2, "priceD", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[10];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, name, sid, model, manu, supply, price, memo, wuid, wdate, cate, supp" +
 | |
|                 "lyidx, scale, unit, disable, bparam1, iparam1, import, gcode, priceD\r\nFROM     I" +
 | |
|                 "tems\r\nWHERE  (gcode = @gcode)\r\nORDER BY cate, name, idx";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = "DELETE FROM Items\r\nWHERE  (import = @imptag) AND (gcode = @gcode)";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@imptag", global::System.Data.SqlDbType.Char, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[2].Connection = this.Connection;
 | |
|             this._commandCollection[2].CommandText = "SELECT COUNT(*) FROM Items\r\nwhere gcode = @gcode and isnull(replace(name,\' \',\'\') " +
 | |
|                 "+ replace(model,\' \',\'\'),\'\') = @search";
 | |
|             this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[3].Connection = this.Connection;
 | |
|             this._commandCollection[3].CommandText = "SELECT COUNT(*) FROM Items\r\nwhere gcode = @gcode and sid = @sid and isnull(sid,\'\'" +
 | |
|                 ") <> \'\'";
 | |
|             this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[4] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[4].Connection = this.Connection;
 | |
|             this._commandCollection[4].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 | |
| FROM     Items
 | |
| WHERE  (sid IN
 | |
|                    (SELECT  sid
 | |
|                     FROM     Items AS Items_1
 | |
|                     GROUP BY sid
 | |
|                     HAVING  (COUNT(*) > 1))) AND (ISNULL(sid, '') <> '') AND (gcode = @gcode) AND (ISNULL(cate, '') LIKE @cate)
 | |
| ORDER BY sid, name, idx";
 | |
|             this._commandCollection[4].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[4].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[5] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[5].Connection = this.Connection;
 | |
|             this._commandCollection[5].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 | |
| FROM     Items
 | |
| WHERE  (gcode = @code) AND (ISNULL(cate, N'') LIKE @cate) AND (ISNULL(name, N'') LIKE @search OR
 | |
|                ISNULL(model, N'') LIKE @search OR
 | |
|                ISNULL(sid, N'') LIKE @search OR
 | |
|                ISNULL(manu, N'') LIKE @search)
 | |
| ORDER BY name, idx";
 | |
|             this._commandCollection[5].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[6].Connection = this.Connection;
 | |
|             this._commandCollection[6].CommandText = @"SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, name, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD
 | |
| FROM     Items
 | |
| WHERE  (ISNULL(name, N'') LIKE @search OR
 | |
|                ISNULL(sid, N'') LIKE @search OR
 | |
|                ISNULL(manu, N'') LIKE @search OR
 | |
|                ISNULL(supply, N'') LIKE @search OR
 | |
|                ISNULL(model, N'') LIKE @search OR
 | |
|                ISNULL(memo, N'') LIKE @search) AND (gcode = @gcode)
 | |
| ORDER BY name, idx";
 | |
|             this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[7] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[7].Connection = this.Connection;
 | |
|             this._commandCollection[7].CommandText = "SELECT  bparam1, cate, disable, gcode, idx, import, iparam1, manu, memo, model, n" +
 | |
|                 "ame, price, scale, sid, supply, supplyidx, unit, wdate, wuid, priceD\r\nFROM     I" +
 | |
|                 "tems\r\nWHERE  (idx = @idx)";
 | |
|             this._commandCollection[7].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[7].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[8] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[8].Connection = this.Connection;
 | |
|             this._commandCollection[8].CommandText = "SELECT  ISNULL(idx, - 1) AS Expr1\r\nFROM     Items\r\nWHERE  (gcode = @gcode) AND (I" +
 | |
|                 "SNULL(name, N\'\') = @name) AND (ISNULL(model, N\'\') = @model)";
 | |
|             this._commandCollection[8].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[8].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[9].Connection = this.Connection;
 | |
|             this._commandCollection[9].CommandText = "dbo.UpdateItem";
 | |
|             this._commandCollection[9].CommandType = global::System.Data.CommandType.StoredProcedure;
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 200, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@disable", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 1, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[9].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@unit", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.ItemsDataTable dataTable, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 dsMSSQL.ItemsDataTable GetData(string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillDupCheck(dsMSSQL.ItemsDataTable dataTable, string gcode, string cate) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[4];
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 throw new global::System.ArgumentNullException("cate");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.ItemsDataTable GetDupCheck(string gcode, string cate) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[4];
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 throw new global::System.ArgumentNullException("cate");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
 | |
|             }
 | |
|             dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillNoImage(dsMSSQL.ItemsDataTable dataTable, string code, string cate, string search) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[5];
 | |
|             if ((code == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(code));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 throw new global::System.ArgumentNullException("cate");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(search));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.ItemsDataTable GetNoImage(string code, string cate, string search) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[5];
 | |
|             if ((code == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(code));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 throw new global::System.ArgumentNullException("cate");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(search));
 | |
|             }
 | |
|             dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillSearch(dsMSSQL.ItemsDataTable dataTable, string search, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[6];
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.ItemsDataTable GetSearch(string search, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[6];
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
 | |
|         public virtual dsMSSQL.ItemsDataTable GetbyIDX(int idx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[7];
 | |
|             this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
 | |
|             dsMSSQL.ItemsDataTable dataTable = new dsMSSQL.ItemsDataTable();
 | |
|             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(dsMSSQL.ItemsDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Items");
 | |
|         }
 | |
|         
 | |
|         [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_idx) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             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 name, 
 | |
|                     string sid, 
 | |
|                     string model, 
 | |
|                     string manu, 
 | |
|                     string supply, 
 | |
|                     global::System.Nullable<decimal> price, 
 | |
|                     string memo, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string cate, 
 | |
|                     global::System.Nullable<int> supplyidx, 
 | |
|                     global::System.Nullable<double> scale, 
 | |
|                     string unit, 
 | |
|                     global::System.Nullable<bool> disable, 
 | |
|                     global::System.Nullable<bool> bparam1, 
 | |
|                     global::System.Nullable<int> iparam1, 
 | |
|                     string import, 
 | |
|                     string gcode, 
 | |
|                     global::System.Nullable<decimal> priceD) {
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(name));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((model == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(model));
 | |
|             }
 | |
|             if ((manu == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(manu));
 | |
|             }
 | |
|             if ((supply == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(supply));
 | |
|             }
 | |
|             if ((price.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(price.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(wdate));
 | |
|             if ((cate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((supplyidx.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((int)(supplyidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((scale.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((double)(scale.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((unit == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(unit));
 | |
|             }
 | |
|             if ((disable.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((bool)(disable.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((bparam1.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(bparam1.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((iparam1.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = ((int)(iparam1.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((import == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = ((string)(import));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((priceD.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[18].Value = ((decimal)(priceD.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             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 name, 
 | |
|                     string sid, 
 | |
|                     string model, 
 | |
|                     string manu, 
 | |
|                     string supply, 
 | |
|                     global::System.Nullable<decimal> price, 
 | |
|                     string memo, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string cate, 
 | |
|                     global::System.Nullable<int> supplyidx, 
 | |
|                     global::System.Nullable<double> scale, 
 | |
|                     string unit, 
 | |
|                     global::System.Nullable<bool> disable, 
 | |
|                     global::System.Nullable<bool> bparam1, 
 | |
|                     global::System.Nullable<int> iparam1, 
 | |
|                     string import, 
 | |
|                     string gcode, 
 | |
|                     global::System.Nullable<decimal> priceD, 
 | |
|                     int Original_idx, 
 | |
|                     int idx) {
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(name));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((model == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(model));
 | |
|             }
 | |
|             if ((manu == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(manu));
 | |
|             }
 | |
|             if ((supply == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(supply));
 | |
|             }
 | |
|             if ((price.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((decimal)(price.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(wdate));
 | |
|             if ((cate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((supplyidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(supplyidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((scale.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((double)(scale.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((unit == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(unit));
 | |
|             }
 | |
|             if ((disable.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((bool)(disable.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((bparam1.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(bparam1.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((iparam1.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(iparam1.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((import == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(import));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((priceD.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((decimal)(priceD.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_idx));
 | |
|             this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 DeleteImport(string imptag, string gcode) {
 | |
|             global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
 | |
|             if ((imptag == null)) {
 | |
|                 command.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[0].Value = ((string)(imptag));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 command.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
 | |
|             if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 command.Connection.Open();
 | |
|             }
 | |
|             int returnValue;
 | |
|             try {
 | |
|                 returnValue = command.ExecuteNonQuery();
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     command.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|             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")]
 | |
|         public virtual global::System.Nullable<int> ExistCheck(string gcode, string search) {
 | |
|             global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[2];
 | |
|             if ((gcode == null)) {
 | |
|                 command.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[1].Value = ((string)(search));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
 | |
|             if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 command.Connection.Open();
 | |
|             }
 | |
|             object returnValue;
 | |
|             try {
 | |
|                 returnValue = command.ExecuteScalar();
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     command.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|             if (((returnValue == null) 
 | |
|                         || (returnValue.GetType() == typeof(global::System.DBNull)))) {
 | |
|                 return new global::System.Nullable<int>();
 | |
|             }
 | |
|             else {
 | |
|                 return new global::System.Nullable<int>(((int)(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")]
 | |
|         public virtual global::System.Nullable<int> ExistSID(string gcode, string sid) {
 | |
|             global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
 | |
|             if ((gcode == null)) {
 | |
|                 command.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 command.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[1].Value = ((string)(sid));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
 | |
|             if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 command.Connection.Open();
 | |
|             }
 | |
|             object returnValue;
 | |
|             try {
 | |
|                 returnValue = command.ExecuteScalar();
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     command.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|             if (((returnValue == null) 
 | |
|                         || (returnValue.GetType() == typeof(global::System.DBNull)))) {
 | |
|                 return new global::System.Nullable<int>();
 | |
|             }
 | |
|             else {
 | |
|                 return new global::System.Nullable<int>(((int)(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")]
 | |
|         public virtual global::System.Nullable<int> ReadIDX(string gcode, string name, string model) {
 | |
|             global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[8];
 | |
|             if ((gcode == null)) {
 | |
|                 command.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 throw new global::System.ArgumentNullException("name");
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[1].Value = ((string)(name));
 | |
|             }
 | |
|             if ((model == null)) {
 | |
|                 throw new global::System.ArgumentNullException("model");
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[2].Value = ((string)(model));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
 | |
|             if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 command.Connection.Open();
 | |
|             }
 | |
|             object returnValue;
 | |
|             try {
 | |
|                 returnValue = command.ExecuteScalar();
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     command.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|             if (((returnValue == null) 
 | |
|                         || (returnValue.GetType() == typeof(global::System.DBNull)))) {
 | |
|                 return new global::System.Nullable<int>();
 | |
|             }
 | |
|             else {
 | |
|                 return new global::System.Nullable<int>(((int)(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")]
 | |
|         public virtual int UpdateItem(string gcode, string sid, string name, string cate, global::System.Nullable<bool> disable, string unit) {
 | |
|             global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[9];
 | |
|             if ((gcode == null)) {
 | |
|                 command.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 command.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[2].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 command.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[3].Value = ((string)(name));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 command.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[4].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((disable.HasValue == true)) {
 | |
|                 command.Parameters[5].Value = ((bool)(disable.Value));
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((unit == null)) {
 | |
|                 command.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[6].Value = ((string)(unit));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
 | |
|             if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 command.Connection.Open();
 | |
|             }
 | |
|             int returnValue;
 | |
|             try {
 | |
|                 returnValue = command.ExecuteNonQuery();
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     command.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|             return returnValue;
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 CommonTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public CommonTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Common";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("grp", "grp");
 | |
|             tableMapping.ColumnMappings.Add("code", "code");
 | |
|             tableMapping.ColumnMappings.Add("svalue", "svalue");
 | |
|             tableMapping.ColumnMappings.Add("ivalue", "ivalue");
 | |
|             tableMapping.ColumnMappings.Add("fvalue", "fvalue");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Common] WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ([gcode] = @Original_gcode))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_fvalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO Common
 | |
|                (grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode)
 | |
| VALUES  (@grp,@code,@svalue,@ivalue,@fvalue,@memo,@wuid,@wdate,@gcode); 
 | |
| SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate FROM Common WHERE (idx = SCOPE_IDENTITY()) ORDER BY grp, memo";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@svalue", global::System.Data.SqlDbType.VarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ivalue", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fvalue", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [Common] SET [grp] = @grp, [code] = @code, [svalue] = @svalue, [ivalue] = @ivalue, [fvalue] = @fvalue, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_grp = 1 AND [grp] IS NULL) OR ([grp] = @Original_grp)) AND ((@IsNull_code = 1 AND [code] IS NULL) OR ([code] = @Original_code)) AND ((@IsNull_ivalue = 1 AND [ivalue] IS NULL) OR ([ivalue] = @Original_ivalue)) AND ((@IsNull_fvalue = 1 AND [fvalue] IS NULL) OR ([fvalue] = @Original_fvalue)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ([gcode] = @Original_gcode));
 | |
| SELECT idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode FROM Common WHERE (idx = @idx) ORDER BY grp, memo";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@svalue", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "svalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_grp", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_grp", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_code", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_code", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "code", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ivalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ivalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_fvalue", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fvalue", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fvalue", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode\r\nFROM   " +
 | |
|                 "  Common\r\nWHERE  (grp = @grpCode) AND (gcode = @gcode)\r\nORDER BY grp, memo";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grpCode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.CommonDataTable dataTable, string grpCode, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((grpCode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(grpCode));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 dsMSSQL.CommonDataTable GetData(string grpCode, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((grpCode == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(grpCode));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.CommonDataTable dataTable = new dsMSSQL.CommonDataTable();
 | |
|             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(dsMSSQL.CommonDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Common");
 | |
|         }
 | |
|         
 | |
|         [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_idx, string Original_grp, string Original_code, global::System.Nullable<int> Original_ivalue, global::System.Nullable<double> Original_fvalue, string Original_memo, string Original_wuid, System.DateTime Original_wdate, string Original_gcode) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_grp == 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_grp));
 | |
|             }
 | |
|             if ((Original_code == 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_code));
 | |
|             }
 | |
|             if ((Original_ivalue.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[6].Value = ((int)(Original_ivalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_fvalue.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = ((double)(Original_fvalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_memo == 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_memo));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[11].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[12].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             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 grp, string code, string svalue, global::System.Nullable<int> ivalue, global::System.Nullable<double> fvalue, string memo, string wuid, System.DateTime wdate, string gcode) {
 | |
|             if ((grp == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(grp));
 | |
|             }
 | |
|             if ((code == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(code));
 | |
|             }
 | |
|             if ((svalue == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(svalue));
 | |
|             }
 | |
|             if ((ivalue.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((int)(ivalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((fvalue.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((double)(fvalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(wdate));
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 grp, 
 | |
|                     string code, 
 | |
|                     string svalue, 
 | |
|                     global::System.Nullable<int> ivalue, 
 | |
|                     global::System.Nullable<double> fvalue, 
 | |
|                     string memo, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string gcode, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_grp, 
 | |
|                     string Original_code, 
 | |
|                     global::System.Nullable<int> Original_ivalue, 
 | |
|                     global::System.Nullable<double> Original_fvalue, 
 | |
|                     string Original_memo, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     string Original_gcode, 
 | |
|                     int idx) {
 | |
|             if ((grp == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(grp));
 | |
|             }
 | |
|             if ((code == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(code));
 | |
|             }
 | |
|             if ((svalue == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(svalue));
 | |
|             }
 | |
|             if ((ivalue.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(ivalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((fvalue.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(fvalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(wdate));
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(gcode));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Original_idx));
 | |
|             if ((Original_grp == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_grp));
 | |
|             }
 | |
|             if ((Original_code == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_code));
 | |
|             }
 | |
|             if ((Original_ivalue.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_ivalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_fvalue.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((double)(Original_fvalue.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_memo));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[23].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 grp, 
 | |
|                     string code, 
 | |
|                     string svalue, 
 | |
|                     global::System.Nullable<int> ivalue, 
 | |
|                     global::System.Nullable<double> fvalue, 
 | |
|                     string memo, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string gcode, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_grp, 
 | |
|                     string Original_code, 
 | |
|                     global::System.Nullable<int> Original_ivalue, 
 | |
|                     global::System.Nullable<double> Original_fvalue, 
 | |
|                     string Original_memo, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     string Original_gcode) {
 | |
|             return this.Update(grp, code, svalue, ivalue, fvalue, memo, wuid, wdate, gcode, Original_idx, Original_grp, Original_code, Original_ivalue, Original_fvalue, Original_memo, Original_wuid, Original_wdate, Original_gcode, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 BoardTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public BoardTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Board";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("bidx", "bidx");
 | |
|             tableMapping.ColumnMappings.Add("header", "header");
 | |
|             tableMapping.ColumnMappings.Add("cate", "cate");
 | |
|             tableMapping.ColumnMappings.Add("title", "title");
 | |
|             tableMapping.ColumnMappings.Add("contents", "contents");
 | |
|             tableMapping.ColumnMappings.Add("file", "file");
 | |
|             tableMapping.ColumnMappings.Add("guid", "guid");
 | |
|             tableMapping.ColumnMappings.Add("url", "url");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("project", "project");
 | |
|             tableMapping.ColumnMappings.Add("pidx", "pidx");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Board] WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_header", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_file", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_guid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Board] ([bidx], [header], [cate], [title], [contents], [file], [guid], [url], [wuid], [wdate], [project], [pidx], [gcode]) VALUES (@bidx, @header, @cate, @title, @contents, @file, @guid, @url, @wuid, @wdate, @project, @pidx, @gcode);
 | |
| SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode FROM Board WHERE (idx = SCOPE_IDENTITY()) ORDER BY wdate";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [Board] SET [bidx] = @bidx, [header] = @header, [cate] = @cate, [title] = @title, [contents] = @contents, [file] = @file, [guid] = @guid, [url] = @url, [wuid] = @wuid, [wdate] = @wdate, [project] = @project, [pidx] = @pidx, [gcode] = @gcode WHERE (([idx] = @Original_idx) AND ((@IsNull_bidx = 1 AND [bidx] IS NULL) OR ([bidx] = @Original_bidx)) AND ((@IsNull_header = 1 AND [header] IS NULL) OR ([header] = @Original_header)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_file = 1 AND [file] IS NULL) OR ([file] = @Original_file)) AND ((@IsNull_guid = 1 AND [guid] IS NULL) OR ([guid] = @Original_guid)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_pidx = 1 AND [pidx] IS NULL) OR ([pidx] = @Original_pidx)) AND ([gcode] = @Original_gcode));
 | |
| SELECT idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate, project, pidx, gcode FROM Board WHERE (idx = @idx) ORDER BY wdate";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@contents", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "contents", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_header", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_header", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "header", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_file", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_file", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "file", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_guid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_guid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "guid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, bidx, header, cate, title, contents, [file], guid, url, wuid, wdate," +
 | |
|                 " project, pidx, gcode\r\nFROM     Board\r\nWHERE  (bidx = @bidx) AND (ISNULL(header," +
 | |
|                 " 0) = 0) AND (gcode LIKE @gcode)\r\nORDER BY wdate";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "bidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.BoardDataTable dataTable, global::System.Nullable<int> bidx, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((bidx.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((int)(bidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 dsMSSQL.BoardDataTable GetData(global::System.Nullable<int> bidx, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((bidx.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((int)(bidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.BoardDataTable dataTable = new dsMSSQL.BoardDataTable();
 | |
|             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(dsMSSQL.BoardDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Board");
 | |
|         }
 | |
|         
 | |
|         [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_idx, global::System.Nullable<int> Original_bidx, global::System.Nullable<bool> Original_header, string Original_cate, string Original_title, string Original_file, string Original_guid, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable<int> Original_project, global::System.Nullable<int> Original_pidx, string Original_gcode) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_bidx.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(Original_bidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_header.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_header.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_cate == 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_cate));
 | |
|             }
 | |
|             if ((Original_title == 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_title));
 | |
|             }
 | |
|             if ((Original_file == 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_file));
 | |
|             }
 | |
|             if ((Original_guid == 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_guid));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[14].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_project.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pidx.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_pidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             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(global::System.Nullable<int> bidx, global::System.Nullable<bool> header, string cate, string title, string contents, string file, string guid, string url, string wuid, System.DateTime wdate, global::System.Nullable<int> project, global::System.Nullable<int> pidx, string gcode) {
 | |
|             if ((bidx.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((int)(bidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((header.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(header.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((title == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(title));
 | |
|             }
 | |
|             if ((contents == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(contents));
 | |
|             }
 | |
|             if ((file == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(file));
 | |
|             }
 | |
|             if ((guid == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(guid));
 | |
|             }
 | |
|             if ((url == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(url));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(wdate));
 | |
|             if ((project.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((int)(project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pidx.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((int)(pidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(gcode));
 | |
|             }
 | |
|             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(
 | |
|                     global::System.Nullable<int> bidx, 
 | |
|                     global::System.Nullable<bool> header, 
 | |
|                     string cate, 
 | |
|                     string title, 
 | |
|                     string contents, 
 | |
|                     string file, 
 | |
|                     string guid, 
 | |
|                     string url, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     global::System.Nullable<int> pidx, 
 | |
|                     string gcode, 
 | |
|                     int Original_idx, 
 | |
|                     global::System.Nullable<int> Original_bidx, 
 | |
|                     global::System.Nullable<bool> Original_header, 
 | |
|                     string Original_cate, 
 | |
|                     string Original_title, 
 | |
|                     string Original_file, 
 | |
|                     string Original_guid, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     global::System.Nullable<int> Original_pidx, 
 | |
|                     string Original_gcode, 
 | |
|                     int idx) {
 | |
|             if ((bidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(bidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((header.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(header.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((title == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(title));
 | |
|             }
 | |
|             if ((contents == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(contents));
 | |
|             }
 | |
|             if ((file == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(file));
 | |
|             }
 | |
|             if ((guid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(guid));
 | |
|             }
 | |
|             if ((url == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(url));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(wdate));
 | |
|             if ((project.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(pidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(gcode));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_idx));
 | |
|             if ((Original_bidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_bidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_header.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((bool)(Original_header.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_cate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_cate));
 | |
|             }
 | |
|             if ((Original_title == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_title));
 | |
|             }
 | |
|             if ((Original_file == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_file));
 | |
|             }
 | |
|             if ((Original_guid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((string)(Original_guid));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_project.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_pidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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(
 | |
|                     global::System.Nullable<int> bidx, 
 | |
|                     global::System.Nullable<bool> header, 
 | |
|                     string cate, 
 | |
|                     string title, 
 | |
|                     string contents, 
 | |
|                     string file, 
 | |
|                     string guid, 
 | |
|                     string url, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     global::System.Nullable<int> pidx, 
 | |
|                     string gcode, 
 | |
|                     int Original_idx, 
 | |
|                     global::System.Nullable<int> Original_bidx, 
 | |
|                     global::System.Nullable<bool> Original_header, 
 | |
|                     string Original_cate, 
 | |
|                     string Original_title, 
 | |
|                     string Original_file, 
 | |
|                     string Original_guid, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     global::System.Nullable<int> Original_pidx, 
 | |
|                     string Original_gcode) {
 | |
|             return this.Update(bidx, header, cate, title, contents, file, guid, url, wuid, wdate, project, pidx, gcode, Original_idx, Original_bidx, Original_header, Original_cate, Original_title, Original_file, Original_guid, Original_wuid, Original_wdate, Original_project, Original_pidx, Original_gcode, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 RequestItemTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public RequestItemTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "RequestItem";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("tolist", "tolist");
 | |
|             tableMapping.ColumnMappings.Add("cclist", "cclist");
 | |
|             tableMapping.ColumnMappings.Add("bcclist", "bcclist");
 | |
|             tableMapping.ColumnMappings.Add("title", "title");
 | |
|             tableMapping.ColumnMappings.Add("sid", "sid");
 | |
|             tableMapping.ColumnMappings.Add("url", "url");
 | |
|             tableMapping.ColumnMappings.Add("qty", "qty");
 | |
|             tableMapping.ColumnMappings.Add("remark", "remark");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("pdate", "pdate");
 | |
|             tableMapping.ColumnMappings.Add("bMail", "bMail");
 | |
|             tableMapping.ColumnMappings.Add("project", "project");
 | |
|             tableMapping.ColumnMappings.Add("model", "model");
 | |
|             tableMapping.ColumnMappings.Add("projectName", "projectName");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [RequestItem] WHERE (([idx] = @Original_idx) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_bMail = 1 AND [bMail] IS NULL) OR ([bMail] = @Original_bMail)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bMail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bMail", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bMail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bMail", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [RequestItem] ([tolist], [cclist], [bcclist], [title], [sid], [url], [qty], [remark], [wuid], [wdate], [pdate], [bMail], [project], [model], [memo]) VALUES (@tolist, @cclist, @bcclist, @title, @sid, @url, @qty, @remark, @wuid, @wdate, @pdate, @bMail, @project, @model, @memo);
 | |
| SELECT idx, tolist, cclist, bcclist, title, sid, url, qty, remark, wuid, wdate, pdate, bMail, project, model, dbo.getProjectName(project) AS projectName, memo FROM RequestItem WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cclist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cclist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bcclist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bcclist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bMail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bMail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [RequestItem] SET [tolist] = @tolist, [cclist] = @cclist, [bcclist] = @bcclist, [title] = @title, [sid] = @sid, [url] = @url, [qty] = @qty, [remark] = @remark, [wuid] = @wuid, [wdate] = @wdate, [pdate] = @pdate, [bMail] = @bMail, [project] = @project, [model] = @model, [memo] = @memo WHERE (([idx] = @Original_idx) AND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_bMail = 1 AND [bMail] IS NULL) OR ([bMail] = @Original_bMail)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_model = 1 AND [model] IS NULL) OR ([model] = @Original_model)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)));
 | |
| SELECT idx, tolist, cclist, bcclist, title, sid, url, qty, remark, wuid, wdate, pdate, bMail, project, model, dbo.getProjectName(project) AS projectName, memo FROM RequestItem WHERE (idx = @idx) ORDER BY pdate";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tolist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tolist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cclist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cclist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bcclist", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bcclist", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@url", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "url", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@remark", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "remark", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bMail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bMail", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bMail", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bMail", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bMail", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bMail", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_model", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_model", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "model", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[2];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, tolist, cclist, bcclist, title, sid, url, qty, remark, wuid, wdate, " +
 | |
|                 "pdate, bMail, project, model, dbo.getProjectName(project) AS projectName, memo\r\n" +
 | |
|                 "FROM     RequestItem\r\nWHERE  (pdate BETWEEN @sd AND @ed)\r\nORDER BY pdate";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = "SELECT bMail, bcclist, cclist, idx, memo, model, pdate, project, dbo.getProjectNa" +
 | |
|                 "me(project) AS projectName, qty, remark, sid, title, tolist, url, wdate, wuid FR" +
 | |
|                 "OM RequestItem WHERE (idx = @idx)";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.RequestItemDataTable dataTable, string sd, string ed) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((sd == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
 | |
|             }
 | |
|             if ((ed == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
 | |
|             }
 | |
|             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 dsMSSQL.RequestItemDataTable GetData(string sd, string ed) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((sd == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
 | |
|             }
 | |
|             if ((ed == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
 | |
|             }
 | |
|             dsMSSQL.RequestItemDataTable dataTable = new dsMSSQL.RequestItemDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillIDX(dsMSSQL.RequestItemDataTable dataTable, int idx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.RequestItemDataTable GetIDX(int idx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
 | |
|             dsMSSQL.RequestItemDataTable dataTable = new dsMSSQL.RequestItemDataTable();
 | |
|             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(dsMSSQL.RequestItemDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "RequestItem");
 | |
|         }
 | |
|         
 | |
|         [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_idx, string Original_sid, global::System.Nullable<int> Original_qty, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable<global::System.DateTime> Original_pdate, global::System.Nullable<bool> Original_bMail, global::System.Nullable<int> Original_project, string Original_model, string Original_memo) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_sid == 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_sid));
 | |
|             }
 | |
|             if ((Original_qty.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_pdate.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_pdate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_bMail.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[10].Value = ((bool)(Original_bMail.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_project.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[12].Value = ((int)(Original_project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_model == 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_model));
 | |
|             }
 | |
|             if ((Original_memo == 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_memo));
 | |
|             }
 | |
|             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 tolist, string cclist, string bcclist, string title, string sid, string url, global::System.Nullable<int> qty, string remark, string wuid, System.DateTime wdate, global::System.Nullable<global::System.DateTime> pdate, global::System.Nullable<bool> bMail, global::System.Nullable<int> project, string model, string memo) {
 | |
|             if ((tolist == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(tolist));
 | |
|             }
 | |
|             if ((cclist == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(cclist));
 | |
|             }
 | |
|             if ((bcclist == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(bcclist));
 | |
|             }
 | |
|             if ((title == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(title));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((url == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(url));
 | |
|             }
 | |
|             if ((qty.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((int)(qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((remark == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(remark));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(wdate));
 | |
|             if ((pdate.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(pdate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((bMail.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((bool)(bMail.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((project.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((int)(project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((model == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((string)(model));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((string)(memo));
 | |
|             }
 | |
|             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 tolist, 
 | |
|                     string cclist, 
 | |
|                     string bcclist, 
 | |
|                     string title, 
 | |
|                     string sid, 
 | |
|                     string url, 
 | |
|                     global::System.Nullable<int> qty, 
 | |
|                     string remark, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     global::System.Nullable<global::System.DateTime> pdate, 
 | |
|                     global::System.Nullable<bool> bMail, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     string model, 
 | |
|                     string memo, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_sid, 
 | |
|                     global::System.Nullable<int> Original_qty, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     global::System.Nullable<global::System.DateTime> Original_pdate, 
 | |
|                     global::System.Nullable<bool> Original_bMail, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     string Original_model, 
 | |
|                     string Original_memo, 
 | |
|                     int idx) {
 | |
|             if ((tolist == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(tolist));
 | |
|             }
 | |
|             if ((cclist == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(cclist));
 | |
|             }
 | |
|             if ((bcclist == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(bcclist));
 | |
|             }
 | |
|             if ((title == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(title));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((url == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(url));
 | |
|             }
 | |
|             if ((qty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((remark == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(remark));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(wdate));
 | |
|             if ((pdate.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(pdate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((bMail.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((bool)(bMail.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((project.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((model == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(model));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(memo));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx));
 | |
|             if ((Original_sid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_sid));
 | |
|             }
 | |
|             if ((Original_qty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_pdate.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_pdate.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_bMail.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[25].Value = ((bool)(Original_bMail.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_project.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_model == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_model));
 | |
|             }
 | |
|             if ((Original_memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_memo));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 tolist, 
 | |
|                     string cclist, 
 | |
|                     string bcclist, 
 | |
|                     string title, 
 | |
|                     string sid, 
 | |
|                     string url, 
 | |
|                     global::System.Nullable<int> qty, 
 | |
|                     string remark, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     global::System.Nullable<global::System.DateTime> pdate, 
 | |
|                     global::System.Nullable<bool> bMail, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     string model, 
 | |
|                     string memo, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_sid, 
 | |
|                     global::System.Nullable<int> Original_qty, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     global::System.Nullable<global::System.DateTime> Original_pdate, 
 | |
|                     global::System.Nullable<bool> Original_bMail, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     string Original_model, 
 | |
|                     string Original_memo) {
 | |
|             return this.Update(tolist, cclist, bcclist, title, sid, url, qty, remark, wuid, wdate, pdate, bMail, project, model, memo, Original_idx, Original_sid, Original_qty, Original_wuid, Original_wdate, Original_pdate, Original_bMail, Original_project, Original_model, Original_memo, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 CustomsTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public CustomsTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Customs";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("grp", "grp");
 | |
|             tableMapping.ColumnMappings.Add("name", "name");
 | |
|             tableMapping.ColumnMappings.Add("tel", "tel");
 | |
|             tableMapping.ColumnMappings.Add("fax", "fax");
 | |
|             tableMapping.ColumnMappings.Add("email", "email");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("owner", "owner");
 | |
|             tableMapping.ColumnMappings.Add("ownertel", "ownertel");
 | |
|             tableMapping.ColumnMappings.Add("address", "address");
 | |
|             tableMapping.ColumnMappings.Add("uptae", "uptae");
 | |
|             tableMapping.ColumnMappings.Add("staff", "staff");
 | |
|             tableMapping.ColumnMappings.Add("stafftel", "stafftel");
 | |
|             tableMapping.ColumnMappings.Add("name2", "name2");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = "DELETE FROM Customs\r\nWHERE  (idx = @Original_idx)";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO Customs
 | |
|                (grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wdate, uptae, staff, stafftel, name2, gcode)
 | |
| VALUES  (@grp,@name,@owner,@ownertel,@address,@tel,@fax,@email,@memo,@wuid,@wdate,@uptae,@staff,@stafftel,@name2,@gcode); 
 | |
| SELECT idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wdate, uptae, staff, stafftel, name2 FROM Customs WHERE (idx = SCOPE_IDENTITY()) ORDER BY name";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@owner", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "owner", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ownertel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ownertel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@address", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "address", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.VarChar, 150, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fax", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "fax", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uptae", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "uptae", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@staff", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "staff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stafftel", global::System.Data.SqlDbType.VarChar, 150, global::System.Data.ParameterDirection.Input, 0, 0, "stafftel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name2", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "name2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE Customs
 | |
| SET        grp = @grp, name = @name, owner = @owner, ownertel = @ownertel, address = @address, tel = @tel, fax = @fax, email = @email, memo = @memo, wuid = @wuid, wdate = @wdate, 
 | |
|                uptae = @uptae, staff = @staff, stafftel = @stafftel, name2 = @name2, gcode = @gcode
 | |
| WHERE  (idx = @Original_idx); 
 | |
| SELECT idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wdate, uptae, staff, stafftel, name2, gcode FROM Customs WHERE (idx = @idx) ORDER BY name";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@owner", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "owner", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ownertel", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ownertel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@address", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "address", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.VarChar, 150, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fax", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "fax", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uptae", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "uptae", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@staff", global::System.Data.SqlDbType.NVarChar, 250, global::System.Data.ParameterDirection.Input, 0, 0, "staff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@stafftel", global::System.Data.SqlDbType.VarChar, 150, global::System.Data.ParameterDirection.Input, 0, 0, "stafftel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name2", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "name2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[4];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, grp, name, owner, ownertel, address, tel, fax, email, memo, wuid, wd" +
 | |
|                 "ate, uptae, staff, stafftel, name2, gcode\r\nFROM     Customs\r\nWHERE  (gcode = @gc" +
 | |
|                 "ode)\r\nORDER BY name";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = "SELECT  ISNULL(COUNT(*), 0) AS Expr1\r\nFROM     Customs\r\nWHERE  (ISNULL(name, N\'\')" +
 | |
|                 " LIKE @name OR\r\n               ISNULL(name2, N\'\') LIKE @name) AND (gcode = @gcod" +
 | |
|                 "e)";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[2].Connection = this.Connection;
 | |
|             this._commandCollection[2].CommandText = "SELECT  address, email, fax, gcode, grp, idx, memo, name, name2, owner, ownertel," +
 | |
|                 " staff, stafftel, tel, uptae, wdate, wuid\r\nFROM     Customs\r\nWHERE  (grp = @grp)" +
 | |
|                 " AND (gcode = @gcode)";
 | |
|             this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grp", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "grp", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[3].Connection = this.Connection;
 | |
|             this._commandCollection[3].CommandText = @"SELECT  address, email, fax, gcode, grp, idx, memo, name, name2, owner, ownertel, staff, stafftel, tel, uptae, wdate, wuid
 | |
| FROM     Customs
 | |
| WHERE  (ISNULL(name, N'') LIKE @search OR
 | |
|                ISNULL(tel, N'') LIKE @search OR
 | |
|                ISNULL(email, N'') LIKE @search OR
 | |
|                ISNULL(name2, N'') LIKE @search) AND (gcode = @gcode) OR
 | |
|                (memo LIKE @search) AND (gcode = @gcode)";
 | |
|             this._commandCollection[3].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.CustomsDataTable dataTable, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 dsMSSQL.CustomsDataTable GetData(string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.CustomsDataTable dataTable = new dsMSSQL.CustomsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillbyGrp(dsMSSQL.CustomsDataTable dataTable, string grp, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[2];
 | |
|             if ((grp == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(grp));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.CustomsDataTable GetbyGrp(string grp, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[2];
 | |
|             if ((grp == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(grp));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.CustomsDataTable dataTable = new dsMSSQL.CustomsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillSearch(dsMSSQL.CustomsDataTable dataTable, string search, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[3];
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.CustomsDataTable GetSearch(string search, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[3];
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.CustomsDataTable dataTable = new dsMSSQL.CustomsDataTable();
 | |
|             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(dsMSSQL.CustomsDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Customs");
 | |
|         }
 | |
|         
 | |
|         [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_idx) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             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 grp, 
 | |
|                     string name, 
 | |
|                     string owner, 
 | |
|                     string ownertel, 
 | |
|                     string address, 
 | |
|                     string tel, 
 | |
|                     string fax, 
 | |
|                     string email, 
 | |
|                     string memo, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string uptae, 
 | |
|                     string staff, 
 | |
|                     string stafftel, 
 | |
|                     string name2, 
 | |
|                     string gcode) {
 | |
|             if ((grp == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(grp));
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(name));
 | |
|             }
 | |
|             if ((owner == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(owner));
 | |
|             }
 | |
|             if ((ownertel == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(ownertel));
 | |
|             }
 | |
|             if ((address == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(address));
 | |
|             }
 | |
|             if ((tel == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(tel));
 | |
|             }
 | |
|             if ((fax == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(fax));
 | |
|             }
 | |
|             if ((email == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(email));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(wdate));
 | |
|             if ((uptae == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((string)(uptae));
 | |
|             }
 | |
|             if ((staff == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(staff));
 | |
|             }
 | |
|             if ((stafftel == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((string)(stafftel));
 | |
|             }
 | |
|             if ((name2 == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((string)(name2));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 grp, 
 | |
|                     string name, 
 | |
|                     string owner, 
 | |
|                     string ownertel, 
 | |
|                     string address, 
 | |
|                     string tel, 
 | |
|                     string fax, 
 | |
|                     string email, 
 | |
|                     string memo, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string uptae, 
 | |
|                     string staff, 
 | |
|                     string stafftel, 
 | |
|                     string name2, 
 | |
|                     string gcode, 
 | |
|                     int Original_idx, 
 | |
|                     int idx) {
 | |
|             if ((grp == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(grp));
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(name));
 | |
|             }
 | |
|             if ((owner == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(owner));
 | |
|             }
 | |
|             if ((ownertel == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(ownertel));
 | |
|             }
 | |
|             if ((address == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(address));
 | |
|             }
 | |
|             if ((tel == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(tel));
 | |
|             }
 | |
|             if ((fax == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(fax));
 | |
|             }
 | |
|             if ((email == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(email));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(wdate));
 | |
|             if ((uptae == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(uptae));
 | |
|             }
 | |
|             if ((staff == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(staff));
 | |
|             }
 | |
|             if ((stafftel == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(stafftel));
 | |
|             }
 | |
|             if ((name2 == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(name2));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(gcode));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
 | |
|             this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 global::System.Nullable<int> ExistName(string name, string gcode) {
 | |
|             global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
 | |
|             if ((name == null)) {
 | |
|                 throw new global::System.ArgumentNullException("name");
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[0].Value = ((string)(name));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 command.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
 | |
|             if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
 | |
|                         != global::System.Data.ConnectionState.Open)) {
 | |
|                 command.Connection.Open();
 | |
|             }
 | |
|             object returnValue;
 | |
|             try {
 | |
|                 returnValue = command.ExecuteScalar();
 | |
|             }
 | |
|             finally {
 | |
|                 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
 | |
|                     command.Connection.Close();
 | |
|                 }
 | |
|             }
 | |
|             if (((returnValue == null) 
 | |
|                         || (returnValue.GetType() == typeof(global::System.DBNull)))) {
 | |
|                 return new global::System.Nullable<int>();
 | |
|             }
 | |
|             else {
 | |
|                 return new global::System.Nullable<int>(((int)(returnValue)));
 | |
|             }
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 StaffTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public StaffTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Staff";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("cid", "cid");
 | |
|             tableMapping.ColumnMappings.Add("name", "name");
 | |
|             tableMapping.ColumnMappings.Add("grade", "grade");
 | |
|             tableMapping.ColumnMappings.Add("dept", "dept");
 | |
|             tableMapping.ColumnMappings.Add("tel", "tel");
 | |
|             tableMapping.ColumnMappings.Add("email", "email");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = "DELETE FROM Staff\r\nWHERE  (idx = @Original_idx)";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Staff] ([gcode], [cid], [name], [grade], [dept], [tel], [email], [memo], [wuid], [wdate]) VALUES (@gcode, @cid, @name, @grade, @dept, @tel, @email, @memo, @wuid, @wdate);
 | |
| SELECT idx, gcode, cid, name, grade, dept, tel, email, memo, wuid, wdate FROM Staff WHERE (idx = SCOPE_IDENTITY())";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grade", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "grade", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE Staff
 | |
| SET        gcode = @gcode, cid = @cid, name = @name, grade = @grade, dept = @dept, tel = @tel, email = @email, memo = @memo, wuid = @wuid, wdate = @wdate
 | |
| WHERE  (idx = @Original_idx); 
 | |
| SELECT idx, gcode, cid, name, grade, dept, tel, email, memo, wuid, wdate FROM Staff WHERE (idx = @idx)";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cid", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@grade", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "grade", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@tel", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "tel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@email", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "email", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[2];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, gcode, cid, name, grade, dept, tel, email, memo, wuid, wdate\r\nFROM  " +
 | |
|                 "   Staff\r\nWHERE  (gcode = @gcode)";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = "SELECT  idx, gcode, cid, name, grade, dept, tel, email, memo, wuid, wdate\r\nFROM  " +
 | |
|                 "   Staff\r\nWHERE  (gcode = @gcode)\r\nand cid = @cid";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cid", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.StaffDataTable dataTable, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 dsMSSQL.StaffDataTable GetData(string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.StaffDataTable dataTable = new dsMSSQL.StaffDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillByCID(dsMSSQL.StaffDataTable dataTable, string gcode, global::System.Nullable<int> cid) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cid.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((int)(cid.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.StaffDataTable GetByCID(string gcode, global::System.Nullable<int> cid) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cid.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((int)(cid.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             dsMSSQL.StaffDataTable dataTable = new dsMSSQL.StaffDataTable();
 | |
|             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(dsMSSQL.StaffDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Staff");
 | |
|         }
 | |
|         
 | |
|         [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_idx) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             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 gcode, global::System.Nullable<int> cid, string name, string grade, string dept, string tel, string email, string memo, string wuid, System.DateTime wdate) {
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cid.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((int)(cid.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(name));
 | |
|             }
 | |
|             if ((grade == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(grade));
 | |
|             }
 | |
|             if ((dept == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(dept));
 | |
|             }
 | |
|             if ((tel == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(tel));
 | |
|             }
 | |
|             if ((email == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(email));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(wdate));
 | |
|             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 gcode, global::System.Nullable<int> cid, string name, string grade, string dept, string tel, string email, string memo, string wuid, System.DateTime wdate, int Original_idx, int idx) {
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cid.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(cid.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(name));
 | |
|             }
 | |
|             if ((grade == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(grade));
 | |
|             }
 | |
|             if ((dept == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(dept));
 | |
|             }
 | |
|             if ((tel == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(tel));
 | |
|             }
 | |
|             if ((email == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(email));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Original_idx));
 | |
|             this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(idx));
 | |
|             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>
 | |
|     ///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 PurchaseTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public PurchaseTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Purchase";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("pdate", "pdate");
 | |
|             tableMapping.ColumnMappings.Add("state", "state");
 | |
|             tableMapping.ColumnMappings.Add("process", "process");
 | |
|             tableMapping.ColumnMappings.Add("receive", "receive");
 | |
|             tableMapping.ColumnMappings.Add("sc", "sc");
 | |
|             tableMapping.ColumnMappings.Add("request", "request");
 | |
|             tableMapping.ColumnMappings.Add("sid", "sid");
 | |
|             tableMapping.ColumnMappings.Add("pumname", "pumname");
 | |
|             tableMapping.ColumnMappings.Add("pumidx", "pumidx");
 | |
|             tableMapping.ColumnMappings.Add("pumscale", "pumscale");
 | |
|             tableMapping.ColumnMappings.Add("pumunit", "pumunit");
 | |
|             tableMapping.ColumnMappings.Add("pumqty", "pumqty");
 | |
|             tableMapping.ColumnMappings.Add("pumprice", "pumprice");
 | |
|             tableMapping.ColumnMappings.Add("pumamt", "pumamt");
 | |
|             tableMapping.ColumnMappings.Add("supply", "supply");
 | |
|             tableMapping.ColumnMappings.Add("supplyidx", "supplyidx");
 | |
|             tableMapping.ColumnMappings.Add("project", "project");
 | |
|             tableMapping.ColumnMappings.Add("projectidx", "projectidx");
 | |
|             tableMapping.ColumnMappings.Add("asset", "asset");
 | |
|             tableMapping.ColumnMappings.Add("edate", "edate");
 | |
|             tableMapping.ColumnMappings.Add("indate", "indate");
 | |
|             tableMapping.ColumnMappings.Add("po", "po");
 | |
|             tableMapping.ColumnMappings.Add("dept", "dept");
 | |
|             tableMapping.ColumnMappings.Add("import", "import");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = "DELETE FROM [Purchase] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND" +
 | |
|                 " [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_state = 1 AND [s" +
 | |
|                 "tate] IS NULL) OR ([state] = @Original_state)) AND ((@IsNull_process = 1 AND [pr" +
 | |
|                 "ocess] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_receive = 1 AN" +
 | |
|                 "D [receive] IS NULL) OR ([receive] = @Original_receive)) AND ((@IsNull_sc = 1 AN" +
 | |
|                 "D [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((@IsNull_request = 1 AND [request" +
 | |
|                 "] IS NULL) OR ([request] = @Original_request)) AND ((@IsNull_sid = 1 AND [sid] I" +
 | |
|                 "S NULL) OR ([sid] = @Original_sid)) AND ((@IsNull_pumidx = 1 AND [pumidx] IS NUL" +
 | |
|                 "L) OR ([pumidx] = @Original_pumidx)) AND ((@IsNull_pumscale = 1 AND [pumscale] I" +
 | |
|                 "S NULL) OR ([pumscale] = @Original_pumscale)) AND ((@IsNull_pumunit = 1 AND [pum" +
 | |
|                 "unit] IS NULL) OR ([pumunit] = @Original_pumunit)) AND ((@IsNull_pumqty = 1 AND " +
 | |
|                 "[pumqty] IS NULL) OR ([pumqty] = @Original_pumqty)) AND ((@IsNull_pumprice = 1 A" +
 | |
|                 "ND [pumprice] IS NULL) OR ([pumprice] = @Original_pumprice)) AND ((@IsNull_pumam" +
 | |
|                 "t = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Original_pumamt)) AND ((@IsNull_supp" +
 | |
|                 "ly = 1 AND [supply] IS NULL) OR ([supply] = @Original_supply)) AND ((@IsNull_sup" +
 | |
|                 "plyidx = 1 AND [supplyidx] IS NULL) OR ([supplyidx] = @Original_supplyidx)) AND " +
 | |
|                 "((@IsNull_projectidx = 1 AND [projectidx] IS NULL) OR ([projectidx] = @Original_" +
 | |
|                 "projectidx)) AND ((@IsNull_asset = 1 AND [asset] IS NULL) OR ([asset] = @Origina" +
 | |
|                 "l_asset)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_e" +
 | |
|                 "date)) AND ((@IsNull_indate = 1 AND [indate] IS NULL) OR ([indate] = @Original_i" +
 | |
|                 "ndate)) AND ((@IsNull_po = 1 AND [po] IS NULL) OR ([po] = @Original_po)) AND ((@" +
 | |
|                 "IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] = @Original_dept)) AND ((@IsNull_" +
 | |
|                 "import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] =" +
 | |
|                 " @Original_wuid) AND ([wdate] = @Original_wdate))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Purchase] ([pdate], [state], [process], [receive], [sc], [request], [sid], [pumname], [pumidx], [pumscale], [pumunit], [pumqty], [pumprice], [pumamt], [supply], [supplyidx], [project], [projectidx], [asset], [edate], [indate], [po], [dept], [import], [wuid], [wdate]) VALUES (@pdate, @state, @process, @receive, @sc, @request, @sid, @pumname, @pumidx, @pumscale, @pumunit, @pumqty, @pumprice, @pumamt, @supply, @supplyidx, @project, @projectidx, @asset, @edate, @indate, @po, @dept, @import, @wuid, @wdate);
 | |
| SELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, import, wuid, wdate FROM Purchase WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumname", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = "UPDATE [Purchase] SET [pdate] = @pdate, [state] = @state, [process] = @process, [" +
 | |
|                 "receive] = @receive, [sc] = @sc, [request] = @request, [sid] = @sid, [pumname] =" +
 | |
|                 " @pumname, [pumidx] = @pumidx, [pumscale] = @pumscale, [pumunit] = @pumunit, [pu" +
 | |
|                 "mqty] = @pumqty, [pumprice] = @pumprice, [pumamt] = @pumamt, [supply] = @supply," +
 | |
|                 " [supplyidx] = @supplyidx, [project] = @project, [projectidx] = @projectidx, [as" +
 | |
|                 "set] = @asset, [edate] = @edate, [indate] = @indate, [po] = @po, [dept] = @dept," +
 | |
|                 " [import] = @import, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_" +
 | |
|                 "idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)" +
 | |
|                 ") AND ((@IsNull_state = 1 AND [state] IS NULL) OR ([state] = @Original_state)) A" +
 | |
|                 "ND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_proces" +
 | |
|                 "s)) AND ((@IsNull_receive = 1 AND [receive] IS NULL) OR ([receive] = @Original_r" +
 | |
|                 "eceive)) AND ((@IsNull_sc = 1 AND [sc] IS NULL) OR ([sc] = @Original_sc)) AND ((" +
 | |
|                 "@IsNull_request = 1 AND [request] IS NULL) OR ([request] = @Original_request)) A" +
 | |
|                 "ND ((@IsNull_sid = 1 AND [sid] IS NULL) OR ([sid] = @Original_sid)) AND ((@IsNul" +
 | |
|                 "l_pumidx = 1 AND [pumidx] IS NULL) OR ([pumidx] = @Original_pumidx)) AND ((@IsNu" +
 | |
|                 "ll_pumscale = 1 AND [pumscale] IS NULL) OR ([pumscale] = @Original_pumscale)) AN" +
 | |
|                 "D ((@IsNull_pumunit = 1 AND [pumunit] IS NULL) OR ([pumunit] = @Original_pumunit" +
 | |
|                 ")) AND ((@IsNull_pumqty = 1 AND [pumqty] IS NULL) OR ([pumqty] = @Original_pumqt" +
 | |
|                 "y)) AND ((@IsNull_pumprice = 1 AND [pumprice] IS NULL) OR ([pumprice] = @Origina" +
 | |
|                 "l_pumprice)) AND ((@IsNull_pumamt = 1 AND [pumamt] IS NULL) OR ([pumamt] = @Orig" +
 | |
|                 "inal_pumamt)) AND ((@IsNull_supply = 1 AND [supply] IS NULL) OR ([supply] = @Ori" +
 | |
|                 "ginal_supply)) AND ((@IsNull_supplyidx = 1 AND [supplyidx] IS NULL) OR ([supplyi" +
 | |
|                 "dx] = @Original_supplyidx)) AND ((@IsNull_projectidx = 1 AND [projectidx] IS NUL" +
 | |
|                 "L) OR ([projectidx] = @Original_projectidx)) AND ((@IsNull_asset = 1 AND [asset]" +
 | |
|                 " IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_edate = 1 AND [edate] IS" +
 | |
|                 " NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_indate = 1 AND [indate] IS " +
 | |
|                 "NULL) OR ([indate] = @Original_indate)) AND ((@IsNull_po = 1 AND [po] IS NULL) O" +
 | |
|                 "R ([po] = @Original_po)) AND ((@IsNull_dept = 1 AND [dept] IS NULL) OR ([dept] =" +
 | |
|                 " @Original_dept)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = " +
 | |
|                 "@Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate)" +
 | |
|                 ");\r\nSELECT TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumna" +
 | |
|                 "me, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, proj" +
 | |
|                 "ect, projectidx, asset, edate, indate, po, dept, import, wuid, wdate FROM Purcha" +
 | |
|                 "se WHERE (idx = @idx) ORDER BY pdate DESC";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumname", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumname", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_state", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_state", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "state", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_receive", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_receive", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "receive", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sc", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sc", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sc", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_request", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_request", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "request", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumscale", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumscale", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumscale", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumunit", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumunit", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumunit", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumqty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumqty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumprice", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumprice", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumprice", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumprice", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pumamt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pumamt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pumamt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "pumamt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supply", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supply", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supply", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_supplyidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "supplyidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_indate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_indate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "indate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_po", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_po", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "po", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dept", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dept", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[2];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = @"SELECT  TOP (10) idx, pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, 
 | |
|                po, dept, import, wuid, wdate
 | |
| FROM     Purchase
 | |
| WHERE  (state <> 'Cancled') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0)
 | |
| ORDER BY pdate DESC";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = @"SELECT TOP (10) asset, dept, edate, idx, import, indate, pdate, po, process, project, projectidx, pumamt, pumidx, pumname, pumprice, pumqty, pumscale, pumunit, receive, request, sc, sid, state, supply, supplyidx, wdate, wuid FROM Purchase WHERE (ISNULL(indate, '') <> '') AND (pumidx = @pumidx) AND (ISNULL(isdel, 0) = 0) ORDER BY indate DESC";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pumidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pumidx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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 FillOrderDate(dsMSSQL.PurchaseDataTable dataTable, global::System.Nullable<int> pumidx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((pumidx.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((int)(pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             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 dsMSSQL.PurchaseDataTable GetOrderDate(global::System.Nullable<int> pumidx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((pumidx.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((int)(pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             dsMSSQL.PurchaseDataTable dataTable = new dsMSSQL.PurchaseDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillInDate(dsMSSQL.PurchaseDataTable dataTable, global::System.Nullable<int> pumidx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((pumidx.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((int)(pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.PurchaseDataTable GetInDate(global::System.Nullable<int> pumidx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((pumidx.HasValue == true)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((int)(pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             dsMSSQL.PurchaseDataTable dataTable = new dsMSSQL.PurchaseDataTable();
 | |
|             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(dsMSSQL.PurchaseDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Purchase");
 | |
|         }
 | |
|         
 | |
|         [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_idx, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_state, 
 | |
|                     string Original_process, 
 | |
|                     string Original_receive, 
 | |
|                     string Original_sc, 
 | |
|                     string Original_request, 
 | |
|                     string Original_sid, 
 | |
|                     global::System.Nullable<int> Original_pumidx, 
 | |
|                     string Original_pumscale, 
 | |
|                     string Original_pumunit, 
 | |
|                     global::System.Nullable<int> Original_pumqty, 
 | |
|                     global::System.Nullable<decimal> Original_pumprice, 
 | |
|                     global::System.Nullable<decimal> Original_pumamt, 
 | |
|                     string Original_supply, 
 | |
|                     global::System.Nullable<int> Original_supplyidx, 
 | |
|                     global::System.Nullable<int> Original_projectidx, 
 | |
|                     string Original_asset, 
 | |
|                     string Original_edate, 
 | |
|                     string Original_indate, 
 | |
|                     string Original_po, 
 | |
|                     string Original_dept, 
 | |
|                     global::System.Nullable<bool> Original_import, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_pdate == 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_pdate));
 | |
|             }
 | |
|             if ((Original_state == 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_state));
 | |
|             }
 | |
|             if ((Original_process == 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_process));
 | |
|             }
 | |
|             if ((Original_receive == 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_receive));
 | |
|             }
 | |
|             if ((Original_sc == 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_sc));
 | |
|             }
 | |
|             if ((Original_request == 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_request));
 | |
|             }
 | |
|             if ((Original_sid == 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_sid));
 | |
|             }
 | |
|             if ((Original_pumidx.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = ((int)(Original_pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pumscale == 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_pumscale));
 | |
|             }
 | |
|             if ((Original_pumunit == 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_pumunit));
 | |
|             }
 | |
|             if ((Original_pumqty.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = ((int)(Original_pumqty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pumprice.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = ((decimal)(Original_pumprice.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pumamt.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[26].Value = ((decimal)(Original_pumamt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_supply == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_supply));
 | |
|             }
 | |
|             if ((Original_supplyidx.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[30].Value = ((int)(Original_supplyidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[30].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_projectidx.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[32].Value = ((int)(Original_projectidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[31].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[32].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_asset == 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_asset));
 | |
|             }
 | |
|             if ((Original_edate == 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_edate));
 | |
|             }
 | |
|             if ((Original_indate == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[38].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[37].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[38].Value = ((string)(Original_indate));
 | |
|             }
 | |
|             if ((Original_po == 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_po));
 | |
|             }
 | |
|             if ((Original_dept == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[42].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[41].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[42].Value = ((string)(Original_dept));
 | |
|             }
 | |
|             if ((Original_import.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[44].Value = ((bool)(Original_import.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[43].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[44].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[45].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[46].Value = ((System.DateTime)(Original_wdate));
 | |
|             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 pdate, 
 | |
|                     string state, 
 | |
|                     string process, 
 | |
|                     string receive, 
 | |
|                     string sc, 
 | |
|                     string request, 
 | |
|                     string sid, 
 | |
|                     string pumname, 
 | |
|                     global::System.Nullable<int> pumidx, 
 | |
|                     string pumscale, 
 | |
|                     string pumunit, 
 | |
|                     global::System.Nullable<int> pumqty, 
 | |
|                     global::System.Nullable<decimal> pumprice, 
 | |
|                     global::System.Nullable<decimal> pumamt, 
 | |
|                     string supply, 
 | |
|                     global::System.Nullable<int> supplyidx, 
 | |
|                     string project, 
 | |
|                     global::System.Nullable<int> projectidx, 
 | |
|                     string asset, 
 | |
|                     string edate, 
 | |
|                     string indate, 
 | |
|                     string po, 
 | |
|                     string dept, 
 | |
|                     global::System.Nullable<bool> import, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate) {
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((state == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(state));
 | |
|             }
 | |
|             if ((process == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(process));
 | |
|             }
 | |
|             if ((receive == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(receive));
 | |
|             }
 | |
|             if ((sc == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(sc));
 | |
|             }
 | |
|             if ((request == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(request));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((pumname == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(pumname));
 | |
|             }
 | |
|             if ((pumidx.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((int)(pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pumscale == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = ((string)(pumscale));
 | |
|             }
 | |
|             if ((pumunit == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((string)(pumunit));
 | |
|             }
 | |
|             if ((pumqty.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((int)(pumqty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pumprice.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(pumprice.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pumamt.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(pumamt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((supply == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((string)(supply));
 | |
|             }
 | |
|             if ((supplyidx.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = ((int)(supplyidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((project == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = ((string)(project));
 | |
|             }
 | |
|             if ((projectidx.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = ((int)(projectidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((asset == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[18].Value = ((string)(asset));
 | |
|             }
 | |
|             if ((edate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[19].Value = ((string)(edate));
 | |
|             }
 | |
|             if ((indate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[20].Value = ((string)(indate));
 | |
|             }
 | |
|             if ((po == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[21].Value = ((string)(po));
 | |
|             }
 | |
|             if ((dept == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[22].Value = ((string)(dept));
 | |
|             }
 | |
|             if ((import.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[23].Value = ((bool)(import.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[24].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[25].Value = ((System.DateTime)(wdate));
 | |
|             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 pdate, 
 | |
|                     string state, 
 | |
|                     string process, 
 | |
|                     string receive, 
 | |
|                     string sc, 
 | |
|                     string request, 
 | |
|                     string sid, 
 | |
|                     string pumname, 
 | |
|                     global::System.Nullable<int> pumidx, 
 | |
|                     string pumscale, 
 | |
|                     string pumunit, 
 | |
|                     global::System.Nullable<int> pumqty, 
 | |
|                     global::System.Nullable<decimal> pumprice, 
 | |
|                     global::System.Nullable<decimal> pumamt, 
 | |
|                     string supply, 
 | |
|                     global::System.Nullable<int> supplyidx, 
 | |
|                     string project, 
 | |
|                     global::System.Nullable<int> projectidx, 
 | |
|                     string asset, 
 | |
|                     string edate, 
 | |
|                     string indate, 
 | |
|                     string po, 
 | |
|                     string dept, 
 | |
|                     global::System.Nullable<bool> import, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_state, 
 | |
|                     string Original_process, 
 | |
|                     string Original_receive, 
 | |
|                     string Original_sc, 
 | |
|                     string Original_request, 
 | |
|                     string Original_sid, 
 | |
|                     global::System.Nullable<int> Original_pumidx, 
 | |
|                     string Original_pumscale, 
 | |
|                     string Original_pumunit, 
 | |
|                     global::System.Nullable<int> Original_pumqty, 
 | |
|                     global::System.Nullable<decimal> Original_pumprice, 
 | |
|                     global::System.Nullable<decimal> Original_pumamt, 
 | |
|                     string Original_supply, 
 | |
|                     global::System.Nullable<int> Original_supplyidx, 
 | |
|                     global::System.Nullable<int> Original_projectidx, 
 | |
|                     string Original_asset, 
 | |
|                     string Original_edate, 
 | |
|                     string Original_indate, 
 | |
|                     string Original_po, 
 | |
|                     string Original_dept, 
 | |
|                     global::System.Nullable<bool> Original_import, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     int idx) {
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((state == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(state));
 | |
|             }
 | |
|             if ((process == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(process));
 | |
|             }
 | |
|             if ((receive == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(receive));
 | |
|             }
 | |
|             if ((sc == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(sc));
 | |
|             }
 | |
|             if ((request == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(request));
 | |
|             }
 | |
|             if ((sid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(sid));
 | |
|             }
 | |
|             if ((pumname == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(pumname));
 | |
|             }
 | |
|             if ((pumidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pumscale == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(pumscale));
 | |
|             }
 | |
|             if ((pumunit == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(pumunit));
 | |
|             }
 | |
|             if ((pumqty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(pumqty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pumprice.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(pumprice.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((pumamt.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(pumamt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((supply == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(supply));
 | |
|             }
 | |
|             if ((supplyidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(supplyidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((project == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(project));
 | |
|             }
 | |
|             if ((projectidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((int)(projectidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((asset == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(asset));
 | |
|             }
 | |
|             if ((edate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(edate));
 | |
|             }
 | |
|             if ((indate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(indate));
 | |
|             }
 | |
|             if ((po == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(po));
 | |
|             }
 | |
|             if ((dept == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(dept));
 | |
|             }
 | |
|             if ((import.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((bool)(import.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[26].Value = ((int)(Original_idx));
 | |
|             if ((Original_pdate == 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_pdate));
 | |
|             }
 | |
|             if ((Original_state == 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_state));
 | |
|             }
 | |
|             if ((Original_process == 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_process));
 | |
|             }
 | |
|             if ((Original_receive == 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_receive));
 | |
|             }
 | |
|             if ((Original_sc == 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_sc));
 | |
|             }
 | |
|             if ((Original_request == 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_request));
 | |
|             }
 | |
|             if ((Original_sid == 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_sid));
 | |
|             }
 | |
|             if ((Original_pumidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_pumidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pumscale == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_pumscale));
 | |
|             }
 | |
|             if ((Original_pumunit == 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_pumunit));
 | |
|             }
 | |
|             if ((Original_pumqty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((int)(Original_pumqty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pumprice.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((decimal)(Original_pumprice.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_pumamt.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[52].Value = ((decimal)(Original_pumamt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_supply == 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_supply));
 | |
|             }
 | |
|             if ((Original_supplyidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[56].Value = ((int)(Original_supplyidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_projectidx.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_projectidx.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_asset == 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_asset));
 | |
|             }
 | |
|             if ((Original_edate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_edate));
 | |
|             }
 | |
|             if ((Original_indate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_indate));
 | |
|             }
 | |
|             if ((Original_po == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_po));
 | |
|             }
 | |
|             if ((Original_dept == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_dept));
 | |
|             }
 | |
|             if ((Original_import.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[70].Value = ((bool)(Original_import.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(Original_wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[73].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 pdate, 
 | |
|                     string state, 
 | |
|                     string process, 
 | |
|                     string receive, 
 | |
|                     string sc, 
 | |
|                     string request, 
 | |
|                     string sid, 
 | |
|                     string pumname, 
 | |
|                     global::System.Nullable<int> pumidx, 
 | |
|                     string pumscale, 
 | |
|                     string pumunit, 
 | |
|                     global::System.Nullable<int> pumqty, 
 | |
|                     global::System.Nullable<decimal> pumprice, 
 | |
|                     global::System.Nullable<decimal> pumamt, 
 | |
|                     string supply, 
 | |
|                     global::System.Nullable<int> supplyidx, 
 | |
|                     string project, 
 | |
|                     global::System.Nullable<int> projectidx, 
 | |
|                     string asset, 
 | |
|                     string edate, 
 | |
|                     string indate, 
 | |
|                     string po, 
 | |
|                     string dept, 
 | |
|                     global::System.Nullable<bool> import, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_state, 
 | |
|                     string Original_process, 
 | |
|                     string Original_receive, 
 | |
|                     string Original_sc, 
 | |
|                     string Original_request, 
 | |
|                     string Original_sid, 
 | |
|                     global::System.Nullable<int> Original_pumidx, 
 | |
|                     string Original_pumscale, 
 | |
|                     string Original_pumunit, 
 | |
|                     global::System.Nullable<int> Original_pumqty, 
 | |
|                     global::System.Nullable<decimal> Original_pumprice, 
 | |
|                     global::System.Nullable<decimal> Original_pumamt, 
 | |
|                     string Original_supply, 
 | |
|                     global::System.Nullable<int> Original_supplyidx, 
 | |
|                     global::System.Nullable<int> Original_projectidx, 
 | |
|                     string Original_asset, 
 | |
|                     string Original_edate, 
 | |
|                     string Original_indate, 
 | |
|                     string Original_po, 
 | |
|                     string Original_dept, 
 | |
|                     global::System.Nullable<bool> Original_import, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate) {
 | |
|             return this.Update(pdate, state, process, receive, sc, request, sid, pumname, pumidx, pumscale, pumunit, pumqty, pumprice, pumamt, supply, supplyidx, project, projectidx, asset, edate, indate, po, dept, import, wuid, wdate, Original_idx, Original_pdate, Original_state, Original_process, Original_receive, Original_sc, Original_request, Original_sid, Original_pumidx, Original_pumscale, Original_pumunit, Original_pumqty, Original_pumprice, Original_pumamt, Original_supply, Original_supplyidx, Original_projectidx, Original_asset, Original_edate, Original_indate, Original_po, Original_dept, Original_import, Original_wuid, Original_wdate, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 ProjectsTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public ProjectsTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "Projects";
 | |
|             tableMapping.ColumnMappings.Add("ddate", "ddate");
 | |
|             tableMapping.ColumnMappings.Add("edate", "edate");
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("name", "name");
 | |
|             tableMapping.ColumnMappings.Add("odate", "odate");
 | |
|             tableMapping.ColumnMappings.Add("part", "part");
 | |
|             tableMapping.ColumnMappings.Add("pdate", "pdate");
 | |
|             tableMapping.ColumnMappings.Add("process", "process");
 | |
|             tableMapping.ColumnMappings.Add("reqstaff", "reqstaff");
 | |
|             tableMapping.ColumnMappings.Add("sdate", "sdate");
 | |
|             tableMapping.ColumnMappings.Add("status", "status");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             tableMapping.ColumnMappings.Add("isdel", "isdel");
 | |
|             tableMapping.ColumnMappings.Add("category", "category");
 | |
|             tableMapping.ColumnMappings.Add("userManager", "userManager");
 | |
|             tableMapping.ColumnMappings.Add("orderno", "orderno");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Projects] WHERE (((@IsNull_ddate = 1 AND [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Original_wdate) AND ([wuid] = @Original_wuid) AND ([gcode] = @Original_gcode) AND ((@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([orderno] = @Original_orderno)))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_category", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [Projects] ([ddate], [edate], [memo], [name], [odate], [part], [pdate], [process], [reqstaff], [sdate], [status], [wdate], [wuid], [gcode], [isdel], [category], [userManager], [orderno]) VALUES (@ddate, @edate, @memo, @name, @odate, @part, @pdate, @process, @reqstaff, @sdate, @status, @wdate, @wuid, @gcode, @isdel, @category, @userManager, @orderno);
 | |
| SELECT ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno FROM Projects WHERE (idx = SCOPE_IDENTITY())";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = "UPDATE [Projects] SET [ddate] = @ddate, [edate] = @edate, [memo] = @memo, [name] " +
 | |
|                 "= @name, [odate] = @odate, [part] = @part, [pdate] = @pdate, [process] = @proces" +
 | |
|                 "s, [reqstaff] = @reqstaff, [sdate] = @sdate, [status] = @status, [wdate] = @wdat" +
 | |
|                 "e, [wuid] = @wuid, [gcode] = @gcode, [isdel] = @isdel, [category] = @category, [" +
 | |
|                 "userManager] = @userManager, [orderno] = @orderno WHERE (((@IsNull_ddate = 1 AND" +
 | |
|                 " [ddate] IS NULL) OR ([ddate] = @Original_ddate)) AND ((@IsNull_edate = 1 AND [e" +
 | |
|                 "date] IS NULL) OR ([edate] = @Original_edate)) AND ([idx] = @Original_idx) AND (" +
 | |
|                 "(@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNul" +
 | |
|                 "l_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_odate" +
 | |
|                 " = 1 AND [odate] IS NULL) OR ([odate] = @Original_odate)) AND ((@IsNull_part = 1" +
 | |
|                 " AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [" +
 | |
|                 "pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_process = 1 AND [p" +
 | |
|                 "rocess] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_reqstaff = 1 " +
 | |
|                 "AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_sdat" +
 | |
|                 "e = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_status " +
 | |
|                 "= 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ([wdate] = @Orig" +
 | |
|                 "inal_wdate) AND ([wuid] = @Original_wuid) AND ([gcode] = @Original_gcode) AND ((" +
 | |
|                 "@IsNull_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@Is" +
 | |
|                 "Null_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) " +
 | |
|                 "AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR ([userManager] = @Or" +
 | |
|                 "iginal_userManager)) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([order" +
 | |
|                 "no] = @Original_orderno)));\r\nSELECT ddate, edate, idx, memo, name, odate, part, " +
 | |
|                 "pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, us" +
 | |
|                 "erManager, orderno FROM Projects WHERE (idx = @idx)";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_category", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_category", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "category", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_orderno", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_orderno", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[2];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = @"SELECT  ddate, edate, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno
 | |
| FROM     Projects
 | |
| WHERE  (idx = @idx)
 | |
| ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') 
 | |
|                THEN '9' ELSE '5' END)";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = @"SELECT  ddate, edate, gcode, idx, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, isdel, category, userManager, orderno, crdue
 | |
| FROM     Projects
 | |
| WHERE  (ISNULL(name, N'') LIKE @search OR
 | |
|                ISNULL(memo, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (status LIKE @search2)
 | |
| ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN '1' WHEN ([status] = '보류') THEN '2' WHEN ([status] = '완료') THEN '3' WHEN ([status] = '취소') 
 | |
|                THEN '9' ELSE '5' END)";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search", global::System.Data.SqlDbType.NVarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@search2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.ProjectsDataTable dataTable, int idx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
 | |
|             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 dsMSSQL.ProjectsDataTable GetData(int idx) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             this.Adapter.SelectCommand.Parameters[0].Value = ((int)(idx));
 | |
|             dsMSSQL.ProjectsDataTable dataTable = new dsMSSQL.ProjectsDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillSearch(dsMSSQL.ProjectsDataTable dataTable, string search, string gcode, string search2) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((search2 == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(search2));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.ProjectsDataTable GetSearch(string search, string gcode, string search2) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((search == null)) {
 | |
|                 throw new global::System.ArgumentNullException("search");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(search));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((search2 == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(search2));
 | |
|             }
 | |
|             dsMSSQL.ProjectsDataTable dataTable = new dsMSSQL.ProjectsDataTable();
 | |
|             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(dsMSSQL.ProjectsDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "Projects");
 | |
|         }
 | |
|         
 | |
|         [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(
 | |
|                     string Original_ddate, 
 | |
|                     string Original_edate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_memo, 
 | |
|                     string Original_name, 
 | |
|                     string Original_odate, 
 | |
|                     string Original_part, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_process, 
 | |
|                     string Original_reqstaff, 
 | |
|                     string Original_sdate, 
 | |
|                     string Original_status, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     string Original_wuid, 
 | |
|                     string Original_gcode, 
 | |
|                     global::System.Nullable<bool> Original_isdel, 
 | |
|                     string Original_category, 
 | |
|                     string Original_userManager, 
 | |
|                     string Original_orderno) {
 | |
|             if ((Original_ddate == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[0].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_ddate));
 | |
|             }
 | |
|             if ((Original_edate == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_edate));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[4].Value = ((int)(Original_idx));
 | |
|             if ((Original_memo == 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_memo));
 | |
|             }
 | |
|             if ((Original_name == 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_name));
 | |
|             }
 | |
|             if ((Original_odate == 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_odate));
 | |
|             }
 | |
|             if ((Original_part == 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_part));
 | |
|             }
 | |
|             if ((Original_pdate == 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_pdate));
 | |
|             }
 | |
|             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_reqstaff == 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_reqstaff));
 | |
|             }
 | |
|             if ((Original_sdate == 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_sdate));
 | |
|             }
 | |
|             if ((Original_status == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_status));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[23].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[25].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             if ((Original_isdel.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((bool)(Original_isdel.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[26].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_category == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_category));
 | |
|             }
 | |
|             if ((Original_userManager == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[31].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[30].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[31].Value = ((string)(Original_userManager));
 | |
|             }
 | |
|             if ((Original_orderno == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[33].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[32].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[33].Value = ((string)(Original_orderno));
 | |
|             }
 | |
|             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 ddate, 
 | |
|                     string edate, 
 | |
|                     string memo, 
 | |
|                     string name, 
 | |
|                     string odate, 
 | |
|                     string part, 
 | |
|                     string pdate, 
 | |
|                     string process, 
 | |
|                     string reqstaff, 
 | |
|                     string sdate, 
 | |
|                     string status, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string wuid, 
 | |
|                     string gcode, 
 | |
|                     global::System.Nullable<bool> isdel, 
 | |
|                     string category, 
 | |
|                     string userManager, 
 | |
|                     string orderno) {
 | |
|             if ((ddate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(ddate));
 | |
|             }
 | |
|             if ((edate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(edate));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(name));
 | |
|             }
 | |
|             if ((odate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(odate));
 | |
|             }
 | |
|             if ((part == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(part));
 | |
|             }
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((process == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((string)(process));
 | |
|             }
 | |
|             if ((reqstaff == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((string)(reqstaff));
 | |
|             }
 | |
|             if ((sdate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = ((string)(sdate));
 | |
|             }
 | |
|             if ((status == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((string)(status));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[11].Value = ((System.DateTime)(wdate));
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(wuid));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((isdel.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((bool)(isdel.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((category == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[15].Value = ((string)(category));
 | |
|             }
 | |
|             if ((userManager == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[16].Value = ((string)(userManager));
 | |
|             }
 | |
|             if ((orderno == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[17].Value = ((string)(orderno));
 | |
|             }
 | |
|             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 ddate, 
 | |
|                     string edate, 
 | |
|                     string memo, 
 | |
|                     string name, 
 | |
|                     string odate, 
 | |
|                     string part, 
 | |
|                     string pdate, 
 | |
|                     string process, 
 | |
|                     string reqstaff, 
 | |
|                     string sdate, 
 | |
|                     string status, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string wuid, 
 | |
|                     string gcode, 
 | |
|                     global::System.Nullable<bool> isdel, 
 | |
|                     string category, 
 | |
|                     string userManager, 
 | |
|                     string orderno, 
 | |
|                     string Original_ddate, 
 | |
|                     string Original_edate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_memo, 
 | |
|                     string Original_name, 
 | |
|                     string Original_odate, 
 | |
|                     string Original_part, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_process, 
 | |
|                     string Original_reqstaff, 
 | |
|                     string Original_sdate, 
 | |
|                     string Original_status, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     string Original_wuid, 
 | |
|                     string Original_gcode, 
 | |
|                     global::System.Nullable<bool> Original_isdel, 
 | |
|                     string Original_category, 
 | |
|                     string Original_userManager, 
 | |
|                     string Original_orderno, 
 | |
|                     int idx) {
 | |
|             if ((ddate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(ddate));
 | |
|             }
 | |
|             if ((edate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(edate));
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((name == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(name));
 | |
|             }
 | |
|             if ((odate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(odate));
 | |
|             }
 | |
|             if ((part == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(part));
 | |
|             }
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((process == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(process));
 | |
|             }
 | |
|             if ((reqstaff == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(reqstaff));
 | |
|             }
 | |
|             if ((sdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(sdate));
 | |
|             }
 | |
|             if ((status == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(status));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(wdate));
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(wuid));
 | |
|             }
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((isdel.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((bool)(isdel.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((category == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(category));
 | |
|             }
 | |
|             if ((userManager == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(userManager));
 | |
|             }
 | |
|             if ((orderno == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(orderno));
 | |
|             }
 | |
|             if ((Original_ddate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_ddate));
 | |
|             }
 | |
|             if ((Original_edate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_edate));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_idx));
 | |
|             if ((Original_memo == 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_memo));
 | |
|             }
 | |
|             if ((Original_name == 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_name));
 | |
|             }
 | |
|             if ((Original_odate == 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_odate));
 | |
|             }
 | |
|             if ((Original_part == 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_part));
 | |
|             }
 | |
|             if ((Original_pdate == 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_pdate));
 | |
|             }
 | |
|             if ((Original_process == 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_process));
 | |
|             }
 | |
|             if ((Original_reqstaff == 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_reqstaff));
 | |
|             }
 | |
|             if ((Original_sdate == 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_sdate));
 | |
|             }
 | |
|             if ((Original_status == 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_status));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[41].Value = ((System.DateTime)(Original_wdate));
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             if ((Original_isdel.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((bool)(Original_isdel.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_category == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_category));
 | |
|             }
 | |
|             if ((Original_userManager == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_userManager));
 | |
|             }
 | |
|             if ((Original_orderno == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_orderno));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 ddate, 
 | |
|                     string edate, 
 | |
|                     string memo, 
 | |
|                     string name, 
 | |
|                     string odate, 
 | |
|                     string part, 
 | |
|                     string pdate, 
 | |
|                     string process, 
 | |
|                     string reqstaff, 
 | |
|                     string sdate, 
 | |
|                     string status, 
 | |
|                     System.DateTime wdate, 
 | |
|                     string wuid, 
 | |
|                     string gcode, 
 | |
|                     global::System.Nullable<bool> isdel, 
 | |
|                     string category, 
 | |
|                     string userManager, 
 | |
|                     string orderno, 
 | |
|                     string Original_ddate, 
 | |
|                     string Original_edate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_memo, 
 | |
|                     string Original_name, 
 | |
|                     string Original_odate, 
 | |
|                     string Original_part, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_process, 
 | |
|                     string Original_reqstaff, 
 | |
|                     string Original_sdate, 
 | |
|                     string Original_status, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     string Original_wuid, 
 | |
|                     string Original_gcode, 
 | |
|                     global::System.Nullable<bool> Original_isdel, 
 | |
|                     string Original_category, 
 | |
|                     string Original_userManager, 
 | |
|                     string Original_orderno) {
 | |
|             return this.Update(ddate, edate, memo, name, odate, part, pdate, process, reqstaff, sdate, status, wdate, wuid, gcode, isdel, category, userManager, orderno, Original_ddate, Original_edate, Original_idx, Original_memo, Original_name, Original_odate, Original_part, Original_pdate, Original_process, Original_reqstaff, Original_sdate, Original_status, Original_wdate, Original_wuid, Original_gcode, Original_isdel, Original_category, Original_userManager, Original_orderno, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 HolidayLIstTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public HolidayLIstTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "HolidayLIst";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("pdate", "pdate");
 | |
|             tableMapping.ColumnMappings.Add("free", "free");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [HolidayLIst] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_free = 1 AND [free] IS NULL) OR ([free] = @Original_free)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_free", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "free", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_free", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "free", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = "INSERT INTO [HolidayLIst] ([pdate], [free], [memo], [wuid], [wdate]) VALUES (@pda" +
 | |
|                 "te, @free, @memo, @wuid, @wdate);\r\nSELECT idx, pdate, free, memo, wuid, wdate FR" +
 | |
|                 "OM HolidayLIst WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@free", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "free", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [HolidayLIst] SET [pdate] = @pdate, [free] = @free, [memo] = @memo, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_free = 1 AND [free] IS NULL) OR ([free] = @Original_free)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
 | |
| SELECT idx, pdate, free, memo, wuid, wdate FROM HolidayLIst WHERE (idx = @idx) ORDER BY pdate";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@free", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "free", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_free", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "free", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_free", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "free", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  idx, pdate, free, memo, wuid, wdate\r\nFROM     HolidayLIst\r\nWHERE  (pdate " +
 | |
|                 "LIKE @yymm)\r\nORDER BY pdate";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@yymm", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.HolidayLIstDataTable dataTable, string yymm) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((yymm == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(yymm));
 | |
|             }
 | |
|             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 dsMSSQL.HolidayLIstDataTable GetData(string yymm) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((yymm == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(yymm));
 | |
|             }
 | |
|             dsMSSQL.HolidayLIstDataTable dataTable = new dsMSSQL.HolidayLIstDataTable();
 | |
|             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(dsMSSQL.HolidayLIstDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "HolidayLIst");
 | |
|         }
 | |
|         
 | |
|         [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_idx, string Original_pdate, global::System.Nullable<bool> Original_free, string Original_memo, string Original_wuid, System.DateTime Original_wdate) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_pdate == 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_pdate));
 | |
|             }
 | |
|             if ((Original_free.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = ((bool)(Original_free.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_memo == 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_memo));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[8].Value = ((System.DateTime)(Original_wdate));
 | |
|             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 pdate, global::System.Nullable<bool> free, string memo, string wuid, System.DateTime wdate) {
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((free.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((bool)(free.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(wdate));
 | |
|             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 pdate, global::System.Nullable<bool> free, string memo, string wuid, System.DateTime wdate, int Original_idx, string Original_pdate, global::System.Nullable<bool> Original_free, string Original_memo, string Original_wuid, System.DateTime Original_wdate, int idx) {
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((free.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((bool)(free.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_idx));
 | |
|             if ((Original_pdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_pdate));
 | |
|             }
 | |
|             if ((Original_free.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((bool)(Original_free.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_memo));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 pdate, global::System.Nullable<bool> free, string memo, string wuid, System.DateTime wdate, int Original_idx, string Original_pdate, global::System.Nullable<bool> Original_free, string Original_memo, string Original_wuid, System.DateTime Original_wdate) {
 | |
|             return this.Update(pdate, free, memo, wuid, wdate, Original_idx, Original_pdate, Original_free, Original_memo, Original_wuid, Original_wdate, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 InventoryUserTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public InventoryUserTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "InventoryUser";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("pdate", "pdate");
 | |
|             tableMapping.ColumnMappings.Add("invtype", "invtype");
 | |
|             tableMapping.ColumnMappings.Add("uid", "uid");
 | |
|             tableMapping.ColumnMappings.Add("item", "item");
 | |
|             tableMapping.ColumnMappings.Add("ItemName", "ItemName");
 | |
|             tableMapping.ColumnMappings.Add("serial", "serial");
 | |
|             tableMapping.ColumnMappings.Add("dr_qty", "dr_qty");
 | |
|             tableMapping.ColumnMappings.Add("dr_amt", "dr_amt");
 | |
|             tableMapping.ColumnMappings.Add("cr_qty", "cr_qty");
 | |
|             tableMapping.ColumnMappings.Add("cr_amt", "cr_amt");
 | |
|             tableMapping.ColumnMappings.Add("memo", "memo");
 | |
|             tableMapping.ColumnMappings.Add("project", "project");
 | |
|             tableMapping.ColumnMappings.Add("projectName", "projectName");
 | |
|             tableMapping.ColumnMappings.Add("place", "place");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [InventoryUser] WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_invtype = 1 AND [invtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NULL) OR ([item] = @Original_item)) AND ((@IsNull_ItemName = 1 AND [ItemName] IS NULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_serial = 1 AND [serial] IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_amt] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_qty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_projectName = 1 AND [projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_invtype", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [InventoryUser] ([pdate], [invtype], [uid], [item], [ItemName], [serial], [dr_qty], [dr_amt], [cr_qty], [cr_amt], [memo], [project], [projectName], [place], [wuid], [wdate]) VALUES (@pdate, @invtype, @uid, @item, @ItemName, @serial, @dr_qty, @dr_amt, @cr_qty, @cr_amt, @memo, @project, @projectName, @place, @wuid, @wdate);
 | |
| SELECT idx, pdate, invtype, uid, item, ItemName, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, projectName, place, wuid, wdate FROM InventoryUser WHERE (idx = SCOPE_IDENTITY())";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = "UPDATE [InventoryUser] SET [pdate] = @pdate, [invtype] = @invtype, [uid] = @uid, " +
 | |
|                 "[item] = @item, [ItemName] = @ItemName, [serial] = @serial, [dr_qty] = @dr_qty, " +
 | |
|                 "[dr_amt] = @dr_amt, [cr_qty] = @cr_qty, [cr_amt] = @cr_amt, [memo] = @memo, [pro" +
 | |
|                 "ject] = @project, [projectName] = @projectName, [place] = @place, [wuid] = @wuid" +
 | |
|                 ", [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_pdate = 1 AND [p" +
 | |
|                 "date] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_invtype = 1 AND [in" +
 | |
|                 "vtype] IS NULL) OR ([invtype] = @Original_invtype)) AND ((@IsNull_uid = 1 AND [u" +
 | |
|                 "id] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_item = 1 AND [item] IS NU" +
 | |
|                 "LL) OR ([item] = @Original_item)) AND ((@IsNull_ItemName = 1 AND [ItemName] IS N" +
 | |
|                 "ULL) OR ([ItemName] = @Original_ItemName)) AND ((@IsNull_serial = 1 AND [serial]" +
 | |
|                 " IS NULL) OR ([serial] = @Original_serial)) AND ((@IsNull_dr_qty = 1 AND [dr_qty" +
 | |
|                 "] IS NULL) OR ([dr_qty] = @Original_dr_qty)) AND ((@IsNull_dr_amt = 1 AND [dr_am" +
 | |
|                 "t] IS NULL) OR ([dr_amt] = @Original_dr_amt)) AND ((@IsNull_cr_qty = 1 AND [cr_q" +
 | |
|                 "ty] IS NULL) OR ([cr_qty] = @Original_cr_qty)) AND ((@IsNull_cr_amt = 1 AND [cr_" +
 | |
|                 "amt] IS NULL) OR ([cr_amt] = @Original_cr_amt)) AND ((@IsNull_memo = 1 AND [memo" +
 | |
|                 "] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_project = 1 AND [project]" +
 | |
|                 " IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_projectName = 1 AND " +
 | |
|                 "[projectName] IS NULL) OR ([projectName] = @Original_projectName)) AND ((@IsNull" +
 | |
|                 "_place = 1 AND [place] IS NULL) OR ([place] = @Original_place)) AND ([wuid] = @O" +
 | |
|                 "riginal_wuid) AND ([wdate] = @Original_wdate));\r\nSELECT idx, pdate, invtype, uid" +
 | |
|                 ", item, ItemName, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, project" +
 | |
|                 "Name, place, wuid, wdate FROM InventoryUser WHERE (idx = @idx)";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_invtype", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_invtype", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "invtype", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_uid", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_item", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "item", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ItemName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ItemName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ItemName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_serial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_serial", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "serial", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "dr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_qty", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_qty", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cr_amt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cr_amt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cr_amt", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "cr_amt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_projectName", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_projectName", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "projectName", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_place", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_place", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "place", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[3];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "SELECT  InventoryUser.*\r\nFROM     InventoryUser";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[1].Connection = this.Connection;
 | |
|             this._commandCollection[1].CommandText = "SELECT  idx, pdate, invtype, uid, item, ItemName, serial, dr_qty, dr_amt, cr_qty," +
 | |
|                 " cr_amt, memo, project, projectName, place, wuid, wdate\r\nFROM     InventoryUser\r" +
 | |
|                 "\nWHERE  (pdate BETWEEN @sd AND @ed) AND (dbo.getUserName(uid) LIKE @uname)\r\nORDE" +
 | |
|                 "R BY pdate";
 | |
|             this._commandCollection[1].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uname", global::System.Data.SqlDbType.VarChar, 1024, global::System.Data.ParameterDirection.Input, 0, 0, "", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[2].Connection = this.Connection;
 | |
|             this._commandCollection[2].CommandText = "SELECT  InventoryUser.*\r\nFROM     InventoryUser\r\nWHERE  (pdate BETWEEN @sd AND @e" +
 | |
|                 "d) AND (uid = @uid)\r\nORDER BY pdate";
 | |
|             this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.InventoryUserDataTable 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 dsMSSQL.InventoryUserDataTable GetData() {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             dsMSSQL.InventoryUserDataTable dataTable = new dsMSSQL.InventoryUserDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillByName(dsMSSQL.InventoryUserDataTable dataTable, string sd, string ed, string uname) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((sd == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
 | |
|             }
 | |
|             if ((ed == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
 | |
|             }
 | |
|             if ((uname == null)) {
 | |
|                 throw new global::System.ArgumentNullException("uname");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uname));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.InventoryUserDataTable GetbyName(string sd, string ed, string uname) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[1];
 | |
|             if ((sd == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
 | |
|             }
 | |
|             if ((ed == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
 | |
|             }
 | |
|             if ((uname == null)) {
 | |
|                 throw new global::System.ArgumentNullException("uname");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uname));
 | |
|             }
 | |
|             dsMSSQL.InventoryUserDataTable dataTable = new dsMSSQL.InventoryUserDataTable();
 | |
|             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")]
 | |
|         [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)]
 | |
|         public virtual int FillByUID(dsMSSQL.InventoryUserDataTable dataTable, string sd, string ed, string uid) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[2];
 | |
|             if ((sd == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
 | |
|             }
 | |
|             if ((ed == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
 | |
|             }
 | |
|             if ((uid == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
 | |
|             }
 | |
|             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, false)]
 | |
|         public virtual dsMSSQL.InventoryUserDataTable GetbyUID(string sd, string ed, string uid) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[2];
 | |
|             if ((sd == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(sd));
 | |
|             }
 | |
|             if ((ed == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[1].Value = ((string)(ed));
 | |
|             }
 | |
|             if ((uid == null)) {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[2].Value = ((string)(uid));
 | |
|             }
 | |
|             dsMSSQL.InventoryUserDataTable dataTable = new dsMSSQL.InventoryUserDataTable();
 | |
|             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(dsMSSQL.InventoryUserDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "InventoryUser");
 | |
|         }
 | |
|         
 | |
|         [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_idx, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_invtype, 
 | |
|                     string Original_uid, 
 | |
|                     global::System.Nullable<int> Original_item, 
 | |
|                     string Original_ItemName, 
 | |
|                     string Original_serial, 
 | |
|                     global::System.Nullable<int> Original_dr_qty, 
 | |
|                     global::System.Nullable<decimal> Original_dr_amt, 
 | |
|                     global::System.Nullable<int> Original_cr_qty, 
 | |
|                     global::System.Nullable<decimal> Original_cr_amt, 
 | |
|                     string Original_memo, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     string Original_projectName, 
 | |
|                     string Original_place, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_pdate == 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_pdate));
 | |
|             }
 | |
|             if ((Original_invtype == 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_invtype));
 | |
|             }
 | |
|             if ((Original_uid == 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_uid));
 | |
|             }
 | |
|             if ((Original_item.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_item.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_ItemName == 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_ItemName));
 | |
|             }
 | |
|             if ((Original_serial == 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_serial));
 | |
|             }
 | |
|             if ((Original_dr_qty.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[14].Value = ((int)(Original_dr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_dr_amt.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = ((decimal)(Original_dr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_cr_qty.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[18].Value = ((int)(Original_cr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_cr_amt.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[20].Value = ((decimal)(Original_cr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_memo == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[22].Value = ((string)(Original_memo));
 | |
|             }
 | |
|             if ((Original_project.HasValue == true)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = ((int)(Original_project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[23].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[24].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_projectName == 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_projectName));
 | |
|             }
 | |
|             if ((Original_place == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_place));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[29].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[30].Value = ((System.DateTime)(Original_wdate));
 | |
|             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 pdate, 
 | |
|                     string invtype, 
 | |
|                     string uid, 
 | |
|                     global::System.Nullable<int> item, 
 | |
|                     string ItemName, 
 | |
|                     string serial, 
 | |
|                     global::System.Nullable<int> dr_qty, 
 | |
|                     global::System.Nullable<decimal> dr_amt, 
 | |
|                     global::System.Nullable<int> cr_qty, 
 | |
|                     global::System.Nullable<decimal> cr_amt, 
 | |
|                     string memo, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     string projectName, 
 | |
|                     string place, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate) {
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((invtype == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(invtype));
 | |
|             }
 | |
|             if ((uid == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(uid));
 | |
|             }
 | |
|             if ((item.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((int)(item.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((ItemName == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(ItemName));
 | |
|             }
 | |
|             if ((serial == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[5].Value = ((string)(serial));
 | |
|             }
 | |
|             if ((dr_qty.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = ((int)(dr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((dr_amt.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(dr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((cr_qty.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = ((int)(cr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((cr_amt.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(cr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[10].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((project.HasValue == true)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = ((int)(project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((projectName == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[12].Value = ((string)(projectName));
 | |
|             }
 | |
|             if ((place == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[13].Value = ((string)(place));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[14].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[15].Value = ((System.DateTime)(wdate));
 | |
|             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 pdate, 
 | |
|                     string invtype, 
 | |
|                     string uid, 
 | |
|                     global::System.Nullable<int> item, 
 | |
|                     string ItemName, 
 | |
|                     string serial, 
 | |
|                     global::System.Nullable<int> dr_qty, 
 | |
|                     global::System.Nullable<decimal> dr_amt, 
 | |
|                     global::System.Nullable<int> cr_qty, 
 | |
|                     global::System.Nullable<decimal> cr_amt, 
 | |
|                     string memo, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     string projectName, 
 | |
|                     string place, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_invtype, 
 | |
|                     string Original_uid, 
 | |
|                     global::System.Nullable<int> Original_item, 
 | |
|                     string Original_ItemName, 
 | |
|                     string Original_serial, 
 | |
|                     global::System.Nullable<int> Original_dr_qty, 
 | |
|                     global::System.Nullable<decimal> Original_dr_amt, 
 | |
|                     global::System.Nullable<int> Original_cr_qty, 
 | |
|                     global::System.Nullable<decimal> Original_cr_amt, 
 | |
|                     string Original_memo, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     string Original_projectName, 
 | |
|                     string Original_place, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate, 
 | |
|                     int idx) {
 | |
|             if ((pdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(pdate));
 | |
|             }
 | |
|             if ((invtype == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(invtype));
 | |
|             }
 | |
|             if ((uid == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(uid));
 | |
|             }
 | |
|             if ((item.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(item.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((ItemName == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(ItemName));
 | |
|             }
 | |
|             if ((serial == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(serial));
 | |
|             }
 | |
|             if ((dr_qty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(dr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((dr_amt.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(dr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((cr_qty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(cr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((cr_amt.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(cr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((memo == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(memo));
 | |
|             }
 | |
|             if ((project.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((int)(project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((projectName == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(projectName));
 | |
|             }
 | |
|             if ((place == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(place));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
 | |
|             if ((Original_pdate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_pdate));
 | |
|             }
 | |
|             if ((Original_invtype == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_invtype));
 | |
|             }
 | |
|             if ((Original_uid == 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_uid));
 | |
|             }
 | |
|             if ((Original_item.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = ((int)(Original_item.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_ItemName == 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_ItemName));
 | |
|             }
 | |
|             if ((Original_serial == 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_serial));
 | |
|             }
 | |
|             if ((Original_dr_qty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_dr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_dr_amt.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[32].Value = ((decimal)(Original_dr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_cr_qty.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_cr_qty.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_cr_amt.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[36].Value = ((decimal)(Original_cr_amt.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_memo == 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_memo));
 | |
|             }
 | |
|             if ((Original_project.HasValue == true)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_project.Value));
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             if ((Original_projectName == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_projectName));
 | |
|             }
 | |
|             if ((Original_place == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_place));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[46].Value = ((System.DateTime)(Original_wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[47].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 pdate, 
 | |
|                     string invtype, 
 | |
|                     string uid, 
 | |
|                     global::System.Nullable<int> item, 
 | |
|                     string ItemName, 
 | |
|                     string serial, 
 | |
|                     global::System.Nullable<int> dr_qty, 
 | |
|                     global::System.Nullable<decimal> dr_amt, 
 | |
|                     global::System.Nullable<int> cr_qty, 
 | |
|                     global::System.Nullable<decimal> cr_amt, 
 | |
|                     string memo, 
 | |
|                     global::System.Nullable<int> project, 
 | |
|                     string projectName, 
 | |
|                     string place, 
 | |
|                     string wuid, 
 | |
|                     System.DateTime wdate, 
 | |
|                     int Original_idx, 
 | |
|                     string Original_pdate, 
 | |
|                     string Original_invtype, 
 | |
|                     string Original_uid, 
 | |
|                     global::System.Nullable<int> Original_item, 
 | |
|                     string Original_ItemName, 
 | |
|                     string Original_serial, 
 | |
|                     global::System.Nullable<int> Original_dr_qty, 
 | |
|                     global::System.Nullable<decimal> Original_dr_amt, 
 | |
|                     global::System.Nullable<int> Original_cr_qty, 
 | |
|                     global::System.Nullable<decimal> Original_cr_amt, 
 | |
|                     string Original_memo, 
 | |
|                     global::System.Nullable<int> Original_project, 
 | |
|                     string Original_projectName, 
 | |
|                     string Original_place, 
 | |
|                     string Original_wuid, 
 | |
|                     System.DateTime Original_wdate) {
 | |
|             return this.Update(pdate, invtype, uid, item, ItemName, serial, dr_qty, dr_amt, cr_qty, cr_amt, memo, project, projectName, place, wuid, wdate, Original_idx, Original_pdate, Original_invtype, Original_uid, Original_item, Original_ItemName, Original_serial, Original_dr_qty, Original_dr_amt, Original_cr_qty, Original_cr_amt, Original_memo, Original_project, Original_projectName, Original_place, Original_wuid, Original_wdate, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 EETGW_DocuFormTableAdapter : global::System.ComponentModel.Component {
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlDataAdapter _adapter;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlConnection _connection;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlTransaction _transaction;
 | |
|         
 | |
|         private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
 | |
|         
 | |
|         private bool _clearBeforeFill;
 | |
|         
 | |
|         [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
 | |
|         [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
 | |
|         public EETGW_DocuFormTableAdapter() {
 | |
|             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.SqlClient.SqlDataAdapter 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.SqlClient.SqlConnection 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.SqlClient.SqlCommand)(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.SqlClient.SqlTransaction 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.SqlClient.SqlCommand[] 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.SqlClient.SqlDataAdapter();
 | |
|             global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
 | |
|             tableMapping.SourceTable = "Table";
 | |
|             tableMapping.DataSetTable = "EETGW_DocuForm";
 | |
|             tableMapping.ColumnMappings.Add("idx", "idx");
 | |
|             tableMapping.ColumnMappings.Add("gcode", "gcode");
 | |
|             tableMapping.ColumnMappings.Add("cate", "cate");
 | |
|             tableMapping.ColumnMappings.Add("title", "title");
 | |
|             tableMapping.ColumnMappings.Add("body", "body");
 | |
|             tableMapping.ColumnMappings.Add("wuid", "wuid");
 | |
|             tableMapping.ColumnMappings.Add("wdate", "wdate");
 | |
|             this._adapter.TableMappings.Add(tableMapping);
 | |
|             this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.DeleteCommand.Connection = this.Connection;
 | |
|             this._adapter.DeleteCommand.CommandText = @"DELETE FROM [eetgw_docuform] WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
 | |
|             this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.InsertCommand.Connection = this.Connection;
 | |
|             this._adapter.InsertCommand.CommandText = @"INSERT INTO [eetgw_docuform] ([gcode], [cate], [title], [body], [wuid], [wdate]) VALUES (@gcode, @cate, @title, @body, @wuid, @wdate);
 | |
| SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx = SCOPE_IDENTITY()) ORDER BY cate, title";
 | |
|             this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@body", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "body", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._adapter.UpdateCommand.Connection = this.Connection;
 | |
|             this._adapter.UpdateCommand.CommandText = @"UPDATE [eetgw_docuform] SET [gcode] = @gcode, [cate] = @cate, [title] = @title, [body] = @body, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
 | |
| SELECT idx, gcode, cate, title, body, wuid, wdate FROM EETGW_DocuForm WHERE (idx = @idx) ORDER BY cate, title";
 | |
|             this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@body", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "body", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
 | |
|             this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, 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.SqlClient.SqlConnection();
 | |
|             this._connection.ConnectionString = global::FCM0000.Properties.Settings.Default.gwcs;
 | |
|         }
 | |
|         
 | |
|         [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.SqlClient.SqlCommand[1];
 | |
|             this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
 | |
|             this._commandCollection[0].Connection = this.Connection;
 | |
|             this._commandCollection[0].CommandText = "select * from eetgw_docuform\r\nwhere gcode =@gcode\r\norder by cate,title";
 | |
|             this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
 | |
|             this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
 | |
|         }
 | |
|         
 | |
|         [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(dsMSSQL.EETGW_DocuFormDataTable dataTable, string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             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 dsMSSQL.EETGW_DocuFormDataTable GetData(string gcode) {
 | |
|             this.Adapter.SelectCommand = this.CommandCollection[0];
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.SelectCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             dsMSSQL.EETGW_DocuFormDataTable dataTable = new dsMSSQL.EETGW_DocuFormDataTable();
 | |
|             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(dsMSSQL.EETGW_DocuFormDataTable 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(dsMSSQL dataSet) {
 | |
|             return this.Adapter.Update(dataSet, "EETGW_DocuForm");
 | |
|         }
 | |
|         
 | |
|         [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_idx, string Original_gcode, string Original_cate, string Original_title, string Original_wuid, System.DateTime Original_wdate) {
 | |
|             this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             if ((Original_cate == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_cate));
 | |
|             }
 | |
|             if ((Original_title == null)) {
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
 | |
|                 this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_title));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.DeleteCommand.Parameters[7].Value = ((System.DateTime)(Original_wdate));
 | |
|             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 gcode, string cate, string title, string body, string wuid, System.DateTime wdate) {
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((title == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(title));
 | |
|             }
 | |
|             if ((body == null)) {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(body));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(wdate));
 | |
|             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 gcode, string cate, string title, string body, string wuid, System.DateTime wdate, int Original_idx, string Original_gcode, string Original_cate, string Original_title, string Original_wuid, System.DateTime Original_wdate, int idx) {
 | |
|             if ((gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(gcode));
 | |
|             }
 | |
|             if ((cate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(cate));
 | |
|             }
 | |
|             if ((title == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(title));
 | |
|             }
 | |
|             if ((body == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(body));
 | |
|             }
 | |
|             if ((wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_idx));
 | |
|             if ((Original_gcode == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_gcode");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_gcode));
 | |
|             }
 | |
|             if ((Original_cate == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_cate));
 | |
|             }
 | |
|             if ((Original_title == null)) {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
 | |
|                 this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_title));
 | |
|             }
 | |
|             if ((Original_wuid == null)) {
 | |
|                 throw new global::System.ArgumentNullException("Original_wuid");
 | |
|             }
 | |
|             else {
 | |
|                 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_wuid));
 | |
|             }
 | |
|             this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_wdate));
 | |
|             this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(idx));
 | |
|             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();
 | |
|                 }
 | |
|             }
 | |
|         }
 | |
|         
 | |
|         [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 gcode, string cate, string title, string body, string wuid, System.DateTime wdate, int Original_idx, string Original_gcode, string Original_cate, string Original_title, string Original_wuid, System.DateTime Original_wdate) {
 | |
|             return this.Update(gcode, cate, title, body, wuid, wdate, Original_idx, Original_gcode, Original_cate, Original_title, Original_wuid, Original_wdate, Original_idx);
 | |
|         }
 | |
|     }
 | |
|     
 | |
|     /// <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 ItemsTableAdapter _itemsTableAdapter;
 | |
|         
 | |
|         private CommonTableAdapter _commonTableAdapter;
 | |
|         
 | |
|         private BoardTableAdapter _boardTableAdapter;
 | |
|         
 | |
|         private RequestItemTableAdapter _requestItemTableAdapter;
 | |
|         
 | |
|         private CustomsTableAdapter _customsTableAdapter;
 | |
|         
 | |
|         private StaffTableAdapter _staffTableAdapter;
 | |
|         
 | |
|         private PurchaseTableAdapter _purchaseTableAdapter;
 | |
|         
 | |
|         private ProjectsTableAdapter _projectsTableAdapter;
 | |
|         
 | |
|         private HolidayLIstTableAdapter _holidayLIstTableAdapter;
 | |
|         
 | |
|         private InventoryUserTableAdapter _inventoryUserTableAdapter;
 | |
|         
 | |
|         private EETGW_DocuFormTableAdapter _eETGW_DocuFormTableAdapter;
 | |
|         
 | |
|         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 ItemsTableAdapter ItemsTableAdapter {
 | |
|             get {
 | |
|                 return this._itemsTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._itemsTableAdapter = 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 CommonTableAdapter CommonTableAdapter {
 | |
|             get {
 | |
|                 return this._commonTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._commonTableAdapter = 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 BoardTableAdapter BoardTableAdapter {
 | |
|             get {
 | |
|                 return this._boardTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._boardTableAdapter = 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 RequestItemTableAdapter RequestItemTableAdapter {
 | |
|             get {
 | |
|                 return this._requestItemTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._requestItemTableAdapter = 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 CustomsTableAdapter CustomsTableAdapter {
 | |
|             get {
 | |
|                 return this._customsTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._customsTableAdapter = 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 StaffTableAdapter StaffTableAdapter {
 | |
|             get {
 | |
|                 return this._staffTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._staffTableAdapter = 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 PurchaseTableAdapter PurchaseTableAdapter {
 | |
|             get {
 | |
|                 return this._purchaseTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._purchaseTableAdapter = 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 ProjectsTableAdapter ProjectsTableAdapter {
 | |
|             get {
 | |
|                 return this._projectsTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._projectsTableAdapter = 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 HolidayLIstTableAdapter HolidayLIstTableAdapter {
 | |
|             get {
 | |
|                 return this._holidayLIstTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._holidayLIstTableAdapter = 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 InventoryUserTableAdapter InventoryUserTableAdapter {
 | |
|             get {
 | |
|                 return this._inventoryUserTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._inventoryUserTableAdapter = 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 EETGW_DocuFormTableAdapter EETGW_DocuFormTableAdapter {
 | |
|             get {
 | |
|                 return this._eETGW_DocuFormTableAdapter;
 | |
|             }
 | |
|             set {
 | |
|                 this._eETGW_DocuFormTableAdapter = 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._itemsTableAdapter != null) 
 | |
|                             && (this._itemsTableAdapter.Connection != null))) {
 | |
|                     return this._itemsTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._commonTableAdapter != null) 
 | |
|                             && (this._commonTableAdapter.Connection != null))) {
 | |
|                     return this._commonTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._boardTableAdapter != null) 
 | |
|                             && (this._boardTableAdapter.Connection != null))) {
 | |
|                     return this._boardTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._requestItemTableAdapter != null) 
 | |
|                             && (this._requestItemTableAdapter.Connection != null))) {
 | |
|                     return this._requestItemTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._customsTableAdapter != null) 
 | |
|                             && (this._customsTableAdapter.Connection != null))) {
 | |
|                     return this._customsTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._staffTableAdapter != null) 
 | |
|                             && (this._staffTableAdapter.Connection != null))) {
 | |
|                     return this._staffTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._purchaseTableAdapter != null) 
 | |
|                             && (this._purchaseTableAdapter.Connection != null))) {
 | |
|                     return this._purchaseTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._projectsTableAdapter != null) 
 | |
|                             && (this._projectsTableAdapter.Connection != null))) {
 | |
|                     return this._projectsTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._holidayLIstTableAdapter != null) 
 | |
|                             && (this._holidayLIstTableAdapter.Connection != null))) {
 | |
|                     return this._holidayLIstTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._inventoryUserTableAdapter != null) 
 | |
|                             && (this._inventoryUserTableAdapter.Connection != null))) {
 | |
|                     return this._inventoryUserTableAdapter.Connection;
 | |
|                 }
 | |
|                 if (((this._eETGW_DocuFormTableAdapter != null) 
 | |
|                             && (this._eETGW_DocuFormTableAdapter.Connection != null))) {
 | |
|                     return this._eETGW_DocuFormTableAdapter.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._itemsTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._commonTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._boardTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._requestItemTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._customsTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._staffTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._purchaseTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._projectsTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._holidayLIstTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._inventoryUserTableAdapter != null)) {
 | |
|                     count = (count + 1);
 | |
|                 }
 | |
|                 if ((this._eETGW_DocuFormTableAdapter != 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(dsMSSQL 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._itemsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Items.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._itemsTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._commonTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Common.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._commonTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._boardTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._boardTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._requestItemTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.RequestItem.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._requestItemTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._customsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Customs.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._customsTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._staffTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Staff.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._staffTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._purchaseTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Purchase.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._purchaseTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._projectsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._projectsTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._holidayLIstTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.HolidayLIst.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._holidayLIstTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._inventoryUserTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.InventoryUser.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._inventoryUserTableAdapter.Update(updatedRows));
 | |
|                     allChangedRows.AddRange(updatedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._eETGW_DocuFormTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] updatedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
 | |
|                 updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
 | |
|                 if (((updatedRows != null) 
 | |
|                             && (0 < updatedRows.Length))) {
 | |
|                     result = (result + this._eETGW_DocuFormTableAdapter.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(dsMSSQL dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
 | |
|             int result = 0;
 | |
|             if ((this._itemsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Items.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._itemsTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._commonTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Common.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._commonTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._boardTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._boardTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._requestItemTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.RequestItem.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._requestItemTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._customsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Customs.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._customsTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._staffTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Staff.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._staffTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._purchaseTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Purchase.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._purchaseTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._projectsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._projectsTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._holidayLIstTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.HolidayLIst.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._holidayLIstTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._inventoryUserTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.InventoryUser.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._inventoryUserTableAdapter.Update(addedRows));
 | |
|                     allAddedRows.AddRange(addedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._eETGW_DocuFormTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] addedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.Added);
 | |
|                 if (((addedRows != null) 
 | |
|                             && (0 < addedRows.Length))) {
 | |
|                     result = (result + this._eETGW_DocuFormTableAdapter.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(dsMSSQL dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
 | |
|             int result = 0;
 | |
|             if ((this._eETGW_DocuFormTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.EETGW_DocuForm.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._eETGW_DocuFormTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._inventoryUserTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.InventoryUser.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._inventoryUserTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._holidayLIstTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.HolidayLIst.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._holidayLIstTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._projectsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Projects.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._projectsTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._purchaseTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Purchase.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._purchaseTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._staffTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Staff.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._staffTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._customsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Customs.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._customsTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._requestItemTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.RequestItem.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._requestItemTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._boardTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Board.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._boardTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._commonTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Common.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._commonTableAdapter.Update(deletedRows));
 | |
|                     allChangedRows.AddRange(deletedRows);
 | |
|                 }
 | |
|             }
 | |
|             if ((this._itemsTableAdapter != null)) {
 | |
|                 global::System.Data.DataRow[] deletedRows = dataSet.Items.Select(null, null, global::System.Data.DataViewRowState.Deleted);
 | |
|                 if (((deletedRows != null) 
 | |
|                             && (0 < deletedRows.Length))) {
 | |
|                     result = (result + this._itemsTableAdapter.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(dsMSSQL dataSet) {
 | |
|             if ((dataSet == null)) {
 | |
|                 throw new global::System.ArgumentNullException("dataSet");
 | |
|             }
 | |
|             if ((dataSet.HasChanges() == false)) {
 | |
|                 return 0;
 | |
|             }
 | |
|             if (((this._itemsTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._itemsTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._commonTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._commonTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._boardTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._boardTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._requestItemTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._requestItemTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._customsTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._customsTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._staffTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._staffTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._purchaseTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._purchaseTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._projectsTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._projectsTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._holidayLIstTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._holidayLIstTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._inventoryUserTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._inventoryUserTableAdapter.Connection) == false))) {
 | |
|                 throw new global::System.ArgumentException("TableAdapterManager에서 관리하는 모든 TableAdapter에는 동일한 연결 문자열을 사용해야 합니다.");
 | |
|             }
 | |
|             if (((this._eETGW_DocuFormTableAdapter != null) 
 | |
|                         && (this.MatchTableAdapterConnection(this._eETGW_DocuFormTableAdapter.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._itemsTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._itemsTableAdapter, this._itemsTableAdapter.Connection);
 | |
|                     this._itemsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._itemsTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._itemsTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._itemsTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._itemsTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._commonTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._commonTableAdapter, this._commonTableAdapter.Connection);
 | |
|                     this._commonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._commonTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._commonTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._commonTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._commonTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._boardTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._boardTableAdapter, this._boardTableAdapter.Connection);
 | |
|                     this._boardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._boardTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._boardTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._boardTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._boardTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._requestItemTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._requestItemTableAdapter, this._requestItemTableAdapter.Connection);
 | |
|                     this._requestItemTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._requestItemTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._requestItemTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._requestItemTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._requestItemTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._customsTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._customsTableAdapter, this._customsTableAdapter.Connection);
 | |
|                     this._customsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._customsTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._customsTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._customsTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._customsTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._staffTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._staffTableAdapter, this._staffTableAdapter.Connection);
 | |
|                     this._staffTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._staffTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._staffTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._staffTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._staffTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._purchaseTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._purchaseTableAdapter, this._purchaseTableAdapter.Connection);
 | |
|                     this._purchaseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._purchaseTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._purchaseTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._purchaseTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._purchaseTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._projectsTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._projectsTableAdapter, this._projectsTableAdapter.Connection);
 | |
|                     this._projectsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._projectsTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._projectsTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._projectsTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._projectsTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._holidayLIstTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._holidayLIstTableAdapter, this._holidayLIstTableAdapter.Connection);
 | |
|                     this._holidayLIstTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._holidayLIstTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._holidayLIstTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._holidayLIstTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._holidayLIstTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._inventoryUserTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._inventoryUserTableAdapter, this._inventoryUserTableAdapter.Connection);
 | |
|                     this._inventoryUserTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._inventoryUserTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._inventoryUserTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._inventoryUserTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._inventoryUserTableAdapter.Adapter);
 | |
|                     }
 | |
|                 }
 | |
|                 if ((this._eETGW_DocuFormTableAdapter != null)) {
 | |
|                     revertConnections.Add(this._eETGW_DocuFormTableAdapter, this._eETGW_DocuFormTableAdapter.Connection);
 | |
|                     this._eETGW_DocuFormTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
 | |
|                     this._eETGW_DocuFormTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
 | |
|                     if (this._eETGW_DocuFormTableAdapter.Adapter.AcceptChangesDuringUpdate) {
 | |
|                         this._eETGW_DocuFormTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
 | |
|                         adaptersWithAcceptChangesDuringUpdate.Add(this._eETGW_DocuFormTableAdapter.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._itemsTableAdapter != null)) {
 | |
|                     this._itemsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._itemsTableAdapter]));
 | |
|                     this._itemsTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._commonTableAdapter != null)) {
 | |
|                     this._commonTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._commonTableAdapter]));
 | |
|                     this._commonTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._boardTableAdapter != null)) {
 | |
|                     this._boardTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._boardTableAdapter]));
 | |
|                     this._boardTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._requestItemTableAdapter != null)) {
 | |
|                     this._requestItemTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._requestItemTableAdapter]));
 | |
|                     this._requestItemTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._customsTableAdapter != null)) {
 | |
|                     this._customsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._customsTableAdapter]));
 | |
|                     this._customsTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._staffTableAdapter != null)) {
 | |
|                     this._staffTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._staffTableAdapter]));
 | |
|                     this._staffTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._purchaseTableAdapter != null)) {
 | |
|                     this._purchaseTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._purchaseTableAdapter]));
 | |
|                     this._purchaseTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._projectsTableAdapter != null)) {
 | |
|                     this._projectsTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._projectsTableAdapter]));
 | |
|                     this._projectsTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._holidayLIstTableAdapter != null)) {
 | |
|                     this._holidayLIstTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._holidayLIstTableAdapter]));
 | |
|                     this._holidayLIstTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._inventoryUserTableAdapter != null)) {
 | |
|                     this._inventoryUserTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._inventoryUserTableAdapter]));
 | |
|                     this._inventoryUserTableAdapter.Transaction = null;
 | |
|                 }
 | |
|                 if ((this._eETGW_DocuFormTableAdapter != null)) {
 | |
|                     this._eETGW_DocuFormTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._eETGW_DocuFormTableAdapter]));
 | |
|                     this._eETGW_DocuFormTableAdapter.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 | 
