//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.33440 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #pragma warning disable 1591 namespace Saving.Applications.hr.ws_hr_master_ctrl { /// ///Represents a strongly typed in-memory cache of data. /// [global::System.Serializable()] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] [global::System.Xml.Serialization.XmlRootAttribute("DataSet1")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] public partial class DataSet1 : global::System.Data.DataSet { private HREMPLOYEEDataTable tableHREMPLOYEE; private HREMPLOYEEFAMILYDataTable tableHREMPLOYEEFAMILY; private HREMPLOYEEEDUDataTable tableHREMPLOYEEEDU; private HREMPLOYEEEXPERIENCEDataTable tableHREMPLOYEEEXPERIENCE; private HREMPLOYEETRAININGDataTable tableHREMPLOYEETRAINING; private HREMPLOYEEASSISTDataTable tableHREMPLOYEEASSIST; private DT_MainDataTable tableDT_Main; private DT_SalaryDataTable tableDT_Salary; private HRGARANTEEDataTable tableHRGARANTEE; private HRLOGLEAVEDataTable tableHRLOGLEAVE; private HRLOGCHANGEWORKDataTable tableHRLOGCHANGEWORK; private global::System.Data.DataRelation relationSYS_C00361509; private global::System.Data.DataRelation relationSYS_C00361507; private global::System.Data.DataRelation relationSYS_C00361508; private global::System.Data.DataRelation relationSYS_C00361510; private global::System.Data.DataRelation relationSYS_C00361506; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DataSet1() { 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", "4.0.0.0")] protected DataSet1(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["HREMPLOYEE"] != null)) { base.Tables.Add(new HREMPLOYEEDataTable(ds.Tables["HREMPLOYEE"])); } if ((ds.Tables["HREMPLOYEEFAMILY"] != null)) { base.Tables.Add(new HREMPLOYEEFAMILYDataTable(ds.Tables["HREMPLOYEEFAMILY"])); } if ((ds.Tables["HREMPLOYEEEDU"] != null)) { base.Tables.Add(new HREMPLOYEEEDUDataTable(ds.Tables["HREMPLOYEEEDU"])); } if ((ds.Tables["HREMPLOYEEEXPERIENCE"] != null)) { base.Tables.Add(new HREMPLOYEEEXPERIENCEDataTable(ds.Tables["HREMPLOYEEEXPERIENCE"])); } if ((ds.Tables["HREMPLOYEETRAINING"] != null)) { base.Tables.Add(new HREMPLOYEETRAININGDataTable(ds.Tables["HREMPLOYEETRAINING"])); } if ((ds.Tables["HREMPLOYEEASSIST"] != null)) { base.Tables.Add(new HREMPLOYEEASSISTDataTable(ds.Tables["HREMPLOYEEASSIST"])); } if ((ds.Tables["DT_Main"] != null)) { base.Tables.Add(new DT_MainDataTable(ds.Tables["DT_Main"])); } if ((ds.Tables["DT_Salary"] != null)) { base.Tables.Add(new DT_SalaryDataTable(ds.Tables["DT_Salary"])); } if ((ds.Tables["HRGARANTEE"] != null)) { base.Tables.Add(new HRGARANTEEDataTable(ds.Tables["HRGARANTEE"])); } if ((ds.Tables["HRLOGLEAVE"] != null)) { base.Tables.Add(new HRLOGLEAVEDataTable(ds.Tables["HRLOGLEAVE"])); } if ((ds.Tables["HRLOGCHANGEWORK"] != null)) { base.Tables.Add(new HRLOGCHANGEWORKDataTable(ds.Tables["HRLOGCHANGEWORK"])); } 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", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HREMPLOYEEDataTable HREMPLOYEE { get { return this.tableHREMPLOYEE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HREMPLOYEEFAMILYDataTable HREMPLOYEEFAMILY { get { return this.tableHREMPLOYEEFAMILY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HREMPLOYEEEDUDataTable HREMPLOYEEEDU { get { return this.tableHREMPLOYEEEDU; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HREMPLOYEEEXPERIENCEDataTable HREMPLOYEEEXPERIENCE { get { return this.tableHREMPLOYEEEXPERIENCE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HREMPLOYEETRAININGDataTable HREMPLOYEETRAINING { get { return this.tableHREMPLOYEETRAINING; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HREMPLOYEEASSISTDataTable HREMPLOYEEASSIST { get { return this.tableHREMPLOYEEASSIST; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public DT_MainDataTable DT_Main { get { return this.tableDT_Main; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public DT_SalaryDataTable DT_Salary { get { return this.tableDT_Salary; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HRGARANTEEDataTable HRGARANTEE { get { return this.tableHRGARANTEE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HRLOGLEAVEDataTable HRLOGLEAVE { get { return this.tableHRLOGLEAVE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public HRLOGCHANGEWORKDataTable HRLOGCHANGEWORK { get { return this.tableHRLOGCHANGEWORK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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", "4.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", "4.0.0.0")] public override global::System.Data.DataSet Clone() { DataSet1 cln = ((DataSet1)(base.Clone())); cln.InitVars(); cln.SchemaSerializationMode = this.SchemaSerializationMode; return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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["HREMPLOYEE"] != null)) { base.Tables.Add(new HREMPLOYEEDataTable(ds.Tables["HREMPLOYEE"])); } if ((ds.Tables["HREMPLOYEEFAMILY"] != null)) { base.Tables.Add(new HREMPLOYEEFAMILYDataTable(ds.Tables["HREMPLOYEEFAMILY"])); } if ((ds.Tables["HREMPLOYEEEDU"] != null)) { base.Tables.Add(new HREMPLOYEEEDUDataTable(ds.Tables["HREMPLOYEEEDU"])); } if ((ds.Tables["HREMPLOYEEEXPERIENCE"] != null)) { base.Tables.Add(new HREMPLOYEEEXPERIENCEDataTable(ds.Tables["HREMPLOYEEEXPERIENCE"])); } if ((ds.Tables["HREMPLOYEETRAINING"] != null)) { base.Tables.Add(new HREMPLOYEETRAININGDataTable(ds.Tables["HREMPLOYEETRAINING"])); } if ((ds.Tables["HREMPLOYEEASSIST"] != null)) { base.Tables.Add(new HREMPLOYEEASSISTDataTable(ds.Tables["HREMPLOYEEASSIST"])); } if ((ds.Tables["DT_Main"] != null)) { base.Tables.Add(new DT_MainDataTable(ds.Tables["DT_Main"])); } if ((ds.Tables["DT_Salary"] != null)) { base.Tables.Add(new DT_SalaryDataTable(ds.Tables["DT_Salary"])); } if ((ds.Tables["HRGARANTEE"] != null)) { base.Tables.Add(new HRGARANTEEDataTable(ds.Tables["HRGARANTEE"])); } if ((ds.Tables["HRLOGLEAVE"] != null)) { base.Tables.Add(new HRLOGLEAVEDataTable(ds.Tables["HRLOGLEAVE"])); } if ((ds.Tables["HRLOGCHANGEWORK"] != null)) { base.Tables.Add(new HRLOGCHANGEWORKDataTable(ds.Tables["HRLOGCHANGEWORK"])); } 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", "4.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", "4.0.0.0")] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars(bool initTable) { this.tableHREMPLOYEE = ((HREMPLOYEEDataTable)(base.Tables["HREMPLOYEE"])); if ((initTable == true)) { if ((this.tableHREMPLOYEE != null)) { this.tableHREMPLOYEE.InitVars(); } } this.tableHREMPLOYEEFAMILY = ((HREMPLOYEEFAMILYDataTable)(base.Tables["HREMPLOYEEFAMILY"])); if ((initTable == true)) { if ((this.tableHREMPLOYEEFAMILY != null)) { this.tableHREMPLOYEEFAMILY.InitVars(); } } this.tableHREMPLOYEEEDU = ((HREMPLOYEEEDUDataTable)(base.Tables["HREMPLOYEEEDU"])); if ((initTable == true)) { if ((this.tableHREMPLOYEEEDU != null)) { this.tableHREMPLOYEEEDU.InitVars(); } } this.tableHREMPLOYEEEXPERIENCE = ((HREMPLOYEEEXPERIENCEDataTable)(base.Tables["HREMPLOYEEEXPERIENCE"])); if ((initTable == true)) { if ((this.tableHREMPLOYEEEXPERIENCE != null)) { this.tableHREMPLOYEEEXPERIENCE.InitVars(); } } this.tableHREMPLOYEETRAINING = ((HREMPLOYEETRAININGDataTable)(base.Tables["HREMPLOYEETRAINING"])); if ((initTable == true)) { if ((this.tableHREMPLOYEETRAINING != null)) { this.tableHREMPLOYEETRAINING.InitVars(); } } this.tableHREMPLOYEEASSIST = ((HREMPLOYEEASSISTDataTable)(base.Tables["HREMPLOYEEASSIST"])); if ((initTable == true)) { if ((this.tableHREMPLOYEEASSIST != null)) { this.tableHREMPLOYEEASSIST.InitVars(); } } this.tableDT_Main = ((DT_MainDataTable)(base.Tables["DT_Main"])); if ((initTable == true)) { if ((this.tableDT_Main != null)) { this.tableDT_Main.InitVars(); } } this.tableDT_Salary = ((DT_SalaryDataTable)(base.Tables["DT_Salary"])); if ((initTable == true)) { if ((this.tableDT_Salary != null)) { this.tableDT_Salary.InitVars(); } } this.tableHRGARANTEE = ((HRGARANTEEDataTable)(base.Tables["HRGARANTEE"])); if ((initTable == true)) { if ((this.tableHRGARANTEE != null)) { this.tableHRGARANTEE.InitVars(); } } this.tableHRLOGLEAVE = ((HRLOGLEAVEDataTable)(base.Tables["HRLOGLEAVE"])); if ((initTable == true)) { if ((this.tableHRLOGLEAVE != null)) { this.tableHRLOGLEAVE.InitVars(); } } this.tableHRLOGCHANGEWORK = ((HRLOGCHANGEWORKDataTable)(base.Tables["HRLOGCHANGEWORK"])); if ((initTable == true)) { if ((this.tableHRLOGCHANGEWORK != null)) { this.tableHRLOGCHANGEWORK.InitVars(); } } this.relationSYS_C00361509 = this.Relations["SYS_C00361509"]; this.relationSYS_C00361507 = this.Relations["SYS_C00361507"]; this.relationSYS_C00361508 = this.Relations["SYS_C00361508"]; this.relationSYS_C00361510 = this.Relations["SYS_C00361510"]; this.relationSYS_C00361506 = this.Relations["SYS_C00361506"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.DataSetName = "DataSet1"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DataSet1.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableHREMPLOYEE = new HREMPLOYEEDataTable(); base.Tables.Add(this.tableHREMPLOYEE); this.tableHREMPLOYEEFAMILY = new HREMPLOYEEFAMILYDataTable(); base.Tables.Add(this.tableHREMPLOYEEFAMILY); this.tableHREMPLOYEEEDU = new HREMPLOYEEEDUDataTable(); base.Tables.Add(this.tableHREMPLOYEEEDU); this.tableHREMPLOYEEEXPERIENCE = new HREMPLOYEEEXPERIENCEDataTable(); base.Tables.Add(this.tableHREMPLOYEEEXPERIENCE); this.tableHREMPLOYEETRAINING = new HREMPLOYEETRAININGDataTable(); base.Tables.Add(this.tableHREMPLOYEETRAINING); this.tableHREMPLOYEEASSIST = new HREMPLOYEEASSISTDataTable(); base.Tables.Add(this.tableHREMPLOYEEASSIST); this.tableDT_Main = new DT_MainDataTable(); base.Tables.Add(this.tableDT_Main); this.tableDT_Salary = new DT_SalaryDataTable(); base.Tables.Add(this.tableDT_Salary); this.tableHRGARANTEE = new HRGARANTEEDataTable(); base.Tables.Add(this.tableHRGARANTEE); this.tableHRLOGLEAVE = new HRLOGLEAVEDataTable(); base.Tables.Add(this.tableHRLOGLEAVE); this.tableHRLOGCHANGEWORK = new HRLOGCHANGEWORKDataTable(); base.Tables.Add(this.tableHRLOGCHANGEWORK); this.relationSYS_C00361509 = new global::System.Data.DataRelation("SYS_C00361509", new global::System.Data.DataColumn[] { this.tableHREMPLOYEE.COOP_IDColumn, this.tableHREMPLOYEE.EMP_NOColumn}, new global::System.Data.DataColumn[] { this.tableHREMPLOYEEFAMILY.COOP_IDColumn, this.tableHREMPLOYEEFAMILY.EMP_NOColumn}, false); this.Relations.Add(this.relationSYS_C00361509); this.relationSYS_C00361507 = new global::System.Data.DataRelation("SYS_C00361507", new global::System.Data.DataColumn[] { this.tableHREMPLOYEE.COOP_IDColumn, this.tableHREMPLOYEE.EMP_NOColumn}, new global::System.Data.DataColumn[] { this.tableHREMPLOYEEEDU.COOP_IDColumn, this.tableHREMPLOYEEEDU.EMP_NOColumn}, false); this.Relations.Add(this.relationSYS_C00361507); this.relationSYS_C00361508 = new global::System.Data.DataRelation("SYS_C00361508", new global::System.Data.DataColumn[] { this.tableHREMPLOYEE.COOP_IDColumn, this.tableHREMPLOYEE.EMP_NOColumn}, new global::System.Data.DataColumn[] { this.tableHREMPLOYEEEXPERIENCE.COOP_IDColumn, this.tableHREMPLOYEEEXPERIENCE.EMP_NOColumn}, false); this.Relations.Add(this.relationSYS_C00361508); this.relationSYS_C00361510 = new global::System.Data.DataRelation("SYS_C00361510", new global::System.Data.DataColumn[] { this.tableHREMPLOYEE.COOP_IDColumn, this.tableHREMPLOYEE.EMP_NOColumn}, new global::System.Data.DataColumn[] { this.tableHREMPLOYEETRAINING.COOP_IDColumn, this.tableHREMPLOYEETRAINING.EMP_NOColumn}, false); this.Relations.Add(this.relationSYS_C00361510); this.relationSYS_C00361506 = new global::System.Data.DataRelation("SYS_C00361506", new global::System.Data.DataColumn[] { this.tableHREMPLOYEE.COOP_IDColumn, this.tableHREMPLOYEE.EMP_NOColumn}, new global::System.Data.DataColumn[] { this.tableHREMPLOYEEASSIST.COOP_IDColumn, this.tableHREMPLOYEEASSIST.EMP_NOColumn}, false); this.Relations.Add(this.relationSYS_C00361506); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHREMPLOYEE() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHREMPLOYEEFAMILY() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHREMPLOYEEEDU() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHREMPLOYEEEXPERIENCE() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHREMPLOYEETRAINING() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHREMPLOYEEASSIST() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeDT_Main() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeDT_Salary() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHRGARANTEE() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHRLOGLEAVE() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeHRLOGCHANGEWORK() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { DataSet1 ds = new DataSet1(); 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", "4.0.0.0")] public delegate void HREMPLOYEERowChangeEventHandler(object sender, HREMPLOYEERowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HREMPLOYEEFAMILYRowChangeEventHandler(object sender, HREMPLOYEEFAMILYRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HREMPLOYEEEDURowChangeEventHandler(object sender, HREMPLOYEEEDURowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HREMPLOYEEEXPERIENCERowChangeEventHandler(object sender, HREMPLOYEEEXPERIENCERowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HREMPLOYEETRAININGRowChangeEventHandler(object sender, HREMPLOYEETRAININGRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HREMPLOYEEASSISTRowChangeEventHandler(object sender, HREMPLOYEEASSISTRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void DT_MainRowChangeEventHandler(object sender, DT_MainRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void DT_SalaryRowChangeEventHandler(object sender, DT_SalaryRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HRGARANTEERowChangeEventHandler(object sender, HRGARANTEERowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HRLOGLEAVERowChangeEventHandler(object sender, HRLOGLEAVERowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void HRLOGCHANGEWORKRowChangeEventHandler(object sender, HRLOGCHANGEWORKRowChangeEvent e); /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HREMPLOYEEDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnEMP_ENAME; private global::System.Data.DataColumn columnEMP_ESURNAME; private global::System.Data.DataColumn columnEMP_NICKNAME; private global::System.Data.DataColumn columnBLOOD_GRP; private global::System.Data.DataColumn columnWEIGHT; private global::System.Data.DataColumn columnHEIGHT; private global::System.Data.DataColumn columnNATION; private global::System.Data.DataColumn columnRELIGION; private global::System.Data.DataColumn columnADN_NO; private global::System.Data.DataColumn columnADN_TAMBOL; private global::System.Data.DataColumn columnADN_AMPHUR; private global::System.Data.DataColumn columnADN_PROVINCE; private global::System.Data.DataColumn columnADN_POSTCODE; private global::System.Data.DataColumn columnADN_TEL; private global::System.Data.DataColumn columnADN_EMAIL; private global::System.Data.DataColumn columnADR_NO; private global::System.Data.DataColumn columnADR_TAMBOL; private global::System.Data.DataColumn columnADR_AMPHUR; private global::System.Data.DataColumn columnADR_PROVINCE; private global::System.Data.DataColumn columnADR_POSTCODE; private global::System.Data.DataColumn columnID_CARD; private global::System.Data.DataColumn columnBIRTH_DATE; private global::System.Data.DataColumn columnWORK_DATE; private global::System.Data.DataColumn columnRESIGN_DATE; private global::System.Data.DataColumn columnCONTAIN_DATE; private global::System.Data.DataColumn columnTERM_DATE; private global::System.Data.DataColumn columnREF_MEMBNO; private global::System.Data.DataColumn columnEMP_STATUS; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEDataTable() { this.TableName = "HREMPLOYEE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEDataTable(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", "4.0.0.0")] protected HREMPLOYEEDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_ENAMEColumn { get { return this.columnEMP_ENAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_ESURNAMEColumn { get { return this.columnEMP_ESURNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NICKNAMEColumn { get { return this.columnEMP_NICKNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BLOOD_GRPColumn { get { return this.columnBLOOD_GRP; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn WEIGHTColumn { get { return this.columnWEIGHT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn HEIGHTColumn { get { return this.columnHEIGHT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn NATIONColumn { get { return this.columnNATION; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn RELIGIONColumn { get { return this.columnRELIGION; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_NOColumn { get { return this.columnADN_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_TAMBOLColumn { get { return this.columnADN_TAMBOL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_AMPHURColumn { get { return this.columnADN_AMPHUR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_PROVINCEColumn { get { return this.columnADN_PROVINCE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_POSTCODEColumn { get { return this.columnADN_POSTCODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_TELColumn { get { return this.columnADN_TEL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADN_EMAILColumn { get { return this.columnADN_EMAIL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADR_NOColumn { get { return this.columnADR_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADR_TAMBOLColumn { get { return this.columnADR_TAMBOL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADR_AMPHURColumn { get { return this.columnADR_AMPHUR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADR_PROVINCEColumn { get { return this.columnADR_PROVINCE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ADR_POSTCODEColumn { get { return this.columnADR_POSTCODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ID_CARDColumn { get { return this.columnID_CARD; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BIRTH_DATEColumn { get { return this.columnBIRTH_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn WORK_DATEColumn { get { return this.columnWORK_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn RESIGN_DATEColumn { get { return this.columnRESIGN_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CONTAIN_DATEColumn { get { return this.columnCONTAIN_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TERM_DATEColumn { get { return this.columnTERM_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REF_MEMBNOColumn { get { return this.columnREF_MEMBNO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_STATUSColumn { get { return this.columnEMP_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HREMPLOYEERow this[int index] { get { return ((HREMPLOYEERow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEERowChangeEventHandler HREMPLOYEERowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEERowChangeEventHandler HREMPLOYEERowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEERowChangeEventHandler HREMPLOYEERowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEERowChangeEventHandler HREMPLOYEERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHREMPLOYEERow(HREMPLOYEERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow AddHREMPLOYEERow( string COOP_ID, string EMP_NO, string EMP_ENAME, string EMP_ESURNAME, string EMP_NICKNAME, string BLOOD_GRP, decimal WEIGHT, decimal HEIGHT, string NATION, string RELIGION, string ADN_NO, string ADN_TAMBOL, string ADN_AMPHUR, string ADN_PROVINCE, string ADN_POSTCODE, string ADN_TEL, string ADN_EMAIL, string ADR_NO, string ADR_TAMBOL, string ADR_AMPHUR, string ADR_PROVINCE, string ADR_POSTCODE, string ID_CARD, System.DateTime BIRTH_DATE, System.DateTime WORK_DATE, System.DateTime RESIGN_DATE, System.DateTime CONTAIN_DATE, System.DateTime TERM_DATE, string REF_MEMBNO, decimal EMP_STATUS) { HREMPLOYEERow rowHREMPLOYEERow = ((HREMPLOYEERow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, EMP_ENAME, EMP_ESURNAME, EMP_NICKNAME, BLOOD_GRP, WEIGHT, HEIGHT, NATION, RELIGION, ADN_NO, ADN_TAMBOL, ADN_AMPHUR, ADN_PROVINCE, ADN_POSTCODE, ADN_TEL, ADN_EMAIL, ADR_NO, ADR_TAMBOL, ADR_AMPHUR, ADR_PROVINCE, ADR_POSTCODE, ID_CARD, BIRTH_DATE, WORK_DATE, RESIGN_DATE, CONTAIN_DATE, TERM_DATE, REF_MEMBNO, EMP_STATUS}; rowHREMPLOYEERow.ItemArray = columnValuesArray; this.Rows.Add(rowHREMPLOYEERow); return rowHREMPLOYEERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow FindByCOOP_IDEMP_NO(string COOP_ID, string EMP_NO) { return ((HREMPLOYEERow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HREMPLOYEEDataTable cln = ((HREMPLOYEEDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HREMPLOYEEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnEMP_ENAME = base.Columns["EMP_ENAME"]; this.columnEMP_ESURNAME = base.Columns["EMP_ESURNAME"]; this.columnEMP_NICKNAME = base.Columns["EMP_NICKNAME"]; this.columnBLOOD_GRP = base.Columns["BLOOD_GRP"]; this.columnWEIGHT = base.Columns["WEIGHT"]; this.columnHEIGHT = base.Columns["HEIGHT"]; this.columnNATION = base.Columns["NATION"]; this.columnRELIGION = base.Columns["RELIGION"]; this.columnADN_NO = base.Columns["ADN_NO"]; this.columnADN_TAMBOL = base.Columns["ADN_TAMBOL"]; this.columnADN_AMPHUR = base.Columns["ADN_AMPHUR"]; this.columnADN_PROVINCE = base.Columns["ADN_PROVINCE"]; this.columnADN_POSTCODE = base.Columns["ADN_POSTCODE"]; this.columnADN_TEL = base.Columns["ADN_TEL"]; this.columnADN_EMAIL = base.Columns["ADN_EMAIL"]; this.columnADR_NO = base.Columns["ADR_NO"]; this.columnADR_TAMBOL = base.Columns["ADR_TAMBOL"]; this.columnADR_AMPHUR = base.Columns["ADR_AMPHUR"]; this.columnADR_PROVINCE = base.Columns["ADR_PROVINCE"]; this.columnADR_POSTCODE = base.Columns["ADR_POSTCODE"]; this.columnID_CARD = base.Columns["ID_CARD"]; this.columnBIRTH_DATE = base.Columns["BIRTH_DATE"]; this.columnWORK_DATE = base.Columns["WORK_DATE"]; this.columnRESIGN_DATE = base.Columns["RESIGN_DATE"]; this.columnCONTAIN_DATE = base.Columns["CONTAIN_DATE"]; this.columnTERM_DATE = base.Columns["TERM_DATE"]; this.columnREF_MEMBNO = base.Columns["REF_MEMBNO"]; this.columnEMP_STATUS = base.Columns["EMP_STATUS"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnEMP_ENAME = new global::System.Data.DataColumn("EMP_ENAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_ENAME); this.columnEMP_ESURNAME = new global::System.Data.DataColumn("EMP_ESURNAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_ESURNAME); this.columnEMP_NICKNAME = new global::System.Data.DataColumn("EMP_NICKNAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NICKNAME); this.columnBLOOD_GRP = new global::System.Data.DataColumn("BLOOD_GRP", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBLOOD_GRP); this.columnWEIGHT = new global::System.Data.DataColumn("WEIGHT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnWEIGHT); this.columnHEIGHT = new global::System.Data.DataColumn("HEIGHT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnHEIGHT); this.columnNATION = new global::System.Data.DataColumn("NATION", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNATION); this.columnRELIGION = new global::System.Data.DataColumn("RELIGION", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRELIGION); this.columnADN_NO = new global::System.Data.DataColumn("ADN_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_NO); this.columnADN_TAMBOL = new global::System.Data.DataColumn("ADN_TAMBOL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_TAMBOL); this.columnADN_AMPHUR = new global::System.Data.DataColumn("ADN_AMPHUR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_AMPHUR); this.columnADN_PROVINCE = new global::System.Data.DataColumn("ADN_PROVINCE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_PROVINCE); this.columnADN_POSTCODE = new global::System.Data.DataColumn("ADN_POSTCODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_POSTCODE); this.columnADN_TEL = new global::System.Data.DataColumn("ADN_TEL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_TEL); this.columnADN_EMAIL = new global::System.Data.DataColumn("ADN_EMAIL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADN_EMAIL); this.columnADR_NO = new global::System.Data.DataColumn("ADR_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADR_NO); this.columnADR_TAMBOL = new global::System.Data.DataColumn("ADR_TAMBOL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADR_TAMBOL); this.columnADR_AMPHUR = new global::System.Data.DataColumn("ADR_AMPHUR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADR_AMPHUR); this.columnADR_PROVINCE = new global::System.Data.DataColumn("ADR_PROVINCE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADR_PROVINCE); this.columnADR_POSTCODE = new global::System.Data.DataColumn("ADR_POSTCODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnADR_POSTCODE); this.columnID_CARD = new global::System.Data.DataColumn("ID_CARD", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnID_CARD); this.columnBIRTH_DATE = new global::System.Data.DataColumn("BIRTH_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBIRTH_DATE); this.columnWORK_DATE = new global::System.Data.DataColumn("WORK_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnWORK_DATE); this.columnRESIGN_DATE = new global::System.Data.DataColumn("RESIGN_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRESIGN_DATE); this.columnCONTAIN_DATE = new global::System.Data.DataColumn("CONTAIN_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCONTAIN_DATE); this.columnTERM_DATE = new global::System.Data.DataColumn("TERM_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTERM_DATE); this.columnREF_MEMBNO = new global::System.Data.DataColumn("REF_MEMBNO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREF_MEMBNO); this.columnEMP_STATUS = new global::System.Data.DataColumn("EMP_STATUS", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_STATUS); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.DefaultValue = ((string)("Auto")); this.columnEMP_NO.MaxLength = 8; this.columnEMP_ENAME.ReadOnly = true; this.columnEMP_ENAME.MaxLength = 50; this.columnEMP_ESURNAME.MaxLength = 50; this.columnEMP_NICKNAME.MaxLength = 50; this.columnBLOOD_GRP.MaxLength = 10; this.columnNATION.MaxLength = 20; this.columnRELIGION.MaxLength = 20; this.columnADN_NO.MaxLength = 100; this.columnADN_TAMBOL.MaxLength = 20; this.columnADN_AMPHUR.MaxLength = 20; this.columnADN_PROVINCE.MaxLength = 20; this.columnADN_POSTCODE.MaxLength = 10; this.columnADN_TEL.MaxLength = 50; this.columnADN_EMAIL.MaxLength = 50; this.columnADR_NO.MaxLength = 100; this.columnADR_TAMBOL.MaxLength = 20; this.columnADR_AMPHUR.MaxLength = 20; this.columnADR_PROVINCE.MaxLength = 20; this.columnADR_POSTCODE.MaxLength = 20; this.columnID_CARD.MaxLength = 13; this.columnREF_MEMBNO.MaxLength = 8; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow NewHREMPLOYEERow() { return ((HREMPLOYEERow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HREMPLOYEERow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HREMPLOYEERow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HREMPLOYEERowChanged != null)) { this.HREMPLOYEERowChanged(this, new HREMPLOYEERowChangeEvent(((HREMPLOYEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HREMPLOYEERowChanging != null)) { this.HREMPLOYEERowChanging(this, new HREMPLOYEERowChangeEvent(((HREMPLOYEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HREMPLOYEERowDeleted != null)) { this.HREMPLOYEERowDeleted(this, new HREMPLOYEERowChangeEvent(((HREMPLOYEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HREMPLOYEERowDeleting != null)) { this.HREMPLOYEERowDeleting(this, new HREMPLOYEERowChangeEvent(((HREMPLOYEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHREMPLOYEERow(HREMPLOYEERow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HREMPLOYEEDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HREMPLOYEEFAMILYDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnF_NAME; private global::System.Data.DataColumn columnF_RELATION; private global::System.Data.DataColumn columnBIRTH_DATE; private global::System.Data.DataColumn columnOCCUPATION; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYDataTable() { this.TableName = "HREMPLOYEEFAMILY"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEFAMILYDataTable(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", "4.0.0.0")] protected HREMPLOYEEFAMILYDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn F_NAMEColumn { get { return this.columnF_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn F_RELATIONColumn { get { return this.columnF_RELATION; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BIRTH_DATEColumn { get { return this.columnBIRTH_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn OCCUPATIONColumn { get { return this.columnOCCUPATION; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HREMPLOYEEFAMILYRow this[int index] { get { return ((HREMPLOYEEFAMILYRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEFAMILYRowChangeEventHandler HREMPLOYEEFAMILYRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEFAMILYRowChangeEventHandler HREMPLOYEEFAMILYRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEFAMILYRowChangeEventHandler HREMPLOYEEFAMILYRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEFAMILYRowChangeEventHandler HREMPLOYEEFAMILYRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHREMPLOYEEFAMILYRow(HREMPLOYEEFAMILYRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYRow AddHREMPLOYEEFAMILYRow(string COOP_ID, string EMP_NO, decimal SEQ_NO, string F_NAME, string F_RELATION, System.DateTime BIRTH_DATE, string OCCUPATION) { HREMPLOYEEFAMILYRow rowHREMPLOYEEFAMILYRow = ((HREMPLOYEEFAMILYRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, F_NAME, F_RELATION, BIRTH_DATE, OCCUPATION}; rowHREMPLOYEEFAMILYRow.ItemArray = columnValuesArray; this.Rows.Add(rowHREMPLOYEEFAMILYRow); return rowHREMPLOYEEFAMILYRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYRow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HREMPLOYEEFAMILYRow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HREMPLOYEEFAMILYDataTable cln = ((HREMPLOYEEFAMILYDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HREMPLOYEEFAMILYDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnF_NAME = base.Columns["F_NAME"]; this.columnF_RELATION = base.Columns["F_RELATION"]; this.columnBIRTH_DATE = base.Columns["BIRTH_DATE"]; this.columnOCCUPATION = base.Columns["OCCUPATION"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnF_NAME = new global::System.Data.DataColumn("F_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnF_NAME); this.columnF_RELATION = new global::System.Data.DataColumn("F_RELATION", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnF_RELATION); this.columnBIRTH_DATE = new global::System.Data.DataColumn("BIRTH_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBIRTH_DATE); this.columnOCCUPATION = new global::System.Data.DataColumn("OCCUPATION", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOCCUPATION); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnF_NAME.MaxLength = 100; this.columnF_RELATION.MaxLength = 50; this.columnOCCUPATION.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYRow NewHREMPLOYEEFAMILYRow() { return ((HREMPLOYEEFAMILYRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HREMPLOYEEFAMILYRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HREMPLOYEEFAMILYRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HREMPLOYEEFAMILYRowChanged != null)) { this.HREMPLOYEEFAMILYRowChanged(this, new HREMPLOYEEFAMILYRowChangeEvent(((HREMPLOYEEFAMILYRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HREMPLOYEEFAMILYRowChanging != null)) { this.HREMPLOYEEFAMILYRowChanging(this, new HREMPLOYEEFAMILYRowChangeEvent(((HREMPLOYEEFAMILYRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HREMPLOYEEFAMILYRowDeleted != null)) { this.HREMPLOYEEFAMILYRowDeleted(this, new HREMPLOYEEFAMILYRowChangeEvent(((HREMPLOYEEFAMILYRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HREMPLOYEEFAMILYRowDeleting != null)) { this.HREMPLOYEEFAMILYRowDeleting(this, new HREMPLOYEEFAMILYRowChangeEvent(((HREMPLOYEEFAMILYRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHREMPLOYEEFAMILYRow(HREMPLOYEEFAMILYRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HREMPLOYEEFAMILYDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HREMPLOYEEEDUDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnEDU_LEVEL; private global::System.Data.DataColumn columnEDU_INST; private global::System.Data.DataColumn columnEDU_DEGREE; private global::System.Data.DataColumn columnEDU_MAJOR; private global::System.Data.DataColumn columnEDU_GPA; private global::System.Data.DataColumn columnEDU_SUCCYEAR; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDUDataTable() { this.TableName = "HREMPLOYEEEDU"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEEDUDataTable(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", "4.0.0.0")] protected HREMPLOYEEEDUDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EDU_LEVELColumn { get { return this.columnEDU_LEVEL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EDU_INSTColumn { get { return this.columnEDU_INST; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EDU_DEGREEColumn { get { return this.columnEDU_DEGREE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EDU_MAJORColumn { get { return this.columnEDU_MAJOR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EDU_GPAColumn { get { return this.columnEDU_GPA; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EDU_SUCCYEARColumn { get { return this.columnEDU_SUCCYEAR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HREMPLOYEEEDURow this[int index] { get { return ((HREMPLOYEEEDURow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEDURowChangeEventHandler HREMPLOYEEEDURowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEDURowChangeEventHandler HREMPLOYEEEDURowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEDURowChangeEventHandler HREMPLOYEEEDURowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEDURowChangeEventHandler HREMPLOYEEEDURowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHREMPLOYEEEDURow(HREMPLOYEEEDURow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDURow AddHREMPLOYEEEDURow(string COOP_ID, string EMP_NO, decimal SEQ_NO, string EDU_LEVEL, string EDU_INST, string EDU_DEGREE, string EDU_MAJOR, decimal EDU_GPA, string EDU_SUCCYEAR) { HREMPLOYEEEDURow rowHREMPLOYEEEDURow = ((HREMPLOYEEEDURow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, EDU_LEVEL, EDU_INST, EDU_DEGREE, EDU_MAJOR, EDU_GPA, EDU_SUCCYEAR}; rowHREMPLOYEEEDURow.ItemArray = columnValuesArray; this.Rows.Add(rowHREMPLOYEEEDURow); return rowHREMPLOYEEEDURow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDURow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HREMPLOYEEEDURow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HREMPLOYEEEDUDataTable cln = ((HREMPLOYEEEDUDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HREMPLOYEEEDUDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnEDU_LEVEL = base.Columns["EDU_LEVEL"]; this.columnEDU_INST = base.Columns["EDU_INST"]; this.columnEDU_DEGREE = base.Columns["EDU_DEGREE"]; this.columnEDU_MAJOR = base.Columns["EDU_MAJOR"]; this.columnEDU_GPA = base.Columns["EDU_GPA"]; this.columnEDU_SUCCYEAR = base.Columns["EDU_SUCCYEAR"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnEDU_LEVEL = new global::System.Data.DataColumn("EDU_LEVEL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEDU_LEVEL); this.columnEDU_INST = new global::System.Data.DataColumn("EDU_INST", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEDU_INST); this.columnEDU_DEGREE = new global::System.Data.DataColumn("EDU_DEGREE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEDU_DEGREE); this.columnEDU_MAJOR = new global::System.Data.DataColumn("EDU_MAJOR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEDU_MAJOR); this.columnEDU_GPA = new global::System.Data.DataColumn("EDU_GPA", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEDU_GPA); this.columnEDU_SUCCYEAR = new global::System.Data.DataColumn("EDU_SUCCYEAR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEDU_SUCCYEAR); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnEDU_LEVEL.MaxLength = 20; this.columnEDU_INST.MaxLength = 100; this.columnEDU_DEGREE.MaxLength = 50; this.columnEDU_MAJOR.MaxLength = 50; this.columnEDU_SUCCYEAR.MaxLength = 20; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDURow NewHREMPLOYEEEDURow() { return ((HREMPLOYEEEDURow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HREMPLOYEEEDURow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HREMPLOYEEEDURow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HREMPLOYEEEDURowChanged != null)) { this.HREMPLOYEEEDURowChanged(this, new HREMPLOYEEEDURowChangeEvent(((HREMPLOYEEEDURow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HREMPLOYEEEDURowChanging != null)) { this.HREMPLOYEEEDURowChanging(this, new HREMPLOYEEEDURowChangeEvent(((HREMPLOYEEEDURow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HREMPLOYEEEDURowDeleted != null)) { this.HREMPLOYEEEDURowDeleted(this, new HREMPLOYEEEDURowChangeEvent(((HREMPLOYEEEDURow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HREMPLOYEEEDURowDeleting != null)) { this.HREMPLOYEEEDURowDeleting(this, new HREMPLOYEEEDURowChangeEvent(((HREMPLOYEEEDURow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHREMPLOYEEEDURow(HREMPLOYEEEDURow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HREMPLOYEEEDUDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HREMPLOYEEEXPERIENCEDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnCORP_NAME; private global::System.Data.DataColumn columnPOS_NAME; private global::System.Data.DataColumn columnYEARSTART; private global::System.Data.DataColumn columnYEAREND; private global::System.Data.DataColumn columnLAST_SALARY; private global::System.Data.DataColumn columnJOB_TYPE; private global::System.Data.DataColumn columnJOB_DESC; private global::System.Data.DataColumn columnAWAYCAUSE; private global::System.Data.DataColumn columnREMARK; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCEDataTable() { this.TableName = "HREMPLOYEEEXPERIENCE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEEXPERIENCEDataTable(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", "4.0.0.0")] protected HREMPLOYEEEXPERIENCEDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CORP_NAMEColumn { get { return this.columnCORP_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn POS_NAMEColumn { get { return this.columnPOS_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn YEARSTARTColumn { get { return this.columnYEARSTART; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn YEARENDColumn { get { return this.columnYEAREND; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LAST_SALARYColumn { get { return this.columnLAST_SALARY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn JOB_TYPEColumn { get { return this.columnJOB_TYPE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn JOB_DESCColumn { get { return this.columnJOB_DESC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn AWAYCAUSEColumn { get { return this.columnAWAYCAUSE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.0.0.0")] public HREMPLOYEEEXPERIENCERow this[int index] { get { return ((HREMPLOYEEEXPERIENCERow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEXPERIENCERowChangeEventHandler HREMPLOYEEEXPERIENCERowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEXPERIENCERowChangeEventHandler HREMPLOYEEEXPERIENCERowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEXPERIENCERowChangeEventHandler HREMPLOYEEEXPERIENCERowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEEXPERIENCERowChangeEventHandler HREMPLOYEEEXPERIENCERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHREMPLOYEEEXPERIENCERow(HREMPLOYEEEXPERIENCERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCERow AddHREMPLOYEEEXPERIENCERow(string COOP_ID, string EMP_NO, decimal SEQ_NO, string CORP_NAME, string POS_NAME, string YEARSTART, string YEAREND, decimal LAST_SALARY, string JOB_TYPE, string JOB_DESC, string AWAYCAUSE, string REMARK) { HREMPLOYEEEXPERIENCERow rowHREMPLOYEEEXPERIENCERow = ((HREMPLOYEEEXPERIENCERow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, CORP_NAME, POS_NAME, YEARSTART, YEAREND, LAST_SALARY, JOB_TYPE, JOB_DESC, AWAYCAUSE, REMARK}; rowHREMPLOYEEEXPERIENCERow.ItemArray = columnValuesArray; this.Rows.Add(rowHREMPLOYEEEXPERIENCERow); return rowHREMPLOYEEEXPERIENCERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCERow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HREMPLOYEEEXPERIENCERow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HREMPLOYEEEXPERIENCEDataTable cln = ((HREMPLOYEEEXPERIENCEDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HREMPLOYEEEXPERIENCEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnCORP_NAME = base.Columns["CORP_NAME"]; this.columnPOS_NAME = base.Columns["POS_NAME"]; this.columnYEARSTART = base.Columns["YEARSTART"]; this.columnYEAREND = base.Columns["YEAREND"]; this.columnLAST_SALARY = base.Columns["LAST_SALARY"]; this.columnJOB_TYPE = base.Columns["JOB_TYPE"]; this.columnJOB_DESC = base.Columns["JOB_DESC"]; this.columnAWAYCAUSE = base.Columns["AWAYCAUSE"]; this.columnREMARK = base.Columns["REMARK"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnCORP_NAME = new global::System.Data.DataColumn("CORP_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCORP_NAME); this.columnPOS_NAME = new global::System.Data.DataColumn("POS_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPOS_NAME); this.columnYEARSTART = new global::System.Data.DataColumn("YEARSTART", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnYEARSTART); this.columnYEAREND = new global::System.Data.DataColumn("YEAREND", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnYEAREND); this.columnLAST_SALARY = new global::System.Data.DataColumn("LAST_SALARY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLAST_SALARY); this.columnJOB_TYPE = new global::System.Data.DataColumn("JOB_TYPE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnJOB_TYPE); this.columnJOB_DESC = new global::System.Data.DataColumn("JOB_DESC", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnJOB_DESC); this.columnAWAYCAUSE = new global::System.Data.DataColumn("AWAYCAUSE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAWAYCAUSE); this.columnREMARK = new global::System.Data.DataColumn("REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMARK); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnCORP_NAME.MaxLength = 100; this.columnPOS_NAME.MaxLength = 50; this.columnYEARSTART.MaxLength = 20; this.columnYEAREND.MaxLength = 20; this.columnJOB_TYPE.MaxLength = 50; this.columnJOB_DESC.MaxLength = 50; this.columnAWAYCAUSE.MaxLength = 100; this.columnREMARK.MaxLength = 100; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCERow NewHREMPLOYEEEXPERIENCERow() { return ((HREMPLOYEEEXPERIENCERow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HREMPLOYEEEXPERIENCERow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HREMPLOYEEEXPERIENCERow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HREMPLOYEEEXPERIENCERowChanged != null)) { this.HREMPLOYEEEXPERIENCERowChanged(this, new HREMPLOYEEEXPERIENCERowChangeEvent(((HREMPLOYEEEXPERIENCERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HREMPLOYEEEXPERIENCERowChanging != null)) { this.HREMPLOYEEEXPERIENCERowChanging(this, new HREMPLOYEEEXPERIENCERowChangeEvent(((HREMPLOYEEEXPERIENCERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HREMPLOYEEEXPERIENCERowDeleted != null)) { this.HREMPLOYEEEXPERIENCERowDeleted(this, new HREMPLOYEEEXPERIENCERowChangeEvent(((HREMPLOYEEEXPERIENCERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HREMPLOYEEEXPERIENCERowDeleting != null)) { this.HREMPLOYEEEXPERIENCERowDeleting(this, new HREMPLOYEEEXPERIENCERowChangeEvent(((HREMPLOYEEEXPERIENCERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHREMPLOYEEEXPERIENCERow(HREMPLOYEEEXPERIENCERow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HREMPLOYEEEXPERIENCEDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HREMPLOYEETRAININGDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnTR_DATE; private global::System.Data.DataColumn columnTR_CODE; private global::System.Data.DataColumn columnTR_SUBJECT; private global::System.Data.DataColumn columnTR_CAUSE; private global::System.Data.DataColumn columnTR_LOCATION; private global::System.Data.DataColumn columnTR_INSTITUTION; private global::System.Data.DataColumn columnTR_FROMDATE; private global::System.Data.DataColumn columnTR_TODATE; private global::System.Data.DataColumn columnTR_DAY; private global::System.Data.DataColumn columnTR_EXPAMT; private global::System.Data.DataColumn columnTR_CERTDESC; private global::System.Data.DataColumn columnREMARK; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGDataTable() { this.TableName = "HREMPLOYEETRAINING"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEETRAININGDataTable(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", "4.0.0.0")] protected HREMPLOYEETRAININGDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_DATEColumn { get { return this.columnTR_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_CODEColumn { get { return this.columnTR_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_SUBJECTColumn { get { return this.columnTR_SUBJECT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_CAUSEColumn { get { return this.columnTR_CAUSE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_LOCATIONColumn { get { return this.columnTR_LOCATION; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_INSTITUTIONColumn { get { return this.columnTR_INSTITUTION; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_FROMDATEColumn { get { return this.columnTR_FROMDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_TODATEColumn { get { return this.columnTR_TODATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_DAYColumn { get { return this.columnTR_DAY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_EXPAMTColumn { get { return this.columnTR_EXPAMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TR_CERTDESCColumn { get { return this.columnTR_CERTDESC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.0.0.0")] public HREMPLOYEETRAININGRow this[int index] { get { return ((HREMPLOYEETRAININGRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEETRAININGRowChangeEventHandler HREMPLOYEETRAININGRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEETRAININGRowChangeEventHandler HREMPLOYEETRAININGRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEETRAININGRowChangeEventHandler HREMPLOYEETRAININGRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEETRAININGRowChangeEventHandler HREMPLOYEETRAININGRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHREMPLOYEETRAININGRow(HREMPLOYEETRAININGRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGRow AddHREMPLOYEETRAININGRow(string COOP_ID, string EMP_NO, decimal SEQ_NO, System.DateTime TR_DATE, string TR_CODE, string TR_SUBJECT, string TR_CAUSE, string TR_LOCATION, string TR_INSTITUTION, System.DateTime TR_FROMDATE, System.DateTime TR_TODATE, decimal TR_DAY, decimal TR_EXPAMT, string TR_CERTDESC, string REMARK) { HREMPLOYEETRAININGRow rowHREMPLOYEETRAININGRow = ((HREMPLOYEETRAININGRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, TR_DATE, TR_CODE, TR_SUBJECT, TR_CAUSE, TR_LOCATION, TR_INSTITUTION, TR_FROMDATE, TR_TODATE, TR_DAY, TR_EXPAMT, TR_CERTDESC, REMARK}; rowHREMPLOYEETRAININGRow.ItemArray = columnValuesArray; this.Rows.Add(rowHREMPLOYEETRAININGRow); return rowHREMPLOYEETRAININGRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGRow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HREMPLOYEETRAININGRow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HREMPLOYEETRAININGDataTable cln = ((HREMPLOYEETRAININGDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HREMPLOYEETRAININGDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnTR_DATE = base.Columns["TR_DATE"]; this.columnTR_CODE = base.Columns["TR_CODE"]; this.columnTR_SUBJECT = base.Columns["TR_SUBJECT"]; this.columnTR_CAUSE = base.Columns["TR_CAUSE"]; this.columnTR_LOCATION = base.Columns["TR_LOCATION"]; this.columnTR_INSTITUTION = base.Columns["TR_INSTITUTION"]; this.columnTR_FROMDATE = base.Columns["TR_FROMDATE"]; this.columnTR_TODATE = base.Columns["TR_TODATE"]; this.columnTR_DAY = base.Columns["TR_DAY"]; this.columnTR_EXPAMT = base.Columns["TR_EXPAMT"]; this.columnTR_CERTDESC = base.Columns["TR_CERTDESC"]; this.columnREMARK = base.Columns["REMARK"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnTR_DATE = new global::System.Data.DataColumn("TR_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_DATE); this.columnTR_CODE = new global::System.Data.DataColumn("TR_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_CODE); this.columnTR_SUBJECT = new global::System.Data.DataColumn("TR_SUBJECT", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_SUBJECT); this.columnTR_CAUSE = new global::System.Data.DataColumn("TR_CAUSE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_CAUSE); this.columnTR_LOCATION = new global::System.Data.DataColumn("TR_LOCATION", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_LOCATION); this.columnTR_INSTITUTION = new global::System.Data.DataColumn("TR_INSTITUTION", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_INSTITUTION); this.columnTR_FROMDATE = new global::System.Data.DataColumn("TR_FROMDATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_FROMDATE); this.columnTR_TODATE = new global::System.Data.DataColumn("TR_TODATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_TODATE); this.columnTR_DAY = new global::System.Data.DataColumn("TR_DAY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_DAY); this.columnTR_EXPAMT = new global::System.Data.DataColumn("TR_EXPAMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_EXPAMT); this.columnTR_CERTDESC = new global::System.Data.DataColumn("TR_CERTDESC", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTR_CERTDESC); this.columnREMARK = new global::System.Data.DataColumn("REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMARK); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnTR_CODE.MaxLength = 3; this.columnTR_SUBJECT.MaxLength = 100; this.columnTR_CAUSE.MaxLength = 100; this.columnTR_LOCATION.MaxLength = 100; this.columnTR_INSTITUTION.MaxLength = 100; this.columnTR_CERTDESC.MaxLength = 100; this.columnREMARK.MaxLength = 100; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGRow NewHREMPLOYEETRAININGRow() { return ((HREMPLOYEETRAININGRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HREMPLOYEETRAININGRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HREMPLOYEETRAININGRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HREMPLOYEETRAININGRowChanged != null)) { this.HREMPLOYEETRAININGRowChanged(this, new HREMPLOYEETRAININGRowChangeEvent(((HREMPLOYEETRAININGRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HREMPLOYEETRAININGRowChanging != null)) { this.HREMPLOYEETRAININGRowChanging(this, new HREMPLOYEETRAININGRowChangeEvent(((HREMPLOYEETRAININGRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HREMPLOYEETRAININGRowDeleted != null)) { this.HREMPLOYEETRAININGRowDeleted(this, new HREMPLOYEETRAININGRowChangeEvent(((HREMPLOYEETRAININGRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HREMPLOYEETRAININGRowDeleting != null)) { this.HREMPLOYEETRAININGRowDeleting(this, new HREMPLOYEETRAININGRowChangeEvent(((HREMPLOYEETRAININGRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHREMPLOYEETRAININGRow(HREMPLOYEETRAININGRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HREMPLOYEETRAININGDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HREMPLOYEEASSISTDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnASSIST_CODE; private global::System.Data.DataColumn columnASSIST_DATE; private global::System.Data.DataColumn columnASSIST_DESC; private global::System.Data.DataColumn columnASSIST_AMT; private global::System.Data.DataColumn columnASSIST_REMARK; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTDataTable() { this.TableName = "HREMPLOYEEASSIST"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEASSISTDataTable(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", "4.0.0.0")] protected HREMPLOYEEASSISTDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ASSIST_CODEColumn { get { return this.columnASSIST_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ASSIST_DATEColumn { get { return this.columnASSIST_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ASSIST_DESCColumn { get { return this.columnASSIST_DESC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ASSIST_AMTColumn { get { return this.columnASSIST_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ASSIST_REMARKColumn { get { return this.columnASSIST_REMARK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HREMPLOYEEASSISTRow this[int index] { get { return ((HREMPLOYEEASSISTRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEASSISTRowChangeEventHandler HREMPLOYEEASSISTRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEASSISTRowChangeEventHandler HREMPLOYEEASSISTRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEASSISTRowChangeEventHandler HREMPLOYEEASSISTRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HREMPLOYEEASSISTRowChangeEventHandler HREMPLOYEEASSISTRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHREMPLOYEEASSISTRow(HREMPLOYEEASSISTRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTRow AddHREMPLOYEEASSISTRow(string COOP_ID, string EMP_NO, decimal SEQ_NO, string ASSIST_CODE, System.DateTime ASSIST_DATE, string ASSIST_DESC, decimal ASSIST_AMT, string ASSIST_REMARK) { HREMPLOYEEASSISTRow rowHREMPLOYEEASSISTRow = ((HREMPLOYEEASSISTRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, ASSIST_CODE, ASSIST_DATE, ASSIST_DESC, ASSIST_AMT, ASSIST_REMARK}; rowHREMPLOYEEASSISTRow.ItemArray = columnValuesArray; this.Rows.Add(rowHREMPLOYEEASSISTRow); return rowHREMPLOYEEASSISTRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTRow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HREMPLOYEEASSISTRow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HREMPLOYEEASSISTDataTable cln = ((HREMPLOYEEASSISTDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HREMPLOYEEASSISTDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnASSIST_CODE = base.Columns["ASSIST_CODE"]; this.columnASSIST_DATE = base.Columns["ASSIST_DATE"]; this.columnASSIST_DESC = base.Columns["ASSIST_DESC"]; this.columnASSIST_AMT = base.Columns["ASSIST_AMT"]; this.columnASSIST_REMARK = base.Columns["ASSIST_REMARK"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnASSIST_CODE = new global::System.Data.DataColumn("ASSIST_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnASSIST_CODE); this.columnASSIST_DATE = new global::System.Data.DataColumn("ASSIST_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnASSIST_DATE); this.columnASSIST_DESC = new global::System.Data.DataColumn("ASSIST_DESC", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnASSIST_DESC); this.columnASSIST_AMT = new global::System.Data.DataColumn("ASSIST_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnASSIST_AMT); this.columnASSIST_REMARK = new global::System.Data.DataColumn("ASSIST_REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnASSIST_REMARK); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnASSIST_CODE.MaxLength = 3; this.columnASSIST_DESC.MaxLength = 100; this.columnASSIST_REMARK.MaxLength = 100; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTRow NewHREMPLOYEEASSISTRow() { return ((HREMPLOYEEASSISTRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HREMPLOYEEASSISTRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HREMPLOYEEASSISTRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HREMPLOYEEASSISTRowChanged != null)) { this.HREMPLOYEEASSISTRowChanged(this, new HREMPLOYEEASSISTRowChangeEvent(((HREMPLOYEEASSISTRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HREMPLOYEEASSISTRowChanging != null)) { this.HREMPLOYEEASSISTRowChanging(this, new HREMPLOYEEASSISTRowChangeEvent(((HREMPLOYEEASSISTRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HREMPLOYEEASSISTRowDeleted != null)) { this.HREMPLOYEEASSISTRowDeleted(this, new HREMPLOYEEASSISTRowChangeEvent(((HREMPLOYEEASSISTRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HREMPLOYEEASSISTRowDeleting != null)) { this.HREMPLOYEEASSISTRowDeleting(this, new HREMPLOYEEASSISTRowChangeEvent(((HREMPLOYEEASSISTRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHREMPLOYEEASSISTRow(HREMPLOYEEASSISTRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HREMPLOYEEASSISTDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class DT_MainDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnPRENAME_CODE; private global::System.Data.DataColumn columnEMP_NAME; private global::System.Data.DataColumn columnEMP_SURNAME; private global::System.Data.DataColumn columnEMPTYPE_CODE; private global::System.Data.DataColumn columnDEPTGRP_CODE; private global::System.Data.DataColumn columnPOS_CODE; private global::System.Data.DataColumn columnSEX; private global::System.Data.DataColumn columnSALARY_ID; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MainDataTable() { this.TableName = "DT_Main"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DT_MainDataTable(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", "4.0.0.0")] protected DT_MainDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PRENAME_CODEColumn { get { return this.columnPRENAME_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NAMEColumn { get { return this.columnEMP_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_SURNAMEColumn { get { return this.columnEMP_SURNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMPTYPE_CODEColumn { get { return this.columnEMPTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEPTGRP_CODEColumn { get { return this.columnDEPTGRP_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn POS_CODEColumn { get { return this.columnPOS_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEXColumn { get { return this.columnSEX; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALARY_IDColumn { get { return this.columnSALARY_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public DT_MainRow this[int index] { get { return ((DT_MainRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MainRowChangeEventHandler DT_MainRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MainRowChangeEventHandler DT_MainRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MainRowChangeEventHandler DT_MainRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_MainRowChangeEventHandler DT_MainRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddDT_MainRow(DT_MainRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MainRow AddDT_MainRow(string COOP_ID, string EMP_NO, string PRENAME_CODE, string EMP_NAME, string EMP_SURNAME, string EMPTYPE_CODE, string DEPTGRP_CODE, string POS_CODE, string SEX, string SALARY_ID) { DT_MainRow rowDT_MainRow = ((DT_MainRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, PRENAME_CODE, EMP_NAME, EMP_SURNAME, EMPTYPE_CODE, DEPTGRP_CODE, POS_CODE, SEX, SALARY_ID}; rowDT_MainRow.ItemArray = columnValuesArray; this.Rows.Add(rowDT_MainRow); return rowDT_MainRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MainRow FindByCOOP_IDEMP_NO(string COOP_ID, string EMP_NO) { return ((DT_MainRow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { DT_MainDataTable cln = ((DT_MainDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new DT_MainDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnPRENAME_CODE = base.Columns["PRENAME_CODE"]; this.columnEMP_NAME = base.Columns["EMP_NAME"]; this.columnEMP_SURNAME = base.Columns["EMP_SURNAME"]; this.columnEMPTYPE_CODE = base.Columns["EMPTYPE_CODE"]; this.columnDEPTGRP_CODE = base.Columns["DEPTGRP_CODE"]; this.columnPOS_CODE = base.Columns["POS_CODE"]; this.columnSEX = base.Columns["SEX"]; this.columnSALARY_ID = base.Columns["SALARY_ID"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnPRENAME_CODE = new global::System.Data.DataColumn("PRENAME_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPRENAME_CODE); this.columnEMP_NAME = new global::System.Data.DataColumn("EMP_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NAME); this.columnEMP_SURNAME = new global::System.Data.DataColumn("EMP_SURNAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_SURNAME); this.columnEMPTYPE_CODE = new global::System.Data.DataColumn("EMPTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMPTYPE_CODE); this.columnDEPTGRP_CODE = new global::System.Data.DataColumn("DEPTGRP_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEPTGRP_CODE); this.columnPOS_CODE = new global::System.Data.DataColumn("POS_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPOS_CODE); this.columnSEX = new global::System.Data.DataColumn("SEX", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEX); this.columnSALARY_ID = new global::System.Data.DataColumn("SALARY_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALARY_ID); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.DefaultValue = ((string)("Auto")); this.columnEMP_NO.MaxLength = 8; this.columnPRENAME_CODE.DefaultValue = ((string)("01")); this.columnPRENAME_CODE.MaxLength = 2; this.columnEMP_NAME.MaxLength = 50; this.columnEMP_SURNAME.MaxLength = 50; this.columnEMPTYPE_CODE.DefaultValue = ((string)("01")); this.columnEMPTYPE_CODE.MaxLength = 2; this.columnDEPTGRP_CODE.MaxLength = 3; this.columnPOS_CODE.MaxLength = 3; this.columnSEX.MaxLength = 1; this.columnSALARY_ID.MaxLength = 15; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MainRow NewDT_MainRow() { return ((DT_MainRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new DT_MainRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(DT_MainRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.DT_MainRowChanged != null)) { this.DT_MainRowChanged(this, new DT_MainRowChangeEvent(((DT_MainRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.DT_MainRowChanging != null)) { this.DT_MainRowChanging(this, new DT_MainRowChangeEvent(((DT_MainRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.DT_MainRowDeleted != null)) { this.DT_MainRowDeleted(this, new DT_MainRowChangeEvent(((DT_MainRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.DT_MainRowDeleting != null)) { this.DT_MainRowDeleting(this, new DT_MainRowChangeEvent(((DT_MainRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveDT_MainRow(DT_MainRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "DT_MainDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class DT_SalaryDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSALARY_AMT; private global::System.Data.DataColumn columnSALEXP_CODE; private global::System.Data.DataColumn columnSALEXP_BANK; private global::System.Data.DataColumn columnSALEXP_BRANCH; private global::System.Data.DataColumn columnSALEXP_ACCID; private global::System.Data.DataColumn columnTAX_CALCODE; private global::System.Data.DataColumn columnTAX_BFAMT; private global::System.Data.DataColumn columnSS_STATUS; private global::System.Data.DataColumn columnSS_APPFIRSTSTS; private global::System.Data.DataColumn columnSS_BFAMT; private global::System.Data.DataColumn columnSS_APPDATE; private global::System.Data.DataColumn columnSS_RATE; private global::System.Data.DataColumn columnSS_HOSPITAL; private global::System.Data.DataColumn columnPROVF_STATUS; private global::System.Data.DataColumn columnPROVF_CORPRATE; private global::System.Data.DataColumn columnPROVF_EMPRATE; private global::System.Data.DataColumn columnPROVF_APPDATE; private global::System.Data.DataColumn columnPROVF_RESIGNDATE; private global::System.Data.DataColumn columnPROVF_BFAMT; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_SalaryDataTable() { this.TableName = "DT_Salary"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DT_SalaryDataTable(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", "4.0.0.0")] protected DT_SalaryDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALARY_AMTColumn { get { return this.columnSALARY_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALEXP_CODEColumn { get { return this.columnSALEXP_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALEXP_BANKColumn { get { return this.columnSALEXP_BANK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALEXP_BRANCHColumn { get { return this.columnSALEXP_BRANCH; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALEXP_ACCIDColumn { get { return this.columnSALEXP_ACCID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TAX_CALCODEColumn { get { return this.columnTAX_CALCODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TAX_BFAMTColumn { get { return this.columnTAX_BFAMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SS_STATUSColumn { get { return this.columnSS_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SS_APPFIRSTSTSColumn { get { return this.columnSS_APPFIRSTSTS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SS_BFAMTColumn { get { return this.columnSS_BFAMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SS_APPDATEColumn { get { return this.columnSS_APPDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SS_RATEColumn { get { return this.columnSS_RATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SS_HOSPITALColumn { get { return this.columnSS_HOSPITAL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVF_STATUSColumn { get { return this.columnPROVF_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVF_CORPRATEColumn { get { return this.columnPROVF_CORPRATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVF_EMPRATEColumn { get { return this.columnPROVF_EMPRATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVF_APPDATEColumn { get { return this.columnPROVF_APPDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVF_RESIGNDATEColumn { get { return this.columnPROVF_RESIGNDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn PROVF_BFAMTColumn { get { return this.columnPROVF_BFAMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public DT_SalaryRow this[int index] { get { return ((DT_SalaryRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_SalaryRowChangeEventHandler DT_SalaryRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_SalaryRowChangeEventHandler DT_SalaryRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_SalaryRowChangeEventHandler DT_SalaryRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event DT_SalaryRowChangeEventHandler DT_SalaryRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddDT_SalaryRow(DT_SalaryRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_SalaryRow AddDT_SalaryRow( string COOP_ID, string EMP_NO, decimal SALARY_AMT, string SALEXP_CODE, string SALEXP_BANK, string SALEXP_BRANCH, string SALEXP_ACCID, string TAX_CALCODE, decimal TAX_BFAMT, decimal SS_STATUS, decimal SS_APPFIRSTSTS, decimal SS_BFAMT, System.DateTime SS_APPDATE, decimal SS_RATE, string SS_HOSPITAL, decimal PROVF_STATUS, decimal PROVF_CORPRATE, decimal PROVF_EMPRATE, System.DateTime PROVF_APPDATE, System.DateTime PROVF_RESIGNDATE, decimal PROVF_BFAMT) { DT_SalaryRow rowDT_SalaryRow = ((DT_SalaryRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SALARY_AMT, SALEXP_CODE, SALEXP_BANK, SALEXP_BRANCH, SALEXP_ACCID, TAX_CALCODE, TAX_BFAMT, SS_STATUS, SS_APPFIRSTSTS, SS_BFAMT, SS_APPDATE, SS_RATE, SS_HOSPITAL, PROVF_STATUS, PROVF_CORPRATE, PROVF_EMPRATE, PROVF_APPDATE, PROVF_RESIGNDATE, PROVF_BFAMT}; rowDT_SalaryRow.ItemArray = columnValuesArray; this.Rows.Add(rowDT_SalaryRow); return rowDT_SalaryRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_SalaryRow FindByCOOP_IDEMP_NO(string COOP_ID, string EMP_NO) { return ((DT_SalaryRow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { DT_SalaryDataTable cln = ((DT_SalaryDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new DT_SalaryDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSALARY_AMT = base.Columns["SALARY_AMT"]; this.columnSALEXP_CODE = base.Columns["SALEXP_CODE"]; this.columnSALEXP_BANK = base.Columns["SALEXP_BANK"]; this.columnSALEXP_BRANCH = base.Columns["SALEXP_BRANCH"]; this.columnSALEXP_ACCID = base.Columns["SALEXP_ACCID"]; this.columnTAX_CALCODE = base.Columns["TAX_CALCODE"]; this.columnTAX_BFAMT = base.Columns["TAX_BFAMT"]; this.columnSS_STATUS = base.Columns["SS_STATUS"]; this.columnSS_APPFIRSTSTS = base.Columns["SS_APPFIRSTSTS"]; this.columnSS_BFAMT = base.Columns["SS_BFAMT"]; this.columnSS_APPDATE = base.Columns["SS_APPDATE"]; this.columnSS_RATE = base.Columns["SS_RATE"]; this.columnSS_HOSPITAL = base.Columns["SS_HOSPITAL"]; this.columnPROVF_STATUS = base.Columns["PROVF_STATUS"]; this.columnPROVF_CORPRATE = base.Columns["PROVF_CORPRATE"]; this.columnPROVF_EMPRATE = base.Columns["PROVF_EMPRATE"]; this.columnPROVF_APPDATE = base.Columns["PROVF_APPDATE"]; this.columnPROVF_RESIGNDATE = base.Columns["PROVF_RESIGNDATE"]; this.columnPROVF_BFAMT = base.Columns["PROVF_BFAMT"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSALARY_AMT = new global::System.Data.DataColumn("SALARY_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALARY_AMT); this.columnSALEXP_CODE = new global::System.Data.DataColumn("SALEXP_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALEXP_CODE); this.columnSALEXP_BANK = new global::System.Data.DataColumn("SALEXP_BANK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALEXP_BANK); this.columnSALEXP_BRANCH = new global::System.Data.DataColumn("SALEXP_BRANCH", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALEXP_BRANCH); this.columnSALEXP_ACCID = new global::System.Data.DataColumn("SALEXP_ACCID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALEXP_ACCID); this.columnTAX_CALCODE = new global::System.Data.DataColumn("TAX_CALCODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTAX_CALCODE); this.columnTAX_BFAMT = new global::System.Data.DataColumn("TAX_BFAMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTAX_BFAMT); this.columnSS_STATUS = new global::System.Data.DataColumn("SS_STATUS", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSS_STATUS); this.columnSS_APPFIRSTSTS = new global::System.Data.DataColumn("SS_APPFIRSTSTS", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSS_APPFIRSTSTS); this.columnSS_BFAMT = new global::System.Data.DataColumn("SS_BFAMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSS_BFAMT); this.columnSS_APPDATE = new global::System.Data.DataColumn("SS_APPDATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSS_APPDATE); this.columnSS_RATE = new global::System.Data.DataColumn("SS_RATE", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSS_RATE); this.columnSS_HOSPITAL = new global::System.Data.DataColumn("SS_HOSPITAL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSS_HOSPITAL); this.columnPROVF_STATUS = new global::System.Data.DataColumn("PROVF_STATUS", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVF_STATUS); this.columnPROVF_CORPRATE = new global::System.Data.DataColumn("PROVF_CORPRATE", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVF_CORPRATE); this.columnPROVF_EMPRATE = new global::System.Data.DataColumn("PROVF_EMPRATE", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVF_EMPRATE); this.columnPROVF_APPDATE = new global::System.Data.DataColumn("PROVF_APPDATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVF_APPDATE); this.columnPROVF_RESIGNDATE = new global::System.Data.DataColumn("PROVF_RESIGNDATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVF_RESIGNDATE); this.columnPROVF_BFAMT = new global::System.Data.DataColumn("PROVF_BFAMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPROVF_BFAMT); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSALEXP_CODE.MaxLength = 3; this.columnSALEXP_BANK.MaxLength = 3; this.columnSALEXP_BRANCH.MaxLength = 4; this.columnSALEXP_ACCID.MaxLength = 15; this.columnTAX_CALCODE.MaxLength = 3; this.columnSS_STATUS.DefaultValue = ((decimal)(0m)); this.columnSS_HOSPITAL.MaxLength = 100; this.columnPROVF_STATUS.DefaultValue = ((decimal)(0m)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_SalaryRow NewDT_SalaryRow() { return ((DT_SalaryRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new DT_SalaryRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(DT_SalaryRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.DT_SalaryRowChanged != null)) { this.DT_SalaryRowChanged(this, new DT_SalaryRowChangeEvent(((DT_SalaryRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.DT_SalaryRowChanging != null)) { this.DT_SalaryRowChanging(this, new DT_SalaryRowChangeEvent(((DT_SalaryRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.DT_SalaryRowDeleted != null)) { this.DT_SalaryRowDeleted(this, new DT_SalaryRowChangeEvent(((DT_SalaryRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.DT_SalaryRowDeleting != null)) { this.DT_SalaryRowDeleting(this, new DT_SalaryRowChangeEvent(((DT_SalaryRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveDT_SalaryRow(DT_SalaryRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "DT_SalaryDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HRGARANTEEDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnGARAN_NAME; private global::System.Data.DataColumn columnGARAN_SURNAME; private global::System.Data.DataColumn columnGARAN_BIRTH; private global::System.Data.DataColumn columnGARAN_WORK; private global::System.Data.DataColumn columnGARAN_TEL; private global::System.Data.DataColumn columnGARAN_AGE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRGARANTEEDataTable() { this.TableName = "HRGARANTEE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HRGARANTEEDataTable(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", "4.0.0.0")] protected HRGARANTEEDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn GARAN_NAMEColumn { get { return this.columnGARAN_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn GARAN_SURNAMEColumn { get { return this.columnGARAN_SURNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn GARAN_BIRTHColumn { get { return this.columnGARAN_BIRTH; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn GARAN_WORKColumn { get { return this.columnGARAN_WORK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn GARAN_TELColumn { get { return this.columnGARAN_TEL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn GARAN_AGEColumn { get { return this.columnGARAN_AGE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HRGARANTEERow this[int index] { get { return ((HRGARANTEERow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRGARANTEERowChangeEventHandler HRGARANTEERowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRGARANTEERowChangeEventHandler HRGARANTEERowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRGARANTEERowChangeEventHandler HRGARANTEERowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRGARANTEERowChangeEventHandler HRGARANTEERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHRGARANTEERow(HRGARANTEERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRGARANTEERow AddHRGARANTEERow(string COOP_ID, string EMP_NO, decimal SEQ_NO, string GARAN_NAME, string GARAN_SURNAME, System.DateTime GARAN_BIRTH, string GARAN_WORK, string GARAN_TEL, decimal GARAN_AGE) { HRGARANTEERow rowHRGARANTEERow = ((HRGARANTEERow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, GARAN_NAME, GARAN_SURNAME, GARAN_BIRTH, GARAN_WORK, GARAN_TEL, GARAN_AGE}; rowHRGARANTEERow.ItemArray = columnValuesArray; this.Rows.Add(rowHRGARANTEERow); return rowHRGARANTEERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRGARANTEERow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HRGARANTEERow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HRGARANTEEDataTable cln = ((HRGARANTEEDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HRGARANTEEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnGARAN_NAME = base.Columns["GARAN_NAME"]; this.columnGARAN_SURNAME = base.Columns["GARAN_SURNAME"]; this.columnGARAN_BIRTH = base.Columns["GARAN_BIRTH"]; this.columnGARAN_WORK = base.Columns["GARAN_WORK"]; this.columnGARAN_TEL = base.Columns["GARAN_TEL"]; this.columnGARAN_AGE = base.Columns["GARAN_AGE"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnGARAN_NAME = new global::System.Data.DataColumn("GARAN_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGARAN_NAME); this.columnGARAN_SURNAME = new global::System.Data.DataColumn("GARAN_SURNAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGARAN_SURNAME); this.columnGARAN_BIRTH = new global::System.Data.DataColumn("GARAN_BIRTH", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGARAN_BIRTH); this.columnGARAN_WORK = new global::System.Data.DataColumn("GARAN_WORK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGARAN_WORK); this.columnGARAN_TEL = new global::System.Data.DataColumn("GARAN_TEL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGARAN_TEL); this.columnGARAN_AGE = new global::System.Data.DataColumn("GARAN_AGE", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGARAN_AGE); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnGARAN_NAME.MaxLength = 50; this.columnGARAN_SURNAME.MaxLength = 50; this.columnGARAN_WORK.MaxLength = 100; this.columnGARAN_TEL.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRGARANTEERow NewHRGARANTEERow() { return ((HRGARANTEERow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HRGARANTEERow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HRGARANTEERow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HRGARANTEERowChanged != null)) { this.HRGARANTEERowChanged(this, new HRGARANTEERowChangeEvent(((HRGARANTEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HRGARANTEERowChanging != null)) { this.HRGARANTEERowChanging(this, new HRGARANTEERowChangeEvent(((HRGARANTEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HRGARANTEERowDeleted != null)) { this.HRGARANTEERowDeleted(this, new HRGARANTEERowChangeEvent(((HRGARANTEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HRGARANTEERowDeleting != null)) { this.HRGARANTEERowDeleting(this, new HRGARANTEERowChangeEvent(((HRGARANTEERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHRGARANTEERow(HRGARANTEERow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HRGARANTEEDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HRLOGLEAVEDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnOPERATE_DATE; private global::System.Data.DataColumn columnLEAVE_CODE; private global::System.Data.DataColumn columnLEAVE_FROM; private global::System.Data.DataColumn columnLEAVE_TO; private global::System.Data.DataColumn columnTOTALDAY; private global::System.Data.DataColumn columnTOTALTIME; private global::System.Data.DataColumn columnLEAVE_CAUSE; private global::System.Data.DataColumn columnLEAVE_TEL; private global::System.Data.DataColumn columnLEAVE_PLACE; private global::System.Data.DataColumn columnAPV_STATUS; private global::System.Data.DataColumn columnAPV_DATE; private global::System.Data.DataColumn columnAPV_REMARK; private global::System.Data.DataColumn columnAPV_BYCODE; private global::System.Data.DataColumn columnLAST_TIME; private global::System.Data.DataColumn columnSTART_TIME; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGLEAVEDataTable() { this.TableName = "HRLOGLEAVE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HRLOGLEAVEDataTable(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", "4.0.0.0")] protected HRLOGLEAVEDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn OPERATE_DATEColumn { get { return this.columnOPERATE_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LEAVE_CODEColumn { get { return this.columnLEAVE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LEAVE_FROMColumn { get { return this.columnLEAVE_FROM; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LEAVE_TOColumn { get { return this.columnLEAVE_TO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TOTALDAYColumn { get { return this.columnTOTALDAY; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn TOTALTIMEColumn { get { return this.columnTOTALTIME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LEAVE_CAUSEColumn { get { return this.columnLEAVE_CAUSE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LEAVE_TELColumn { get { return this.columnLEAVE_TEL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LEAVE_PLACEColumn { get { return this.columnLEAVE_PLACE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn APV_STATUSColumn { get { return this.columnAPV_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn APV_DATEColumn { get { return this.columnAPV_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn APV_REMARKColumn { get { return this.columnAPV_REMARK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn APV_BYCODEColumn { get { return this.columnAPV_BYCODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn LAST_TIMEColumn { get { return this.columnLAST_TIME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn START_TIMEColumn { get { return this.columnSTART_TIME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HRLOGLEAVERow this[int index] { get { return ((HRLOGLEAVERow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGLEAVERowChangeEventHandler HRLOGLEAVERowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGLEAVERowChangeEventHandler HRLOGLEAVERowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGLEAVERowChangeEventHandler HRLOGLEAVERowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGLEAVERowChangeEventHandler HRLOGLEAVERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHRLOGLEAVERow(HRLOGLEAVERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGLEAVERow AddHRLOGLEAVERow( string COOP_ID, string EMP_NO, decimal SEQ_NO, System.DateTime OPERATE_DATE, string LEAVE_CODE, System.DateTime LEAVE_FROM, System.DateTime LEAVE_TO, decimal TOTALDAY, decimal TOTALTIME, string LEAVE_CAUSE, string LEAVE_TEL, string LEAVE_PLACE, decimal APV_STATUS, System.DateTime APV_DATE, string APV_REMARK, string APV_BYCODE, string LAST_TIME, string START_TIME) { HRLOGLEAVERow rowHRLOGLEAVERow = ((HRLOGLEAVERow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, OPERATE_DATE, LEAVE_CODE, LEAVE_FROM, LEAVE_TO, TOTALDAY, TOTALTIME, LEAVE_CAUSE, LEAVE_TEL, LEAVE_PLACE, APV_STATUS, APV_DATE, APV_REMARK, APV_BYCODE, LAST_TIME, START_TIME}; rowHRLOGLEAVERow.ItemArray = columnValuesArray; this.Rows.Add(rowHRLOGLEAVERow); return rowHRLOGLEAVERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGLEAVERow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HRLOGLEAVERow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HRLOGLEAVEDataTable cln = ((HRLOGLEAVEDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HRLOGLEAVEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnOPERATE_DATE = base.Columns["OPERATE_DATE"]; this.columnLEAVE_CODE = base.Columns["LEAVE_CODE"]; this.columnLEAVE_FROM = base.Columns["LEAVE_FROM"]; this.columnLEAVE_TO = base.Columns["LEAVE_TO"]; this.columnTOTALDAY = base.Columns["TOTALDAY"]; this.columnTOTALTIME = base.Columns["TOTALTIME"]; this.columnLEAVE_CAUSE = base.Columns["LEAVE_CAUSE"]; this.columnLEAVE_TEL = base.Columns["LEAVE_TEL"]; this.columnLEAVE_PLACE = base.Columns["LEAVE_PLACE"]; this.columnAPV_STATUS = base.Columns["APV_STATUS"]; this.columnAPV_DATE = base.Columns["APV_DATE"]; this.columnAPV_REMARK = base.Columns["APV_REMARK"]; this.columnAPV_BYCODE = base.Columns["APV_BYCODE"]; this.columnLAST_TIME = base.Columns["LAST_TIME"]; this.columnSTART_TIME = base.Columns["START_TIME"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnOPERATE_DATE = new global::System.Data.DataColumn("OPERATE_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOPERATE_DATE); this.columnLEAVE_CODE = new global::System.Data.DataColumn("LEAVE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLEAVE_CODE); this.columnLEAVE_FROM = new global::System.Data.DataColumn("LEAVE_FROM", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLEAVE_FROM); this.columnLEAVE_TO = new global::System.Data.DataColumn("LEAVE_TO", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLEAVE_TO); this.columnTOTALDAY = new global::System.Data.DataColumn("TOTALDAY", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTOTALDAY); this.columnTOTALTIME = new global::System.Data.DataColumn("TOTALTIME", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTOTALTIME); this.columnLEAVE_CAUSE = new global::System.Data.DataColumn("LEAVE_CAUSE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLEAVE_CAUSE); this.columnLEAVE_TEL = new global::System.Data.DataColumn("LEAVE_TEL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLEAVE_TEL); this.columnLEAVE_PLACE = new global::System.Data.DataColumn("LEAVE_PLACE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLEAVE_PLACE); this.columnAPV_STATUS = new global::System.Data.DataColumn("APV_STATUS", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAPV_STATUS); this.columnAPV_DATE = new global::System.Data.DataColumn("APV_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAPV_DATE); this.columnAPV_REMARK = new global::System.Data.DataColumn("APV_REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAPV_REMARK); this.columnAPV_BYCODE = new global::System.Data.DataColumn("APV_BYCODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAPV_BYCODE); this.columnLAST_TIME = new global::System.Data.DataColumn("LAST_TIME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLAST_TIME); this.columnSTART_TIME = new global::System.Data.DataColumn("START_TIME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTART_TIME); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnLEAVE_CODE.MaxLength = 3; this.columnLEAVE_CAUSE.MaxLength = 200; this.columnLEAVE_TEL.MaxLength = 50; this.columnLEAVE_PLACE.MaxLength = 100; this.columnAPV_REMARK.MaxLength = 200; this.columnAPV_BYCODE.MaxLength = 3; this.columnLAST_TIME.MaxLength = 5; this.columnSTART_TIME.MaxLength = 5; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGLEAVERow NewHRLOGLEAVERow() { return ((HRLOGLEAVERow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HRLOGLEAVERow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HRLOGLEAVERow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HRLOGLEAVERowChanged != null)) { this.HRLOGLEAVERowChanged(this, new HRLOGLEAVERowChangeEvent(((HRLOGLEAVERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HRLOGLEAVERowChanging != null)) { this.HRLOGLEAVERowChanging(this, new HRLOGLEAVERowChangeEvent(((HRLOGLEAVERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HRLOGLEAVERowDeleted != null)) { this.HRLOGLEAVERowDeleted(this, new HRLOGLEAVERowChangeEvent(((HRLOGLEAVERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HRLOGLEAVERowDeleting != null)) { this.HRLOGLEAVERowDeleting(this, new HRLOGLEAVERowChangeEvent(((HRLOGLEAVERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHRLOGLEAVERow(HRLOGLEAVERow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HRLOGLEAVEDataTable"; 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; } } /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class HRLOGCHANGEWORKDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnEMP_NO; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnDEPTGRP_CODE; private global::System.Data.DataColumn columnPOS_CODE; private global::System.Data.DataColumn columnSALARY_AMT; private global::System.Data.DataColumn columnOLD_DEPTGRP_CODE; private global::System.Data.DataColumn columnOLD_POS_CODE; private global::System.Data.DataColumn columnOLD_SALARY_AMT; private global::System.Data.DataColumn columnORDER_DOCNO; private global::System.Data.DataColumn columnSTART_DATE; private global::System.Data.DataColumn columnORDER_DATE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGCHANGEWORKDataTable() { this.TableName = "HRLOGCHANGEWORK"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HRLOGCHANGEWORKDataTable(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", "4.0.0.0")] protected HRLOGCHANGEWORKDataTable(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", "4.0.0.0")] public global::System.Data.DataColumn COOP_IDColumn { get { return this.columnCOOP_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn EMP_NOColumn { get { return this.columnEMP_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SEQ_NOColumn { get { return this.columnSEQ_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEPTGRP_CODEColumn { get { return this.columnDEPTGRP_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn POS_CODEColumn { get { return this.columnPOS_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SALARY_AMTColumn { get { return this.columnSALARY_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn OLD_DEPTGRP_CODEColumn { get { return this.columnOLD_DEPTGRP_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn OLD_POS_CODEColumn { get { return this.columnOLD_POS_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn OLD_SALARY_AMTColumn { get { return this.columnOLD_SALARY_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ORDER_DOCNOColumn { get { return this.columnORDER_DOCNO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn START_DATEColumn { get { return this.columnSTART_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ORDER_DATEColumn { get { return this.columnORDER_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] public HRLOGCHANGEWORKRow this[int index] { get { return ((HRLOGCHANGEWORKRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGCHANGEWORKRowChangeEventHandler HRLOGCHANGEWORKRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGCHANGEWORKRowChangeEventHandler HRLOGCHANGEWORKRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGCHANGEWORKRowChangeEventHandler HRLOGCHANGEWORKRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event HRLOGCHANGEWORKRowChangeEventHandler HRLOGCHANGEWORKRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddHRLOGCHANGEWORKRow(HRLOGCHANGEWORKRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGCHANGEWORKRow AddHRLOGCHANGEWORKRow(string COOP_ID, string EMP_NO, decimal SEQ_NO, string DEPTGRP_CODE, string POS_CODE, decimal SALARY_AMT, string OLD_DEPTGRP_CODE, string OLD_POS_CODE, decimal OLD_SALARY_AMT, string ORDER_DOCNO, System.DateTime START_DATE, System.DateTime ORDER_DATE) { HRLOGCHANGEWORKRow rowHRLOGCHANGEWORKRow = ((HRLOGCHANGEWORKRow)(this.NewRow())); object[] columnValuesArray = new object[] { COOP_ID, EMP_NO, SEQ_NO, DEPTGRP_CODE, POS_CODE, SALARY_AMT, OLD_DEPTGRP_CODE, OLD_POS_CODE, OLD_SALARY_AMT, ORDER_DOCNO, START_DATE, ORDER_DATE}; rowHRLOGCHANGEWORKRow.ItemArray = columnValuesArray; this.Rows.Add(rowHRLOGCHANGEWORKRow); return rowHRLOGCHANGEWORKRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGCHANGEWORKRow FindByCOOP_IDEMP_NOSEQ_NO(string COOP_ID, string EMP_NO, decimal SEQ_NO) { return ((HRLOGCHANGEWORKRow)(this.Rows.Find(new object[] { COOP_ID, EMP_NO, SEQ_NO}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { HRLOGCHANGEWORKDataTable cln = ((HRLOGCHANGEWORKDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataTable CreateInstance() { return new HRLOGCHANGEWORKDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnEMP_NO = base.Columns["EMP_NO"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnDEPTGRP_CODE = base.Columns["DEPTGRP_CODE"]; this.columnPOS_CODE = base.Columns["POS_CODE"]; this.columnSALARY_AMT = base.Columns["SALARY_AMT"]; this.columnOLD_DEPTGRP_CODE = base.Columns["OLD_DEPTGRP_CODE"]; this.columnOLD_POS_CODE = base.Columns["OLD_POS_CODE"]; this.columnOLD_SALARY_AMT = base.Columns["OLD_SALARY_AMT"]; this.columnORDER_DOCNO = base.Columns["ORDER_DOCNO"]; this.columnSTART_DATE = base.Columns["START_DATE"]; this.columnORDER_DATE = base.Columns["ORDER_DATE"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnCOOP_ID = new global::System.Data.DataColumn("COOP_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOOP_ID); this.columnEMP_NO = new global::System.Data.DataColumn("EMP_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMP_NO); this.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnDEPTGRP_CODE = new global::System.Data.DataColumn("DEPTGRP_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEPTGRP_CODE); this.columnPOS_CODE = new global::System.Data.DataColumn("POS_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPOS_CODE); this.columnSALARY_AMT = new global::System.Data.DataColumn("SALARY_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSALARY_AMT); this.columnOLD_DEPTGRP_CODE = new global::System.Data.DataColumn("OLD_DEPTGRP_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOLD_DEPTGRP_CODE); this.columnOLD_POS_CODE = new global::System.Data.DataColumn("OLD_POS_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOLD_POS_CODE); this.columnOLD_SALARY_AMT = new global::System.Data.DataColumn("OLD_SALARY_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOLD_SALARY_AMT); this.columnORDER_DOCNO = new global::System.Data.DataColumn("ORDER_DOCNO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnORDER_DOCNO); this.columnSTART_DATE = new global::System.Data.DataColumn("START_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTART_DATE); this.columnORDER_DATE = new global::System.Data.DataColumn("ORDER_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnORDER_DATE); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnCOOP_ID, this.columnEMP_NO, this.columnSEQ_NO}, true)); this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnEMP_NO.AllowDBNull = false; this.columnEMP_NO.MaxLength = 8; this.columnSEQ_NO.AllowDBNull = false; this.columnDEPTGRP_CODE.AllowDBNull = false; this.columnDEPTGRP_CODE.MaxLength = 3; this.columnPOS_CODE.AllowDBNull = false; this.columnPOS_CODE.MaxLength = 3; this.columnOLD_DEPTGRP_CODE.MaxLength = 3; this.columnOLD_POS_CODE.MaxLength = 3; this.columnORDER_DOCNO.MaxLength = 20; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGCHANGEWORKRow NewHRLOGCHANGEWORKRow() { return ((HRLOGCHANGEWORKRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new HRLOGCHANGEWORKRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override global::System.Type GetRowType() { return typeof(HRLOGCHANGEWORKRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.HRLOGCHANGEWORKRowChanged != null)) { this.HRLOGCHANGEWORKRowChanged(this, new HRLOGCHANGEWORKRowChangeEvent(((HRLOGCHANGEWORKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.HRLOGCHANGEWORKRowChanging != null)) { this.HRLOGCHANGEWORKRowChanging(this, new HRLOGCHANGEWORKRowChangeEvent(((HRLOGCHANGEWORKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.HRLOGCHANGEWORKRowDeleted != null)) { this.HRLOGCHANGEWORKRowDeleted(this, new HRLOGCHANGEWORKRowChangeEvent(((HRLOGCHANGEWORKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.HRLOGCHANGEWORKRowDeleting != null)) { this.HRLOGCHANGEWORKRowDeleting(this, new HRLOGCHANGEWORKRowChangeEvent(((HRLOGCHANGEWORKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveHRLOGCHANGEWORKRow(HRLOGCHANGEWORKRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(); DataSet1 ds = new DataSet1(); 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 = "HRLOGCHANGEWORKDataTable"; 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; } } /// ///Represents strongly named DataRow class. /// public partial class HREMPLOYEERow : global::System.Data.DataRow { private HREMPLOYEEDataTable tableHREMPLOYEE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHREMPLOYEE = ((HREMPLOYEEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHREMPLOYEE.COOP_IDColumn])); } set { this[this.tableHREMPLOYEE.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHREMPLOYEE.EMP_NOColumn])); } set { this[this.tableHREMPLOYEE.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_ENAME { get { try { return ((string)(this[this.tableHREMPLOYEE.EMP_ENAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMP_ENAME\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.EMP_ENAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_ESURNAME { get { try { return ((string)(this[this.tableHREMPLOYEE.EMP_ESURNAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMP_ESURNAME\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.EMP_ESURNAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NICKNAME { get { try { return ((string)(this[this.tableHREMPLOYEE.EMP_NICKNAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMP_NICKNAME\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.EMP_NICKNAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string BLOOD_GRP { get { try { return ((string)(this[this.tableHREMPLOYEE.BLOOD_GRPColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BLOOD_GRP\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.BLOOD_GRPColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal WEIGHT { get { try { return ((decimal)(this[this.tableHREMPLOYEE.WEIGHTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'WEIGHT\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.WEIGHTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal HEIGHT { get { try { return ((decimal)(this[this.tableHREMPLOYEE.HEIGHTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'HEIGHT\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.HEIGHTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string NATION { get { try { return ((string)(this[this.tableHREMPLOYEE.NATIONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NATION\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.NATIONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string RELIGION { get { try { return ((string)(this[this.tableHREMPLOYEE.RELIGIONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'RELIGION\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.RELIGIONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_NO { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_NO\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_TAMBOL { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_TAMBOLColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_TAMBOL\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_TAMBOLColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_AMPHUR { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_AMPHURColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_AMPHUR\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_AMPHURColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_PROVINCE { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_PROVINCEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_PROVINCE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_PROVINCEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_POSTCODE { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_POSTCODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_POSTCODE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_POSTCODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_TEL { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_TELColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_TEL\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_TELColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADN_EMAIL { get { try { return ((string)(this[this.tableHREMPLOYEE.ADN_EMAILColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADN_EMAIL\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADN_EMAILColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADR_NO { get { try { return ((string)(this[this.tableHREMPLOYEE.ADR_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADR_NO\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADR_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADR_TAMBOL { get { try { return ((string)(this[this.tableHREMPLOYEE.ADR_TAMBOLColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADR_TAMBOL\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADR_TAMBOLColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADR_AMPHUR { get { try { return ((string)(this[this.tableHREMPLOYEE.ADR_AMPHURColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADR_AMPHUR\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADR_AMPHURColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADR_PROVINCE { get { try { return ((string)(this[this.tableHREMPLOYEE.ADR_PROVINCEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADR_PROVINCE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADR_PROVINCEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ADR_POSTCODE { get { try { return ((string)(this[this.tableHREMPLOYEE.ADR_POSTCODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ADR_POSTCODE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ADR_POSTCODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ID_CARD { get { try { return ((string)(this[this.tableHREMPLOYEE.ID_CARDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ID_CARD\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.ID_CARDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime BIRTH_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEE.BIRTH_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BIRTH_DATE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.BIRTH_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime WORK_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEE.WORK_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'WORK_DATE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.WORK_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime RESIGN_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEE.RESIGN_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'RESIGN_DATE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.RESIGN_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime CONTAIN_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEE.CONTAIN_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'CONTAIN_DATE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.CONTAIN_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime TERM_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEE.TERM_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TERM_DATE\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.TERM_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REF_MEMBNO { get { try { return ((string)(this[this.tableHREMPLOYEE.REF_MEMBNOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REF_MEMBNO\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.REF_MEMBNOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal EMP_STATUS { get { try { return ((decimal)(this[this.tableHREMPLOYEE.EMP_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMP_STATUS\' in table \'HREMPLOYEE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEE.EMP_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMP_ENAMENull() { return this.IsNull(this.tableHREMPLOYEE.EMP_ENAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMP_ENAMENull() { this[this.tableHREMPLOYEE.EMP_ENAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMP_ESURNAMENull() { return this.IsNull(this.tableHREMPLOYEE.EMP_ESURNAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMP_ESURNAMENull() { this[this.tableHREMPLOYEE.EMP_ESURNAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMP_NICKNAMENull() { return this.IsNull(this.tableHREMPLOYEE.EMP_NICKNAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMP_NICKNAMENull() { this[this.tableHREMPLOYEE.EMP_NICKNAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBLOOD_GRPNull() { return this.IsNull(this.tableHREMPLOYEE.BLOOD_GRPColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBLOOD_GRPNull() { this[this.tableHREMPLOYEE.BLOOD_GRPColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsWEIGHTNull() { return this.IsNull(this.tableHREMPLOYEE.WEIGHTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetWEIGHTNull() { this[this.tableHREMPLOYEE.WEIGHTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsHEIGHTNull() { return this.IsNull(this.tableHREMPLOYEE.HEIGHTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetHEIGHTNull() { this[this.tableHREMPLOYEE.HEIGHTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsNATIONNull() { return this.IsNull(this.tableHREMPLOYEE.NATIONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetNATIONNull() { this[this.tableHREMPLOYEE.NATIONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsRELIGIONNull() { return this.IsNull(this.tableHREMPLOYEE.RELIGIONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetRELIGIONNull() { this[this.tableHREMPLOYEE.RELIGIONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_NONull() { return this.IsNull(this.tableHREMPLOYEE.ADN_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_NONull() { this[this.tableHREMPLOYEE.ADN_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_TAMBOLNull() { return this.IsNull(this.tableHREMPLOYEE.ADN_TAMBOLColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_TAMBOLNull() { this[this.tableHREMPLOYEE.ADN_TAMBOLColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_AMPHURNull() { return this.IsNull(this.tableHREMPLOYEE.ADN_AMPHURColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_AMPHURNull() { this[this.tableHREMPLOYEE.ADN_AMPHURColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_PROVINCENull() { return this.IsNull(this.tableHREMPLOYEE.ADN_PROVINCEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_PROVINCENull() { this[this.tableHREMPLOYEE.ADN_PROVINCEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_POSTCODENull() { return this.IsNull(this.tableHREMPLOYEE.ADN_POSTCODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_POSTCODENull() { this[this.tableHREMPLOYEE.ADN_POSTCODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_TELNull() { return this.IsNull(this.tableHREMPLOYEE.ADN_TELColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_TELNull() { this[this.tableHREMPLOYEE.ADN_TELColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADN_EMAILNull() { return this.IsNull(this.tableHREMPLOYEE.ADN_EMAILColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADN_EMAILNull() { this[this.tableHREMPLOYEE.ADN_EMAILColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADR_NONull() { return this.IsNull(this.tableHREMPLOYEE.ADR_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADR_NONull() { this[this.tableHREMPLOYEE.ADR_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADR_TAMBOLNull() { return this.IsNull(this.tableHREMPLOYEE.ADR_TAMBOLColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADR_TAMBOLNull() { this[this.tableHREMPLOYEE.ADR_TAMBOLColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADR_AMPHURNull() { return this.IsNull(this.tableHREMPLOYEE.ADR_AMPHURColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADR_AMPHURNull() { this[this.tableHREMPLOYEE.ADR_AMPHURColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADR_PROVINCENull() { return this.IsNull(this.tableHREMPLOYEE.ADR_PROVINCEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADR_PROVINCENull() { this[this.tableHREMPLOYEE.ADR_PROVINCEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsADR_POSTCODENull() { return this.IsNull(this.tableHREMPLOYEE.ADR_POSTCODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetADR_POSTCODENull() { this[this.tableHREMPLOYEE.ADR_POSTCODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsID_CARDNull() { return this.IsNull(this.tableHREMPLOYEE.ID_CARDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetID_CARDNull() { this[this.tableHREMPLOYEE.ID_CARDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBIRTH_DATENull() { return this.IsNull(this.tableHREMPLOYEE.BIRTH_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBIRTH_DATENull() { this[this.tableHREMPLOYEE.BIRTH_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsWORK_DATENull() { return this.IsNull(this.tableHREMPLOYEE.WORK_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetWORK_DATENull() { this[this.tableHREMPLOYEE.WORK_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsRESIGN_DATENull() { return this.IsNull(this.tableHREMPLOYEE.RESIGN_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetRESIGN_DATENull() { this[this.tableHREMPLOYEE.RESIGN_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCONTAIN_DATENull() { return this.IsNull(this.tableHREMPLOYEE.CONTAIN_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCONTAIN_DATENull() { this[this.tableHREMPLOYEE.CONTAIN_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTERM_DATENull() { return this.IsNull(this.tableHREMPLOYEE.TERM_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTERM_DATENull() { this[this.tableHREMPLOYEE.TERM_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREF_MEMBNONull() { return this.IsNull(this.tableHREMPLOYEE.REF_MEMBNOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREF_MEMBNONull() { this[this.tableHREMPLOYEE.REF_MEMBNOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMP_STATUSNull() { return this.IsNull(this.tableHREMPLOYEE.EMP_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMP_STATUSNull() { this[this.tableHREMPLOYEE.EMP_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYRow[] GetHREMPLOYEEFAMILYRows() { if ((this.Table.ChildRelations["SYS_C00361509"] == null)) { return new HREMPLOYEEFAMILYRow[0]; } else { return ((HREMPLOYEEFAMILYRow[])(base.GetChildRows(this.Table.ChildRelations["SYS_C00361509"]))); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDURow[] GetHREMPLOYEEEDURows() { if ((this.Table.ChildRelations["SYS_C00361507"] == null)) { return new HREMPLOYEEEDURow[0]; } else { return ((HREMPLOYEEEDURow[])(base.GetChildRows(this.Table.ChildRelations["SYS_C00361507"]))); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCERow[] GetHREMPLOYEEEXPERIENCERows() { if ((this.Table.ChildRelations["SYS_C00361508"] == null)) { return new HREMPLOYEEEXPERIENCERow[0]; } else { return ((HREMPLOYEEEXPERIENCERow[])(base.GetChildRows(this.Table.ChildRelations["SYS_C00361508"]))); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGRow[] GetHREMPLOYEETRAININGRows() { if ((this.Table.ChildRelations["SYS_C00361510"] == null)) { return new HREMPLOYEETRAININGRow[0]; } else { return ((HREMPLOYEETRAININGRow[])(base.GetChildRows(this.Table.ChildRelations["SYS_C00361510"]))); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTRow[] GetHREMPLOYEEASSISTRows() { if ((this.Table.ChildRelations["SYS_C00361506"] == null)) { return new HREMPLOYEEASSISTRow[0]; } else { return ((HREMPLOYEEASSISTRow[])(base.GetChildRows(this.Table.ChildRelations["SYS_C00361506"]))); } } } /// ///Represents strongly named DataRow class. /// public partial class HREMPLOYEEFAMILYRow : global::System.Data.DataRow { private HREMPLOYEEFAMILYDataTable tableHREMPLOYEEFAMILY; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEFAMILYRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHREMPLOYEEFAMILY = ((HREMPLOYEEFAMILYDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHREMPLOYEEFAMILY.COOP_IDColumn])); } set { this[this.tableHREMPLOYEEFAMILY.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHREMPLOYEEFAMILY.EMP_NOColumn])); } set { this[this.tableHREMPLOYEEFAMILY.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHREMPLOYEEFAMILY.SEQ_NOColumn])); } set { this[this.tableHREMPLOYEEFAMILY.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string F_NAME { get { try { return ((string)(this[this.tableHREMPLOYEEFAMILY.F_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'F_NAME\' in table \'HREMPLOYEEFAMILY\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEFAMILY.F_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string F_RELATION { get { try { return ((string)(this[this.tableHREMPLOYEEFAMILY.F_RELATIONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'F_RELATION\' in table \'HREMPLOYEEFAMILY\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEFAMILY.F_RELATIONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime BIRTH_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEEFAMILY.BIRTH_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BIRTH_DATE\' in table \'HREMPLOYEEFAMILY\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEFAMILY.BIRTH_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string OCCUPATION { get { try { return ((string)(this[this.tableHREMPLOYEEFAMILY.OCCUPATIONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OCCUPATION\' in table \'HREMPLOYEEFAMILY\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEFAMILY.OCCUPATIONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow HREMPLOYEERowParent { get { return ((HREMPLOYEERow)(this.GetParentRow(this.Table.ParentRelations["SYS_C00361509"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["SYS_C00361509"]); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsF_NAMENull() { return this.IsNull(this.tableHREMPLOYEEFAMILY.F_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetF_NAMENull() { this[this.tableHREMPLOYEEFAMILY.F_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsF_RELATIONNull() { return this.IsNull(this.tableHREMPLOYEEFAMILY.F_RELATIONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetF_RELATIONNull() { this[this.tableHREMPLOYEEFAMILY.F_RELATIONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBIRTH_DATENull() { return this.IsNull(this.tableHREMPLOYEEFAMILY.BIRTH_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBIRTH_DATENull() { this[this.tableHREMPLOYEEFAMILY.BIRTH_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsOCCUPATIONNull() { return this.IsNull(this.tableHREMPLOYEEFAMILY.OCCUPATIONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetOCCUPATIONNull() { this[this.tableHREMPLOYEEFAMILY.OCCUPATIONColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HREMPLOYEEEDURow : global::System.Data.DataRow { private HREMPLOYEEEDUDataTable tableHREMPLOYEEEDU; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEEDURow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHREMPLOYEEEDU = ((HREMPLOYEEEDUDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHREMPLOYEEEDU.COOP_IDColumn])); } set { this[this.tableHREMPLOYEEEDU.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHREMPLOYEEEDU.EMP_NOColumn])); } set { this[this.tableHREMPLOYEEEDU.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHREMPLOYEEEDU.SEQ_NOColumn])); } set { this[this.tableHREMPLOYEEEDU.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EDU_LEVEL { get { try { return ((string)(this[this.tableHREMPLOYEEEDU.EDU_LEVELColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EDU_LEVEL\' in table \'HREMPLOYEEEDU\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEDU.EDU_LEVELColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EDU_INST { get { try { return ((string)(this[this.tableHREMPLOYEEEDU.EDU_INSTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EDU_INST\' in table \'HREMPLOYEEEDU\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEDU.EDU_INSTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EDU_DEGREE { get { try { return ((string)(this[this.tableHREMPLOYEEEDU.EDU_DEGREEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EDU_DEGREE\' in table \'HREMPLOYEEEDU\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEDU.EDU_DEGREEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EDU_MAJOR { get { try { return ((string)(this[this.tableHREMPLOYEEEDU.EDU_MAJORColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EDU_MAJOR\' in table \'HREMPLOYEEEDU\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEDU.EDU_MAJORColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal EDU_GPA { get { try { return ((decimal)(this[this.tableHREMPLOYEEEDU.EDU_GPAColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EDU_GPA\' in table \'HREMPLOYEEEDU\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEDU.EDU_GPAColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EDU_SUCCYEAR { get { try { return ((string)(this[this.tableHREMPLOYEEEDU.EDU_SUCCYEARColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EDU_SUCCYEAR\' in table \'HREMPLOYEEEDU\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEDU.EDU_SUCCYEARColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow HREMPLOYEERowParent { get { return ((HREMPLOYEERow)(this.GetParentRow(this.Table.ParentRelations["SYS_C00361507"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["SYS_C00361507"]); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEDU_LEVELNull() { return this.IsNull(this.tableHREMPLOYEEEDU.EDU_LEVELColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEDU_LEVELNull() { this[this.tableHREMPLOYEEEDU.EDU_LEVELColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEDU_INSTNull() { return this.IsNull(this.tableHREMPLOYEEEDU.EDU_INSTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEDU_INSTNull() { this[this.tableHREMPLOYEEEDU.EDU_INSTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEDU_DEGREENull() { return this.IsNull(this.tableHREMPLOYEEEDU.EDU_DEGREEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEDU_DEGREENull() { this[this.tableHREMPLOYEEEDU.EDU_DEGREEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEDU_MAJORNull() { return this.IsNull(this.tableHREMPLOYEEEDU.EDU_MAJORColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEDU_MAJORNull() { this[this.tableHREMPLOYEEEDU.EDU_MAJORColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEDU_GPANull() { return this.IsNull(this.tableHREMPLOYEEEDU.EDU_GPAColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEDU_GPANull() { this[this.tableHREMPLOYEEEDU.EDU_GPAColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEDU_SUCCYEARNull() { return this.IsNull(this.tableHREMPLOYEEEDU.EDU_SUCCYEARColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEDU_SUCCYEARNull() { this[this.tableHREMPLOYEEEDU.EDU_SUCCYEARColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HREMPLOYEEEXPERIENCERow : global::System.Data.DataRow { private HREMPLOYEEEXPERIENCEDataTable tableHREMPLOYEEEXPERIENCE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEEXPERIENCERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHREMPLOYEEEXPERIENCE = ((HREMPLOYEEEXPERIENCEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.COOP_IDColumn])); } set { this[this.tableHREMPLOYEEEXPERIENCE.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.EMP_NOColumn])); } set { this[this.tableHREMPLOYEEEXPERIENCE.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHREMPLOYEEEXPERIENCE.SEQ_NOColumn])); } set { this[this.tableHREMPLOYEEEXPERIENCE.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string CORP_NAME { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.CORP_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'CORP_NAME\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.CORP_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string POS_NAME { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.POS_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'POS_NAME\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.POS_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string YEARSTART { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.YEARSTARTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'YEARSTART\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.YEARSTARTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string YEAREND { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.YEARENDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'YEAREND\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.YEARENDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal LAST_SALARY { get { try { return ((decimal)(this[this.tableHREMPLOYEEEXPERIENCE.LAST_SALARYColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LAST_SALARY\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.LAST_SALARYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string JOB_TYPE { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.JOB_TYPEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'JOB_TYPE\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.JOB_TYPEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string JOB_DESC { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.JOB_DESCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'JOB_DESC\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.JOB_DESCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string AWAYCAUSE { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.AWAYCAUSEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'AWAYCAUSE\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.AWAYCAUSEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REMARK { get { try { return ((string)(this[this.tableHREMPLOYEEEXPERIENCE.REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMARK\' in table \'HREMPLOYEEEXPERIENCE\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEEXPERIENCE.REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow HREMPLOYEERowParent { get { return ((HREMPLOYEERow)(this.GetParentRow(this.Table.ParentRelations["SYS_C00361508"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["SYS_C00361508"]); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCORP_NAMENull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.CORP_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCORP_NAMENull() { this[this.tableHREMPLOYEEEXPERIENCE.CORP_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPOS_NAMENull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.POS_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPOS_NAMENull() { this[this.tableHREMPLOYEEEXPERIENCE.POS_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsYEARSTARTNull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.YEARSTARTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetYEARSTARTNull() { this[this.tableHREMPLOYEEEXPERIENCE.YEARSTARTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsYEARENDNull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.YEARENDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetYEARENDNull() { this[this.tableHREMPLOYEEEXPERIENCE.YEARENDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLAST_SALARYNull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.LAST_SALARYColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLAST_SALARYNull() { this[this.tableHREMPLOYEEEXPERIENCE.LAST_SALARYColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsJOB_TYPENull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.JOB_TYPEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetJOB_TYPENull() { this[this.tableHREMPLOYEEEXPERIENCE.JOB_TYPEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsJOB_DESCNull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.JOB_DESCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetJOB_DESCNull() { this[this.tableHREMPLOYEEEXPERIENCE.JOB_DESCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAWAYCAUSENull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.AWAYCAUSEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAWAYCAUSENull() { this[this.tableHREMPLOYEEEXPERIENCE.AWAYCAUSEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREMARKNull() { return this.IsNull(this.tableHREMPLOYEEEXPERIENCE.REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMARKNull() { this[this.tableHREMPLOYEEEXPERIENCE.REMARKColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HREMPLOYEETRAININGRow : global::System.Data.DataRow { private HREMPLOYEETRAININGDataTable tableHREMPLOYEETRAINING; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEETRAININGRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHREMPLOYEETRAINING = ((HREMPLOYEETRAININGDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHREMPLOYEETRAINING.COOP_IDColumn])); } set { this[this.tableHREMPLOYEETRAINING.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHREMPLOYEETRAINING.EMP_NOColumn])); } set { this[this.tableHREMPLOYEETRAINING.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHREMPLOYEETRAINING.SEQ_NOColumn])); } set { this[this.tableHREMPLOYEETRAINING.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime TR_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEETRAINING.TR_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_DATE\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TR_CODE { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.TR_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_CODE\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TR_SUBJECT { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.TR_SUBJECTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_SUBJECT\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_SUBJECTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TR_CAUSE { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.TR_CAUSEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_CAUSE\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_CAUSEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TR_LOCATION { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.TR_LOCATIONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_LOCATION\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_LOCATIONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TR_INSTITUTION { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.TR_INSTITUTIONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_INSTITUTION\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_INSTITUTIONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime TR_FROMDATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEETRAINING.TR_FROMDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_FROMDATE\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_FROMDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime TR_TODATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEETRAINING.TR_TODATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_TODATE\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_TODATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal TR_DAY { get { try { return ((decimal)(this[this.tableHREMPLOYEETRAINING.TR_DAYColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_DAY\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_DAYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal TR_EXPAMT { get { try { return ((decimal)(this[this.tableHREMPLOYEETRAINING.TR_EXPAMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_EXPAMT\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_EXPAMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TR_CERTDESC { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.TR_CERTDESCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TR_CERTDESC\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.TR_CERTDESCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REMARK { get { try { return ((string)(this[this.tableHREMPLOYEETRAINING.REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMARK\' in table \'HREMPLOYEETRAINING\' is DBNull.", e); } } set { this[this.tableHREMPLOYEETRAINING.REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow HREMPLOYEERowParent { get { return ((HREMPLOYEERow)(this.GetParentRow(this.Table.ParentRelations["SYS_C00361510"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["SYS_C00361510"]); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_DATENull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_DATENull() { this[this.tableHREMPLOYEETRAINING.TR_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_CODENull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_CODENull() { this[this.tableHREMPLOYEETRAINING.TR_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_SUBJECTNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_SUBJECTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_SUBJECTNull() { this[this.tableHREMPLOYEETRAINING.TR_SUBJECTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_CAUSENull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_CAUSEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_CAUSENull() { this[this.tableHREMPLOYEETRAINING.TR_CAUSEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_LOCATIONNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_LOCATIONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_LOCATIONNull() { this[this.tableHREMPLOYEETRAINING.TR_LOCATIONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_INSTITUTIONNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_INSTITUTIONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_INSTITUTIONNull() { this[this.tableHREMPLOYEETRAINING.TR_INSTITUTIONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_FROMDATENull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_FROMDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_FROMDATENull() { this[this.tableHREMPLOYEETRAINING.TR_FROMDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_TODATENull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_TODATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_TODATENull() { this[this.tableHREMPLOYEETRAINING.TR_TODATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_DAYNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_DAYColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_DAYNull() { this[this.tableHREMPLOYEETRAINING.TR_DAYColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_EXPAMTNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_EXPAMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_EXPAMTNull() { this[this.tableHREMPLOYEETRAINING.TR_EXPAMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTR_CERTDESCNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.TR_CERTDESCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTR_CERTDESCNull() { this[this.tableHREMPLOYEETRAINING.TR_CERTDESCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREMARKNull() { return this.IsNull(this.tableHREMPLOYEETRAINING.REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMARKNull() { this[this.tableHREMPLOYEETRAINING.REMARKColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HREMPLOYEEASSISTRow : global::System.Data.DataRow { private HREMPLOYEEASSISTDataTable tableHREMPLOYEEASSIST; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HREMPLOYEEASSISTRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHREMPLOYEEASSIST = ((HREMPLOYEEASSISTDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHREMPLOYEEASSIST.COOP_IDColumn])); } set { this[this.tableHREMPLOYEEASSIST.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHREMPLOYEEASSIST.EMP_NOColumn])); } set { this[this.tableHREMPLOYEEASSIST.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHREMPLOYEEASSIST.SEQ_NOColumn])); } set { this[this.tableHREMPLOYEEASSIST.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ASSIST_CODE { get { try { return ((string)(this[this.tableHREMPLOYEEASSIST.ASSIST_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ASSIST_CODE\' in table \'HREMPLOYEEASSIST\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEASSIST.ASSIST_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime ASSIST_DATE { get { try { return ((global::System.DateTime)(this[this.tableHREMPLOYEEASSIST.ASSIST_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ASSIST_DATE\' in table \'HREMPLOYEEASSIST\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEASSIST.ASSIST_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ASSIST_DESC { get { try { return ((string)(this[this.tableHREMPLOYEEASSIST.ASSIST_DESCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ASSIST_DESC\' in table \'HREMPLOYEEASSIST\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEASSIST.ASSIST_DESCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal ASSIST_AMT { get { try { return ((decimal)(this[this.tableHREMPLOYEEASSIST.ASSIST_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ASSIST_AMT\' in table \'HREMPLOYEEASSIST\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEASSIST.ASSIST_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ASSIST_REMARK { get { try { return ((string)(this[this.tableHREMPLOYEEASSIST.ASSIST_REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ASSIST_REMARK\' in table \'HREMPLOYEEASSIST\' is DBNull.", e); } } set { this[this.tableHREMPLOYEEASSIST.ASSIST_REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERow HREMPLOYEERowParent { get { return ((HREMPLOYEERow)(this.GetParentRow(this.Table.ParentRelations["SYS_C00361506"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["SYS_C00361506"]); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsASSIST_CODENull() { return this.IsNull(this.tableHREMPLOYEEASSIST.ASSIST_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetASSIST_CODENull() { this[this.tableHREMPLOYEEASSIST.ASSIST_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsASSIST_DATENull() { return this.IsNull(this.tableHREMPLOYEEASSIST.ASSIST_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetASSIST_DATENull() { this[this.tableHREMPLOYEEASSIST.ASSIST_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsASSIST_DESCNull() { return this.IsNull(this.tableHREMPLOYEEASSIST.ASSIST_DESCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetASSIST_DESCNull() { this[this.tableHREMPLOYEEASSIST.ASSIST_DESCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsASSIST_AMTNull() { return this.IsNull(this.tableHREMPLOYEEASSIST.ASSIST_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetASSIST_AMTNull() { this[this.tableHREMPLOYEEASSIST.ASSIST_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsASSIST_REMARKNull() { return this.IsNull(this.tableHREMPLOYEEASSIST.ASSIST_REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetASSIST_REMARKNull() { this[this.tableHREMPLOYEEASSIST.ASSIST_REMARKColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class DT_MainRow : global::System.Data.DataRow { private DT_MainDataTable tableDT_Main; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DT_MainRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDT_Main = ((DT_MainDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableDT_Main.COOP_IDColumn])); } set { this[this.tableDT_Main.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableDT_Main.EMP_NOColumn])); } set { this[this.tableDT_Main.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string PRENAME_CODE { get { try { return ((string)(this[this.tableDT_Main.PRENAME_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PRENAME_CODE\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.PRENAME_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NAME { get { try { return ((string)(this[this.tableDT_Main.EMP_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMP_NAME\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.EMP_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_SURNAME { get { try { return ((string)(this[this.tableDT_Main.EMP_SURNAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMP_SURNAME\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.EMP_SURNAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMPTYPE_CODE { get { try { return ((string)(this[this.tableDT_Main.EMPTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMPTYPE_CODE\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.EMPTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEPTGRP_CODE { get { try { return ((string)(this[this.tableDT_Main.DEPTGRP_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEPTGRP_CODE\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.DEPTGRP_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string POS_CODE { get { try { return ((string)(this[this.tableDT_Main.POS_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'POS_CODE\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.POS_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SEX { get { try { return ((string)(this[this.tableDT_Main.SEXColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SEX\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.SEXColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SALARY_ID { get { try { return ((string)(this[this.tableDT_Main.SALARY_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALARY_ID\' in table \'DT_Main\' is DBNull.", e); } } set { this[this.tableDT_Main.SALARY_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPRENAME_CODENull() { return this.IsNull(this.tableDT_Main.PRENAME_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPRENAME_CODENull() { this[this.tableDT_Main.PRENAME_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMP_NAMENull() { return this.IsNull(this.tableDT_Main.EMP_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMP_NAMENull() { this[this.tableDT_Main.EMP_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMP_SURNAMENull() { return this.IsNull(this.tableDT_Main.EMP_SURNAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMP_SURNAMENull() { this[this.tableDT_Main.EMP_SURNAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsEMPTYPE_CODENull() { return this.IsNull(this.tableDT_Main.EMPTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetEMPTYPE_CODENull() { this[this.tableDT_Main.EMPTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEPTGRP_CODENull() { return this.IsNull(this.tableDT_Main.DEPTGRP_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEPTGRP_CODENull() { this[this.tableDT_Main.DEPTGRP_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPOS_CODENull() { return this.IsNull(this.tableDT_Main.POS_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPOS_CODENull() { this[this.tableDT_Main.POS_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSEXNull() { return this.IsNull(this.tableDT_Main.SEXColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSEXNull() { this[this.tableDT_Main.SEXColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALARY_IDNull() { return this.IsNull(this.tableDT_Main.SALARY_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALARY_IDNull() { this[this.tableDT_Main.SALARY_IDColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class DT_SalaryRow : global::System.Data.DataRow { private DT_SalaryDataTable tableDT_Salary; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal DT_SalaryRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDT_Salary = ((DT_SalaryDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableDT_Salary.COOP_IDColumn])); } set { this[this.tableDT_Salary.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableDT_Salary.EMP_NOColumn])); } set { this[this.tableDT_Salary.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SALARY_AMT { get { try { return ((decimal)(this[this.tableDT_Salary.SALARY_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALARY_AMT\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SALARY_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SALEXP_CODE { get { try { return ((string)(this[this.tableDT_Salary.SALEXP_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALEXP_CODE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SALEXP_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SALEXP_BANK { get { try { return ((string)(this[this.tableDT_Salary.SALEXP_BANKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALEXP_BANK\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SALEXP_BANKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SALEXP_BRANCH { get { try { return ((string)(this[this.tableDT_Salary.SALEXP_BRANCHColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALEXP_BRANCH\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SALEXP_BRANCHColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SALEXP_ACCID { get { try { return ((string)(this[this.tableDT_Salary.SALEXP_ACCIDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALEXP_ACCID\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SALEXP_ACCIDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string TAX_CALCODE { get { try { return ((string)(this[this.tableDT_Salary.TAX_CALCODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TAX_CALCODE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.TAX_CALCODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal TAX_BFAMT { get { try { return ((decimal)(this[this.tableDT_Salary.TAX_BFAMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TAX_BFAMT\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.TAX_BFAMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SS_STATUS { get { try { return ((decimal)(this[this.tableDT_Salary.SS_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SS_STATUS\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SS_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SS_APPFIRSTSTS { get { try { return ((decimal)(this[this.tableDT_Salary.SS_APPFIRSTSTSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SS_APPFIRSTSTS\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SS_APPFIRSTSTSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SS_BFAMT { get { try { return ((decimal)(this[this.tableDT_Salary.SS_BFAMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SS_BFAMT\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SS_BFAMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime SS_APPDATE { get { try { return ((global::System.DateTime)(this[this.tableDT_Salary.SS_APPDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SS_APPDATE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SS_APPDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SS_RATE { get { try { return ((decimal)(this[this.tableDT_Salary.SS_RATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SS_RATE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SS_RATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SS_HOSPITAL { get { try { return ((string)(this[this.tableDT_Salary.SS_HOSPITALColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SS_HOSPITAL\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.SS_HOSPITALColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal PROVF_STATUS { get { try { return ((decimal)(this[this.tableDT_Salary.PROVF_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVF_STATUS\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.PROVF_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal PROVF_CORPRATE { get { try { return ((decimal)(this[this.tableDT_Salary.PROVF_CORPRATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVF_CORPRATE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.PROVF_CORPRATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal PROVF_EMPRATE { get { try { return ((decimal)(this[this.tableDT_Salary.PROVF_EMPRATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVF_EMPRATE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.PROVF_EMPRATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime PROVF_APPDATE { get { try { return ((global::System.DateTime)(this[this.tableDT_Salary.PROVF_APPDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVF_APPDATE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.PROVF_APPDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime PROVF_RESIGNDATE { get { try { return ((global::System.DateTime)(this[this.tableDT_Salary.PROVF_RESIGNDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVF_RESIGNDATE\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.PROVF_RESIGNDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal PROVF_BFAMT { get { try { return ((decimal)(this[this.tableDT_Salary.PROVF_BFAMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PROVF_BFAMT\' in table \'DT_Salary\' is DBNull.", e); } } set { this[this.tableDT_Salary.PROVF_BFAMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALARY_AMTNull() { return this.IsNull(this.tableDT_Salary.SALARY_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALARY_AMTNull() { this[this.tableDT_Salary.SALARY_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALEXP_CODENull() { return this.IsNull(this.tableDT_Salary.SALEXP_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALEXP_CODENull() { this[this.tableDT_Salary.SALEXP_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALEXP_BANKNull() { return this.IsNull(this.tableDT_Salary.SALEXP_BANKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALEXP_BANKNull() { this[this.tableDT_Salary.SALEXP_BANKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALEXP_BRANCHNull() { return this.IsNull(this.tableDT_Salary.SALEXP_BRANCHColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALEXP_BRANCHNull() { this[this.tableDT_Salary.SALEXP_BRANCHColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALEXP_ACCIDNull() { return this.IsNull(this.tableDT_Salary.SALEXP_ACCIDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALEXP_ACCIDNull() { this[this.tableDT_Salary.SALEXP_ACCIDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTAX_CALCODENull() { return this.IsNull(this.tableDT_Salary.TAX_CALCODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTAX_CALCODENull() { this[this.tableDT_Salary.TAX_CALCODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTAX_BFAMTNull() { return this.IsNull(this.tableDT_Salary.TAX_BFAMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTAX_BFAMTNull() { this[this.tableDT_Salary.TAX_BFAMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSS_STATUSNull() { return this.IsNull(this.tableDT_Salary.SS_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSS_STATUSNull() { this[this.tableDT_Salary.SS_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSS_APPFIRSTSTSNull() { return this.IsNull(this.tableDT_Salary.SS_APPFIRSTSTSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSS_APPFIRSTSTSNull() { this[this.tableDT_Salary.SS_APPFIRSTSTSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSS_BFAMTNull() { return this.IsNull(this.tableDT_Salary.SS_BFAMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSS_BFAMTNull() { this[this.tableDT_Salary.SS_BFAMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSS_APPDATENull() { return this.IsNull(this.tableDT_Salary.SS_APPDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSS_APPDATENull() { this[this.tableDT_Salary.SS_APPDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSS_RATENull() { return this.IsNull(this.tableDT_Salary.SS_RATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSS_RATENull() { this[this.tableDT_Salary.SS_RATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSS_HOSPITALNull() { return this.IsNull(this.tableDT_Salary.SS_HOSPITALColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSS_HOSPITALNull() { this[this.tableDT_Salary.SS_HOSPITALColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVF_STATUSNull() { return this.IsNull(this.tableDT_Salary.PROVF_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVF_STATUSNull() { this[this.tableDT_Salary.PROVF_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVF_CORPRATENull() { return this.IsNull(this.tableDT_Salary.PROVF_CORPRATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVF_CORPRATENull() { this[this.tableDT_Salary.PROVF_CORPRATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVF_EMPRATENull() { return this.IsNull(this.tableDT_Salary.PROVF_EMPRATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVF_EMPRATENull() { this[this.tableDT_Salary.PROVF_EMPRATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVF_APPDATENull() { return this.IsNull(this.tableDT_Salary.PROVF_APPDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVF_APPDATENull() { this[this.tableDT_Salary.PROVF_APPDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVF_RESIGNDATENull() { return this.IsNull(this.tableDT_Salary.PROVF_RESIGNDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVF_RESIGNDATENull() { this[this.tableDT_Salary.PROVF_RESIGNDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsPROVF_BFAMTNull() { return this.IsNull(this.tableDT_Salary.PROVF_BFAMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetPROVF_BFAMTNull() { this[this.tableDT_Salary.PROVF_BFAMTColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HRGARANTEERow : global::System.Data.DataRow { private HRGARANTEEDataTable tableHRGARANTEE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HRGARANTEERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHRGARANTEE = ((HRGARANTEEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHRGARANTEE.COOP_IDColumn])); } set { this[this.tableHRGARANTEE.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHRGARANTEE.EMP_NOColumn])); } set { this[this.tableHRGARANTEE.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHRGARANTEE.SEQ_NOColumn])); } set { this[this.tableHRGARANTEE.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string GARAN_NAME { get { try { return ((string)(this[this.tableHRGARANTEE.GARAN_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'GARAN_NAME\' in table \'HRGARANTEE\' is DBNull.", e); } } set { this[this.tableHRGARANTEE.GARAN_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string GARAN_SURNAME { get { try { return ((string)(this[this.tableHRGARANTEE.GARAN_SURNAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'GARAN_SURNAME\' in table \'HRGARANTEE\' is DBNull.", e); } } set { this[this.tableHRGARANTEE.GARAN_SURNAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime GARAN_BIRTH { get { try { return ((global::System.DateTime)(this[this.tableHRGARANTEE.GARAN_BIRTHColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'GARAN_BIRTH\' in table \'HRGARANTEE\' is DBNull.", e); } } set { this[this.tableHRGARANTEE.GARAN_BIRTHColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string GARAN_WORK { get { try { return ((string)(this[this.tableHRGARANTEE.GARAN_WORKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'GARAN_WORK\' in table \'HRGARANTEE\' is DBNull.", e); } } set { this[this.tableHRGARANTEE.GARAN_WORKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string GARAN_TEL { get { try { return ((string)(this[this.tableHRGARANTEE.GARAN_TELColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'GARAN_TEL\' in table \'HRGARANTEE\' is DBNull.", e); } } set { this[this.tableHRGARANTEE.GARAN_TELColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal GARAN_AGE { get { try { return ((decimal)(this[this.tableHRGARANTEE.GARAN_AGEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'GARAN_AGE\' in table \'HRGARANTEE\' is DBNull.", e); } } set { this[this.tableHRGARANTEE.GARAN_AGEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsGARAN_NAMENull() { return this.IsNull(this.tableHRGARANTEE.GARAN_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetGARAN_NAMENull() { this[this.tableHRGARANTEE.GARAN_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsGARAN_SURNAMENull() { return this.IsNull(this.tableHRGARANTEE.GARAN_SURNAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetGARAN_SURNAMENull() { this[this.tableHRGARANTEE.GARAN_SURNAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsGARAN_BIRTHNull() { return this.IsNull(this.tableHRGARANTEE.GARAN_BIRTHColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetGARAN_BIRTHNull() { this[this.tableHRGARANTEE.GARAN_BIRTHColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsGARAN_WORKNull() { return this.IsNull(this.tableHRGARANTEE.GARAN_WORKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetGARAN_WORKNull() { this[this.tableHRGARANTEE.GARAN_WORKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsGARAN_TELNull() { return this.IsNull(this.tableHRGARANTEE.GARAN_TELColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetGARAN_TELNull() { this[this.tableHRGARANTEE.GARAN_TELColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsGARAN_AGENull() { return this.IsNull(this.tableHRGARANTEE.GARAN_AGEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetGARAN_AGENull() { this[this.tableHRGARANTEE.GARAN_AGEColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HRLOGLEAVERow : global::System.Data.DataRow { private HRLOGLEAVEDataTable tableHRLOGLEAVE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HRLOGLEAVERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHRLOGLEAVE = ((HRLOGLEAVEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHRLOGLEAVE.COOP_IDColumn])); } set { this[this.tableHRLOGLEAVE.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHRLOGLEAVE.EMP_NOColumn])); } set { this[this.tableHRLOGLEAVE.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHRLOGLEAVE.SEQ_NOColumn])); } set { this[this.tableHRLOGLEAVE.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime OPERATE_DATE { get { try { return ((global::System.DateTime)(this[this.tableHRLOGLEAVE.OPERATE_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OPERATE_DATE\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.OPERATE_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string LEAVE_CODE { get { try { return ((string)(this[this.tableHRLOGLEAVE.LEAVE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LEAVE_CODE\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LEAVE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime LEAVE_FROM { get { try { return ((global::System.DateTime)(this[this.tableHRLOGLEAVE.LEAVE_FROMColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LEAVE_FROM\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LEAVE_FROMColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime LEAVE_TO { get { try { return ((global::System.DateTime)(this[this.tableHRLOGLEAVE.LEAVE_TOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LEAVE_TO\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LEAVE_TOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal TOTALDAY { get { try { return ((decimal)(this[this.tableHRLOGLEAVE.TOTALDAYColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TOTALDAY\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.TOTALDAYColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal TOTALTIME { get { try { return ((decimal)(this[this.tableHRLOGLEAVE.TOTALTIMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TOTALTIME\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.TOTALTIMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string LEAVE_CAUSE { get { try { return ((string)(this[this.tableHRLOGLEAVE.LEAVE_CAUSEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LEAVE_CAUSE\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LEAVE_CAUSEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string LEAVE_TEL { get { try { return ((string)(this[this.tableHRLOGLEAVE.LEAVE_TELColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LEAVE_TEL\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LEAVE_TELColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string LEAVE_PLACE { get { try { return ((string)(this[this.tableHRLOGLEAVE.LEAVE_PLACEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LEAVE_PLACE\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LEAVE_PLACEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal APV_STATUS { get { try { return ((decimal)(this[this.tableHRLOGLEAVE.APV_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'APV_STATUS\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.APV_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime APV_DATE { get { try { return ((global::System.DateTime)(this[this.tableHRLOGLEAVE.APV_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'APV_DATE\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.APV_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string APV_REMARK { get { try { return ((string)(this[this.tableHRLOGLEAVE.APV_REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'APV_REMARK\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.APV_REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string APV_BYCODE { get { try { return ((string)(this[this.tableHRLOGLEAVE.APV_BYCODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'APV_BYCODE\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.APV_BYCODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string LAST_TIME { get { try { return ((string)(this[this.tableHRLOGLEAVE.LAST_TIMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LAST_TIME\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.LAST_TIMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string START_TIME { get { try { return ((string)(this[this.tableHRLOGLEAVE.START_TIMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'START_TIME\' in table \'HRLOGLEAVE\' is DBNull.", e); } } set { this[this.tableHRLOGLEAVE.START_TIMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsOPERATE_DATENull() { return this.IsNull(this.tableHRLOGLEAVE.OPERATE_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetOPERATE_DATENull() { this[this.tableHRLOGLEAVE.OPERATE_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLEAVE_CODENull() { return this.IsNull(this.tableHRLOGLEAVE.LEAVE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLEAVE_CODENull() { this[this.tableHRLOGLEAVE.LEAVE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLEAVE_FROMNull() { return this.IsNull(this.tableHRLOGLEAVE.LEAVE_FROMColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLEAVE_FROMNull() { this[this.tableHRLOGLEAVE.LEAVE_FROMColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLEAVE_TONull() { return this.IsNull(this.tableHRLOGLEAVE.LEAVE_TOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLEAVE_TONull() { this[this.tableHRLOGLEAVE.LEAVE_TOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTOTALDAYNull() { return this.IsNull(this.tableHRLOGLEAVE.TOTALDAYColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTOTALDAYNull() { this[this.tableHRLOGLEAVE.TOTALDAYColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsTOTALTIMENull() { return this.IsNull(this.tableHRLOGLEAVE.TOTALTIMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetTOTALTIMENull() { this[this.tableHRLOGLEAVE.TOTALTIMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLEAVE_CAUSENull() { return this.IsNull(this.tableHRLOGLEAVE.LEAVE_CAUSEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLEAVE_CAUSENull() { this[this.tableHRLOGLEAVE.LEAVE_CAUSEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLEAVE_TELNull() { return this.IsNull(this.tableHRLOGLEAVE.LEAVE_TELColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLEAVE_TELNull() { this[this.tableHRLOGLEAVE.LEAVE_TELColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLEAVE_PLACENull() { return this.IsNull(this.tableHRLOGLEAVE.LEAVE_PLACEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLEAVE_PLACENull() { this[this.tableHRLOGLEAVE.LEAVE_PLACEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAPV_STATUSNull() { return this.IsNull(this.tableHRLOGLEAVE.APV_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAPV_STATUSNull() { this[this.tableHRLOGLEAVE.APV_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAPV_DATENull() { return this.IsNull(this.tableHRLOGLEAVE.APV_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAPV_DATENull() { this[this.tableHRLOGLEAVE.APV_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAPV_REMARKNull() { return this.IsNull(this.tableHRLOGLEAVE.APV_REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAPV_REMARKNull() { this[this.tableHRLOGLEAVE.APV_REMARKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsAPV_BYCODENull() { return this.IsNull(this.tableHRLOGLEAVE.APV_BYCODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetAPV_BYCODENull() { this[this.tableHRLOGLEAVE.APV_BYCODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsLAST_TIMENull() { return this.IsNull(this.tableHRLOGLEAVE.LAST_TIMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetLAST_TIMENull() { this[this.tableHRLOGLEAVE.LAST_TIMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSTART_TIMENull() { return this.IsNull(this.tableHRLOGLEAVE.START_TIMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSTART_TIMENull() { this[this.tableHRLOGLEAVE.START_TIMEColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class HRLOGCHANGEWORKRow : global::System.Data.DataRow { private HRLOGCHANGEWORKDataTable tableHRLOGCHANGEWORK; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal HRLOGCHANGEWORKRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableHRLOGCHANGEWORK = ((HRLOGCHANGEWORKDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COOP_ID { get { return ((string)(this[this.tableHRLOGCHANGEWORK.COOP_IDColumn])); } set { this[this.tableHRLOGCHANGEWORK.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string EMP_NO { get { return ((string)(this[this.tableHRLOGCHANGEWORK.EMP_NOColumn])); } set { this[this.tableHRLOGCHANGEWORK.EMP_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SEQ_NO { get { return ((decimal)(this[this.tableHRLOGCHANGEWORK.SEQ_NOColumn])); } set { this[this.tableHRLOGCHANGEWORK.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEPTGRP_CODE { get { return ((string)(this[this.tableHRLOGCHANGEWORK.DEPTGRP_CODEColumn])); } set { this[this.tableHRLOGCHANGEWORK.DEPTGRP_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string POS_CODE { get { return ((string)(this[this.tableHRLOGCHANGEWORK.POS_CODEColumn])); } set { this[this.tableHRLOGCHANGEWORK.POS_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal SALARY_AMT { get { try { return ((decimal)(this[this.tableHRLOGCHANGEWORK.SALARY_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SALARY_AMT\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.SALARY_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string OLD_DEPTGRP_CODE { get { try { return ((string)(this[this.tableHRLOGCHANGEWORK.OLD_DEPTGRP_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OLD_DEPTGRP_CODE\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.OLD_DEPTGRP_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string OLD_POS_CODE { get { try { return ((string)(this[this.tableHRLOGCHANGEWORK.OLD_POS_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OLD_POS_CODE\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.OLD_POS_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal OLD_SALARY_AMT { get { try { return ((decimal)(this[this.tableHRLOGCHANGEWORK.OLD_SALARY_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OLD_SALARY_AMT\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.OLD_SALARY_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ORDER_DOCNO { get { try { return ((string)(this[this.tableHRLOGCHANGEWORK.ORDER_DOCNOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ORDER_DOCNO\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.ORDER_DOCNOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime START_DATE { get { try { return ((global::System.DateTime)(this[this.tableHRLOGCHANGEWORK.START_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'START_DATE\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.START_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime ORDER_DATE { get { try { return ((global::System.DateTime)(this[this.tableHRLOGCHANGEWORK.ORDER_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ORDER_DATE\' in table \'HRLOGCHANGEWORK\' is DBNull.", e); } } set { this[this.tableHRLOGCHANGEWORK.ORDER_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSALARY_AMTNull() { return this.IsNull(this.tableHRLOGCHANGEWORK.SALARY_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSALARY_AMTNull() { this[this.tableHRLOGCHANGEWORK.SALARY_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsOLD_DEPTGRP_CODENull() { return this.IsNull(this.tableHRLOGCHANGEWORK.OLD_DEPTGRP_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetOLD_DEPTGRP_CODENull() { this[this.tableHRLOGCHANGEWORK.OLD_DEPTGRP_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsOLD_POS_CODENull() { return this.IsNull(this.tableHRLOGCHANGEWORK.OLD_POS_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetOLD_POS_CODENull() { this[this.tableHRLOGCHANGEWORK.OLD_POS_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsOLD_SALARY_AMTNull() { return this.IsNull(this.tableHRLOGCHANGEWORK.OLD_SALARY_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetOLD_SALARY_AMTNull() { this[this.tableHRLOGCHANGEWORK.OLD_SALARY_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsORDER_DOCNONull() { return this.IsNull(this.tableHRLOGCHANGEWORK.ORDER_DOCNOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetORDER_DOCNONull() { this[this.tableHRLOGCHANGEWORK.ORDER_DOCNOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSTART_DATENull() { return this.IsNull(this.tableHRLOGCHANGEWORK.START_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSTART_DATENull() { this[this.tableHRLOGCHANGEWORK.START_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsORDER_DATENull() { return this.IsNull(this.tableHRLOGCHANGEWORK.ORDER_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetORDER_DATENull() { this[this.tableHRLOGCHANGEWORK.ORDER_DATEColumn] = global::System.Convert.DBNull; } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HREMPLOYEERowChangeEvent : global::System.EventArgs { private HREMPLOYEERow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEERowChangeEvent(HREMPLOYEERow 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", "4.0.0.0")] public HREMPLOYEERow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HREMPLOYEEFAMILYRowChangeEvent : global::System.EventArgs { private HREMPLOYEEFAMILYRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYRowChangeEvent(HREMPLOYEEFAMILYRow 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", "4.0.0.0")] public HREMPLOYEEFAMILYRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HREMPLOYEEEDURowChangeEvent : global::System.EventArgs { private HREMPLOYEEEDURow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDURowChangeEvent(HREMPLOYEEEDURow 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", "4.0.0.0")] public HREMPLOYEEEDURow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HREMPLOYEEEXPERIENCERowChangeEvent : global::System.EventArgs { private HREMPLOYEEEXPERIENCERow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCERowChangeEvent(HREMPLOYEEEXPERIENCERow 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", "4.0.0.0")] public HREMPLOYEEEXPERIENCERow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HREMPLOYEETRAININGRowChangeEvent : global::System.EventArgs { private HREMPLOYEETRAININGRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGRowChangeEvent(HREMPLOYEETRAININGRow 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", "4.0.0.0")] public HREMPLOYEETRAININGRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HREMPLOYEEASSISTRowChangeEvent : global::System.EventArgs { private HREMPLOYEEASSISTRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTRowChangeEvent(HREMPLOYEEASSISTRow 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", "4.0.0.0")] public HREMPLOYEEASSISTRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class DT_MainRowChangeEvent : global::System.EventArgs { private DT_MainRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MainRowChangeEvent(DT_MainRow 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", "4.0.0.0")] public DT_MainRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class DT_SalaryRowChangeEvent : global::System.EventArgs { private DT_SalaryRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_SalaryRowChangeEvent(DT_SalaryRow 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", "4.0.0.0")] public DT_SalaryRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HRGARANTEERowChangeEvent : global::System.EventArgs { private HRGARANTEERow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRGARANTEERowChangeEvent(HRGARANTEERow 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", "4.0.0.0")] public HRGARANTEERow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HRLOGLEAVERowChangeEvent : global::System.EventArgs { private HRLOGLEAVERow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGLEAVERowChangeEvent(HRLOGLEAVERow 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", "4.0.0.0")] public HRLOGLEAVERow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class HRLOGCHANGEWORKRowChangeEvent : global::System.EventArgs { private HRLOGCHANGEWORKRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGCHANGEWORKRowChangeEvent(HRLOGCHANGEWORKRow 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", "4.0.0.0")] public HRLOGCHANGEWORKRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } } } namespace Saving.Applications.hr.ws_hr_master_ctrl.DataSet1TableAdapters { /// ///Represents the connection and commands used to retrieve and save data. /// [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 HREMPLOYEETableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HREMPLOYEE"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("EMP_ENAME", "EMP_ENAME"); tableMapping.ColumnMappings.Add("EMP_ESURNAME", "EMP_ESURNAME"); tableMapping.ColumnMappings.Add("EMP_NICKNAME", "EMP_NICKNAME"); tableMapping.ColumnMappings.Add("BLOOD_GRP", "BLOOD_GRP"); tableMapping.ColumnMappings.Add("WEIGHT", "WEIGHT"); tableMapping.ColumnMappings.Add("HEIGHT", "HEIGHT"); tableMapping.ColumnMappings.Add("NATION", "NATION"); tableMapping.ColumnMappings.Add("RELIGION", "RELIGION"); tableMapping.ColumnMappings.Add("ADN_NO", "ADN_NO"); tableMapping.ColumnMappings.Add("ADN_TAMBOL", "ADN_TAMBOL"); tableMapping.ColumnMappings.Add("ADN_AMPHUR", "ADN_AMPHUR"); tableMapping.ColumnMappings.Add("ADN_PROVINCE", "ADN_PROVINCE"); tableMapping.ColumnMappings.Add("ADN_POSTCODE", "ADN_POSTCODE"); tableMapping.ColumnMappings.Add("ADN_TEL", "ADN_TEL"); tableMapping.ColumnMappings.Add("ADN_EMAIL", "ADN_EMAIL"); tableMapping.ColumnMappings.Add("ADR_NO", "ADR_NO"); tableMapping.ColumnMappings.Add("ADR_TAMBOL", "ADR_TAMBOL"); tableMapping.ColumnMappings.Add("ADR_AMPHUR", "ADR_AMPHUR"); tableMapping.ColumnMappings.Add("ADR_PROVINCE", "ADR_PROVINCE"); tableMapping.ColumnMappings.Add("ADR_POSTCODE", "ADR_POSTCODE"); tableMapping.ColumnMappings.Add("ID_CARD", "ID_CARD"); tableMapping.ColumnMappings.Add("BIRTH_DATE", "BIRTH_DATE"); tableMapping.ColumnMappings.Add("WORK_DATE", "WORK_DATE"); tableMapping.ColumnMappings.Add("RESIGN_DATE", "RESIGN_DATE"); tableMapping.ColumnMappings.Add("CONTAIN_DATE", "CONTAIN_DATE"); tableMapping.ColumnMappings.Add("TERM_DATE", "TERM_DATE"); tableMapping.ColumnMappings.Add("REF_MEMBNO", "REF_MEMBNO"); tableMapping.ColumnMappings.Add("EMP_STATUS", "EMP_STATUS"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEE\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP_NO\" = :" + "Original_EMP_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""HREMPLOYEE"" (""COOP_ID"", ""EMP_NO"", ""EMP_ENAME"", ""EMP_ESURNAME"", ""EMP_NICKNAME"", ""BLOOD_GRP"", ""WEIGHT"", ""HEIGHT"", ""NATION"", ""RELIGION"", ""ADN_NO"", ""ADN_TAMBOL"", ""ADN_AMPHUR"", ""ADN_PROVINCE"", ""ADN_POSTCODE"", ""ADN_TEL"", ""ADN_EMAIL"", ""ADR_NO"", ""ADR_TAMBOL"", ""ADR_AMPHUR"", ""ADR_PROVINCE"", ""ADR_POSTCODE"", ""ID_CARD"", ""BIRTH_DATE"", ""WORK_DATE"", ""RESIGN_DATE"", ""CONTAIN_DATE"", ""TERM_DATE"", ""REF_MEMBNO"", ""EMP_STATUS"") VALUES (:COOP_ID, :EMP_NO, :EMP_ENAME, :EMP_ESURNAME, :EMP_NICKNAME, :BLOOD_GRP, :WEIGHT, :HEIGHT, :NATION, :RELIGION, :ADN_NO, :ADN_TAMBOL, :ADN_AMPHUR, :ADN_PROVINCE, :ADN_POSTCODE, :ADN_TEL, :ADN_EMAIL, :ADR_NO, :ADR_TAMBOL, :ADR_AMPHUR, :ADR_PROVINCE, :ADR_POSTCODE, :ID_CARD, :BIRTH_DATE, :WORK_DATE, :RESIGN_DATE, :CONTAIN_DATE, :TERM_DATE, :REF_MEMBNO, :EMP_STATUS)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_ENAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_ENAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_ESURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_ESURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NICKNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_NICKNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BLOOD_GRP", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "BLOOD_GRP", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("WEIGHT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "WEIGHT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("HEIGHT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "HEIGHT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("NATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "NATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RELIGION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "RELIGION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_TAMBOL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_TAMBOL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_AMPHUR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_AMPHUR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_PROVINCE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_PROVINCE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_POSTCODE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_POSTCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_TEL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_TEL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_EMAIL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_EMAIL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_TAMBOL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_TAMBOL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_AMPHUR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_AMPHUR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_PROVINCE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_PROVINCE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_POSTCODE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_POSTCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ID_CARD", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ID_CARD", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BIRTH_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "BIRTH_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("WORK_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "WORK_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RESIGN_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "RESIGN_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CONTAIN_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "CONTAIN_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TERM_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TERM_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REF_MEMBNO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "REF_MEMBNO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "EMP_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEE"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""EMP_ENAME"" = :EMP_ENAME, ""EMP_ESURNAME"" = :EMP_ESURNAME, ""EMP_NICKNAME"" = :EMP_NICKNAME, ""BLOOD_GRP"" = :BLOOD_GRP, ""WEIGHT"" = :WEIGHT, ""HEIGHT"" = :HEIGHT, ""NATION"" = :NATION, ""RELIGION"" = :RELIGION, ""ADN_NO"" = :ADN_NO, ""ADN_TAMBOL"" = :ADN_TAMBOL, ""ADN_AMPHUR"" = :ADN_AMPHUR, ""ADN_PROVINCE"" = :ADN_PROVINCE, ""ADN_POSTCODE"" = :ADN_POSTCODE, ""ADN_TEL"" = :ADN_TEL, ""ADN_EMAIL"" = :ADN_EMAIL, ""ADR_NO"" = :ADR_NO, ""ADR_TAMBOL"" = :ADR_TAMBOL, ""ADR_AMPHUR"" = :ADR_AMPHUR, ""ADR_PROVINCE"" = :ADR_PROVINCE, ""ADR_POSTCODE"" = :ADR_POSTCODE, ""ID_CARD"" = :ID_CARD, ""BIRTH_DATE"" = :BIRTH_DATE, ""WORK_DATE"" = :WORK_DATE, ""RESIGN_DATE"" = :RESIGN_DATE, ""CONTAIN_DATE"" = :CONTAIN_DATE, ""TERM_DATE"" = :TERM_DATE, ""REF_MEMBNO"" = :REF_MEMBNO, ""EMP_STATUS"" = :EMP_STATUS WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_ENAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_ENAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_ESURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_ESURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NICKNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_NICKNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BLOOD_GRP", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "BLOOD_GRP", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("WEIGHT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "WEIGHT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("HEIGHT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "HEIGHT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("NATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "NATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RELIGION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "RELIGION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_TAMBOL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_TAMBOL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_AMPHUR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_AMPHUR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_PROVINCE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_PROVINCE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_POSTCODE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_POSTCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_TEL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_TEL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADN_EMAIL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADN_EMAIL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_TAMBOL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_TAMBOL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_AMPHUR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_AMPHUR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_PROVINCE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_PROVINCE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ADR_POSTCODE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ADR_POSTCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ID_CARD", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ID_CARD", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BIRTH_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "BIRTH_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("WORK_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "WORK_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("RESIGN_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "RESIGN_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CONTAIN_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "CONTAIN_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TERM_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TERM_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REF_MEMBNO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "REF_MEMBNO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "EMP_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionStringtks"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"select hremployee.coop_id, hremployee.emp_no, hremployee.emp_ename, hremployee.emp_esurname, hremployee.emp_nickname, hremployee.blood_grp, hremployee.weight, hremployee.height, hremployee.nation, hremployee.religion, hremployee.adn_no, hremployee.adn_tambol, hremployee.adn_amphur, hremployee.adn_province, hremployee.adn_postcode, hremployee.adn_tel, hremployee.adn_email, hremployee.adr_no, hremployee.adr_tambol, hremployee.adr_amphur, hremployee.adr_province, hremployee.adr_postcode, hremployee.id_card, hremployee.birth_date, hremployee.work_date, hremployee.resign_date, hremployee.contain_date, hremployee.term_date, hremployee.ref_membno, hremployee.emp_status from hremployee"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HREMPLOYEEDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HREMPLOYEEDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HREMPLOYEEDataTable dataTable = new DataSet1.HREMPLOYEEDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HREMPLOYEEDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HREMPLOYEE"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } 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", "4.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 COOP_ID, string EMP_NO, string EMP_ENAME, string EMP_ESURNAME, string EMP_NICKNAME, string BLOOD_GRP, global::System.Nullable WEIGHT, global::System.Nullable HEIGHT, string NATION, string RELIGION, string ADN_NO, string ADN_TAMBOL, string ADN_AMPHUR, string ADN_PROVINCE, string ADN_POSTCODE, string ADN_TEL, string ADN_EMAIL, string ADR_NO, string ADR_TAMBOL, string ADR_AMPHUR, string ADR_PROVINCE, string ADR_POSTCODE, string ID_CARD, global::System.Nullable BIRTH_DATE, global::System.Nullable WORK_DATE, global::System.Nullable RESIGN_DATE, global::System.Nullable CONTAIN_DATE, global::System.Nullable TERM_DATE, string REF_MEMBNO, global::System.Nullable EMP_STATUS) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } if ((EMP_ENAME == null)) { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(EMP_ENAME)); } if ((EMP_ESURNAME == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(EMP_ESURNAME)); } if ((EMP_NICKNAME == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(EMP_NICKNAME)); } if ((BLOOD_GRP == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(BLOOD_GRP)); } if ((WEIGHT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(WEIGHT.Value)); } else { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((HEIGHT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(HEIGHT.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((NATION == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(NATION)); } if ((RELIGION == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(RELIGION)); } if ((ADN_NO == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(ADN_NO)); } if ((ADN_TAMBOL == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(ADN_TAMBOL)); } if ((ADN_AMPHUR == null)) { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[12].Value = ((string)(ADN_AMPHUR)); } if ((ADN_PROVINCE == null)) { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[13].Value = ((string)(ADN_PROVINCE)); } if ((ADN_POSTCODE == null)) { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(ADN_POSTCODE)); } if ((ADN_TEL == null)) { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[15].Value = ((string)(ADN_TEL)); } if ((ADN_EMAIL == null)) { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[16].Value = ((string)(ADN_EMAIL)); } if ((ADR_NO == null)) { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[17].Value = ((string)(ADR_NO)); } if ((ADR_TAMBOL == null)) { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[18].Value = ((string)(ADR_TAMBOL)); } if ((ADR_AMPHUR == null)) { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[19].Value = ((string)(ADR_AMPHUR)); } if ((ADR_PROVINCE == null)) { this.Adapter.InsertCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[20].Value = ((string)(ADR_PROVINCE)); } if ((ADR_POSTCODE == null)) { this.Adapter.InsertCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[21].Value = ((string)(ADR_POSTCODE)); } if ((ID_CARD == null)) { this.Adapter.InsertCommand.Parameters[22].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[22].Value = ((string)(ID_CARD)); } if ((BIRTH_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[23].Value = ((System.DateTime)(BIRTH_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[23].Value = global::System.DBNull.Value; } if ((WORK_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[24].Value = ((System.DateTime)(WORK_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[24].Value = global::System.DBNull.Value; } if ((RESIGN_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[25].Value = ((System.DateTime)(RESIGN_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[25].Value = global::System.DBNull.Value; } if ((CONTAIN_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[26].Value = ((System.DateTime)(CONTAIN_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[26].Value = global::System.DBNull.Value; } if ((TERM_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[27].Value = ((System.DateTime)(TERM_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[27].Value = global::System.DBNull.Value; } if ((REF_MEMBNO == null)) { this.Adapter.InsertCommand.Parameters[28].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[28].Value = ((string)(REF_MEMBNO)); } if ((EMP_STATUS.HasValue == true)) { this.Adapter.InsertCommand.Parameters[29].Value = ((decimal)(EMP_STATUS.Value)); } else { this.Adapter.InsertCommand.Parameters[29].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", "4.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 COOP_ID, string EMP_NO, string EMP_ENAME, string EMP_ESURNAME, string EMP_NICKNAME, string BLOOD_GRP, global::System.Nullable WEIGHT, global::System.Nullable HEIGHT, string NATION, string RELIGION, string ADN_NO, string ADN_TAMBOL, string ADN_AMPHUR, string ADN_PROVINCE, string ADN_POSTCODE, string ADN_TEL, string ADN_EMAIL, string ADR_NO, string ADR_TAMBOL, string ADR_AMPHUR, string ADR_PROVINCE, string ADR_POSTCODE, string ID_CARD, global::System.Nullable BIRTH_DATE, global::System.Nullable WORK_DATE, global::System.Nullable RESIGN_DATE, global::System.Nullable CONTAIN_DATE, global::System.Nullable TERM_DATE, string REF_MEMBNO, global::System.Nullable EMP_STATUS, string Original_COOP_ID, string Original_EMP_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } if ((EMP_ENAME == null)) { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(EMP_ENAME)); } if ((EMP_ESURNAME == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(EMP_ESURNAME)); } if ((EMP_NICKNAME == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(EMP_NICKNAME)); } if ((BLOOD_GRP == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(BLOOD_GRP)); } if ((WEIGHT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(WEIGHT.Value)); } else { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((HEIGHT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(HEIGHT.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((NATION == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(NATION)); } if ((RELIGION == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(RELIGION)); } if ((ADN_NO == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(ADN_NO)); } if ((ADN_TAMBOL == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(ADN_TAMBOL)); } if ((ADN_AMPHUR == null)) { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(ADN_AMPHUR)); } if ((ADN_PROVINCE == null)) { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(ADN_PROVINCE)); } if ((ADN_POSTCODE == null)) { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(ADN_POSTCODE)); } if ((ADN_TEL == null)) { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(ADN_TEL)); } if ((ADN_EMAIL == null)) { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(ADN_EMAIL)); } if ((ADR_NO == null)) { this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(ADR_NO)); } if ((ADR_TAMBOL == null)) { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(ADR_TAMBOL)); } if ((ADR_AMPHUR == null)) { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(ADR_AMPHUR)); } if ((ADR_PROVINCE == null)) { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(ADR_PROVINCE)); } if ((ADR_POSTCODE == null)) { this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(ADR_POSTCODE)); } if ((ID_CARD == null)) { this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(ID_CARD)); } if ((BIRTH_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(BIRTH_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value; } if ((WORK_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[24].Value = ((System.DateTime)(WORK_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value; } if ((RESIGN_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[25].Value = ((System.DateTime)(RESIGN_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value; } if ((CONTAIN_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(CONTAIN_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value; } if ((TERM_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[27].Value = ((System.DateTime)(TERM_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value; } if ((REF_MEMBNO == null)) { this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(REF_MEMBNO)); } if ((EMP_STATUS.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[29].Value = ((decimal)(EMP_STATUS.Value)); } else { this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value; } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(Original_EMP_NO)); } 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", "4.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 EMP_ENAME, string EMP_ESURNAME, string EMP_NICKNAME, string BLOOD_GRP, global::System.Nullable WEIGHT, global::System.Nullable HEIGHT, string NATION, string RELIGION, string ADN_NO, string ADN_TAMBOL, string ADN_AMPHUR, string ADN_PROVINCE, string ADN_POSTCODE, string ADN_TEL, string ADN_EMAIL, string ADR_NO, string ADR_TAMBOL, string ADR_AMPHUR, string ADR_PROVINCE, string ADR_POSTCODE, string ID_CARD, global::System.Nullable BIRTH_DATE, global::System.Nullable WORK_DATE, global::System.Nullable RESIGN_DATE, global::System.Nullable CONTAIN_DATE, global::System.Nullable TERM_DATE, string REF_MEMBNO, global::System.Nullable EMP_STATUS, string Original_COOP_ID, string Original_EMP_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, EMP_ENAME, EMP_ESURNAME, EMP_NICKNAME, BLOOD_GRP, WEIGHT, HEIGHT, NATION, RELIGION, ADN_NO, ADN_TAMBOL, ADN_AMPHUR, ADN_PROVINCE, ADN_POSTCODE, ADN_TEL, ADN_EMAIL, ADR_NO, ADR_TAMBOL, ADR_AMPHUR, ADR_PROVINCE, ADR_POSTCODE, ID_CARD, BIRTH_DATE, WORK_DATE, RESIGN_DATE, CONTAIN_DATE, TERM_DATE, REF_MEMBNO, EMP_STATUS, Original_COOP_ID, Original_EMP_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HREMPLOYEEFAMILYTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEFAMILYTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HREMPLOYEEFAMILY"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("F_NAME", "F_NAME"); tableMapping.ColumnMappings.Add("F_RELATION", "F_RELATION"); tableMapping.ColumnMappings.Add("BIRTH_DATE", "BIRTH_DATE"); tableMapping.ColumnMappings.Add("OCCUPATION", "OCCUPATION"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEEFAMILY\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP_N" + "O\" = :Original_EMP_NO) AND (\"SEQ_NO\" = :Original_SEQ_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO \"HREMPLOYEEFAMILY\" (\"COOP_ID\", \"EMP_NO\", \"SEQ_NO\", \"F_NAME\", \"F_RELAT" + "ION\", \"BIRTH_DATE\", \"OCCUPATION\") VALUES (:COOP_ID, :EMP_NO, :SEQ_NO, :F_NAME, :" + "F_RELATION, :BIRTH_DATE, :OCCUPATION)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("F_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "F_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("F_RELATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "F_RELATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BIRTH_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "BIRTH_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OCCUPATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "OCCUPATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEEFAMILY"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SEQ_NO"" = :SEQ_NO, ""F_NAME"" = :F_NAME, ""F_RELATION"" = :F_RELATION, ""BIRTH_DATE"" = :BIRTH_DATE, ""OCCUPATION"" = :OCCUPATION WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO) AND (""SEQ_NO"" = :Original_SEQ_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("F_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "F_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("F_RELATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "F_RELATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("BIRTH_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "BIRTH_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OCCUPATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "OCCUPATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"select hremployeefamily.coop_id, hremployeefamily.emp_no, hremployeefamily.seq_no, hremployeefamily.f_name, hremployeefamily.f_relation, hremployeefamily.birth_date, hremployeefamily.occupation from hremployeefamily"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HREMPLOYEEFAMILYDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HREMPLOYEEFAMILYDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HREMPLOYEEFAMILYDataTable dataTable = new DataSet1.HREMPLOYEEFAMILYDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HREMPLOYEEFAMILYDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HREMPLOYEEFAMILY"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string F_NAME, string F_RELATION, global::System.Nullable BIRTH_DATE, string OCCUPATION) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((F_NAME == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(F_NAME)); } if ((F_RELATION == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(F_RELATION)); } if ((BIRTH_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(BIRTH_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((OCCUPATION == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(OCCUPATION)); } 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string F_NAME, string F_RELATION, global::System.Nullable BIRTH_DATE, string OCCUPATION, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((F_NAME == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(F_NAME)); } if ((F_RELATION == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(F_RELATION)); } if ((BIRTH_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(BIRTH_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((OCCUPATION == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(OCCUPATION)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_EMP_NO)); } this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 F_NAME, string F_RELATION, global::System.Nullable BIRTH_DATE, string OCCUPATION, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO, F_NAME, F_RELATION, BIRTH_DATE, OCCUPATION, Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HREMPLOYEEEDUTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEDUTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HREMPLOYEEEDU"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("EDU_LEVEL", "EDU_LEVEL"); tableMapping.ColumnMappings.Add("EDU_INST", "EDU_INST"); tableMapping.ColumnMappings.Add("EDU_DEGREE", "EDU_DEGREE"); tableMapping.ColumnMappings.Add("EDU_MAJOR", "EDU_MAJOR"); tableMapping.ColumnMappings.Add("EDU_GPA", "EDU_GPA"); tableMapping.ColumnMappings.Add("EDU_SUCCYEAR", "EDU_SUCCYEAR"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEEEDU\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP_NO\" " + "= :Original_EMP_NO) AND (\"SEQ_NO\" = :Original_SEQ_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO \"HREMPLOYEEEDU\" (\"COOP_ID\", \"EMP_NO\", \"SEQ_NO\", \"EDU_LEVEL\", \"EDU_INS" + "T\", \"EDU_DEGREE\", \"EDU_MAJOR\", \"EDU_GPA\", \"EDU_SUCCYEAR\") VALUES (:COOP_ID, :EMP" + "_NO, :SEQ_NO, :EDU_LEVEL, :EDU_INST, :EDU_DEGREE, :EDU_MAJOR, :EDU_GPA, :EDU_SUC" + "CYEAR)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_LEVEL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_LEVEL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_INST", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_INST", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_DEGREE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_DEGREE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_MAJOR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_MAJOR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_GPA", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "EDU_GPA", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_SUCCYEAR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_SUCCYEAR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEEEDU"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SEQ_NO"" = :SEQ_NO, ""EDU_LEVEL"" = :EDU_LEVEL, ""EDU_INST"" = :EDU_INST, ""EDU_DEGREE"" = :EDU_DEGREE, ""EDU_MAJOR"" = :EDU_MAJOR, ""EDU_GPA"" = :EDU_GPA, ""EDU_SUCCYEAR"" = :EDU_SUCCYEAR WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO) AND (""SEQ_NO"" = :Original_SEQ_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_LEVEL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_LEVEL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_INST", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_INST", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_DEGREE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_DEGREE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_MAJOR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_MAJOR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_GPA", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "EDU_GPA", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EDU_SUCCYEAR", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EDU_SUCCYEAR", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"select hremployeeedu.coop_id, hremployeeedu.emp_no, hremployeeedu.seq_no, hremployeeedu.edu_level, hremployeeedu.edu_inst, hremployeeedu.edu_degree, hremployeeedu.edu_major, hremployeeedu.edu_gpa, hremployeeedu.edu_succyear from hremployeeedu"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HREMPLOYEEEDUDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HREMPLOYEEEDUDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HREMPLOYEEEDUDataTable dataTable = new DataSet1.HREMPLOYEEEDUDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HREMPLOYEEEDUDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HREMPLOYEEEDU"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string EDU_LEVEL, string EDU_INST, string EDU_DEGREE, string EDU_MAJOR, global::System.Nullable EDU_GPA, string EDU_SUCCYEAR) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((EDU_LEVEL == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(EDU_LEVEL)); } if ((EDU_INST == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(EDU_INST)); } if ((EDU_DEGREE == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(EDU_DEGREE)); } if ((EDU_MAJOR == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(EDU_MAJOR)); } if ((EDU_GPA.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(EDU_GPA.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((EDU_SUCCYEAR == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(EDU_SUCCYEAR)); } 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string EDU_LEVEL, string EDU_INST, string EDU_DEGREE, string EDU_MAJOR, global::System.Nullable EDU_GPA, string EDU_SUCCYEAR, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((EDU_LEVEL == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(EDU_LEVEL)); } if ((EDU_INST == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(EDU_INST)); } if ((EDU_DEGREE == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(EDU_DEGREE)); } if ((EDU_MAJOR == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(EDU_MAJOR)); } if ((EDU_GPA.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(EDU_GPA.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((EDU_SUCCYEAR == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(EDU_SUCCYEAR)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_EMP_NO)); } this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 EDU_LEVEL, string EDU_INST, string EDU_DEGREE, string EDU_MAJOR, global::System.Nullable EDU_GPA, string EDU_SUCCYEAR, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO, EDU_LEVEL, EDU_INST, EDU_DEGREE, EDU_MAJOR, EDU_GPA, EDU_SUCCYEAR, Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HREMPLOYEEEXPERIENCETableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEEXPERIENCETableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HREMPLOYEEEXPERIENCE"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("CORP_NAME", "CORP_NAME"); tableMapping.ColumnMappings.Add("POS_NAME", "POS_NAME"); tableMapping.ColumnMappings.Add("YEARSTART", "YEARSTART"); tableMapping.ColumnMappings.Add("YEAREND", "YEAREND"); tableMapping.ColumnMappings.Add("LAST_SALARY", "LAST_SALARY"); tableMapping.ColumnMappings.Add("JOB_TYPE", "JOB_TYPE"); tableMapping.ColumnMappings.Add("JOB_DESC", "JOB_DESC"); tableMapping.ColumnMappings.Add("AWAYCAUSE", "AWAYCAUSE"); tableMapping.ColumnMappings.Add("REMARK", "REMARK"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEEEXPERIENCE\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"E" + "MP_NO\" = :Original_EMP_NO) AND (\"SEQ_NO\" = :Original_SEQ_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""HREMPLOYEEEXPERIENCE"" (""COOP_ID"", ""EMP_NO"", ""SEQ_NO"", ""CORP_NAME"", ""POS_NAME"", ""YEARSTART"", ""YEAREND"", ""LAST_SALARY"", ""JOB_TYPE"", ""JOB_DESC"", ""AWAYCAUSE"", ""REMARK"") VALUES (:COOP_ID, :EMP_NO, :SEQ_NO, :CORP_NAME, :POS_NAME, :YEARSTART, :YEAREND, :LAST_SALARY, :JOB_TYPE, :JOB_DESC, :AWAYCAUSE, :REMARK)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CORP_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "CORP_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POS_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "POS_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("YEARSTART", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "YEARSTART", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("YEAREND", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "YEAREND", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LAST_SALARY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "LAST_SALARY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("JOB_TYPE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "JOB_TYPE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("JOB_DESC", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "JOB_DESC", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("AWAYCAUSE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "AWAYCAUSE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEEEXPERIENCE"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SEQ_NO"" = :SEQ_NO, ""CORP_NAME"" = :CORP_NAME, ""POS_NAME"" = :POS_NAME, ""YEARSTART"" = :YEARSTART, ""YEAREND"" = :YEAREND, ""LAST_SALARY"" = :LAST_SALARY, ""JOB_TYPE"" = :JOB_TYPE, ""JOB_DESC"" = :JOB_DESC, ""AWAYCAUSE"" = :AWAYCAUSE, ""REMARK"" = :REMARK WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO) AND (""SEQ_NO"" = :Original_SEQ_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("CORP_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "CORP_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POS_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "POS_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("YEARSTART", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "YEARSTART", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("YEAREND", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "YEAREND", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LAST_SALARY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "LAST_SALARY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("JOB_TYPE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "JOB_TYPE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("JOB_DESC", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "JOB_DESC", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("AWAYCAUSE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "AWAYCAUSE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @" select hremployeeexperience.coop_id, hremployeeexperience.emp_no, hremployeeexperience.seq_no, hremployeeexperience.corp_name, hremployeeexperience.pos_name, hremployeeexperience.yearstart, hremployeeexperience.yearend, hremployeeexperience.last_salary, hremployeeexperience.job_type, hremployeeexperience.job_desc, hremployeeexperience.awaycause, hremployeeexperience.remark from hremployeeexperience"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HREMPLOYEEEXPERIENCEDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HREMPLOYEEEXPERIENCEDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HREMPLOYEEEXPERIENCEDataTable dataTable = new DataSet1.HREMPLOYEEEXPERIENCEDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HREMPLOYEEEXPERIENCEDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HREMPLOYEEEXPERIENCE"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string CORP_NAME, string POS_NAME, string YEARSTART, string YEAREND, global::System.Nullable LAST_SALARY, string JOB_TYPE, string JOB_DESC, string AWAYCAUSE, string REMARK) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((CORP_NAME == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(CORP_NAME)); } if ((POS_NAME == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(POS_NAME)); } if ((YEARSTART == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(YEARSTART)); } if ((YEAREND == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(YEAREND)); } if ((LAST_SALARY.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(LAST_SALARY.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((JOB_TYPE == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(JOB_TYPE)); } if ((JOB_DESC == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(JOB_DESC)); } if ((AWAYCAUSE == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(AWAYCAUSE)); } if ((REMARK == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(REMARK)); } 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string CORP_NAME, string POS_NAME, string YEARSTART, string YEAREND, global::System.Nullable LAST_SALARY, string JOB_TYPE, string JOB_DESC, string AWAYCAUSE, string REMARK, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((CORP_NAME == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(CORP_NAME)); } if ((POS_NAME == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(POS_NAME)); } if ((YEARSTART == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(YEARSTART)); } if ((YEAREND == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(YEAREND)); } if ((LAST_SALARY.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(LAST_SALARY.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((JOB_TYPE == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(JOB_TYPE)); } if ((JOB_DESC == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(JOB_DESC)); } if ((AWAYCAUSE == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(AWAYCAUSE)); } if ((REMARK == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(REMARK)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_EMP_NO)); } this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 CORP_NAME, string POS_NAME, string YEARSTART, string YEAREND, global::System.Nullable LAST_SALARY, string JOB_TYPE, string JOB_DESC, string AWAYCAUSE, string REMARK, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO, CORP_NAME, POS_NAME, YEARSTART, YEAREND, LAST_SALARY, JOB_TYPE, JOB_DESC, AWAYCAUSE, REMARK, Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HREMPLOYEETRAININGTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEETRAININGTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HREMPLOYEETRAINING"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("TR_DATE", "TR_DATE"); tableMapping.ColumnMappings.Add("TR_CODE", "TR_CODE"); tableMapping.ColumnMappings.Add("TR_SUBJECT", "TR_SUBJECT"); tableMapping.ColumnMappings.Add("TR_CAUSE", "TR_CAUSE"); tableMapping.ColumnMappings.Add("TR_LOCATION", "TR_LOCATION"); tableMapping.ColumnMappings.Add("TR_INSTITUTION", "TR_INSTITUTION"); tableMapping.ColumnMappings.Add("TR_FROMDATE", "TR_FROMDATE"); tableMapping.ColumnMappings.Add("TR_TODATE", "TR_TODATE"); tableMapping.ColumnMappings.Add("TR_DAY", "TR_DAY"); tableMapping.ColumnMappings.Add("TR_EXPAMT", "TR_EXPAMT"); tableMapping.ColumnMappings.Add("TR_CERTDESC", "TR_CERTDESC"); tableMapping.ColumnMappings.Add("REMARK", "REMARK"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEETRAINING\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP" + "_NO\" = :Original_EMP_NO) AND (\"SEQ_NO\" = :Original_SEQ_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""HREMPLOYEETRAINING"" (""COOP_ID"", ""EMP_NO"", ""SEQ_NO"", ""TR_DATE"", ""TR_CODE"", ""TR_SUBJECT"", ""TR_CAUSE"", ""TR_LOCATION"", ""TR_INSTITUTION"", ""TR_FROMDATE"", ""TR_TODATE"", ""TR_DAY"", ""TR_EXPAMT"", ""TR_CERTDESC"", ""REMARK"") VALUES (:COOP_ID, :EMP_NO, :SEQ_NO, :TR_DATE, :TR_CODE, :TR_SUBJECT, :TR_CAUSE, :TR_LOCATION, :TR_INSTITUTION, :TR_FROMDATE, :TR_TODATE, :TR_DAY, :TR_EXPAMT, :TR_CERTDESC, :REMARK)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TR_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TR_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_SUBJECT", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_SUBJECT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_CAUSE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_CAUSE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_LOCATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_LOCATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_INSTITUTION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_INSTITUTION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_FROMDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TR_FROMDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_TODATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TR_TODATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_DAY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TR_DAY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_EXPAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TR_EXPAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_CERTDESC", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_CERTDESC", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEETRAINING"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SEQ_NO"" = :SEQ_NO, ""TR_DATE"" = :TR_DATE, ""TR_CODE"" = :TR_CODE, ""TR_SUBJECT"" = :TR_SUBJECT, ""TR_CAUSE"" = :TR_CAUSE, ""TR_LOCATION"" = :TR_LOCATION, ""TR_INSTITUTION"" = :TR_INSTITUTION, ""TR_FROMDATE"" = :TR_FROMDATE, ""TR_TODATE"" = :TR_TODATE, ""TR_DAY"" = :TR_DAY, ""TR_EXPAMT"" = :TR_EXPAMT, ""TR_CERTDESC"" = :TR_CERTDESC, ""REMARK"" = :REMARK WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO) AND (""SEQ_NO"" = :Original_SEQ_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TR_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TR_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_SUBJECT", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_SUBJECT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_CAUSE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_CAUSE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_LOCATION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_LOCATION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_INSTITUTION", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_INSTITUTION", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_FROMDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TR_FROMDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_TODATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "TR_TODATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_DAY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TR_DAY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_EXPAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TR_EXPAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TR_CERTDESC", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "TR_CERTDESC", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"select hremployeetraining.coop_id, hremployeetraining.emp_no, hremployeetraining.seq_no, hremployeetraining.tr_date, hremployeetraining.tr_code, hremployeetraining.tr_subject, hremployeetraining.tr_cause, hremployeetraining.tr_location, hremployeetraining.tr_institution, hremployeetraining.tr_fromdate, hremployeetraining.tr_todate, hremployeetraining.tr_day, hremployeetraining.tr_expamt, hremployeetraining.tr_certdesc, hremployeetraining.remark from hremployeetraining"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HREMPLOYEETRAININGDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HREMPLOYEETRAININGDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HREMPLOYEETRAININGDataTable dataTable = new DataSet1.HREMPLOYEETRAININGDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HREMPLOYEETRAININGDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HREMPLOYEETRAINING"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, global::System.Nullable TR_DATE, string TR_CODE, string TR_SUBJECT, string TR_CAUSE, string TR_LOCATION, string TR_INSTITUTION, global::System.Nullable TR_FROMDATE, global::System.Nullable TR_TODATE, global::System.Nullable TR_DAY, global::System.Nullable TR_EXPAMT, string TR_CERTDESC, string REMARK) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((TR_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(TR_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((TR_CODE == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(TR_CODE)); } if ((TR_SUBJECT == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(TR_SUBJECT)); } if ((TR_CAUSE == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(TR_CAUSE)); } if ((TR_LOCATION == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(TR_LOCATION)); } if ((TR_INSTITUTION == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(TR_INSTITUTION)); } if ((TR_FROMDATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[9].Value = ((System.DateTime)(TR_FROMDATE.Value)); } else { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((TR_TODATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(TR_TODATE.Value)); } else { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((TR_DAY.HasValue == true)) { this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(TR_DAY.Value)); } else { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((TR_EXPAMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(TR_EXPAMT.Value)); } else { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((TR_CERTDESC == null)) { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[13].Value = ((string)(TR_CERTDESC)); } if ((REMARK == null)) { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(REMARK)); } 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, global::System.Nullable TR_DATE, string TR_CODE, string TR_SUBJECT, string TR_CAUSE, string TR_LOCATION, string TR_INSTITUTION, global::System.Nullable TR_FROMDATE, global::System.Nullable TR_TODATE, global::System.Nullable TR_DAY, global::System.Nullable TR_EXPAMT, string TR_CERTDESC, string REMARK, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((TR_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(TR_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((TR_CODE == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(TR_CODE)); } if ((TR_SUBJECT == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(TR_SUBJECT)); } if ((TR_CAUSE == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(TR_CAUSE)); } if ((TR_LOCATION == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(TR_LOCATION)); } if ((TR_INSTITUTION == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(TR_INSTITUTION)); } if ((TR_FROMDATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(TR_FROMDATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((TR_TODATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(TR_TODATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((TR_DAY.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(TR_DAY.Value)); } else { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((TR_EXPAMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[12].Value = ((decimal)(TR_EXPAMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((TR_CERTDESC == null)) { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(TR_CERTDESC)); } if ((REMARK == null)) { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(REMARK)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_EMP_NO)); } this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 TR_DATE, string TR_CODE, string TR_SUBJECT, string TR_CAUSE, string TR_LOCATION, string TR_INSTITUTION, global::System.Nullable TR_FROMDATE, global::System.Nullable TR_TODATE, global::System.Nullable TR_DAY, global::System.Nullable TR_EXPAMT, string TR_CERTDESC, string REMARK, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO, TR_DATE, TR_CODE, TR_SUBJECT, TR_CAUSE, TR_LOCATION, TR_INSTITUTION, TR_FROMDATE, TR_TODATE, TR_DAY, TR_EXPAMT, TR_CERTDESC, REMARK, Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HREMPLOYEEASSISTTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HREMPLOYEEASSISTTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HREMPLOYEEASSIST"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("ASSIST_CODE", "ASSIST_CODE"); tableMapping.ColumnMappings.Add("ASSIST_DATE", "ASSIST_DATE"); tableMapping.ColumnMappings.Add("ASSIST_DESC", "ASSIST_DESC"); tableMapping.ColumnMappings.Add("ASSIST_AMT", "ASSIST_AMT"); tableMapping.ColumnMappings.Add("ASSIST_REMARK", "ASSIST_REMARK"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEEASSIST\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP_N" + "O\" = :Original_EMP_NO) AND (\"SEQ_NO\" = :Original_SEQ_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO \"HREMPLOYEEASSIST\" (\"COOP_ID\", \"EMP_NO\", \"SEQ_NO\", \"ASSIST_CODE\", \"AS" + "SIST_DATE\", \"ASSIST_DESC\", \"ASSIST_AMT\", \"ASSIST_REMARK\") VALUES (:COOP_ID, :EMP" + "_NO, :SEQ_NO, :ASSIST_CODE, :ASSIST_DATE, :ASSIST_DESC, :ASSIST_AMT, :ASSIST_REM" + "ARK)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "ASSIST_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ASSIST_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_DESC", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ASSIST_DESC", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ASSIST_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ASSIST_REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEEASSIST"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SEQ_NO"" = :SEQ_NO, ""ASSIST_CODE"" = :ASSIST_CODE, ""ASSIST_DATE"" = :ASSIST_DATE, ""ASSIST_DESC"" = :ASSIST_DESC, ""ASSIST_AMT"" = :ASSIST_AMT, ""ASSIST_REMARK"" = :ASSIST_REMARK WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO) AND (""SEQ_NO"" = :Original_SEQ_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "ASSIST_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ASSIST_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_DESC", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ASSIST_DESC", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "ASSIST_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ASSIST_REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ASSIST_REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @" select hremployeeassist.coop_id, hremployeeassist.emp_no, hremployeeassist.seq_no, hremployeeassist.assist_code, hremployeeassist.assist_date, hremployeeassist.assist_desc, hremployeeassist.assist_amt, hremployeeassist.assist_remark from hremployeeassist"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HREMPLOYEEASSISTDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HREMPLOYEEASSISTDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HREMPLOYEEASSISTDataTable dataTable = new DataSet1.HREMPLOYEEASSISTDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HREMPLOYEEASSISTDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HREMPLOYEEASSIST"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string ASSIST_CODE, global::System.Nullable ASSIST_DATE, string ASSIST_DESC, global::System.Nullable ASSIST_AMT, string ASSIST_REMARK) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((ASSIST_CODE == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(ASSIST_CODE)); } if ((ASSIST_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(ASSIST_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((ASSIST_DESC == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(ASSIST_DESC)); } if ((ASSIST_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(ASSIST_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((ASSIST_REMARK == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(ASSIST_REMARK)); } 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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string ASSIST_CODE, global::System.Nullable ASSIST_DATE, string ASSIST_DESC, global::System.Nullable ASSIST_AMT, string ASSIST_REMARK, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((ASSIST_CODE == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(ASSIST_CODE)); } if ((ASSIST_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(ASSIST_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((ASSIST_DESC == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(ASSIST_DESC)); } if ((ASSIST_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(ASSIST_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((ASSIST_REMARK == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(ASSIST_REMARK)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_EMP_NO)); } this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(Original_SEQ_NO)); 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", "4.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 ASSIST_CODE, global::System.Nullable ASSIST_DATE, string ASSIST_DESC, global::System.Nullable ASSIST_AMT, string ASSIST_REMARK, string Original_COOP_ID, string Original_EMP_NO, decimal Original_SEQ_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO, ASSIST_CODE, ASSIST_DATE, ASSIST_DESC, ASSIST_AMT, ASSIST_REMARK, Original_COOP_ID, Original_EMP_NO, Original_SEQ_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 DT_MainTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_MainTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "DT_Main"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("PRENAME_CODE", "PRENAME_CODE"); tableMapping.ColumnMappings.Add("EMP_NAME", "EMP_NAME"); tableMapping.ColumnMappings.Add("EMP_SURNAME", "EMP_SURNAME"); tableMapping.ColumnMappings.Add("EMPTYPE_CODE", "EMPTYPE_CODE"); tableMapping.ColumnMappings.Add("DEPTGRP_CODE", "DEPTGRP_CODE"); tableMapping.ColumnMappings.Add("POS_CODE", "POS_CODE"); tableMapping.ColumnMappings.Add("SEX", "SEX"); tableMapping.ColumnMappings.Add("SALARY_ID", "SALARY_ID"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEE\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP_NO\" = :" + "Original_EMP_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""HREMPLOYEE"" (""COOP_ID"", ""EMP_NO"", ""SALARY_ID"", ""EMPTYPE_CODE"", ""SEX"", ""POS_CODE"", ""DEPTGRP_CODE"", ""PRENAME_CODE"", ""EMP_NAME"", ""EMP_SURNAME"") VALUES (:COOP_ID, :EMP_NO, :SALARY_ID, :EMPTYPE_CODE, :SEX, :POS_CODE, :DEPTGRP_CODE, :PRENAME_CODE, :EMP_NAME, :EMP_SURNAME)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALARY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SALARY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMPTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMPTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEX", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SEX", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POS_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "POS_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEPTGRP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEPTGRP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRENAME_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PRENAME_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_SURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_SURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEE"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SALARY_ID"" = :SALARY_ID, ""EMPTYPE_CODE"" = :EMPTYPE_CODE, ""SEX"" = :SEX, ""POS_CODE"" = :POS_CODE, ""DEPTGRP_CODE"" = :DEPTGRP_CODE, ""PRENAME_CODE"" = :PRENAME_CODE, ""EMP_NAME"" = :EMP_NAME, ""EMP_SURNAME"" = :EMP_SURNAME WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALARY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SALARY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMPTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMPTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEX", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SEX", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POS_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "POS_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEPTGRP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEPTGRP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PRENAME_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "PRENAME_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_SURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "EMP_SURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "select coop_id\r\n,emp_no\r\n,salary_id\r\n,emptype_code\r\n,sex\r\n,pos_code\r\n,deptgrp_cod" + "e\r\n,prename_code\r\n,emp_name\r\n,emp_surname\r\nfrom hremployee"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.DT_MainDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.DT_MainDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.DT_MainDataTable dataTable = new DataSet1.DT_MainDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.DT_MainDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "DT_Main"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } 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", "4.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 COOP_ID, string EMP_NO, string SALARY_ID, string EMPTYPE_CODE, string SEX, string POS_CODE, string DEPTGRP_CODE, string PRENAME_CODE, string EMP_NAME, string EMP_SURNAME) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } if ((SALARY_ID == null)) { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(SALARY_ID)); } if ((EMPTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(EMPTYPE_CODE)); } if ((SEX == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(SEX)); } if ((POS_CODE == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(POS_CODE)); } if ((DEPTGRP_CODE == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(DEPTGRP_CODE)); } if ((PRENAME_CODE == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(PRENAME_CODE)); } if ((EMP_NAME == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(EMP_NAME)); } if ((EMP_SURNAME == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(EMP_SURNAME)); } 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", "4.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 COOP_ID, string EMP_NO, string SALARY_ID, string EMPTYPE_CODE, string SEX, string POS_CODE, string DEPTGRP_CODE, string PRENAME_CODE, string EMP_NAME, string EMP_SURNAME, string Original_COOP_ID, string Original_EMP_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } if ((SALARY_ID == null)) { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(SALARY_ID)); } if ((EMPTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(EMPTYPE_CODE)); } if ((SEX == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(SEX)); } if ((POS_CODE == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(POS_CODE)); } if ((DEPTGRP_CODE == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(DEPTGRP_CODE)); } if ((PRENAME_CODE == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(PRENAME_CODE)); } if ((EMP_NAME == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(EMP_NAME)); } if ((EMP_SURNAME == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(EMP_SURNAME)); } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_EMP_NO)); } 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", "4.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 SALARY_ID, string EMPTYPE_CODE, string SEX, string POS_CODE, string DEPTGRP_CODE, string PRENAME_CODE, string EMP_NAME, string EMP_SURNAME, string Original_COOP_ID, string Original_EMP_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, SALARY_ID, EMPTYPE_CODE, SEX, POS_CODE, DEPTGRP_CODE, PRENAME_CODE, EMP_NAME, EMP_SURNAME, Original_COOP_ID, Original_EMP_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 DT_SalaryTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public DT_SalaryTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "DT_Salary"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SALARY_AMT", "SALARY_AMT"); tableMapping.ColumnMappings.Add("SALEXP_CODE", "SALEXP_CODE"); tableMapping.ColumnMappings.Add("SALEXP_BANK", "SALEXP_BANK"); tableMapping.ColumnMappings.Add("SALEXP_BRANCH", "SALEXP_BRANCH"); tableMapping.ColumnMappings.Add("SALEXP_ACCID", "SALEXP_ACCID"); tableMapping.ColumnMappings.Add("TAX_CALCODE", "TAX_CALCODE"); tableMapping.ColumnMappings.Add("TAX_BFAMT", "TAX_BFAMT"); tableMapping.ColumnMappings.Add("SS_STATUS", "SS_STATUS"); tableMapping.ColumnMappings.Add("SS_APPFIRSTSTS", "SS_APPFIRSTSTS"); tableMapping.ColumnMappings.Add("SS_BFAMT", "SS_BFAMT"); tableMapping.ColumnMappings.Add("SS_APPDATE", "SS_APPDATE"); tableMapping.ColumnMappings.Add("SS_RATE", "SS_RATE"); tableMapping.ColumnMappings.Add("SS_HOSPITAL", "SS_HOSPITAL"); tableMapping.ColumnMappings.Add("PROVF_STATUS", "PROVF_STATUS"); tableMapping.ColumnMappings.Add("PROVF_CORPRATE", "PROVF_CORPRATE"); tableMapping.ColumnMappings.Add("PROVF_EMPRATE", "PROVF_EMPRATE"); tableMapping.ColumnMappings.Add("PROVF_APPDATE", "PROVF_APPDATE"); tableMapping.ColumnMappings.Add("PROVF_RESIGNDATE", "PROVF_RESIGNDATE"); tableMapping.ColumnMappings.Add("PROVF_BFAMT", "PROVF_BFAMT"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM \"HREMPLOYEE\" WHERE ((\"COOP_ID\" = :Original_COOP_ID) AND (\"EMP_NO\" = :" + "Original_EMP_NO))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""HREMPLOYEE"" (""COOP_ID"", ""EMP_NO"", ""SALARY_AMT"", ""SALEXP_CODE"", ""SALEXP_BANK"", ""SALEXP_BRANCH"", ""SALEXP_ACCID"", ""TAX_CALCODE"", ""TAX_BFAMT"", ""SS_STATUS"", ""SS_APPFIRSTSTS"", ""SS_BFAMT"", ""SS_APPDATE"", ""SS_RATE"", ""SS_HOSPITAL"", ""PROVF_STATUS"", ""PROVF_CORPRATE"", ""PROVF_EMPRATE"", ""PROVF_APPDATE"", ""PROVF_RESIGNDATE"", ""PROVF_BFAMT"") VALUES (:COOP_ID, :EMP_NO, :SALARY_AMT, :SALEXP_CODE, :SALEXP_BANK, :SALEXP_BRANCH, :SALEXP_ACCID, :TAX_CALCODE, :TAX_BFAMT, :SS_STATUS, :SS_APPFIRSTSTS, :SS_BFAMT, :SS_APPDATE, :SS_RATE, :SS_HOSPITAL, :PROVF_STATUS, :PROVF_CORPRATE, :PROVF_EMPRATE, :PROVF_APPDATE, :PROVF_RESIGNDATE, :PROVF_BFAMT)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALARY_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SALARY_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SALEXP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_BANK", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SALEXP_BANK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_BRANCH", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SALEXP_BRANCH", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_ACCID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SALEXP_ACCID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAX_CALCODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TAX_CALCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAX_BFAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TAX_BFAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_APPFIRSTSTS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_APPFIRSTSTS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_BFAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_BFAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_APPDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SS_APPDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_RATE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_RATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_HOSPITAL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SS_HOSPITAL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_CORPRATE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_CORPRATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_EMPRATE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_EMPRATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_APPDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "PROVF_APPDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_RESIGNDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "PROVF_RESIGNDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_BFAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_BFAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE ""HREMPLOYEE"" SET ""COOP_ID"" = :COOP_ID, ""EMP_NO"" = :EMP_NO, ""SALARY_AMT"" = :SALARY_AMT, ""SALEXP_CODE"" = :SALEXP_CODE, ""SALEXP_BANK"" = :SALEXP_BANK, ""SALEXP_BRANCH"" = :SALEXP_BRANCH, ""SALEXP_ACCID"" = :SALEXP_ACCID, ""TAX_CALCODE"" = :TAX_CALCODE, ""TAX_BFAMT"" = :TAX_BFAMT, ""SS_STATUS"" = :SS_STATUS, ""SS_APPFIRSTSTS"" = :SS_APPFIRSTSTS, ""SS_BFAMT"" = :SS_BFAMT, ""SS_APPDATE"" = :SS_APPDATE, ""SS_RATE"" = :SS_RATE, ""SS_HOSPITAL"" = :SS_HOSPITAL, ""PROVF_STATUS"" = :PROVF_STATUS, ""PROVF_CORPRATE"" = :PROVF_CORPRATE, ""PROVF_EMPRATE"" = :PROVF_EMPRATE, ""PROVF_APPDATE"" = :PROVF_APPDATE, ""PROVF_RESIGNDATE"" = :PROVF_RESIGNDATE, ""PROVF_BFAMT"" = :PROVF_BFAMT WHERE ((""COOP_ID"" = :Original_COOP_ID) AND (""EMP_NO"" = :Original_EMP_NO))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALARY_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SALARY_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SALEXP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_BANK", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SALEXP_BANK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_BRANCH", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "SALEXP_BRANCH", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALEXP_ACCID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SALEXP_ACCID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAX_CALCODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "TAX_CALCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TAX_BFAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TAX_BFAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_APPFIRSTSTS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_APPFIRSTSTS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_BFAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_BFAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_APPDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SS_APPDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_RATE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SS_RATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SS_HOSPITAL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "SS_HOSPITAL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_CORPRATE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_CORPRATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_EMPRATE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_EMPRATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_APPDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "PROVF_APPDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_RESIGNDATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "PROVF_RESIGNDATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("PROVF_BFAMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "PROVF_BFAMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Original, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionStringtks"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = @"select hremployee.coop_id, hremployee.emp_no, hremployee.salary_amt, hremployee.salexp_code, hremployee.salexp_bank, hremployee.salexp_branch, hremployee.salexp_accid, hremployee.tax_calcode, hremployee.tax_bfamt, hremployee.ss_status, hremployee.ss_appfirststs, hremployee.ss_bfamt, hremployee.ss_appdate, hremployee.ss_rate, hremployee.ss_hospital, hremployee.provf_status, hremployee.provf_corprate, hremployee.provf_emprate, hremployee.provf_appdate, hremployee.provf_resigndate, hremployee.provf_bfamt from hremployee"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.DT_SalaryDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.DT_SalaryDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.DT_SalaryDataTable dataTable = new DataSet1.DT_SalaryDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.DT_SalaryDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "DT_Salary"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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_COOP_ID, string Original_EMP_NO) { if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_EMP_NO)); } 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", "4.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 COOP_ID, string EMP_NO, global::System.Nullable SALARY_AMT, string SALEXP_CODE, string SALEXP_BANK, string SALEXP_BRANCH, string SALEXP_ACCID, string TAX_CALCODE, global::System.Nullable TAX_BFAMT, global::System.Nullable SS_STATUS, global::System.Nullable SS_APPFIRSTSTS, global::System.Nullable SS_BFAMT, global::System.Nullable SS_APPDATE, global::System.Nullable SS_RATE, string SS_HOSPITAL, global::System.Nullable PROVF_STATUS, global::System.Nullable PROVF_CORPRATE, global::System.Nullable PROVF_EMPRATE, global::System.Nullable PROVF_APPDATE, global::System.Nullable PROVF_RESIGNDATE, global::System.Nullable PROVF_BFAMT) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } if ((SALARY_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SALARY_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } if ((SALEXP_CODE == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(SALEXP_CODE)); } if ((SALEXP_BANK == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(SALEXP_BANK)); } if ((SALEXP_BRANCH == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(SALEXP_BRANCH)); } if ((SALEXP_ACCID == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(SALEXP_ACCID)); } if ((TAX_CALCODE == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(TAX_CALCODE)); } if ((TAX_BFAMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(TAX_BFAMT.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((SS_STATUS.HasValue == true)) { this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(SS_STATUS.Value)); } else { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((SS_APPFIRSTSTS.HasValue == true)) { this.Adapter.InsertCommand.Parameters[10].Value = ((decimal)(SS_APPFIRSTSTS.Value)); } else { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((SS_BFAMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[11].Value = ((decimal)(SS_BFAMT.Value)); } else { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((SS_APPDATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(SS_APPDATE.Value)); } else { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((SS_RATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[13].Value = ((decimal)(SS_RATE.Value)); } else { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((SS_HOSPITAL == null)) { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(SS_HOSPITAL)); } if ((PROVF_STATUS.HasValue == true)) { this.Adapter.InsertCommand.Parameters[15].Value = ((decimal)(PROVF_STATUS.Value)); } else { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } if ((PROVF_CORPRATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[16].Value = ((decimal)(PROVF_CORPRATE.Value)); } else { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } if ((PROVF_EMPRATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[17].Value = ((decimal)(PROVF_EMPRATE.Value)); } else { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } if ((PROVF_APPDATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[18].Value = ((System.DateTime)(PROVF_APPDATE.Value)); } else { this.Adapter.InsertCommand.Parameters[18].Value = global::System.DBNull.Value; } if ((PROVF_RESIGNDATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[19].Value = ((System.DateTime)(PROVF_RESIGNDATE.Value)); } else { this.Adapter.InsertCommand.Parameters[19].Value = global::System.DBNull.Value; } if ((PROVF_BFAMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[20].Value = ((decimal)(PROVF_BFAMT.Value)); } else { this.Adapter.InsertCommand.Parameters[20].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", "4.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 COOP_ID, string EMP_NO, global::System.Nullable SALARY_AMT, string SALEXP_CODE, string SALEXP_BANK, string SALEXP_BRANCH, string SALEXP_ACCID, string TAX_CALCODE, global::System.Nullable TAX_BFAMT, global::System.Nullable SS_STATUS, global::System.Nullable SS_APPFIRSTSTS, global::System.Nullable SS_BFAMT, global::System.Nullable SS_APPDATE, global::System.Nullable SS_RATE, string SS_HOSPITAL, global::System.Nullable PROVF_STATUS, global::System.Nullable PROVF_CORPRATE, global::System.Nullable PROVF_EMPRATE, global::System.Nullable PROVF_APPDATE, global::System.Nullable PROVF_RESIGNDATE, global::System.Nullable PROVF_BFAMT, string Original_COOP_ID, string Original_EMP_NO) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(EMP_NO)); } if ((SALARY_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SALARY_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } if ((SALEXP_CODE == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(SALEXP_CODE)); } if ((SALEXP_BANK == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(SALEXP_BANK)); } if ((SALEXP_BRANCH == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(SALEXP_BRANCH)); } if ((SALEXP_ACCID == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(SALEXP_ACCID)); } if ((TAX_CALCODE == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(TAX_CALCODE)); } if ((TAX_BFAMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(TAX_BFAMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((SS_STATUS.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(SS_STATUS.Value)); } else { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((SS_APPFIRSTSTS.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[10].Value = ((decimal)(SS_APPFIRSTSTS.Value)); } else { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((SS_BFAMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(SS_BFAMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } if ((SS_APPDATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(SS_APPDATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((SS_RATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[13].Value = ((decimal)(SS_RATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((SS_HOSPITAL == null)) { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(SS_HOSPITAL)); } if ((PROVF_STATUS.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[15].Value = ((decimal)(PROVF_STATUS.Value)); } else { this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value; } if ((PROVF_CORPRATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(PROVF_CORPRATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value; } if ((PROVF_EMPRATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[17].Value = ((decimal)(PROVF_EMPRATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value; } if ((PROVF_APPDATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[18].Value = ((System.DateTime)(PROVF_APPDATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value; } if ((PROVF_RESIGNDATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[19].Value = ((System.DateTime)(PROVF_RESIGNDATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value; } if ((PROVF_BFAMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[20].Value = ((decimal)(PROVF_BFAMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value; } if ((Original_COOP_ID == null)) { throw new global::System.ArgumentNullException("Original_COOP_ID"); } else { this.Adapter.UpdateCommand.Parameters[21].Value = ((string)(Original_COOP_ID)); } if ((Original_EMP_NO == null)) { throw new global::System.ArgumentNullException("Original_EMP_NO"); } else { this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_EMP_NO)); } 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", "4.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 SALARY_AMT, string SALEXP_CODE, string SALEXP_BANK, string SALEXP_BRANCH, string SALEXP_ACCID, string TAX_CALCODE, global::System.Nullable TAX_BFAMT, global::System.Nullable SS_STATUS, global::System.Nullable SS_APPFIRSTSTS, global::System.Nullable SS_BFAMT, global::System.Nullable SS_APPDATE, global::System.Nullable SS_RATE, string SS_HOSPITAL, global::System.Nullable PROVF_STATUS, global::System.Nullable PROVF_CORPRATE, global::System.Nullable PROVF_EMPRATE, global::System.Nullable PROVF_APPDATE, global::System.Nullable PROVF_RESIGNDATE, global::System.Nullable PROVF_BFAMT, string Original_COOP_ID, string Original_EMP_NO) { return this.Update(Original_COOP_ID, Original_EMP_NO, SALARY_AMT, SALEXP_CODE, SALEXP_BANK, SALEXP_BRANCH, SALEXP_ACCID, TAX_CALCODE, TAX_BFAMT, SS_STATUS, SS_APPFIRSTSTS, SS_BFAMT, SS_APPDATE, SS_RATE, SS_HOSPITAL, PROVF_STATUS, PROVF_CORPRATE, PROVF_EMPRATE, PROVF_APPDATE, PROVF_RESIGNDATE, PROVF_BFAMT, Original_COOP_ID, Original_EMP_NO); } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HRGARANTEETableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRGARANTEETableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HRGARANTEE"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("GARAN_NAME", "GARAN_NAME"); tableMapping.ColumnMappings.Add("GARAN_SURNAME", "GARAN_SURNAME"); tableMapping.ColumnMappings.Add("GARAN_BIRTH", "GARAN_BIRTH"); tableMapping.ColumnMappings.Add("GARAN_WORK", "GARAN_WORK"); tableMapping.ColumnMappings.Add("GARAN_TEL", "GARAN_TEL"); tableMapping.ColumnMappings.Add("GARAN_AGE", "GARAN_AGE"); this._adapter.TableMappings.Add(tableMapping); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""ISCOGSB"".""HRGARANTEE"" (""COOP_ID"", ""EMP_NO"", ""SEQ_NO"", ""GARAN_NAME"", ""GARAN_SURNAME"", ""GARAN_BIRTH"", ""GARAN_WORK"", ""GARAN_TEL"", ""GARAN_AGE"") VALUES (:COOP_ID, :EMP_NO, :SEQ_NO, :GARAN_NAME, :GARAN_SURNAME, :GARAN_BIRTH, :GARAN_WORK, :GARAN_TEL, :GARAN_AGE)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("GARAN_NAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "GARAN_NAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("GARAN_SURNAME", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "GARAN_SURNAME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("GARAN_BIRTH", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "GARAN_BIRTH", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("GARAN_WORK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "GARAN_WORK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("GARAN_TEL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "GARAN_TEL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("GARAN_AGE", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "GARAN_AGE", global::System.Data.DataRowVersion.Current, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString1"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT COOP_ID, EMP_NO, SEQ_NO, GARAN_NAME, GARAN_SURNAME, GARAN_BIRTH, GARAN_WOR" + "K, GARAN_TEL, GARAN_AGE FROM ISCOGSB.HRGARANTEE"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HRGARANTEEDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HRGARANTEEDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HRGARANTEEDataTable dataTable = new DataSet1.HRGARANTEEDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HRGARANTEEDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HRGARANTEE"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string GARAN_NAME, string GARAN_SURNAME, global::System.Nullable GARAN_BIRTH, string GARAN_WORK, string GARAN_TEL, global::System.Nullable GARAN_AGE) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((GARAN_NAME == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(GARAN_NAME)); } if ((GARAN_SURNAME == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(GARAN_SURNAME)); } if ((GARAN_BIRTH.HasValue == true)) { this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(GARAN_BIRTH.Value)); } else { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((GARAN_WORK == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(GARAN_WORK)); } if ((GARAN_TEL == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(GARAN_TEL)); } if ((GARAN_AGE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(GARAN_AGE.Value)); } else { this.Adapter.InsertCommand.Parameters[8].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(); } } } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HRLOGLEAVETableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGLEAVETableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HRLOGLEAVE"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("OPERATE_DATE", "OPERATE_DATE"); tableMapping.ColumnMappings.Add("LEAVE_CODE", "LEAVE_CODE"); tableMapping.ColumnMappings.Add("LEAVE_FROM", "LEAVE_FROM"); tableMapping.ColumnMappings.Add("LEAVE_TO", "LEAVE_TO"); tableMapping.ColumnMappings.Add("TOTALDAY", "TOTALDAY"); tableMapping.ColumnMappings.Add("TOTALTIME", "TOTALTIME"); tableMapping.ColumnMappings.Add("LEAVE_CAUSE", "LEAVE_CAUSE"); tableMapping.ColumnMappings.Add("LEAVE_TEL", "LEAVE_TEL"); tableMapping.ColumnMappings.Add("LEAVE_PLACE", "LEAVE_PLACE"); tableMapping.ColumnMappings.Add("APV_STATUS", "APV_STATUS"); tableMapping.ColumnMappings.Add("APV_DATE", "APV_DATE"); tableMapping.ColumnMappings.Add("APV_REMARK", "APV_REMARK"); tableMapping.ColumnMappings.Add("APV_BYCODE", "APV_BYCODE"); tableMapping.ColumnMappings.Add("LAST_TIME", "LAST_TIME"); tableMapping.ColumnMappings.Add("START_TIME", "START_TIME"); this._adapter.TableMappings.Add(tableMapping); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""ISCOGSB"".""HRLOGLEAVE"" (""COOP_ID"", ""EMP_NO"", ""SEQ_NO"", ""OPERATE_DATE"", ""LEAVE_CODE"", ""LEAVE_FROM"", ""LEAVE_TO"", ""TOTALDAY"", ""TOTALTIME"", ""LEAVE_CAUSE"", ""LEAVE_TEL"", ""LEAVE_PLACE"", ""APV_STATUS"", ""APV_DATE"", ""APV_REMARK"", ""APV_BYCODE"", ""LAST_TIME"", ""START_TIME"") VALUES (:COOP_ID, :EMP_NO, :SEQ_NO, :OPERATE_DATE, :LEAVE_CODE, :LEAVE_FROM, :LEAVE_TO, :TOTALDAY, :TOTALTIME, :LEAVE_CAUSE, :LEAVE_TEL, :LEAVE_PLACE, :APV_STATUS, :APV_DATE, :APV_REMARK, :APV_BYCODE, :LAST_TIME, :START_TIME)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OPERATE_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "OPERATE_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LEAVE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "LEAVE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LEAVE_FROM", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "LEAVE_FROM", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LEAVE_TO", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "LEAVE_TO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TOTALDAY", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TOTALDAY", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("TOTALTIME", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "TOTALTIME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LEAVE_CAUSE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LEAVE_CAUSE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LEAVE_TEL", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LEAVE_TEL", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LEAVE_PLACE", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "LEAVE_PLACE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("APV_STATUS", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "APV_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("APV_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "APV_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("APV_REMARK", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "APV_REMARK", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("APV_BYCODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "APV_BYCODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("LAST_TIME", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "LAST_TIME", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("START_TIME", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "START_TIME", global::System.Data.DataRowVersion.Current, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString1"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT COOP_ID, EMP_NO, SEQ_NO, OPERATE_DATE, LEAVE_CODE, LEAVE_FROM, LEAVE_TO, T" + "OTALDAY, TOTALTIME, LEAVE_CAUSE, LEAVE_TEL, LEAVE_PLACE, APV_STATUS, APV_DATE, A" + "PV_REMARK, APV_BYCODE, LAST_TIME, START_TIME FROM ISCOGSB.HRLOGLEAVE"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HRLOGLEAVEDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HRLOGLEAVEDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HRLOGLEAVEDataTable dataTable = new DataSet1.HRLOGLEAVEDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HRLOGLEAVEDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HRLOGLEAVE"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, global::System.Nullable OPERATE_DATE, string LEAVE_CODE, global::System.Nullable LEAVE_FROM, global::System.Nullable LEAVE_TO, global::System.Nullable TOTALDAY, global::System.Nullable TOTALTIME, string LEAVE_CAUSE, string LEAVE_TEL, string LEAVE_PLACE, global::System.Nullable APV_STATUS, global::System.Nullable APV_DATE, string APV_REMARK, string APV_BYCODE, string LAST_TIME, string START_TIME) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((OPERATE_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(OPERATE_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((LEAVE_CODE == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(LEAVE_CODE)); } if ((LEAVE_FROM.HasValue == true)) { this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(LEAVE_FROM.Value)); } else { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((LEAVE_TO.HasValue == true)) { this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(LEAVE_TO.Value)); } else { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((TOTALDAY.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(TOTALDAY.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((TOTALTIME.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(TOTALTIME.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((LEAVE_CAUSE == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(LEAVE_CAUSE)); } if ((LEAVE_TEL == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(LEAVE_TEL)); } if ((LEAVE_PLACE == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(LEAVE_PLACE)); } if ((APV_STATUS.HasValue == true)) { this.Adapter.InsertCommand.Parameters[12].Value = ((decimal)(APV_STATUS.Value)); } else { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((APV_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(APV_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((APV_REMARK == null)) { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[14].Value = ((string)(APV_REMARK)); } if ((APV_BYCODE == null)) { this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[15].Value = ((string)(APV_BYCODE)); } if ((LAST_TIME == null)) { this.Adapter.InsertCommand.Parameters[16].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[16].Value = ((string)(LAST_TIME)); } if ((START_TIME == null)) { this.Adapter.InsertCommand.Parameters[17].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[17].Value = ((string)(START_TIME)); } 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(); } } } } /// ///Represents the connection and commands used to retrieve and save data. /// [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 HRLOGCHANGEWORKTableAdapter : global::System.ComponentModel.Component { private global::System.Data.OracleClient.OracleDataAdapter _adapter; private global::System.Data.OracleClient.OracleConnection _connection; private global::System.Data.OracleClient.OracleTransaction _transaction; private global::System.Data.OracleClient.OracleCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public HRLOGCHANGEWORKTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] protected internal global::System.Data.OracleClient.OracleDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleConnection 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.OracleClient.OracleCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal global::System.Data.OracleClient.OracleTransaction 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", "4.0.0.0")] protected global::System.Data.OracleClient.OracleCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] private void InitAdapter() { this._adapter = new global::System.Data.OracleClient.OracleDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "HRLOGCHANGEWORK"; tableMapping.ColumnMappings.Add("COOP_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("EMP_NO", "EMP_NO"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("DEPTGRP_CODE", "DEPTGRP_CODE"); tableMapping.ColumnMappings.Add("POS_CODE", "POS_CODE"); tableMapping.ColumnMappings.Add("SALARY_AMT", "SALARY_AMT"); tableMapping.ColumnMappings.Add("OLD_DEPTGRP_CODE", "OLD_DEPTGRP_CODE"); tableMapping.ColumnMappings.Add("OLD_POS_CODE", "OLD_POS_CODE"); tableMapping.ColumnMappings.Add("OLD_SALARY_AMT", "OLD_SALARY_AMT"); tableMapping.ColumnMappings.Add("ORDER_DOCNO", "ORDER_DOCNO"); tableMapping.ColumnMappings.Add("START_DATE", "START_DATE"); tableMapping.ColumnMappings.Add("ORDER_DATE", "ORDER_DATE"); this._adapter.TableMappings.Add(tableMapping); this._adapter.InsertCommand = new global::System.Data.OracleClient.OracleCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO ""ISCOGSB"".""HRLOGCHANGEWORK"" (""COOP_ID"", ""EMP_NO"", ""SEQ_NO"", ""DEPTGRP_CODE"", ""POS_CODE"", ""SALARY_AMT"", ""OLD_DEPTGRP_CODE"", ""OLD_POS_CODE"", ""OLD_SALARY_AMT"", ""ORDER_DOCNO"", ""START_DATE"", ""ORDER_DATE"") VALUES (:COOP_ID, :EMP_NO, :SEQ_NO, :DEPTGRP_CODE, :POS_CODE, :SALARY_AMT, :OLD_DEPTGRP_CODE, :OLD_POS_CODE, :OLD_SALARY_AMT, :ORDER_DOCNO, :START_DATE, :ORDER_DATE)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COOP_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "COOP_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("EMP_NO", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "EMP_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SEQ_NO", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SEQ_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEPTGRP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEPTGRP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("POS_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "POS_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SALARY_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "SALARY_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OLD_DEPTGRP_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "OLD_DEPTGRP_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OLD_POS_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "OLD_POS_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("OLD_SALARY_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "OLD_SALARY_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ORDER_DOCNO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ORDER_DOCNO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("START_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "START_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ORDER_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ORDER_DATE", global::System.Data.DataRowVersion.Current, false, null)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitConnection() { this._connection = new global::System.Data.OracleClient.OracleConnection(); this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString1"].ConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitCommandCollection() { this._commandCollection = new global::System.Data.OracleClient.OracleCommand[1]; this._commandCollection[0] = new global::System.Data.OracleClient.OracleCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT COOP_ID, EMP_NO, SEQ_NO, DEPTGRP_CODE, POS_CODE, SALARY_AMT, OLD_DEPTGRP_C" + "ODE, OLD_POS_CODE, OLD_SALARY_AMT, ORDER_DOCNO, START_DATE, ORDER_DATE FROM ISCO" + "GSB.HRLOGCHANGEWORK"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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(DataSet1.HRLOGCHANGEWORKDataTable 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", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual DataSet1.HRLOGCHANGEWORKDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.HRLOGCHANGEWORKDataTable dataTable = new DataSet1.HRLOGCHANGEWORKDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1.HRLOGCHANGEWORKDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(DataSet1 dataSet) { return this.Adapter.Update(dataSet, "HRLOGCHANGEWORK"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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", "4.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 COOP_ID, string EMP_NO, decimal SEQ_NO, string DEPTGRP_CODE, string POS_CODE, global::System.Nullable SALARY_AMT, string OLD_DEPTGRP_CODE, string OLD_POS_CODE, global::System.Nullable OLD_SALARY_AMT, string ORDER_DOCNO, global::System.Nullable START_DATE, global::System.Nullable ORDER_DATE) { if ((COOP_ID == null)) { throw new global::System.ArgumentNullException("COOP_ID"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(COOP_ID)); } if ((EMP_NO == null)) { throw new global::System.ArgumentNullException("EMP_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(EMP_NO)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((DEPTGRP_CODE == null)) { throw new global::System.ArgumentNullException("DEPTGRP_CODE"); } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DEPTGRP_CODE)); } if ((POS_CODE == null)) { throw new global::System.ArgumentNullException("POS_CODE"); } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(POS_CODE)); } if ((SALARY_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[5].Value = ((decimal)(SALARY_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((OLD_DEPTGRP_CODE == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(OLD_DEPTGRP_CODE)); } if ((OLD_POS_CODE == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(OLD_POS_CODE)); } if ((OLD_SALARY_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(OLD_SALARY_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((ORDER_DOCNO == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(ORDER_DOCNO)); } if ((START_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(START_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((ORDER_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[11].Value = ((System.DateTime)(ORDER_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[11].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(); } } } } /// ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios /// [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 HREMPLOYEETableAdapter _hREMPLOYEETableAdapter; private HREMPLOYEEFAMILYTableAdapter _hREMPLOYEEFAMILYTableAdapter; private HREMPLOYEEEDUTableAdapter _hREMPLOYEEEDUTableAdapter; private HREMPLOYEEEXPERIENCETableAdapter _hREMPLOYEEEXPERIENCETableAdapter; private HREMPLOYEETRAININGTableAdapter _hREMPLOYEETRAININGTableAdapter; private HREMPLOYEEASSISTTableAdapter _hREMPLOYEEASSISTTableAdapter; private DT_MainTableAdapter _dT_MainTableAdapter; private DT_SalaryTableAdapter _dT_SalaryTableAdapter; private HRGARANTEETableAdapter _hRGARANTEETableAdapter; private HRLOGLEAVETableAdapter _hRLOGLEAVETableAdapter; private HRLOGCHANGEWORKTableAdapter _hRLOGCHANGEWORKTableAdapter; private bool _backupDataSetBeforeUpdate; private global::System.Data.IDbConnection _connection; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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 HREMPLOYEETableAdapter HREMPLOYEETableAdapter { get { return this._hREMPLOYEETableAdapter; } set { this._hREMPLOYEETableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HREMPLOYEEFAMILYTableAdapter HREMPLOYEEFAMILYTableAdapter { get { return this._hREMPLOYEEFAMILYTableAdapter; } set { this._hREMPLOYEEFAMILYTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HREMPLOYEEEDUTableAdapter HREMPLOYEEEDUTableAdapter { get { return this._hREMPLOYEEEDUTableAdapter; } set { this._hREMPLOYEEEDUTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HREMPLOYEEEXPERIENCETableAdapter HREMPLOYEEEXPERIENCETableAdapter { get { return this._hREMPLOYEEEXPERIENCETableAdapter; } set { this._hREMPLOYEEEXPERIENCETableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HREMPLOYEETRAININGTableAdapter HREMPLOYEETRAININGTableAdapter { get { return this._hREMPLOYEETRAININGTableAdapter; } set { this._hREMPLOYEETRAININGTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HREMPLOYEEASSISTTableAdapter HREMPLOYEEASSISTTableAdapter { get { return this._hREMPLOYEEASSISTTableAdapter; } set { this._hREMPLOYEEASSISTTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 DT_MainTableAdapter DT_MainTableAdapter { get { return this._dT_MainTableAdapter; } set { this._dT_MainTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 DT_SalaryTableAdapter DT_SalaryTableAdapter { get { return this._dT_SalaryTableAdapter; } set { this._dT_SalaryTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HRGARANTEETableAdapter HRGARANTEETableAdapter { get { return this._hRGARANTEETableAdapter; } set { this._hRGARANTEETableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HRLOGLEAVETableAdapter HRLOGLEAVETableAdapter { get { return this._hRLOGLEAVETableAdapter; } set { this._hRLOGLEAVETableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 HRLOGCHANGEWORKTableAdapter HRLOGCHANGEWORKTableAdapter { get { return this._hRLOGCHANGEWORKTableAdapter; } set { this._hRLOGCHANGEWORKTableAdapter = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] public global::System.Data.IDbConnection Connection { get { if ((this._connection != null)) { return this._connection; } if (((this._hREMPLOYEETableAdapter != null) && (this._hREMPLOYEETableAdapter.Connection != null))) { return this._hREMPLOYEETableAdapter.Connection; } if (((this._hREMPLOYEEFAMILYTableAdapter != null) && (this._hREMPLOYEEFAMILYTableAdapter.Connection != null))) { return this._hREMPLOYEEFAMILYTableAdapter.Connection; } if (((this._hREMPLOYEEEDUTableAdapter != null) && (this._hREMPLOYEEEDUTableAdapter.Connection != null))) { return this._hREMPLOYEEEDUTableAdapter.Connection; } if (((this._hREMPLOYEEEXPERIENCETableAdapter != null) && (this._hREMPLOYEEEXPERIENCETableAdapter.Connection != null))) { return this._hREMPLOYEEEXPERIENCETableAdapter.Connection; } if (((this._hREMPLOYEETRAININGTableAdapter != null) && (this._hREMPLOYEETRAININGTableAdapter.Connection != null))) { return this._hREMPLOYEETRAININGTableAdapter.Connection; } if (((this._hREMPLOYEEASSISTTableAdapter != null) && (this._hREMPLOYEEASSISTTableAdapter.Connection != null))) { return this._hREMPLOYEEASSISTTableAdapter.Connection; } if (((this._dT_MainTableAdapter != null) && (this._dT_MainTableAdapter.Connection != null))) { return this._dT_MainTableAdapter.Connection; } if (((this._dT_SalaryTableAdapter != null) && (this._dT_SalaryTableAdapter.Connection != null))) { return this._dT_SalaryTableAdapter.Connection; } if (((this._hRGARANTEETableAdapter != null) && (this._hRGARANTEETableAdapter.Connection != null))) { return this._hRGARANTEETableAdapter.Connection; } if (((this._hRLOGLEAVETableAdapter != null) && (this._hRLOGLEAVETableAdapter.Connection != null))) { return this._hRLOGLEAVETableAdapter.Connection; } if (((this._hRLOGCHANGEWORKTableAdapter != null) && (this._hRLOGCHANGEWORKTableAdapter.Connection != null))) { return this._hRLOGCHANGEWORKTableAdapter.Connection; } return null; } set { this._connection = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Browsable(false)] public int TableAdapterInstanceCount { get { int count = 0; if ((this._hREMPLOYEETableAdapter != null)) { count = (count + 1); } if ((this._hREMPLOYEEFAMILYTableAdapter != null)) { count = (count + 1); } if ((this._hREMPLOYEEEDUTableAdapter != null)) { count = (count + 1); } if ((this._hREMPLOYEEEXPERIENCETableAdapter != null)) { count = (count + 1); } if ((this._hREMPLOYEETRAININGTableAdapter != null)) { count = (count + 1); } if ((this._hREMPLOYEEASSISTTableAdapter != null)) { count = (count + 1); } if ((this._dT_MainTableAdapter != null)) { count = (count + 1); } if ((this._dT_SalaryTableAdapter != null)) { count = (count + 1); } if ((this._hRGARANTEETableAdapter != null)) { count = (count + 1); } if ((this._hRLOGLEAVETableAdapter != null)) { count = (count + 1); } if ((this._hRLOGCHANGEWORKTableAdapter != null)) { count = (count + 1); } return count; } } /// ///Update rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateUpdatedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows, global::System.Collections.Generic.List allAddedRows) { int result = 0; if ((this._hREMPLOYEETableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HREMPLOYEE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hREMPLOYEETableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._dT_SalaryTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.DT_Salary.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._dT_SalaryTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._dT_MainTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.DT_Main.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._dT_MainTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hRGARANTEETableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HRGARANTEE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hRGARANTEETableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hRLOGCHANGEWORKTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HRLOGCHANGEWORK.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hRLOGCHANGEWORKTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hRLOGLEAVETableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HRLOGLEAVE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hRLOGLEAVETableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hREMPLOYEEEDUTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HREMPLOYEEEDU.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hREMPLOYEEEDUTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hREMPLOYEEFAMILYTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HREMPLOYEEFAMILY.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hREMPLOYEEFAMILYTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hREMPLOYEEEXPERIENCETableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HREMPLOYEEEXPERIENCE.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hREMPLOYEEEXPERIENCETableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hREMPLOYEEASSISTTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HREMPLOYEEASSIST.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hREMPLOYEEASSISTTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._hREMPLOYEETRAININGTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.HREMPLOYEETRAINING.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._hREMPLOYEETRAININGTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } return result; } /// ///Insert rows in top-down order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateInsertedRows(DataSet1 dataSet, global::System.Collections.Generic.List allAddedRows) { int result = 0; if ((this._hREMPLOYEETableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HREMPLOYEE.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hREMPLOYEETableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._dT_SalaryTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.DT_Salary.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._dT_SalaryTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._dT_MainTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.DT_Main.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._dT_MainTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hRGARANTEETableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HRGARANTEE.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hRGARANTEETableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hRLOGCHANGEWORKTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HRLOGCHANGEWORK.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hRLOGCHANGEWORKTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hRLOGLEAVETableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HRLOGLEAVE.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hRLOGLEAVETableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hREMPLOYEEEDUTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HREMPLOYEEEDU.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hREMPLOYEEEDUTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hREMPLOYEEFAMILYTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HREMPLOYEEFAMILY.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hREMPLOYEEFAMILYTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hREMPLOYEEEXPERIENCETableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HREMPLOYEEEXPERIENCE.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hREMPLOYEEEXPERIENCETableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hREMPLOYEEASSISTTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HREMPLOYEEASSIST.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hREMPLOYEEASSISTTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._hREMPLOYEETRAININGTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.HREMPLOYEETRAINING.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._hREMPLOYEETRAININGTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } return result; } /// ///Delete rows in bottom-up order. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private int UpdateDeletedRows(DataSet1 dataSet, global::System.Collections.Generic.List allChangedRows) { int result = 0; if ((this._hREMPLOYEETRAININGTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HREMPLOYEETRAINING.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hREMPLOYEETRAININGTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hREMPLOYEEASSISTTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HREMPLOYEEASSIST.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hREMPLOYEEASSISTTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hREMPLOYEEEXPERIENCETableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HREMPLOYEEEXPERIENCE.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hREMPLOYEEEXPERIENCETableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hREMPLOYEEFAMILYTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HREMPLOYEEFAMILY.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hREMPLOYEEFAMILYTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hREMPLOYEEEDUTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HREMPLOYEEEDU.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hREMPLOYEEEDUTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hRLOGLEAVETableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HRLOGLEAVE.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hRLOGLEAVETableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hRLOGCHANGEWORKTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HRLOGCHANGEWORK.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hRLOGCHANGEWORKTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hRGARANTEETableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HRGARANTEE.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hRGARANTEETableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._dT_MainTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.DT_Main.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._dT_MainTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._dT_SalaryTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.DT_Salary.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._dT_SalaryTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._hREMPLOYEETableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.HREMPLOYEE.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._hREMPLOYEETableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } return result; } /// ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List allAddedRows) { if (((updatedRows == null) || (updatedRows.Length < 1))) { return updatedRows; } if (((allAddedRows == null) || (allAddedRows.Count < 1))) { return updatedRows; } global::System.Collections.Generic.List realUpdatedRows = new global::System.Collections.Generic.List(); 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(); } /// ///Update all changes to the dataset. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public virtual int UpdateAll(DataSet1 dataSet) { if ((dataSet == null)) { throw new global::System.ArgumentNullException("dataSet"); } if ((dataSet.HasChanges() == false)) { return 0; } if (((this._hREMPLOYEETableAdapter != null) && (this.MatchTableAdapterConnection(this._hREMPLOYEETableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hREMPLOYEEFAMILYTableAdapter != null) && (this.MatchTableAdapterConnection(this._hREMPLOYEEFAMILYTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hREMPLOYEEEDUTableAdapter != null) && (this.MatchTableAdapterConnection(this._hREMPLOYEEEDUTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hREMPLOYEEEXPERIENCETableAdapter != null) && (this.MatchTableAdapterConnection(this._hREMPLOYEEEXPERIENCETableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hREMPLOYEETRAININGTableAdapter != null) && (this.MatchTableAdapterConnection(this._hREMPLOYEETRAININGTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hREMPLOYEEASSISTTableAdapter != null) && (this.MatchTableAdapterConnection(this._hREMPLOYEEASSISTTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._dT_MainTableAdapter != null) && (this.MatchTableAdapterConnection(this._dT_MainTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._dT_SalaryTableAdapter != null) && (this.MatchTableAdapterConnection(this._dT_SalaryTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hRGARANTEETableAdapter != null) && (this.MatchTableAdapterConnection(this._hRGARANTEETableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hRLOGLEAVETableAdapter != null) && (this.MatchTableAdapterConnection(this._hRLOGLEAVETableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._hRLOGCHANGEWORKTableAdapter != null) && (this.MatchTableAdapterConnection(this._hRLOGCHANGEWORKTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } global::System.Data.IDbConnection workConnection = this.Connection; if ((workConnection == null)) { throw new global::System.ApplicationException("TableAdapterManager contains no connection information. Set each TableAdapterMana" + "ger TableAdapter property to a valid TableAdapter instance."); } 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("The transaction cannot begin. The current data connection does not support transa" + "ctions or the current state is not allowing the transaction to begin."); } global::System.Collections.Generic.List allChangedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List allAddedRows = new global::System.Collections.Generic.List(); global::System.Collections.Generic.List adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List(); global::System.Collections.Generic.Dictionary revertConnections = new global::System.Collections.Generic.Dictionary(); 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._hREMPLOYEETableAdapter != null)) { revertConnections.Add(this._hREMPLOYEETableAdapter, this._hREMPLOYEETableAdapter.Connection); this._hREMPLOYEETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hREMPLOYEETableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hREMPLOYEETableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hREMPLOYEETableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hREMPLOYEETableAdapter.Adapter); } } if ((this._hREMPLOYEEFAMILYTableAdapter != null)) { revertConnections.Add(this._hREMPLOYEEFAMILYTableAdapter, this._hREMPLOYEEFAMILYTableAdapter.Connection); this._hREMPLOYEEFAMILYTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hREMPLOYEEFAMILYTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hREMPLOYEEFAMILYTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hREMPLOYEEFAMILYTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hREMPLOYEEFAMILYTableAdapter.Adapter); } } if ((this._hREMPLOYEEEDUTableAdapter != null)) { revertConnections.Add(this._hREMPLOYEEEDUTableAdapter, this._hREMPLOYEEEDUTableAdapter.Connection); this._hREMPLOYEEEDUTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hREMPLOYEEEDUTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hREMPLOYEEEDUTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hREMPLOYEEEDUTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hREMPLOYEEEDUTableAdapter.Adapter); } } if ((this._hREMPLOYEEEXPERIENCETableAdapter != null)) { revertConnections.Add(this._hREMPLOYEEEXPERIENCETableAdapter, this._hREMPLOYEEEXPERIENCETableAdapter.Connection); this._hREMPLOYEEEXPERIENCETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hREMPLOYEEEXPERIENCETableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hREMPLOYEEEXPERIENCETableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hREMPLOYEEEXPERIENCETableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hREMPLOYEEEXPERIENCETableAdapter.Adapter); } } if ((this._hREMPLOYEETRAININGTableAdapter != null)) { revertConnections.Add(this._hREMPLOYEETRAININGTableAdapter, this._hREMPLOYEETRAININGTableAdapter.Connection); this._hREMPLOYEETRAININGTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hREMPLOYEETRAININGTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hREMPLOYEETRAININGTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hREMPLOYEETRAININGTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hREMPLOYEETRAININGTableAdapter.Adapter); } } if ((this._hREMPLOYEEASSISTTableAdapter != null)) { revertConnections.Add(this._hREMPLOYEEASSISTTableAdapter, this._hREMPLOYEEASSISTTableAdapter.Connection); this._hREMPLOYEEASSISTTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hREMPLOYEEASSISTTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hREMPLOYEEASSISTTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hREMPLOYEEASSISTTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hREMPLOYEEASSISTTableAdapter.Adapter); } } if ((this._dT_MainTableAdapter != null)) { revertConnections.Add(this._dT_MainTableAdapter, this._dT_MainTableAdapter.Connection); this._dT_MainTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._dT_MainTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._dT_MainTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._dT_MainTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._dT_MainTableAdapter.Adapter); } } if ((this._dT_SalaryTableAdapter != null)) { revertConnections.Add(this._dT_SalaryTableAdapter, this._dT_SalaryTableAdapter.Connection); this._dT_SalaryTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._dT_SalaryTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._dT_SalaryTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._dT_SalaryTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._dT_SalaryTableAdapter.Adapter); } } if ((this._hRGARANTEETableAdapter != null)) { revertConnections.Add(this._hRGARANTEETableAdapter, this._hRGARANTEETableAdapter.Connection); this._hRGARANTEETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hRGARANTEETableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hRGARANTEETableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hRGARANTEETableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hRGARANTEETableAdapter.Adapter); } } if ((this._hRLOGLEAVETableAdapter != null)) { revertConnections.Add(this._hRLOGLEAVETableAdapter, this._hRLOGLEAVETableAdapter.Connection); this._hRLOGLEAVETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hRLOGLEAVETableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hRLOGLEAVETableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hRLOGLEAVETableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hRLOGLEAVETableAdapter.Adapter); } } if ((this._hRLOGCHANGEWORKTableAdapter != null)) { revertConnections.Add(this._hRLOGCHANGEWORKTableAdapter, this._hRLOGCHANGEWORKTableAdapter.Connection); this._hRLOGCHANGEWORKTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._hRLOGCHANGEWORKTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._hRLOGCHANGEWORKTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._hRLOGCHANGEWORKTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._hRLOGCHANGEWORKTableAdapter.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._hREMPLOYEETableAdapter != null)) { this._hREMPLOYEETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hREMPLOYEETableAdapter])); this._hREMPLOYEETableAdapter.Transaction = null; } if ((this._hREMPLOYEEFAMILYTableAdapter != null)) { this._hREMPLOYEEFAMILYTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hREMPLOYEEFAMILYTableAdapter])); this._hREMPLOYEEFAMILYTableAdapter.Transaction = null; } if ((this._hREMPLOYEEEDUTableAdapter != null)) { this._hREMPLOYEEEDUTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hREMPLOYEEEDUTableAdapter])); this._hREMPLOYEEEDUTableAdapter.Transaction = null; } if ((this._hREMPLOYEEEXPERIENCETableAdapter != null)) { this._hREMPLOYEEEXPERIENCETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hREMPLOYEEEXPERIENCETableAdapter])); this._hREMPLOYEEEXPERIENCETableAdapter.Transaction = null; } if ((this._hREMPLOYEETRAININGTableAdapter != null)) { this._hREMPLOYEETRAININGTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hREMPLOYEETRAININGTableAdapter])); this._hREMPLOYEETRAININGTableAdapter.Transaction = null; } if ((this._hREMPLOYEEASSISTTableAdapter != null)) { this._hREMPLOYEEASSISTTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hREMPLOYEEASSISTTableAdapter])); this._hREMPLOYEEASSISTTableAdapter.Transaction = null; } if ((this._dT_MainTableAdapter != null)) { this._dT_MainTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._dT_MainTableAdapter])); this._dT_MainTableAdapter.Transaction = null; } if ((this._dT_SalaryTableAdapter != null)) { this._dT_SalaryTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._dT_SalaryTableAdapter])); this._dT_SalaryTableAdapter.Transaction = null; } if ((this._hRGARANTEETableAdapter != null)) { this._hRGARANTEETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hRGARANTEETableAdapter])); this._hRGARANTEETableAdapter.Transaction = null; } if ((this._hRLOGLEAVETableAdapter != null)) { this._hRLOGLEAVETableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hRLOGLEAVETableAdapter])); this._hRLOGLEAVETableAdapter.Transaction = null; } if ((this._hRLOGCHANGEWORKTableAdapter != null)) { this._hRLOGCHANGEWORKTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._hRLOGCHANGEWORKTableAdapter])); this._hRLOGCHANGEWORKTableAdapter.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", "4.0.0.0")] protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) { global::System.Array.Sort(rows, new SelfReferenceComparer(relation, childFirst)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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; } /// ///Update Order Option /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public enum UpdateOrderOption { InsertUpdateDelete = 0, UpdateInsertDelete = 1, } /// ///Used to sort self-referenced table's rows /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer { private global::System.Data.DataRelation _relation; private int _childFirst; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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", "4.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 traversedRows = new global::System.Collections.Generic.Dictionary(); 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", "4.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