//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #pragma warning disable 1591 namespace Saving.Applications.trading.ws_td_creditor_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 STDEBTDECDataTable tableSTDEBTDEC; private STDEBTDETDataTable tableSTDEBTDET; private STDEBTINCDataTable tableSTDEBTINC; private STDEBTMASTERDataTable tableSTDEBTMASTER; 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["STDEBTDEC"] != null)) { base.Tables.Add(new STDEBTDECDataTable(ds.Tables["STDEBTDEC"])); } if ((ds.Tables["STDEBTDET"] != null)) { base.Tables.Add(new STDEBTDETDataTable(ds.Tables["STDEBTDET"])); } if ((ds.Tables["STDEBTINC"] != null)) { base.Tables.Add(new STDEBTINCDataTable(ds.Tables["STDEBTINC"])); } if ((ds.Tables["STDEBTMASTER"] != null)) { base.Tables.Add(new STDEBTMASTERDataTable(ds.Tables["STDEBTMASTER"])); } 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 STDEBTDECDataTable STDEBTDEC { get { return this.tableSTDEBTDEC; } } [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 STDEBTDETDataTable STDEBTDET { get { return this.tableSTDEBTDET; } } [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 STDEBTINCDataTable STDEBTINC { get { return this.tableSTDEBTINC; } } [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 STDEBTMASTERDataTable STDEBTMASTER { get { return this.tableSTDEBTMASTER; } } [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["STDEBTDEC"] != null)) { base.Tables.Add(new STDEBTDECDataTable(ds.Tables["STDEBTDEC"])); } if ((ds.Tables["STDEBTDET"] != null)) { base.Tables.Add(new STDEBTDETDataTable(ds.Tables["STDEBTDET"])); } if ((ds.Tables["STDEBTINC"] != null)) { base.Tables.Add(new STDEBTINCDataTable(ds.Tables["STDEBTINC"])); } if ((ds.Tables["STDEBTMASTER"] != null)) { base.Tables.Add(new STDEBTMASTERDataTable(ds.Tables["STDEBTMASTER"])); } 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.tableSTDEBTDEC = ((STDEBTDECDataTable)(base.Tables["STDEBTDEC"])); if ((initTable == true)) { if ((this.tableSTDEBTDEC != null)) { this.tableSTDEBTDEC.InitVars(); } } this.tableSTDEBTDET = ((STDEBTDETDataTable)(base.Tables["STDEBTDET"])); if ((initTable == true)) { if ((this.tableSTDEBTDET != null)) { this.tableSTDEBTDET.InitVars(); } } this.tableSTDEBTINC = ((STDEBTINCDataTable)(base.Tables["STDEBTINC"])); if ((initTable == true)) { if ((this.tableSTDEBTINC != null)) { this.tableSTDEBTINC.InitVars(); } } this.tableSTDEBTMASTER = ((STDEBTMASTERDataTable)(base.Tables["STDEBTMASTER"])); if ((initTable == true)) { if ((this.tableSTDEBTMASTER != null)) { this.tableSTDEBTMASTER.InitVars(); } } } [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.tableSTDEBTDEC = new STDEBTDECDataTable(); base.Tables.Add(this.tableSTDEBTDEC); this.tableSTDEBTDET = new STDEBTDETDataTable(); base.Tables.Add(this.tableSTDEBTDET); this.tableSTDEBTINC = new STDEBTINCDataTable(); base.Tables.Add(this.tableSTDEBTINC); this.tableSTDEBTMASTER = new STDEBTMASTERDataTable(); base.Tables.Add(this.tableSTDEBTMASTER); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeSTDEBTDEC() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeSTDEBTDET() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeSTDEBTINC() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private bool ShouldSerializeSTDEBTMASTER() { 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 STDEBTDECRowChangeEventHandler(object sender, STDEBTDECRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void STDEBTDETRowChangeEventHandler(object sender, STDEBTDETRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void STDEBTINCRowChangeEventHandler(object sender, STDEBTINCRowChangeEvent e); [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public delegate void STDEBTMASTERRowChangeEventHandler(object sender, STDEBTMASTERRowChangeEvent e); /// ///Represents the strongly named DataTable class. /// [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class STDEBTDECDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnDEBTDECDOC_NO; private global::System.Data.DataColumn columnDEBT_NO; private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnDEBTDEC_AMT; private global::System.Data.DataColumn columnDEBTBALANCE_AMT; private global::System.Data.DataColumn columnDEBTDEC_STATUS; private global::System.Data.DataColumn columnENTRY_ID; private global::System.Data.DataColumn columnENTRY_DATE; private global::System.Data.DataColumn columnREMARK; private global::System.Data.DataColumn columnDEBTDECTYPE_CODE; private global::System.Data.DataColumn columnSTORE_ID; private global::System.Data.DataColumn columnDEBTTYPE_CODE; private global::System.Data.DataColumn columnSLIP_DATE; private global::System.Data.DataColumn columnSLIP_TDATE; private global::System.Data.DataColumn columnENTRY_TDATE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDECDataTable() { this.TableName = "STDEBTDEC"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTDECDataTable(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 STDEBTDECDataTable(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 DEBTDECDOC_NOColumn { get { return this.columnDEBTDECDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_NOColumn { get { return this.columnDEBT_NO; } } [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 DEBTDEC_AMTColumn { get { return this.columnDEBTDEC_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTBALANCE_AMTColumn { get { return this.columnDEBTBALANCE_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTDEC_STATUSColumn { get { return this.columnDEBTDEC_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_IDColumn { get { return this.columnENTRY_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_DATEColumn { get { return this.columnENTRY_DATE; } } [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")] public global::System.Data.DataColumn DEBTDECTYPE_CODEColumn { get { return this.columnDEBTDECTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn STORE_IDColumn { get { return this.columnSTORE_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTTYPE_CODEColumn { get { return this.columnDEBTTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_DATEColumn { get { return this.columnSLIP_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_TDATEColumn { get { return this.columnSLIP_TDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_TDATEColumn { get { return this.columnENTRY_TDATE; } } [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 STDEBTDECRow this[int index] { get { return ((STDEBTDECRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDECRowChangeEventHandler STDEBTDECRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDECRowChangeEventHandler STDEBTDECRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDECRowChangeEventHandler STDEBTDECRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDECRowChangeEventHandler STDEBTDECRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddSTDEBTDECRow(STDEBTDECRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDECRow AddSTDEBTDECRow(string DEBTDECDOC_NO, string DEBT_NO, string COOP_ID, decimal DEBTDEC_AMT, decimal DEBTBALANCE_AMT, string DEBTDEC_STATUS, string ENTRY_ID, System.DateTime ENTRY_DATE, string REMARK, string DEBTDECTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, System.DateTime SLIP_DATE, string SLIP_TDATE, string ENTRY_TDATE) { STDEBTDECRow rowSTDEBTDECRow = ((STDEBTDECRow)(this.NewRow())); object[] columnValuesArray = new object[] { DEBTDECDOC_NO, DEBT_NO, COOP_ID, DEBTDEC_AMT, DEBTBALANCE_AMT, DEBTDEC_STATUS, ENTRY_ID, ENTRY_DATE, REMARK, DEBTDECTYPE_CODE, STORE_ID, DEBTTYPE_CODE, SLIP_DATE, SLIP_TDATE, ENTRY_TDATE}; rowSTDEBTDECRow.ItemArray = columnValuesArray; this.Rows.Add(rowSTDEBTDECRow); return rowSTDEBTDECRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDECRow FindByDEBTDECDOC_NODEBT_NOCOOP_IDDEBTDECTYPE_CODE(string DEBTDECDOC_NO, string DEBT_NO, string COOP_ID, string DEBTDECTYPE_CODE) { return ((STDEBTDECRow)(this.Rows.Find(new object[] { DEBTDECDOC_NO, DEBT_NO, COOP_ID, DEBTDECTYPE_CODE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { STDEBTDECDataTable cln = ((STDEBTDECDataTable)(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 STDEBTDECDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnDEBTDECDOC_NO = base.Columns["DEBTDECDOC_NO"]; this.columnDEBT_NO = base.Columns["DEBT_NO"]; this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnDEBTDEC_AMT = base.Columns["DEBTDEC_AMT"]; this.columnDEBTBALANCE_AMT = base.Columns["DEBTBALANCE_AMT"]; this.columnDEBTDEC_STATUS = base.Columns["DEBTDEC_STATUS"]; this.columnENTRY_ID = base.Columns["ENTRY_ID"]; this.columnENTRY_DATE = base.Columns["ENTRY_DATE"]; this.columnREMARK = base.Columns["REMARK"]; this.columnDEBTDECTYPE_CODE = base.Columns["DEBTDECTYPE_CODE"]; this.columnSTORE_ID = base.Columns["STORE_ID"]; this.columnDEBTTYPE_CODE = base.Columns["DEBTTYPE_CODE"]; this.columnSLIP_DATE = base.Columns["SLIP_DATE"]; this.columnSLIP_TDATE = base.Columns["SLIP_TDATE"]; this.columnENTRY_TDATE = base.Columns["ENTRY_TDATE"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnDEBTDECDOC_NO = new global::System.Data.DataColumn("DEBTDECDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDECDOC_NO); this.columnDEBT_NO = new global::System.Data.DataColumn("DEBT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NO); 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.columnDEBTDEC_AMT = new global::System.Data.DataColumn("DEBTDEC_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDEC_AMT); this.columnDEBTBALANCE_AMT = new global::System.Data.DataColumn("DEBTBALANCE_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTBALANCE_AMT); this.columnDEBTDEC_STATUS = new global::System.Data.DataColumn("DEBTDEC_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDEC_STATUS); this.columnENTRY_ID = new global::System.Data.DataColumn("ENTRY_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_ID); this.columnENTRY_DATE = new global::System.Data.DataColumn("ENTRY_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_DATE); this.columnREMARK = new global::System.Data.DataColumn("REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMARK); this.columnDEBTDECTYPE_CODE = new global::System.Data.DataColumn("DEBTDECTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDECTYPE_CODE); this.columnSTORE_ID = new global::System.Data.DataColumn("STORE_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTORE_ID); this.columnDEBTTYPE_CODE = new global::System.Data.DataColumn("DEBTTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTTYPE_CODE); this.columnSLIP_DATE = new global::System.Data.DataColumn("SLIP_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_DATE); this.columnSLIP_TDATE = new global::System.Data.DataColumn("SLIP_TDATE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_TDATE); this.columnENTRY_TDATE = new global::System.Data.DataColumn("ENTRY_TDATE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_TDATE); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnDEBTDECDOC_NO, this.columnDEBT_NO, this.columnCOOP_ID, this.columnDEBTDECTYPE_CODE}, true)); this.columnDEBTDECDOC_NO.AllowDBNull = false; this.columnDEBTDECDOC_NO.MaxLength = 20; this.columnDEBT_NO.AllowDBNull = false; this.columnDEBT_NO.MaxLength = 20; this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnDEBTDEC_STATUS.MaxLength = 1; this.columnENTRY_ID.MaxLength = 20; this.columnREMARK.MaxLength = 150; this.columnDEBTDECTYPE_CODE.AllowDBNull = false; this.columnDEBTDECTYPE_CODE.MaxLength = 3; this.columnSTORE_ID.MaxLength = 3; this.columnDEBTTYPE_CODE.MaxLength = 3; this.columnSLIP_TDATE.MaxLength = 8; this.columnENTRY_TDATE.MaxLength = 8; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDECRow NewSTDEBTDECRow() { return ((STDEBTDECRow)(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 STDEBTDECRow(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(STDEBTDECRow); } [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.STDEBTDECRowChanged != null)) { this.STDEBTDECRowChanged(this, new STDEBTDECRowChangeEvent(((STDEBTDECRow)(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.STDEBTDECRowChanging != null)) { this.STDEBTDECRowChanging(this, new STDEBTDECRowChangeEvent(((STDEBTDECRow)(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.STDEBTDECRowDeleted != null)) { this.STDEBTDECRowDeleted(this, new STDEBTDECRowChangeEvent(((STDEBTDECRow)(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.STDEBTDECRowDeleting != null)) { this.STDEBTDECRowDeleting(this, new STDEBTDECRowChangeEvent(((STDEBTDECRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveSTDEBTDECRow(STDEBTDECRow 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 = "STDEBTDECDataTable"; 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 STDEBTDETDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnDEBT_NO; private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnSEQ_NO; private global::System.Data.DataColumn columnDEBTDETTYPE_CODE; private global::System.Data.DataColumn columnDEBTDET_DATE; private global::System.Data.DataColumn columnREFDOC_NO; private global::System.Data.DataColumn columnDEBTDET_AMT; private global::System.Data.DataColumn columnDEBTBALANCE_AMT; private global::System.Data.DataColumn columnDEBTINCDECTYPE_CODE; private global::System.Data.DataColumn columnSTORE_ID; private global::System.Data.DataColumn columnDEBTTYPE_CODE; private global::System.Data.DataColumn columnDEBTDET_STATUS; private global::System.Data.DataColumn columnDEBTDET_TDATE; private global::System.Data.DataColumn columndebtdet_amt_1; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDETDataTable() { this.TableName = "STDEBTDET"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTDETDataTable(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 STDEBTDETDataTable(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 DEBT_NOColumn { get { return this.columnDEBT_NO; } } [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 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 DEBTDETTYPE_CODEColumn { get { return this.columnDEBTDETTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTDET_DATEColumn { get { return this.columnDEBTDET_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REFDOC_NOColumn { get { return this.columnREFDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTDET_AMTColumn { get { return this.columnDEBTDET_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTBALANCE_AMTColumn { get { return this.columnDEBTBALANCE_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTINCDECTYPE_CODEColumn { get { return this.columnDEBTINCDECTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn STORE_IDColumn { get { return this.columnSTORE_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTTYPE_CODEColumn { get { return this.columnDEBTTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTDET_STATUSColumn { get { return this.columnDEBTDET_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTDET_TDATEColumn { get { return this.columnDEBTDET_TDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn debtdet_amt_1Column { get { return this.columndebtdet_amt_1; } } [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 STDEBTDETRow this[int index] { get { return ((STDEBTDETRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDETRowChangeEventHandler STDEBTDETRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDETRowChangeEventHandler STDEBTDETRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDETRowChangeEventHandler STDEBTDETRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTDETRowChangeEventHandler STDEBTDETRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddSTDEBTDETRow(STDEBTDETRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDETRow AddSTDEBTDETRow(string DEBT_NO, string COOP_ID, decimal SEQ_NO, string DEBTDETTYPE_CODE, System.DateTime DEBTDET_DATE, string REFDOC_NO, decimal DEBTDET_AMT, decimal DEBTBALANCE_AMT, string DEBTINCDECTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, string DEBTDET_STATUS, string DEBTDET_TDATE, string debtdet_amt_1) { STDEBTDETRow rowSTDEBTDETRow = ((STDEBTDETRow)(this.NewRow())); object[] columnValuesArray = new object[] { DEBT_NO, COOP_ID, SEQ_NO, DEBTDETTYPE_CODE, DEBTDET_DATE, REFDOC_NO, DEBTDET_AMT, DEBTBALANCE_AMT, DEBTINCDECTYPE_CODE, STORE_ID, DEBTTYPE_CODE, DEBTDET_STATUS, DEBTDET_TDATE, debtdet_amt_1}; rowSTDEBTDETRow.ItemArray = columnValuesArray; this.Rows.Add(rowSTDEBTDETRow); return rowSTDEBTDETRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDETRow FindByDEBT_NOCOOP_IDSEQ_NODEBTDETTYPE_CODEDEBTINCDECTYPE_CODESTORE_ID(string DEBT_NO, string COOP_ID, decimal SEQ_NO, string DEBTDETTYPE_CODE, string DEBTINCDECTYPE_CODE, string STORE_ID) { return ((STDEBTDETRow)(this.Rows.Find(new object[] { DEBT_NO, COOP_ID, SEQ_NO, DEBTDETTYPE_CODE, DEBTINCDECTYPE_CODE, STORE_ID}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { STDEBTDETDataTable cln = ((STDEBTDETDataTable)(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 STDEBTDETDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnDEBT_NO = base.Columns["DEBT_NO"]; this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnSEQ_NO = base.Columns["SEQ_NO"]; this.columnDEBTDETTYPE_CODE = base.Columns["DEBTDETTYPE_CODE"]; this.columnDEBTDET_DATE = base.Columns["DEBTDET_DATE"]; this.columnREFDOC_NO = base.Columns["REFDOC_NO"]; this.columnDEBTDET_AMT = base.Columns["DEBTDET_AMT"]; this.columnDEBTBALANCE_AMT = base.Columns["DEBTBALANCE_AMT"]; this.columnDEBTINCDECTYPE_CODE = base.Columns["DEBTINCDECTYPE_CODE"]; this.columnSTORE_ID = base.Columns["STORE_ID"]; this.columnDEBTTYPE_CODE = base.Columns["DEBTTYPE_CODE"]; this.columnDEBTDET_STATUS = base.Columns["DEBTDET_STATUS"]; this.columnDEBTDET_TDATE = base.Columns["DEBTDET_TDATE"]; this.columndebtdet_amt_1 = base.Columns["debtdet_amt_1"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnDEBT_NO = new global::System.Data.DataColumn("DEBT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NO); 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.columnSEQ_NO = new global::System.Data.DataColumn("SEQ_NO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSEQ_NO); this.columnDEBTDETTYPE_CODE = new global::System.Data.DataColumn("DEBTDETTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDETTYPE_CODE); this.columnDEBTDET_DATE = new global::System.Data.DataColumn("DEBTDET_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDET_DATE); this.columnREFDOC_NO = new global::System.Data.DataColumn("REFDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREFDOC_NO); this.columnDEBTDET_AMT = new global::System.Data.DataColumn("DEBTDET_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDET_AMT); this.columnDEBTBALANCE_AMT = new global::System.Data.DataColumn("DEBTBALANCE_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTBALANCE_AMT); this.columnDEBTINCDECTYPE_CODE = new global::System.Data.DataColumn("DEBTINCDECTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTINCDECTYPE_CODE); this.columnSTORE_ID = new global::System.Data.DataColumn("STORE_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTORE_ID); this.columnDEBTTYPE_CODE = new global::System.Data.DataColumn("DEBTTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTTYPE_CODE); this.columnDEBTDET_STATUS = new global::System.Data.DataColumn("DEBTDET_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDET_STATUS); this.columnDEBTDET_TDATE = new global::System.Data.DataColumn("DEBTDET_TDATE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTDET_TDATE); this.columndebtdet_amt_1 = new global::System.Data.DataColumn("debtdet_amt_1", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columndebtdet_amt_1); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnDEBT_NO, this.columnCOOP_ID, this.columnSEQ_NO, this.columnDEBTDETTYPE_CODE, this.columnDEBTINCDECTYPE_CODE, this.columnSTORE_ID}, true)); this.columnDEBT_NO.AllowDBNull = false; this.columnDEBT_NO.MaxLength = 20; this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnSEQ_NO.AllowDBNull = false; this.columnDEBTDETTYPE_CODE.AllowDBNull = false; this.columnDEBTDETTYPE_CODE.MaxLength = 3; this.columnREFDOC_NO.MaxLength = 20; this.columnDEBTINCDECTYPE_CODE.AllowDBNull = false; this.columnDEBTINCDECTYPE_CODE.MaxLength = 3; this.columnSTORE_ID.AllowDBNull = false; this.columnSTORE_ID.MaxLength = 3; this.columnDEBTTYPE_CODE.MaxLength = 3; this.columnDEBTDET_STATUS.MaxLength = 1; this.columnDEBTDET_TDATE.MaxLength = 8; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTDETRow NewSTDEBTDETRow() { return ((STDEBTDETRow)(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 STDEBTDETRow(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(STDEBTDETRow); } [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.STDEBTDETRowChanged != null)) { this.STDEBTDETRowChanged(this, new STDEBTDETRowChangeEvent(((STDEBTDETRow)(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.STDEBTDETRowChanging != null)) { this.STDEBTDETRowChanging(this, new STDEBTDETRowChangeEvent(((STDEBTDETRow)(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.STDEBTDETRowDeleted != null)) { this.STDEBTDETRowDeleted(this, new STDEBTDETRowChangeEvent(((STDEBTDETRow)(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.STDEBTDETRowDeleting != null)) { this.STDEBTDETRowDeleting(this, new STDEBTDETRowChangeEvent(((STDEBTDETRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveSTDEBTDETRow(STDEBTDETRow 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 = "STDEBTDETDataTable"; 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 STDEBTINCDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnDEBTINCDOC_NO; private global::System.Data.DataColumn columnDEBT_NO; private global::System.Data.DataColumn columnCOOP_ID; private global::System.Data.DataColumn columnDEBT_AMT; private global::System.Data.DataColumn columnDEBTBALANCE_AMT; private global::System.Data.DataColumn columnDEBTINC_STATUS; private global::System.Data.DataColumn columnDEBTPAY_AMT; private global::System.Data.DataColumn columnENTRY_ID; private global::System.Data.DataColumn columnENTRY_DATE; private global::System.Data.DataColumn columnREMARK; private global::System.Data.DataColumn columnDEBTINCTYPE_CODE; private global::System.Data.DataColumn columnSTORE_ID; private global::System.Data.DataColumn columnDEBTTYPE_CODE; private global::System.Data.DataColumn columnSLIP_DATE; private global::System.Data.DataColumn columnENTRY_TDATE; private global::System.Data.DataColumn columnSLIP_TDATE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTINCDataTable() { this.TableName = "STDEBTINC"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTINCDataTable(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 STDEBTINCDataTable(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 DEBTINCDOC_NOColumn { get { return this.columnDEBTINCDOC_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_NOColumn { get { return this.columnDEBT_NO; } } [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 DEBT_AMTColumn { get { return this.columnDEBT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTBALANCE_AMTColumn { get { return this.columnDEBTBALANCE_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTINC_STATUSColumn { get { return this.columnDEBTINC_STATUS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTPAY_AMTColumn { get { return this.columnDEBTPAY_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_IDColumn { get { return this.columnENTRY_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_DATEColumn { get { return this.columnENTRY_DATE; } } [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")] public global::System.Data.DataColumn DEBTINCTYPE_CODEColumn { get { return this.columnDEBTINCTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn STORE_IDColumn { get { return this.columnSTORE_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTTYPE_CODEColumn { get { return this.columnDEBTTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_DATEColumn { get { return this.columnSLIP_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_TDATEColumn { get { return this.columnENTRY_TDATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn SLIP_TDATEColumn { get { return this.columnSLIP_TDATE; } } [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 STDEBTINCRow this[int index] { get { return ((STDEBTINCRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTINCRowChangeEventHandler STDEBTINCRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTINCRowChangeEventHandler STDEBTINCRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTINCRowChangeEventHandler STDEBTINCRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTINCRowChangeEventHandler STDEBTINCRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddSTDEBTINCRow(STDEBTINCRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTINCRow AddSTDEBTINCRow( string DEBTINCDOC_NO, string DEBT_NO, string COOP_ID, decimal DEBT_AMT, decimal DEBTBALANCE_AMT, string DEBTINC_STATUS, decimal DEBTPAY_AMT, string ENTRY_ID, System.DateTime ENTRY_DATE, string REMARK, string DEBTINCTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, System.DateTime SLIP_DATE, string ENTRY_TDATE, string SLIP_TDATE) { STDEBTINCRow rowSTDEBTINCRow = ((STDEBTINCRow)(this.NewRow())); object[] columnValuesArray = new object[] { DEBTINCDOC_NO, DEBT_NO, COOP_ID, DEBT_AMT, DEBTBALANCE_AMT, DEBTINC_STATUS, DEBTPAY_AMT, ENTRY_ID, ENTRY_DATE, REMARK, DEBTINCTYPE_CODE, STORE_ID, DEBTTYPE_CODE, SLIP_DATE, ENTRY_TDATE, SLIP_TDATE}; rowSTDEBTINCRow.ItemArray = columnValuesArray; this.Rows.Add(rowSTDEBTINCRow); return rowSTDEBTINCRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTINCRow FindByDEBTINCDOC_NODEBT_NOCOOP_IDDEBTINCTYPE_CODE(string DEBTINCDOC_NO, string DEBT_NO, string COOP_ID, string DEBTINCTYPE_CODE) { return ((STDEBTINCRow)(this.Rows.Find(new object[] { DEBTINCDOC_NO, DEBT_NO, COOP_ID, DEBTINCTYPE_CODE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { STDEBTINCDataTable cln = ((STDEBTINCDataTable)(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 STDEBTINCDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnDEBTINCDOC_NO = base.Columns["DEBTINCDOC_NO"]; this.columnDEBT_NO = base.Columns["DEBT_NO"]; this.columnCOOP_ID = base.Columns["COOP_ID"]; this.columnDEBT_AMT = base.Columns["DEBT_AMT"]; this.columnDEBTBALANCE_AMT = base.Columns["DEBTBALANCE_AMT"]; this.columnDEBTINC_STATUS = base.Columns["DEBTINC_STATUS"]; this.columnDEBTPAY_AMT = base.Columns["DEBTPAY_AMT"]; this.columnENTRY_ID = base.Columns["ENTRY_ID"]; this.columnENTRY_DATE = base.Columns["ENTRY_DATE"]; this.columnREMARK = base.Columns["REMARK"]; this.columnDEBTINCTYPE_CODE = base.Columns["DEBTINCTYPE_CODE"]; this.columnSTORE_ID = base.Columns["STORE_ID"]; this.columnDEBTTYPE_CODE = base.Columns["DEBTTYPE_CODE"]; this.columnSLIP_DATE = base.Columns["SLIP_DATE"]; this.columnENTRY_TDATE = base.Columns["ENTRY_TDATE"]; this.columnSLIP_TDATE = base.Columns["SLIP_TDATE"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnDEBTINCDOC_NO = new global::System.Data.DataColumn("DEBTINCDOC_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTINCDOC_NO); this.columnDEBT_NO = new global::System.Data.DataColumn("DEBT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NO); 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.columnDEBT_AMT = new global::System.Data.DataColumn("DEBT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_AMT); this.columnDEBTBALANCE_AMT = new global::System.Data.DataColumn("DEBTBALANCE_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTBALANCE_AMT); this.columnDEBTINC_STATUS = new global::System.Data.DataColumn("DEBTINC_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTINC_STATUS); this.columnDEBTPAY_AMT = new global::System.Data.DataColumn("DEBTPAY_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTPAY_AMT); this.columnENTRY_ID = new global::System.Data.DataColumn("ENTRY_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_ID); this.columnENTRY_DATE = new global::System.Data.DataColumn("ENTRY_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_DATE); this.columnREMARK = new global::System.Data.DataColumn("REMARK", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREMARK); this.columnDEBTINCTYPE_CODE = new global::System.Data.DataColumn("DEBTINCTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTINCTYPE_CODE); this.columnSTORE_ID = new global::System.Data.DataColumn("STORE_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTORE_ID); this.columnDEBTTYPE_CODE = new global::System.Data.DataColumn("DEBTTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTTYPE_CODE); this.columnSLIP_DATE = new global::System.Data.DataColumn("SLIP_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_DATE); this.columnENTRY_TDATE = new global::System.Data.DataColumn("ENTRY_TDATE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_TDATE); this.columnSLIP_TDATE = new global::System.Data.DataColumn("SLIP_TDATE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSLIP_TDATE); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnDEBTINCDOC_NO, this.columnDEBT_NO, this.columnCOOP_ID, this.columnDEBTINCTYPE_CODE}, true)); this.columnDEBTINCDOC_NO.AllowDBNull = false; this.columnDEBTINCDOC_NO.MaxLength = 20; this.columnDEBT_NO.AllowDBNull = false; this.columnDEBT_NO.MaxLength = 20; this.columnCOOP_ID.AllowDBNull = false; this.columnCOOP_ID.MaxLength = 6; this.columnDEBTINC_STATUS.MaxLength = 1; this.columnENTRY_ID.MaxLength = 20; this.columnREMARK.MaxLength = 150; this.columnDEBTINCTYPE_CODE.AllowDBNull = false; this.columnDEBTINCTYPE_CODE.MaxLength = 3; this.columnSTORE_ID.MaxLength = 3; this.columnDEBTTYPE_CODE.MaxLength = 3; this.columnENTRY_TDATE.MaxLength = 8; this.columnSLIP_TDATE.MaxLength = 8; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTINCRow NewSTDEBTINCRow() { return ((STDEBTINCRow)(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 STDEBTINCRow(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(STDEBTINCRow); } [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.STDEBTINCRowChanged != null)) { this.STDEBTINCRowChanged(this, new STDEBTINCRowChangeEvent(((STDEBTINCRow)(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.STDEBTINCRowChanging != null)) { this.STDEBTINCRowChanging(this, new STDEBTINCRowChangeEvent(((STDEBTINCRow)(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.STDEBTINCRowDeleted != null)) { this.STDEBTINCRowDeleted(this, new STDEBTINCRowChangeEvent(((STDEBTINCRow)(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.STDEBTINCRowDeleting != null)) { this.STDEBTINCRowDeleting(this, new STDEBTINCRowChangeEvent(((STDEBTINCRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveSTDEBTINCRow(STDEBTINCRow 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 = "STDEBTINCDataTable"; 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 STDEBTMASTERDataTable : global::System.Data.TypedTableBase { private global::System.Data.DataColumn columnDEBT_NO; private global::System.Data.DataColumn columnDEBTTYPE_CODE; private global::System.Data.DataColumn columnDEBTFROMTYPE_CODE; private global::System.Data.DataColumn columnDEBT_NAME; private global::System.Data.DataColumn columnREFDEBT_NO; private global::System.Data.DataColumn columnDEBT_AMT; private global::System.Data.DataColumn columnCREDIT_AMT; private global::System.Data.DataColumn columnCREDITBALANCE_AMT; private global::System.Data.DataColumn columnENTRY_ID; private global::System.Data.DataColumn columnENTRY_DATE; private global::System.Data.DataColumn columnDEBT_ADDR; private global::System.Data.DataColumn columnDEBT_TUMBON; private global::System.Data.DataColumn columnDEBT_AMPHUR; private global::System.Data.DataColumn columnDEBT_PROVINCE; private global::System.Data.DataColumn columnDEBT_POSTCODE; private global::System.Data.DataColumn columnDEBT_PHONE; private global::System.Data.DataColumn columnDEBT_TAX_NO; private global::System.Data.DataColumn columnBFDEBT_AMT; private global::System.Data.DataColumn columnSTORE_ID; private global::System.Data.DataColumn columnBF_FEEAMT; private global::System.Data.DataColumn columnCOMPANY_ID; private global::System.Data.DataColumn columnDEBT_MOO; private global::System.Data.DataColumn columnDEBT_ROAD; private global::System.Data.DataColumn columndebttypecode; private global::System.Data.DataColumn columnSite_id; private global::System.Data.DataColumn columnSite_desc; private global::System.Data.DataColumn columnDEBT_STATUS; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTMASTERDataTable() { this.TableName = "STDEBTMASTER"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTMASTERDataTable(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 STDEBTMASTERDataTable(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 DEBT_NOColumn { get { return this.columnDEBT_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTTYPE_CODEColumn { get { return this.columnDEBTTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBTFROMTYPE_CODEColumn { get { return this.columnDEBTFROMTYPE_CODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_NAMEColumn { get { return this.columnDEBT_NAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn REFDEBT_NOColumn { get { return this.columnREFDEBT_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_AMTColumn { get { return this.columnDEBT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CREDIT_AMTColumn { get { return this.columnCREDIT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn CREDITBALANCE_AMTColumn { get { return this.columnCREDITBALANCE_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_IDColumn { get { return this.columnENTRY_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn ENTRY_DATEColumn { get { return this.columnENTRY_DATE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_ADDRColumn { get { return this.columnDEBT_ADDR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_TUMBONColumn { get { return this.columnDEBT_TUMBON; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_AMPHURColumn { get { return this.columnDEBT_AMPHUR; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_PROVINCEColumn { get { return this.columnDEBT_PROVINCE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_POSTCODEColumn { get { return this.columnDEBT_POSTCODE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_PHONEColumn { get { return this.columnDEBT_PHONE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_TAX_NOColumn { get { return this.columnDEBT_TAX_NO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BFDEBT_AMTColumn { get { return this.columnBFDEBT_AMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn STORE_IDColumn { get { return this.columnSTORE_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn BF_FEEAMTColumn { get { return this.columnBF_FEEAMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn COMPANY_IDColumn { get { return this.columnCOMPANY_ID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_MOOColumn { get { return this.columnDEBT_MOO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_ROADColumn { get { return this.columnDEBT_ROAD; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn debttypecodeColumn { get { return this.columndebttypecode; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn Site_idColumn { get { return this.columnSite_id; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn Site_descColumn { get { return this.columnSite_desc; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public global::System.Data.DataColumn DEBT_STATUSColumn { get { return this.columnDEBT_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 STDEBTMASTERRow this[int index] { get { return ((STDEBTMASTERRow)(this.Rows[index])); } } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTMASTERRowChangeEventHandler STDEBTMASTERRowChanging; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTMASTERRowChangeEventHandler STDEBTMASTERRowChanged; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTMASTERRowChangeEventHandler STDEBTMASTERRowDeleting; [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public event STDEBTMASTERRowChangeEventHandler STDEBTMASTERRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void AddSTDEBTMASTERRow(STDEBTMASTERRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTMASTERRow AddSTDEBTMASTERRow( string DEBT_NO, string DEBTTYPE_CODE, string DEBTFROMTYPE_CODE, string DEBT_NAME, string REFDEBT_NO, decimal DEBT_AMT, decimal CREDIT_AMT, decimal CREDITBALANCE_AMT, string ENTRY_ID, System.DateTime ENTRY_DATE, string DEBT_ADDR, string DEBT_TUMBON, string DEBT_AMPHUR, string DEBT_PROVINCE, string DEBT_POSTCODE, string DEBT_PHONE, string DEBT_TAX_NO, decimal BFDEBT_AMT, string STORE_ID, decimal BF_FEEAMT, string COMPANY_ID, string DEBT_MOO, string DEBT_ROAD, string debttypecode, string Site_id, string Site_desc, string DEBT_STATUS) { STDEBTMASTERRow rowSTDEBTMASTERRow = ((STDEBTMASTERRow)(this.NewRow())); object[] columnValuesArray = new object[] { DEBT_NO, DEBTTYPE_CODE, DEBTFROMTYPE_CODE, DEBT_NAME, REFDEBT_NO, DEBT_AMT, CREDIT_AMT, CREDITBALANCE_AMT, ENTRY_ID, ENTRY_DATE, DEBT_ADDR, DEBT_TUMBON, DEBT_AMPHUR, DEBT_PROVINCE, DEBT_POSTCODE, DEBT_PHONE, DEBT_TAX_NO, BFDEBT_AMT, STORE_ID, BF_FEEAMT, COMPANY_ID, DEBT_MOO, DEBT_ROAD, debttypecode, Site_id, Site_desc, DEBT_STATUS}; rowSTDEBTMASTERRow.ItemArray = columnValuesArray; this.Rows.Add(rowSTDEBTMASTERRow); return rowSTDEBTMASTERRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public override global::System.Data.DataTable Clone() { STDEBTMASTERDataTable cln = ((STDEBTMASTERDataTable)(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 STDEBTMASTERDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal void InitVars() { this.columnDEBT_NO = base.Columns["DEBT_NO"]; this.columnDEBTTYPE_CODE = base.Columns["DEBTTYPE_CODE"]; this.columnDEBTFROMTYPE_CODE = base.Columns["DEBTFROMTYPE_CODE"]; this.columnDEBT_NAME = base.Columns["DEBT_NAME"]; this.columnREFDEBT_NO = base.Columns["REFDEBT_NO"]; this.columnDEBT_AMT = base.Columns["DEBT_AMT"]; this.columnCREDIT_AMT = base.Columns["CREDIT_AMT"]; this.columnCREDITBALANCE_AMT = base.Columns["CREDITBALANCE_AMT"]; this.columnENTRY_ID = base.Columns["ENTRY_ID"]; this.columnENTRY_DATE = base.Columns["ENTRY_DATE"]; this.columnDEBT_ADDR = base.Columns["DEBT_ADDR"]; this.columnDEBT_TUMBON = base.Columns["DEBT_TUMBON"]; this.columnDEBT_AMPHUR = base.Columns["DEBT_AMPHUR"]; this.columnDEBT_PROVINCE = base.Columns["DEBT_PROVINCE"]; this.columnDEBT_POSTCODE = base.Columns["DEBT_POSTCODE"]; this.columnDEBT_PHONE = base.Columns["DEBT_PHONE"]; this.columnDEBT_TAX_NO = base.Columns["DEBT_TAX_NO"]; this.columnBFDEBT_AMT = base.Columns["BFDEBT_AMT"]; this.columnSTORE_ID = base.Columns["STORE_ID"]; this.columnBF_FEEAMT = base.Columns["BF_FEEAMT"]; this.columnCOMPANY_ID = base.Columns["COMPANY_ID"]; this.columnDEBT_MOO = base.Columns["DEBT_MOO"]; this.columnDEBT_ROAD = base.Columns["DEBT_ROAD"]; this.columndebttypecode = base.Columns["debttypecode"]; this.columnSite_id = base.Columns["Site_id"]; this.columnSite_desc = base.Columns["Site_desc"]; this.columnDEBT_STATUS = base.Columns["DEBT_STATUS"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] private void InitClass() { this.columnDEBT_NO = new global::System.Data.DataColumn("DEBT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NO); this.columnDEBTTYPE_CODE = new global::System.Data.DataColumn("DEBTTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTTYPE_CODE); this.columnDEBTFROMTYPE_CODE = new global::System.Data.DataColumn("DEBTFROMTYPE_CODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBTFROMTYPE_CODE); this.columnDEBT_NAME = new global::System.Data.DataColumn("DEBT_NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_NAME); this.columnREFDEBT_NO = new global::System.Data.DataColumn("REFDEBT_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnREFDEBT_NO); this.columnDEBT_AMT = new global::System.Data.DataColumn("DEBT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_AMT); this.columnCREDIT_AMT = new global::System.Data.DataColumn("CREDIT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCREDIT_AMT); this.columnCREDITBALANCE_AMT = new global::System.Data.DataColumn("CREDITBALANCE_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCREDITBALANCE_AMT); this.columnENTRY_ID = new global::System.Data.DataColumn("ENTRY_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_ID); this.columnENTRY_DATE = new global::System.Data.DataColumn("ENTRY_DATE", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnENTRY_DATE); this.columnDEBT_ADDR = new global::System.Data.DataColumn("DEBT_ADDR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_ADDR); this.columnDEBT_TUMBON = new global::System.Data.DataColumn("DEBT_TUMBON", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_TUMBON); this.columnDEBT_AMPHUR = new global::System.Data.DataColumn("DEBT_AMPHUR", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_AMPHUR); this.columnDEBT_PROVINCE = new global::System.Data.DataColumn("DEBT_PROVINCE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_PROVINCE); this.columnDEBT_POSTCODE = new global::System.Data.DataColumn("DEBT_POSTCODE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_POSTCODE); this.columnDEBT_PHONE = new global::System.Data.DataColumn("DEBT_PHONE", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_PHONE); this.columnDEBT_TAX_NO = new global::System.Data.DataColumn("DEBT_TAX_NO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_TAX_NO); this.columnBFDEBT_AMT = new global::System.Data.DataColumn("BFDEBT_AMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBFDEBT_AMT); this.columnSTORE_ID = new global::System.Data.DataColumn("STORE_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSTORE_ID); this.columnBF_FEEAMT = new global::System.Data.DataColumn("BF_FEEAMT", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBF_FEEAMT); this.columnCOMPANY_ID = new global::System.Data.DataColumn("COMPANY_ID", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCOMPANY_ID); this.columnDEBT_MOO = new global::System.Data.DataColumn("DEBT_MOO", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_MOO); this.columnDEBT_ROAD = new global::System.Data.DataColumn("DEBT_ROAD", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_ROAD); this.columndebttypecode = new global::System.Data.DataColumn("debttypecode", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columndebttypecode); this.columnSite_id = new global::System.Data.DataColumn("Site_id", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSite_id); this.columnSite_desc = new global::System.Data.DataColumn("Site_desc", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSite_desc); this.columnDEBT_STATUS = new global::System.Data.DataColumn("DEBT_STATUS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDEBT_STATUS); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public STDEBTMASTERRow NewSTDEBTMASTERRow() { return ((STDEBTMASTERRow)(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 STDEBTMASTERRow(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(STDEBTMASTERRow); } [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.STDEBTMASTERRowChanged != null)) { this.STDEBTMASTERRowChanged(this, new STDEBTMASTERRowChangeEvent(((STDEBTMASTERRow)(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.STDEBTMASTERRowChanging != null)) { this.STDEBTMASTERRowChanging(this, new STDEBTMASTERRowChangeEvent(((STDEBTMASTERRow)(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.STDEBTMASTERRowDeleted != null)) { this.STDEBTMASTERRowDeleted(this, new STDEBTMASTERRowChangeEvent(((STDEBTMASTERRow)(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.STDEBTMASTERRowDeleting != null)) { this.STDEBTMASTERRowDeleting(this, new STDEBTMASTERRowChangeEvent(((STDEBTMASTERRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void RemoveSTDEBTMASTERRow(STDEBTMASTERRow 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 = "STDEBTMASTERDataTable"; 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 STDEBTDECRow : global::System.Data.DataRow { private STDEBTDECDataTable tableSTDEBTDEC; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTDECRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableSTDEBTDEC = ((STDEBTDECDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTDECDOC_NO { get { return ((string)(this[this.tableSTDEBTDEC.DEBTDECDOC_NOColumn])); } set { this[this.tableSTDEBTDEC.DEBTDECDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NO { get { return ((string)(this[this.tableSTDEBTDEC.DEBT_NOColumn])); } set { this[this.tableSTDEBTDEC.DEBT_NOColumn] = value; } } [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.tableSTDEBTDEC.COOP_IDColumn])); } set { this[this.tableSTDEBTDEC.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBTDEC_AMT { get { try { return ((decimal)(this[this.tableSTDEBTDEC.DEBTDEC_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTDEC_AMT\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.DEBTDEC_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBTBALANCE_AMT { get { try { return ((decimal)(this[this.tableSTDEBTDEC.DEBTBALANCE_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTBALANCE_AMT\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.DEBTBALANCE_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTDEC_STATUS { get { try { return ((string)(this[this.tableSTDEBTDEC.DEBTDEC_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTDEC_STATUS\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.DEBTDEC_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ENTRY_ID { get { try { return ((string)(this[this.tableSTDEBTDEC.ENTRY_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_ID\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.ENTRY_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime ENTRY_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTDEBTDEC.ENTRY_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_DATE\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.ENTRY_DATEColumn] = 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.tableSTDEBTDEC.REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMARK\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTDECTYPE_CODE { get { return ((string)(this[this.tableSTDEBTDEC.DEBTDECTYPE_CODEColumn])); } set { this[this.tableSTDEBTDEC.DEBTDECTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string STORE_ID { get { try { return ((string)(this[this.tableSTDEBTDEC.STORE_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'STORE_ID\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.STORE_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTTYPE_CODE { get { try { return ((string)(this[this.tableSTDEBTDEC.DEBTTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTTYPE_CODE\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.DEBTTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime SLIP_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTDEBTDEC.SLIP_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_DATE\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.SLIP_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIP_TDATE { get { try { return ((string)(this[this.tableSTDEBTDEC.SLIP_TDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_TDATE\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.SLIP_TDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ENTRY_TDATE { get { try { return ((string)(this[this.tableSTDEBTDEC.ENTRY_TDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_TDATE\' in table \'STDEBTDEC\' is DBNull.", e); } } set { this[this.tableSTDEBTDEC.ENTRY_TDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTDEC_AMTNull() { return this.IsNull(this.tableSTDEBTDEC.DEBTDEC_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTDEC_AMTNull() { this[this.tableSTDEBTDEC.DEBTDEC_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTBALANCE_AMTNull() { return this.IsNull(this.tableSTDEBTDEC.DEBTBALANCE_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTBALANCE_AMTNull() { this[this.tableSTDEBTDEC.DEBTBALANCE_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTDEC_STATUSNull() { return this.IsNull(this.tableSTDEBTDEC.DEBTDEC_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTDEC_STATUSNull() { this[this.tableSTDEBTDEC.DEBTDEC_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_IDNull() { return this.IsNull(this.tableSTDEBTDEC.ENTRY_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_IDNull() { this[this.tableSTDEBTDEC.ENTRY_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_DATENull() { return this.IsNull(this.tableSTDEBTDEC.ENTRY_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_DATENull() { this[this.tableSTDEBTDEC.ENTRY_DATEColumn] = 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.tableSTDEBTDEC.REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMARKNull() { this[this.tableSTDEBTDEC.REMARKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSTORE_IDNull() { return this.IsNull(this.tableSTDEBTDEC.STORE_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSTORE_IDNull() { this[this.tableSTDEBTDEC.STORE_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTTYPE_CODENull() { return this.IsNull(this.tableSTDEBTDEC.DEBTTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTTYPE_CODENull() { this[this.tableSTDEBTDEC.DEBTTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_DATENull() { return this.IsNull(this.tableSTDEBTDEC.SLIP_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_DATENull() { this[this.tableSTDEBTDEC.SLIP_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_TDATENull() { return this.IsNull(this.tableSTDEBTDEC.SLIP_TDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_TDATENull() { this[this.tableSTDEBTDEC.SLIP_TDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_TDATENull() { return this.IsNull(this.tableSTDEBTDEC.ENTRY_TDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_TDATENull() { this[this.tableSTDEBTDEC.ENTRY_TDATEColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class STDEBTDETRow : global::System.Data.DataRow { private STDEBTDETDataTable tableSTDEBTDET; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTDETRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableSTDEBTDET = ((STDEBTDETDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NO { get { return ((string)(this[this.tableSTDEBTDET.DEBT_NOColumn])); } set { this[this.tableSTDEBTDET.DEBT_NOColumn] = value; } } [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.tableSTDEBTDET.COOP_IDColumn])); } set { this[this.tableSTDEBTDET.COOP_IDColumn] = 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.tableSTDEBTDET.SEQ_NOColumn])); } set { this[this.tableSTDEBTDET.SEQ_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTDETTYPE_CODE { get { return ((string)(this[this.tableSTDEBTDET.DEBTDETTYPE_CODEColumn])); } set { this[this.tableSTDEBTDET.DEBTDETTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime DEBTDET_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTDEBTDET.DEBTDET_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTDET_DATE\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.DEBTDET_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REFDOC_NO { get { try { return ((string)(this[this.tableSTDEBTDET.REFDOC_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REFDOC_NO\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.REFDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBTDET_AMT { get { try { return ((decimal)(this[this.tableSTDEBTDET.DEBTDET_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTDET_AMT\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.DEBTDET_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBTBALANCE_AMT { get { try { return ((decimal)(this[this.tableSTDEBTDET.DEBTBALANCE_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTBALANCE_AMT\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.DEBTBALANCE_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTINCDECTYPE_CODE { get { return ((string)(this[this.tableSTDEBTDET.DEBTINCDECTYPE_CODEColumn])); } set { this[this.tableSTDEBTDET.DEBTINCDECTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string STORE_ID { get { return ((string)(this[this.tableSTDEBTDET.STORE_IDColumn])); } set { this[this.tableSTDEBTDET.STORE_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTTYPE_CODE { get { try { return ((string)(this[this.tableSTDEBTDET.DEBTTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTTYPE_CODE\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.DEBTTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTDET_STATUS { get { try { return ((string)(this[this.tableSTDEBTDET.DEBTDET_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTDET_STATUS\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.DEBTDET_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTDET_TDATE { get { try { return ((string)(this[this.tableSTDEBTDET.DEBTDET_TDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTDET_TDATE\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.DEBTDET_TDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string debtdet_amt_1 { get { try { return ((string)(this[this.tableSTDEBTDET.debtdet_amt_1Column])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'debtdet_amt_1\' in table \'STDEBTDET\' is DBNull.", e); } } set { this[this.tableSTDEBTDET.debtdet_amt_1Column] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTDET_DATENull() { return this.IsNull(this.tableSTDEBTDET.DEBTDET_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTDET_DATENull() { this[this.tableSTDEBTDET.DEBTDET_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREFDOC_NONull() { return this.IsNull(this.tableSTDEBTDET.REFDOC_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREFDOC_NONull() { this[this.tableSTDEBTDET.REFDOC_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTDET_AMTNull() { return this.IsNull(this.tableSTDEBTDET.DEBTDET_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTDET_AMTNull() { this[this.tableSTDEBTDET.DEBTDET_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTBALANCE_AMTNull() { return this.IsNull(this.tableSTDEBTDET.DEBTBALANCE_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTBALANCE_AMTNull() { this[this.tableSTDEBTDET.DEBTBALANCE_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTTYPE_CODENull() { return this.IsNull(this.tableSTDEBTDET.DEBTTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTTYPE_CODENull() { this[this.tableSTDEBTDET.DEBTTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTDET_STATUSNull() { return this.IsNull(this.tableSTDEBTDET.DEBTDET_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTDET_STATUSNull() { this[this.tableSTDEBTDET.DEBTDET_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTDET_TDATENull() { return this.IsNull(this.tableSTDEBTDET.DEBTDET_TDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTDET_TDATENull() { this[this.tableSTDEBTDET.DEBTDET_TDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool Isdebtdet_amt_1Null() { return this.IsNull(this.tableSTDEBTDET.debtdet_amt_1Column); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void Setdebtdet_amt_1Null() { this[this.tableSTDEBTDET.debtdet_amt_1Column] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class STDEBTINCRow : global::System.Data.DataRow { private STDEBTINCDataTable tableSTDEBTINC; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTINCRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableSTDEBTINC = ((STDEBTINCDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTINCDOC_NO { get { return ((string)(this[this.tableSTDEBTINC.DEBTINCDOC_NOColumn])); } set { this[this.tableSTDEBTINC.DEBTINCDOC_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NO { get { return ((string)(this[this.tableSTDEBTINC.DEBT_NOColumn])); } set { this[this.tableSTDEBTINC.DEBT_NOColumn] = value; } } [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.tableSTDEBTINC.COOP_IDColumn])); } set { this[this.tableSTDEBTINC.COOP_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBT_AMT { get { try { return ((decimal)(this[this.tableSTDEBTINC.DEBT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_AMT\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.DEBT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBTBALANCE_AMT { get { try { return ((decimal)(this[this.tableSTDEBTINC.DEBTBALANCE_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTBALANCE_AMT\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.DEBTBALANCE_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTINC_STATUS { get { try { return ((string)(this[this.tableSTDEBTINC.DEBTINC_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTINC_STATUS\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.DEBTINC_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBTPAY_AMT { get { try { return ((decimal)(this[this.tableSTDEBTINC.DEBTPAY_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTPAY_AMT\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.DEBTPAY_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ENTRY_ID { get { try { return ((string)(this[this.tableSTDEBTINC.ENTRY_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_ID\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.ENTRY_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime ENTRY_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTDEBTINC.ENTRY_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_DATE\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.ENTRY_DATEColumn] = 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.tableSTDEBTINC.REMARKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REMARK\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.REMARKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTINCTYPE_CODE { get { return ((string)(this[this.tableSTDEBTINC.DEBTINCTYPE_CODEColumn])); } set { this[this.tableSTDEBTINC.DEBTINCTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string STORE_ID { get { try { return ((string)(this[this.tableSTDEBTINC.STORE_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'STORE_ID\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.STORE_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTTYPE_CODE { get { try { return ((string)(this[this.tableSTDEBTINC.DEBTTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTTYPE_CODE\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.DEBTTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime SLIP_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTDEBTINC.SLIP_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_DATE\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.SLIP_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ENTRY_TDATE { get { try { return ((string)(this[this.tableSTDEBTINC.ENTRY_TDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_TDATE\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.ENTRY_TDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string SLIP_TDATE { get { try { return ((string)(this[this.tableSTDEBTINC.SLIP_TDATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SLIP_TDATE\' in table \'STDEBTINC\' is DBNull.", e); } } set { this[this.tableSTDEBTINC.SLIP_TDATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_AMTNull() { return this.IsNull(this.tableSTDEBTINC.DEBT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_AMTNull() { this[this.tableSTDEBTINC.DEBT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTBALANCE_AMTNull() { return this.IsNull(this.tableSTDEBTINC.DEBTBALANCE_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTBALANCE_AMTNull() { this[this.tableSTDEBTINC.DEBTBALANCE_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTINC_STATUSNull() { return this.IsNull(this.tableSTDEBTINC.DEBTINC_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTINC_STATUSNull() { this[this.tableSTDEBTINC.DEBTINC_STATUSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTPAY_AMTNull() { return this.IsNull(this.tableSTDEBTINC.DEBTPAY_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTPAY_AMTNull() { this[this.tableSTDEBTINC.DEBTPAY_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_IDNull() { return this.IsNull(this.tableSTDEBTINC.ENTRY_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_IDNull() { this[this.tableSTDEBTINC.ENTRY_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_DATENull() { return this.IsNull(this.tableSTDEBTINC.ENTRY_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_DATENull() { this[this.tableSTDEBTINC.ENTRY_DATEColumn] = 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.tableSTDEBTINC.REMARKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREMARKNull() { this[this.tableSTDEBTINC.REMARKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSTORE_IDNull() { return this.IsNull(this.tableSTDEBTINC.STORE_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSTORE_IDNull() { this[this.tableSTDEBTINC.STORE_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTTYPE_CODENull() { return this.IsNull(this.tableSTDEBTINC.DEBTTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTTYPE_CODENull() { this[this.tableSTDEBTINC.DEBTTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_DATENull() { return this.IsNull(this.tableSTDEBTINC.SLIP_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_DATENull() { this[this.tableSTDEBTINC.SLIP_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_TDATENull() { return this.IsNull(this.tableSTDEBTINC.ENTRY_TDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_TDATENull() { this[this.tableSTDEBTINC.ENTRY_TDATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSLIP_TDATENull() { return this.IsNull(this.tableSTDEBTINC.SLIP_TDATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSLIP_TDATENull() { this[this.tableSTDEBTINC.SLIP_TDATEColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// public partial class STDEBTMASTERRow : global::System.Data.DataRow { private STDEBTMASTERDataTable tableSTDEBTMASTER; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] internal STDEBTMASTERRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableSTDEBTMASTER = ((STDEBTMASTERDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NO { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_NO\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTTYPE_CODE { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBTTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTTYPE_CODE\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBTTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBTFROMTYPE_CODE { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBTFROMTYPE_CODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBTFROMTYPE_CODE\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBTFROMTYPE_CODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_NAME { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_NAME\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string REFDEBT_NO { get { try { return ((string)(this[this.tableSTDEBTMASTER.REFDEBT_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'REFDEBT_NO\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.REFDEBT_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal DEBT_AMT { get { try { return ((decimal)(this[this.tableSTDEBTMASTER.DEBT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_AMT\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal CREDIT_AMT { get { try { return ((decimal)(this[this.tableSTDEBTMASTER.CREDIT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'CREDIT_AMT\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.CREDIT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal CREDITBALANCE_AMT { get { try { return ((decimal)(this[this.tableSTDEBTMASTER.CREDITBALANCE_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'CREDITBALANCE_AMT\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.CREDITBALANCE_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string ENTRY_ID { get { try { return ((string)(this[this.tableSTDEBTMASTER.ENTRY_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_ID\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.ENTRY_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public System.DateTime ENTRY_DATE { get { try { return ((global::System.DateTime)(this[this.tableSTDEBTMASTER.ENTRY_DATEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ENTRY_DATE\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.ENTRY_DATEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_ADDR { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_ADDRColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_ADDR\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_ADDRColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_TUMBON { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_TUMBONColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_TUMBON\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_TUMBONColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_AMPHUR { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_AMPHURColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_AMPHUR\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_AMPHURColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_PROVINCE { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_PROVINCEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_PROVINCE\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_PROVINCEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_POSTCODE { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_POSTCODEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_POSTCODE\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_POSTCODEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_PHONE { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_PHONEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_PHONE\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_PHONEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_TAX_NO { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_TAX_NOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_TAX_NO\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_TAX_NOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal BFDEBT_AMT { get { try { return ((decimal)(this[this.tableSTDEBTMASTER.BFDEBT_AMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BFDEBT_AMT\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.BFDEBT_AMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string STORE_ID { get { try { return ((string)(this[this.tableSTDEBTMASTER.STORE_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'STORE_ID\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.STORE_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public decimal BF_FEEAMT { get { try { return ((decimal)(this[this.tableSTDEBTMASTER.BF_FEEAMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BF_FEEAMT\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.BF_FEEAMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string COMPANY_ID { get { try { return ((string)(this[this.tableSTDEBTMASTER.COMPANY_IDColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'COMPANY_ID\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.COMPANY_IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_MOO { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_MOOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_MOO\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_MOOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_ROAD { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_ROADColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_ROAD\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_ROADColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string debttypecode { get { try { return ((string)(this[this.tableSTDEBTMASTER.debttypecodeColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'debttypecode\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.debttypecodeColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string Site_id { get { try { return ((string)(this[this.tableSTDEBTMASTER.Site_idColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Site_id\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.Site_idColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string Site_desc { get { try { return ((string)(this[this.tableSTDEBTMASTER.Site_descColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Site_desc\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.Site_descColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public string DEBT_STATUS { get { try { return ((string)(this[this.tableSTDEBTMASTER.DEBT_STATUSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DEBT_STATUS\' in table \'STDEBTMASTER\' is DBNull.", e); } } set { this[this.tableSTDEBTMASTER.DEBT_STATUSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_NONull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_NONull() { this[this.tableSTDEBTMASTER.DEBT_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTTYPE_CODENull() { return this.IsNull(this.tableSTDEBTMASTER.DEBTTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTTYPE_CODENull() { this[this.tableSTDEBTMASTER.DEBTTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBTFROMTYPE_CODENull() { return this.IsNull(this.tableSTDEBTMASTER.DEBTFROMTYPE_CODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBTFROMTYPE_CODENull() { this[this.tableSTDEBTMASTER.DEBTFROMTYPE_CODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_NAMENull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_NAMENull() { this[this.tableSTDEBTMASTER.DEBT_NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsREFDEBT_NONull() { return this.IsNull(this.tableSTDEBTMASTER.REFDEBT_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetREFDEBT_NONull() { this[this.tableSTDEBTMASTER.REFDEBT_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_AMTNull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_AMTNull() { this[this.tableSTDEBTMASTER.DEBT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCREDIT_AMTNull() { return this.IsNull(this.tableSTDEBTMASTER.CREDIT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCREDIT_AMTNull() { this[this.tableSTDEBTMASTER.CREDIT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCREDITBALANCE_AMTNull() { return this.IsNull(this.tableSTDEBTMASTER.CREDITBALANCE_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCREDITBALANCE_AMTNull() { this[this.tableSTDEBTMASTER.CREDITBALANCE_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_IDNull() { return this.IsNull(this.tableSTDEBTMASTER.ENTRY_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_IDNull() { this[this.tableSTDEBTMASTER.ENTRY_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsENTRY_DATENull() { return this.IsNull(this.tableSTDEBTMASTER.ENTRY_DATEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetENTRY_DATENull() { this[this.tableSTDEBTMASTER.ENTRY_DATEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_ADDRNull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_ADDRColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_ADDRNull() { this[this.tableSTDEBTMASTER.DEBT_ADDRColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_TUMBONNull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_TUMBONColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_TUMBONNull() { this[this.tableSTDEBTMASTER.DEBT_TUMBONColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_AMPHURNull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_AMPHURColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_AMPHURNull() { this[this.tableSTDEBTMASTER.DEBT_AMPHURColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_PROVINCENull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_PROVINCEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_PROVINCENull() { this[this.tableSTDEBTMASTER.DEBT_PROVINCEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_POSTCODENull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_POSTCODEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_POSTCODENull() { this[this.tableSTDEBTMASTER.DEBT_POSTCODEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_PHONENull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_PHONEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_PHONENull() { this[this.tableSTDEBTMASTER.DEBT_PHONEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_TAX_NONull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_TAX_NOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_TAX_NONull() { this[this.tableSTDEBTMASTER.DEBT_TAX_NOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBFDEBT_AMTNull() { return this.IsNull(this.tableSTDEBTMASTER.BFDEBT_AMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBFDEBT_AMTNull() { this[this.tableSTDEBTMASTER.BFDEBT_AMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSTORE_IDNull() { return this.IsNull(this.tableSTDEBTMASTER.STORE_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSTORE_IDNull() { this[this.tableSTDEBTMASTER.STORE_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsBF_FEEAMTNull() { return this.IsNull(this.tableSTDEBTMASTER.BF_FEEAMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetBF_FEEAMTNull() { this[this.tableSTDEBTMASTER.BF_FEEAMTColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsCOMPANY_IDNull() { return this.IsNull(this.tableSTDEBTMASTER.COMPANY_IDColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetCOMPANY_IDNull() { this[this.tableSTDEBTMASTER.COMPANY_IDColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_MOONull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_MOOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_MOONull() { this[this.tableSTDEBTMASTER.DEBT_MOOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_ROADNull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_ROADColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_ROADNull() { this[this.tableSTDEBTMASTER.DEBT_ROADColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsdebttypecodeNull() { return this.IsNull(this.tableSTDEBTMASTER.debttypecodeColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetdebttypecodeNull() { this[this.tableSTDEBTMASTER.debttypecodeColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSite_idNull() { return this.IsNull(this.tableSTDEBTMASTER.Site_idColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSite_idNull() { this[this.tableSTDEBTMASTER.Site_idColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsSite_descNull() { return this.IsNull(this.tableSTDEBTMASTER.Site_descColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetSite_descNull() { this[this.tableSTDEBTMASTER.Site_descColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public bool IsDEBT_STATUSNull() { return this.IsNull(this.tableSTDEBTMASTER.DEBT_STATUSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public void SetDEBT_STATUSNull() { this[this.tableSTDEBTMASTER.DEBT_STATUSColumn] = global::System.Convert.DBNull; } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] public class STDEBTDECRowChangeEvent : global::System.EventArgs { private STDEBTDECRow 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 STDEBTDECRowChangeEvent(STDEBTDECRow 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 STDEBTDECRow 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 STDEBTDETRowChangeEvent : global::System.EventArgs { private STDEBTDETRow 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 STDEBTDETRowChangeEvent(STDEBTDETRow 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 STDEBTDETRow 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 STDEBTINCRowChangeEvent : global::System.EventArgs { private STDEBTINCRow 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 STDEBTINCRowChangeEvent(STDEBTINCRow 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 STDEBTINCRow 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 STDEBTMASTERRowChangeEvent : global::System.EventArgs { private STDEBTMASTERRow 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 STDEBTMASTERRowChangeEvent(STDEBTMASTERRow 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 STDEBTMASTERRow 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.trading.ws_td_creditor_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 STDEBTDECTableAdapter : 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 STDEBTDECTableAdapter() { 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 = "STDEBTDEC"; tableMapping.ColumnMappings.Add("DEBTDECDOC_NO", "DEBTDECDOC_NO"); tableMapping.ColumnMappings.Add("DEBT_NO", "DEBT_NO"); tableMapping.ColumnMappings.Add("COMPANY_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("DEBTDEC_AMT", "DEBTDEC_AMT"); tableMapping.ColumnMappings.Add("DEBTBALANCE_AMT", "DEBTBALANCE_AMT"); tableMapping.ColumnMappings.Add("DEBTDEC_STATUS", "DEBTDEC_STATUS"); tableMapping.ColumnMappings.Add("ENTRY_ID", "ENTRY_ID"); tableMapping.ColumnMappings.Add("ENTRY_DATE", "ENTRY_DATE"); tableMapping.ColumnMappings.Add("REMARK", "REMARK"); tableMapping.ColumnMappings.Add("DEBTDECTYPE_CODE", "DEBTDECTYPE_CODE"); tableMapping.ColumnMappings.Add("STORE_ID", "STORE_ID"); tableMapping.ColumnMappings.Add("DEBTTYPE_CODE", "DEBTTYPE_CODE"); tableMapping.ColumnMappings.Add("SLIP_DATE", "SLIP_DATE"); tableMapping.ColumnMappings.Add("SLIP_TDATE", "SLIP_TDATE"); tableMapping.ColumnMappings.Add("ENTRY_TDATE", "ENTRY_TDATE"); 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 \"STDEBTDEC\" WHERE ((\"DEBTDECDOC_NO\" = :Original_DEBTDECDOC_NO) AND (\"" + "DEBT_NO\" = :Original_DEBT_NO) AND (\"COMPANY_ID\" = :Original_COMPANY_ID) AND (\"DE" + "BTDECTYPE_CODE\" = :Original_DEBTDECTYPE_CODE))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTDECDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTDECDOC_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDECTYPE_CODE", 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 ""STDEBTDEC"" (""DEBTDECDOC_NO"", ""DEBT_NO"", ""COMPANY_ID"", ""DEBTDEC_AMT"", ""DEBTBALANCE_AMT"", ""DEBTDEC_STATUS"", ""ENTRY_ID"", ""ENTRY_DATE"", ""REMARK"", ""DEBTDECTYPE_CODE"", ""STORE_ID"", ""DEBTTYPE_CODE"", ""SLIP_DATE"") VALUES (:DEBTDECDOC_NO, :DEBT_NO, :COMPANY_ID, :DEBTDEC_AMT, :DEBTBALANCE_AMT, :DEBTDEC_STATUS, :ENTRY_ID, :ENTRY_DATE, :REMARK, :DEBTDECTYPE_CODE, :STORE_ID, :DEBTTYPE_CODE, :SLIP_DATE)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDECDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTDECDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDEC_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTDEC_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTBALANCE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTBALANCE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDEC_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDEC_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ENTRY_DATE", 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.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDECTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", 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 ""STDEBTDEC"" SET ""DEBTDECDOC_NO"" = :DEBTDECDOC_NO, ""DEBT_NO"" = :DEBT_NO, ""COMPANY_ID"" = :COMPANY_ID, ""DEBTDEC_AMT"" = :DEBTDEC_AMT, ""DEBTBALANCE_AMT"" = :DEBTBALANCE_AMT, ""DEBTDEC_STATUS"" = :DEBTDEC_STATUS, ""ENTRY_ID"" = :ENTRY_ID, ""ENTRY_DATE"" = :ENTRY_DATE, ""REMARK"" = :REMARK, ""DEBTDECTYPE_CODE"" = :DEBTDECTYPE_CODE, ""STORE_ID"" = :STORE_ID, ""DEBTTYPE_CODE"" = :DEBTTYPE_CODE, ""SLIP_DATE"" = :SLIP_DATE WHERE ((""DEBTDECDOC_NO"" = :Original_DEBTDECDOC_NO) AND (""DEBT_NO"" = :Original_DEBT_NO) AND (""COMPANY_ID"" = :Original_COMPANY_ID) AND (""DEBTDECTYPE_CODE"" = :Original_DEBTDECTYPE_CODE))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDECDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTDECDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDEC_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTDEC_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTBALANCE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTBALANCE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDEC_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDEC_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ENTRY_DATE", 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("DEBTDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDECTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTDECDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTDECDOC_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDECTYPE_CODE", 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["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 ""STDEBTDEC"".""DEBTDECDOC_NO"", ""STDEBTDEC"".""DEBT_NO"", ""STDEBTDEC"".""COMPANY_ID"", ""STDEBTDEC"".""DEBTDEC_AMT"", ""STDEBTDEC"".""DEBTBALANCE_AMT"", ""STDEBTDEC"".""DEBTDEC_STATUS"", ""STDEBTDEC"".""ENTRY_ID"", ""STDEBTDEC"".""ENTRY_DATE"", ""STDEBTDEC"".""REMARK"", ""STDEBTDEC"".""DEBTDECTYPE_CODE"", ""STDEBTDEC"".""STORE_ID"", ""STDEBTDEC"".""DEBTTYPE_CODE"", ""STDEBTDEC"".""SLIP_DATE"", ' ' as slip_tdate, ' ' as entry_tdate FROM ""STDEBTDEC"" "; 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.STDEBTDECDataTable 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.STDEBTDECDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.STDEBTDECDataTable dataTable = new DataSet1.STDEBTDECDataTable(); 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.STDEBTDECDataTable 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, "STDEBTDEC"); } [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_DEBTDECDOC_NO, string Original_DEBT_NO, string Original_COMPANY_ID, string Original_DEBTDECTYPE_CODE) { if ((Original_DEBTDECDOC_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBTDECDOC_NO"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_DEBTDECDOC_NO)); } if ((Original_DEBT_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBT_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DEBT_NO)); } if ((Original_COMPANY_ID == null)) { throw new global::System.ArgumentNullException("Original_COMPANY_ID"); } else { this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_COMPANY_ID)); } if ((Original_DEBTDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTDECTYPE_CODE"); } else { this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DEBTDECTYPE_CODE)); } 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 DEBTDECDOC_NO, string DEBT_NO, string COMPANY_ID, global::System.Nullable DEBTDEC_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTDEC_STATUS, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string REMARK, string DEBTDECTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, global::System.Nullable SLIP_DATE) { if ((DEBTDECDOC_NO == null)) { throw new global::System.ArgumentNullException("DEBTDECDOC_NO"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(DEBTDECDOC_NO)); } if ((DEBT_NO == null)) { throw new global::System.ArgumentNullException("DEBT_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DEBT_NO)); } if ((COMPANY_ID == null)) { throw new global::System.ArgumentNullException("COMPANY_ID"); } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(COMPANY_ID)); } if ((DEBTDEC_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(DEBTDEC_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((DEBTBALANCE_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(DEBTBALANCE_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((DEBTDEC_STATUS == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DEBTDEC_STATUS)); } if ((ENTRY_ID == null)) { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[6].Value = ((string)(ENTRY_ID)); } if ((ENTRY_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(ENTRY_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((REMARK == null)) { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(REMARK)); } if ((DEBTDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTDECTYPE_CODE"); } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(DEBTDECTYPE_CODE)); } if ((STORE_ID == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(STORE_ID)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(DEBTTYPE_CODE)); } if ((SLIP_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(SLIP_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[12].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 DEBTDECDOC_NO, string DEBT_NO, string COMPANY_ID, global::System.Nullable DEBTDEC_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTDEC_STATUS, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string REMARK, string DEBTDECTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, global::System.Nullable SLIP_DATE, string Original_DEBTDECDOC_NO, string Original_DEBT_NO, string Original_COMPANY_ID, string Original_DEBTDECTYPE_CODE) { if ((DEBTDECDOC_NO == null)) { throw new global::System.ArgumentNullException("DEBTDECDOC_NO"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(DEBTDECDOC_NO)); } if ((DEBT_NO == null)) { throw new global::System.ArgumentNullException("DEBT_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DEBT_NO)); } if ((COMPANY_ID == null)) { throw new global::System.ArgumentNullException("COMPANY_ID"); } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(COMPANY_ID)); } if ((DEBTDEC_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(DEBTDEC_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((DEBTBALANCE_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(DEBTBALANCE_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((DEBTDEC_STATUS == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DEBTDEC_STATUS)); } if ((ENTRY_ID == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(ENTRY_ID)); } if ((ENTRY_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((System.DateTime)(ENTRY_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((REMARK == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(REMARK)); } if ((DEBTDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTDECTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(DEBTDECTYPE_CODE)); } if ((STORE_ID == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(STORE_ID)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(DEBTTYPE_CODE)); } if ((SLIP_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(SLIP_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((Original_DEBTDECDOC_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBTDECDOC_NO"); } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_DEBTDECDOC_NO)); } if ((Original_DEBT_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBT_NO"); } else { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_DEBT_NO)); } if ((Original_COMPANY_ID == null)) { throw new global::System.ArgumentNullException("Original_COMPANY_ID"); } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_COMPANY_ID)); } if ((Original_DEBTDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTDECTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_DEBTDECTYPE_CODE)); } 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 COMPANY_ID, global::System.Nullable DEBTDEC_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTDEC_STATUS, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string REMARK, string STORE_ID, string DEBTTYPE_CODE, global::System.Nullable SLIP_DATE, string Original_DEBTDECDOC_NO, string Original_DEBT_NO, string Original_COMPANY_ID, string Original_DEBTDECTYPE_CODE) { return this.Update(Original_DEBTDECDOC_NO, Original_DEBT_NO, COMPANY_ID, DEBTDEC_AMT, DEBTBALANCE_AMT, DEBTDEC_STATUS, ENTRY_ID, ENTRY_DATE, REMARK, Original_DEBTDECTYPE_CODE, STORE_ID, DEBTTYPE_CODE, SLIP_DATE, Original_DEBTDECDOC_NO, Original_DEBT_NO, Original_COMPANY_ID, Original_DEBTDECTYPE_CODE); } } /// ///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 STDEBTDETTableAdapter : 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 STDEBTDETTableAdapter() { 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 = "STDEBTDET"; tableMapping.ColumnMappings.Add("DEBT_NO", "DEBT_NO"); tableMapping.ColumnMappings.Add("COMPANY_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("SEQ_NO", "SEQ_NO"); tableMapping.ColumnMappings.Add("DEBTDETTYPE_CODE", "DEBTDETTYPE_CODE"); tableMapping.ColumnMappings.Add("DEBTDET_DATE", "DEBTDET_DATE"); tableMapping.ColumnMappings.Add("REFDOC_NO", "REFDOC_NO"); tableMapping.ColumnMappings.Add("DEBTDET_AMT", "DEBTDET_AMT"); tableMapping.ColumnMappings.Add("DEBTBALANCE_AMT", "DEBTBALANCE_AMT"); tableMapping.ColumnMappings.Add("DEBTINCDECTYPE_CODE", "DEBTINCDECTYPE_CODE"); tableMapping.ColumnMappings.Add("STORE_ID", "STORE_ID"); tableMapping.ColumnMappings.Add("DEBTTYPE_CODE", "DEBTTYPE_CODE"); tableMapping.ColumnMappings.Add("DEBTDET_STATUS", "DEBTDET_STATUS"); tableMapping.ColumnMappings.Add("DEBTDET_TDATE", "DEBTDET_TDATE"); 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 ""STDEBTDET"" WHERE ((""DEBT_NO"" = :Original_DEBT_NO) AND (""COMPANY_ID"" = :Original_COMPANY_ID) AND (""SEQ_NO"" = :Original_SEQ_NO) AND (""DEBTDETTYPE_CODE"" = :Original_DEBTDETTYPE_CODE) AND (""DEBTINCDECTYPE_CODE"" = :Original_DEBTINCDECTYPE_CODE) AND (""STORE_ID"" = :Original_STORE_ID))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", 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.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTDETTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDETTYPE_CODE", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTINCDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDECTYPE_CODE", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", 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 ""STDEBTDET"" (""DEBT_NO"", ""COMPANY_ID"", ""SEQ_NO"", ""DEBTDETTYPE_CODE"", ""DEBTDET_DATE"", ""REFDOC_NO"", ""DEBTDET_AMT"", ""DEBTBALANCE_AMT"", ""DEBTINCDECTYPE_CODE"", ""STORE_ID"", ""DEBTTYPE_CODE"", ""DEBTDET_STATUS"") VALUES (:DEBT_NO, :COMPANY_ID, :SEQ_NO, :DEBTDETTYPE_CODE, :DEBTDET_DATE, :REFDOC_NO, :DEBTDET_AMT, :DEBTBALANCE_AMT, :DEBTINCDECTYPE_CODE, :STORE_ID, :DEBTTYPE_CODE, :DEBTDET_STATUS)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", 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("DEBTDETTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDETTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDET_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "DEBTDET_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REFDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REFDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDET_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTDET_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTBALANCE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTBALANCE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINCDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDECTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDET_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDET_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 ""STDEBTDET"" SET ""DEBT_NO"" = :DEBT_NO, ""COMPANY_ID"" = :COMPANY_ID, ""SEQ_NO"" = :SEQ_NO, ""DEBTDETTYPE_CODE"" = :DEBTDETTYPE_CODE, ""DEBTDET_DATE"" = :DEBTDET_DATE, ""REFDOC_NO"" = :REFDOC_NO, ""DEBTDET_AMT"" = :DEBTDET_AMT, ""DEBTBALANCE_AMT"" = :DEBTBALANCE_AMT, ""DEBTINCDECTYPE_CODE"" = :DEBTINCDECTYPE_CODE, ""STORE_ID"" = :STORE_ID, ""DEBTTYPE_CODE"" = :DEBTTYPE_CODE, ""DEBTDET_STATUS"" = :DEBTDET_STATUS WHERE ((""DEBT_NO"" = :Original_DEBT_NO) AND (""COMPANY_ID"" = :Original_COMPANY_ID) AND (""SEQ_NO"" = :Original_SEQ_NO) AND (""DEBTDETTYPE_CODE"" = :Original_DEBTDETTYPE_CODE) AND (""DEBTINCDECTYPE_CODE"" = :Original_DEBTINCDECTYPE_CODE) AND (""STORE_ID"" = :Original_STORE_ID))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", 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("DEBTDETTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDETTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDET_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "DEBTDET_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("REFDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "REFDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDET_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTDET_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTBALANCE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTBALANCE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINCDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDECTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTDET_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDET_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", 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)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTDETTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTDETTYPE_CODE", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTINCDECTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDECTYPE_CODE", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", 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["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 ""STDEBTDET"".""DEBT_NO"", ""STDEBTDET"".""COMPANY_ID"", ""STDEBTDET"".""SEQ_NO"", ""STDEBTDET"".""DEBTDETTYPE_CODE"", ""STDEBTDET"".""DEBTDET_DATE"", ""STDEBTDET"".""REFDOC_NO"", ""STDEBTDET"".""DEBTDET_AMT"", ""STDEBTDET"".""DEBTBALANCE_AMT"", ""STDEBTDET"".""DEBTINCDECTYPE_CODE"", ""STDEBTDET"".""STORE_ID"", ""STDEBTDET"".""DEBTTYPE_CODE"", ""STDEBTDET"".""DEBTDET_STATUS"", ' ' as debtdet_tdate FROM ""STDEBTDET"" "; 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.STDEBTDETDataTable 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.STDEBTDETDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.STDEBTDETDataTable dataTable = new DataSet1.STDEBTDETDataTable(); 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.STDEBTDETDataTable 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, "STDEBTDET"); } [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_DEBT_NO, string Original_COMPANY_ID, decimal Original_SEQ_NO, string Original_DEBTDETTYPE_CODE, string Original_DEBTINCDECTYPE_CODE, string Original_STORE_ID) { if ((Original_DEBT_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBT_NO"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_DEBT_NO)); } if ((Original_COMPANY_ID == null)) { throw new global::System.ArgumentNullException("Original_COMPANY_ID"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_COMPANY_ID)); } this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_SEQ_NO)); if ((Original_DEBTDETTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTDETTYPE_CODE"); } else { this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DEBTDETTYPE_CODE)); } if ((Original_DEBTINCDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTINCDECTYPE_CODE"); } else { this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_DEBTINCDECTYPE_CODE)); } if ((Original_STORE_ID == null)) { throw new global::System.ArgumentNullException("Original_STORE_ID"); } else { this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_STORE_ID)); } 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 DEBT_NO, string COMPANY_ID, decimal SEQ_NO, string DEBTDETTYPE_CODE, global::System.Nullable DEBTDET_DATE, string REFDOC_NO, global::System.Nullable DEBTDET_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTINCDECTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, string DEBTDET_STATUS) { if ((DEBT_NO == null)) { throw new global::System.ArgumentNullException("DEBT_NO"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(DEBT_NO)); } if ((COMPANY_ID == null)) { throw new global::System.ArgumentNullException("COMPANY_ID"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(COMPANY_ID)); } this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((DEBTDETTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTDETTYPE_CODE"); } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DEBTDETTYPE_CODE)); } if ((DEBTDET_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(DEBTDET_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((REFDOC_NO == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(REFDOC_NO)); } if ((DEBTDET_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(DEBTDET_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((DEBTBALANCE_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(DEBTBALANCE_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((DEBTINCDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTINCDECTYPE_CODE"); } else { this.Adapter.InsertCommand.Parameters[8].Value = ((string)(DEBTINCDECTYPE_CODE)); } if ((STORE_ID == null)) { throw new global::System.ArgumentNullException("STORE_ID"); } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(STORE_ID)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(DEBTTYPE_CODE)); } if ((DEBTDET_STATUS == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(DEBTDET_STATUS)); } 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 DEBT_NO, string COMPANY_ID, decimal SEQ_NO, string DEBTDETTYPE_CODE, global::System.Nullable DEBTDET_DATE, string REFDOC_NO, global::System.Nullable DEBTDET_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTINCDECTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, string DEBTDET_STATUS, string Original_DEBT_NO, string Original_COMPANY_ID, decimal Original_SEQ_NO, string Original_DEBTDETTYPE_CODE, string Original_DEBTINCDECTYPE_CODE, string Original_STORE_ID) { if ((DEBT_NO == null)) { throw new global::System.ArgumentNullException("DEBT_NO"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(DEBT_NO)); } if ((COMPANY_ID == null)) { throw new global::System.ArgumentNullException("COMPANY_ID"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(COMPANY_ID)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(SEQ_NO)); if ((DEBTDETTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTDETTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DEBTDETTYPE_CODE)); } if ((DEBTDET_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(DEBTDET_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((REFDOC_NO == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(REFDOC_NO)); } if ((DEBTDET_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(DEBTDET_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((DEBTBALANCE_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(DEBTBALANCE_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((DEBTINCDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTINCDECTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(DEBTINCDECTYPE_CODE)); } if ((STORE_ID == null)) { throw new global::System.ArgumentNullException("STORE_ID"); } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(STORE_ID)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(DEBTTYPE_CODE)); } if ((DEBTDET_STATUS == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(DEBTDET_STATUS)); } if ((Original_DEBT_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBT_NO"); } else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_DEBT_NO)); } if ((Original_COMPANY_ID == null)) { throw new global::System.ArgumentNullException("Original_COMPANY_ID"); } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_COMPANY_ID)); } this.Adapter.UpdateCommand.Parameters[14].Value = ((decimal)(Original_SEQ_NO)); if ((Original_DEBTDETTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTDETTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DEBTDETTYPE_CODE)); } if ((Original_DEBTINCDECTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTINCDECTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_DEBTINCDECTYPE_CODE)); } if ((Original_STORE_ID == null)) { throw new global::System.ArgumentNullException("Original_STORE_ID"); } else { this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_STORE_ID)); } 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 COMPANY_ID, global::System.Nullable DEBTDET_DATE, string REFDOC_NO, global::System.Nullable DEBTDET_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTTYPE_CODE, string DEBTDET_STATUS, string Original_DEBT_NO, string Original_COMPANY_ID, decimal Original_SEQ_NO, string Original_DEBTDETTYPE_CODE, string Original_DEBTINCDECTYPE_CODE, string Original_STORE_ID) { return this.Update(Original_DEBT_NO, COMPANY_ID, Original_SEQ_NO, Original_DEBTDETTYPE_CODE, DEBTDET_DATE, REFDOC_NO, DEBTDET_AMT, DEBTBALANCE_AMT, Original_DEBTINCDECTYPE_CODE, Original_STORE_ID, DEBTTYPE_CODE, DEBTDET_STATUS, Original_DEBT_NO, Original_COMPANY_ID, Original_SEQ_NO, Original_DEBTDETTYPE_CODE, Original_DEBTINCDECTYPE_CODE, Original_STORE_ID); } } /// ///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 STDEBTINCTableAdapter : 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 STDEBTINCTableAdapter() { 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 = "STDEBTINC"; tableMapping.ColumnMappings.Add("DEBTINCDOC_NO", "DEBTINCDOC_NO"); tableMapping.ColumnMappings.Add("DEBT_NO", "DEBT_NO"); tableMapping.ColumnMappings.Add("COMPANY_ID", "COOP_ID"); tableMapping.ColumnMappings.Add("DEBT_AMT", "DEBT_AMT"); tableMapping.ColumnMappings.Add("DEBTBALANCE_AMT", "DEBTBALANCE_AMT"); tableMapping.ColumnMappings.Add("DEBTINC_STATUS", "DEBTINC_STATUS"); tableMapping.ColumnMappings.Add("DEBTPAY_AMT", "DEBTPAY_AMT"); tableMapping.ColumnMappings.Add("ENTRY_ID", "ENTRY_ID"); tableMapping.ColumnMappings.Add("ENTRY_DATE", "ENTRY_DATE"); tableMapping.ColumnMappings.Add("REMARK", "REMARK"); tableMapping.ColumnMappings.Add("DEBTINCTYPE_CODE", "DEBTINCTYPE_CODE"); tableMapping.ColumnMappings.Add("STORE_ID", "STORE_ID"); tableMapping.ColumnMappings.Add("DEBTTYPE_CODE", "DEBTTYPE_CODE"); tableMapping.ColumnMappings.Add("SLIP_DATE", "SLIP_DATE"); tableMapping.ColumnMappings.Add("ENTRY_TDATE", "ENTRY_TDATE"); tableMapping.ColumnMappings.Add("SLIP_TDATE", "SLIP_TDATE"); 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 \"STDEBTINC\" WHERE ((\"DEBTINCDOC_NO\" = :Original_DEBTINCDOC_NO) AND (\"" + "DEBT_NO\" = :Original_DEBT_NO) AND (\"COMPANY_ID\" = :Original_COMPANY_ID) AND (\"DE" + "BTINCTYPE_CODE\" = :Original_DEBTINCTYPE_CODE))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTINCDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDOC_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTINCTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCTYPE_CODE", 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 ""STDEBTINC"" (""DEBTINCDOC_NO"", ""DEBT_NO"", ""COMPANY_ID"", ""DEBT_AMT"", ""DEBTBALANCE_AMT"", ""DEBTINC_STATUS"", ""DEBTPAY_AMT"", ""ENTRY_ID"", ""ENTRY_DATE"", ""REMARK"", ""DEBTINCTYPE_CODE"", ""STORE_ID"", ""DEBTTYPE_CODE"", ""SLIP_DATE"") VALUES (:DEBTINCDOC_NO, :DEBT_NO, :COMPANY_ID, :DEBT_AMT, :DEBTBALANCE_AMT, :DEBTINC_STATUS, :DEBTPAY_AMT, :ENTRY_ID, :ENTRY_DATE, :REMARK, :DEBTINCTYPE_CODE, :STORE_ID, :DEBTTYPE_CODE, :SLIP_DATE)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINCDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTBALANCE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTBALANCE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINC_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINC_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTPAY_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTPAY_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ENTRY_DATE", 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.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINCTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", 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 ""STDEBTINC"" SET ""DEBTINCDOC_NO"" = :DEBTINCDOC_NO, ""DEBT_NO"" = :DEBT_NO, ""COMPANY_ID"" = :COMPANY_ID, ""DEBT_AMT"" = :DEBT_AMT, ""DEBTBALANCE_AMT"" = :DEBTBALANCE_AMT, ""DEBTINC_STATUS"" = :DEBTINC_STATUS, ""DEBTPAY_AMT"" = :DEBTPAY_AMT, ""ENTRY_ID"" = :ENTRY_ID, ""ENTRY_DATE"" = :ENTRY_DATE, ""REMARK"" = :REMARK, ""DEBTINCTYPE_CODE"" = :DEBTINCTYPE_CODE, ""STORE_ID"" = :STORE_ID, ""DEBTTYPE_CODE"" = :DEBTTYPE_CODE, ""SLIP_DATE"" = :SLIP_DATE WHERE ((""DEBTINCDOC_NO"" = :Original_DEBTINCDOC_NO) AND (""DEBT_NO"" = :Original_DEBT_NO) AND (""COMPANY_ID"" = :Original_COMPANY_ID) AND (""DEBTINCTYPE_CODE"" = :Original_DEBTINCTYPE_CODE))"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINCDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDOC_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBT_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBT_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTBALANCE_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTBALANCE_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTINC_STATUS", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINC_STATUS", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTPAY_AMT", global::System.Data.OracleClient.OracleType.Number, 0, global::System.Data.ParameterDirection.Input, "DEBTPAY_AMT", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "ENTRY_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("ENTRY_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "ENTRY_DATE", 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("DEBTINCTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("STORE_ID", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "STORE_ID", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("DEBTTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTTYPE_CODE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("SLIP_DATE", global::System.Data.OracleClient.OracleType.DateTime, 0, global::System.Data.ParameterDirection.Input, "SLIP_DATE", global::System.Data.DataRowVersion.Current, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTINCDOC_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBTINCDOC_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBT_NO", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "DEBT_NO", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_COMPANY_ID", global::System.Data.OracleClient.OracleType.VarChar, 0, global::System.Data.ParameterDirection.Input, "COMPANY_ID", global::System.Data.DataRowVersion.Original, false, null)); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.OracleClient.OracleParameter("Original_DEBTINCTYPE_CODE", global::System.Data.OracleClient.OracleType.Char, 0, global::System.Data.ParameterDirection.Input, "DEBTINCTYPE_CODE", 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["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 ""STDEBTINC"".""DEBTINCDOC_NO"", ""STDEBTINC"".""DEBT_NO"", ""STDEBTINC"".""COMPANY_ID"", ""STDEBTINC"".""DEBT_AMT"", ""STDEBTINC"".""DEBTBALANCE_AMT"", ""STDEBTINC"".""DEBTINC_STATUS"", ""STDEBTINC"".""DEBTPAY_AMT"", ""STDEBTINC"".""ENTRY_ID"", ""STDEBTINC"".""ENTRY_DATE"", ""STDEBTINC"".""REMARK"", ""STDEBTINC"".""DEBTINCTYPE_CODE"", ""STDEBTINC"".""STORE_ID"", ""STDEBTINC"".""DEBTTYPE_CODE"", ""STDEBTINC"".""SLIP_DATE"", ' ' as entry_tdate, ' ' as slip_tdate FROM ""STDEBTINC"" "; 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.STDEBTINCDataTable 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.STDEBTINCDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; DataSet1.STDEBTINCDataTable dataTable = new DataSet1.STDEBTINCDataTable(); 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.STDEBTINCDataTable 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, "STDEBTINC"); } [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_DEBTINCDOC_NO, string Original_DEBT_NO, string Original_COMPANY_ID, string Original_DEBTINCTYPE_CODE) { if ((Original_DEBTINCDOC_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBTINCDOC_NO"); } else { this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_DEBTINCDOC_NO)); } if ((Original_DEBT_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBT_NO"); } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_DEBT_NO)); } if ((Original_COMPANY_ID == null)) { throw new global::System.ArgumentNullException("Original_COMPANY_ID"); } else { this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_COMPANY_ID)); } if ((Original_DEBTINCTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTINCTYPE_CODE"); } else { this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_DEBTINCTYPE_CODE)); } 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 DEBTINCDOC_NO, string DEBT_NO, string COMPANY_ID, global::System.Nullable DEBT_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTINC_STATUS, global::System.Nullable DEBTPAY_AMT, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string REMARK, string DEBTINCTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, global::System.Nullable SLIP_DATE) { if ((DEBTINCDOC_NO == null)) { throw new global::System.ArgumentNullException("DEBTINCDOC_NO"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(DEBTINCDOC_NO)); } if ((DEBT_NO == null)) { throw new global::System.ArgumentNullException("DEBT_NO"); } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(DEBT_NO)); } if ((COMPANY_ID == null)) { throw new global::System.ArgumentNullException("COMPANY_ID"); } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(COMPANY_ID)); } if ((DEBT_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(DEBT_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((DEBTBALANCE_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[4].Value = ((decimal)(DEBTBALANCE_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((DEBTINC_STATUS == null)) { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[5].Value = ((string)(DEBTINC_STATUS)); } if ((DEBTPAY_AMT.HasValue == true)) { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(DEBTPAY_AMT.Value)); } else { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((ENTRY_ID == null)) { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[7].Value = ((string)(ENTRY_ID)); } if ((ENTRY_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(ENTRY_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((REMARK == null)) { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[9].Value = ((string)(REMARK)); } if ((DEBTINCTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTINCTYPE_CODE"); } else { this.Adapter.InsertCommand.Parameters[10].Value = ((string)(DEBTINCTYPE_CODE)); } if ((STORE_ID == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(STORE_ID)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[12].Value = ((string)(DEBTTYPE_CODE)); } if ((SLIP_DATE.HasValue == true)) { this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(SLIP_DATE.Value)); } else { this.Adapter.InsertCommand.Parameters[13].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 DEBTINCDOC_NO, string DEBT_NO, string COMPANY_ID, global::System.Nullable DEBT_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTINC_STATUS, global::System.Nullable DEBTPAY_AMT, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string REMARK, string DEBTINCTYPE_CODE, string STORE_ID, string DEBTTYPE_CODE, global::System.Nullable SLIP_DATE, string Original_DEBTINCDOC_NO, string Original_DEBT_NO, string Original_COMPANY_ID, string Original_DEBTINCTYPE_CODE) { if ((DEBTINCDOC_NO == null)) { throw new global::System.ArgumentNullException("DEBTINCDOC_NO"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(DEBTINCDOC_NO)); } if ((DEBT_NO == null)) { throw new global::System.ArgumentNullException("DEBT_NO"); } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(DEBT_NO)); } if ((COMPANY_ID == null)) { throw new global::System.ArgumentNullException("COMPANY_ID"); } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(COMPANY_ID)); } if ((DEBT_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[3].Value = ((decimal)(DEBT_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } if ((DEBTBALANCE_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[4].Value = ((decimal)(DEBTBALANCE_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } if ((DEBTINC_STATUS == null)) { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(DEBTINC_STATUS)); } if ((DEBTPAY_AMT.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(DEBTPAY_AMT.Value)); } else { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((ENTRY_ID == null)) { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(ENTRY_ID)); } if ((ENTRY_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(ENTRY_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((REMARK == null)) { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(REMARK)); } if ((DEBTINCTYPE_CODE == null)) { throw new global::System.ArgumentNullException("DEBTINCTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(DEBTINCTYPE_CODE)); } if ((STORE_ID == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(STORE_ID)); } if ((DEBTTYPE_CODE == null)) { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(DEBTTYPE_CODE)); } if ((SLIP_DATE.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(SLIP_DATE.Value)); } else { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } if ((Original_DEBTINCDOC_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBTINCDOC_NO"); } else { this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_DEBTINCDOC_NO)); } if ((Original_DEBT_NO == null)) { throw new global::System.ArgumentNullException("Original_DEBT_NO"); } else { this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_DEBT_NO)); } if ((Original_COMPANY_ID == null)) { throw new global::System.ArgumentNullException("Original_COMPANY_ID"); } else { this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_COMPANY_ID)); } if ((Original_DEBTINCTYPE_CODE == null)) { throw new global::System.ArgumentNullException("Original_DEBTINCTYPE_CODE"); } else { this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_DEBTINCTYPE_CODE)); } 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 COMPANY_ID, global::System.Nullable DEBT_AMT, global::System.Nullable DEBTBALANCE_AMT, string DEBTINC_STATUS, global::System.Nullable DEBTPAY_AMT, string ENTRY_ID, global::System.Nullable ENTRY_DATE, string REMARK, string STORE_ID, string DEBTTYPE_CODE, global::System.Nullable SLIP_DATE, string Original_DEBTINCDOC_NO, string Original_DEBT_NO, string Original_COMPANY_ID, string Original_DEBTINCTYPE_CODE) { return this.Update(Original_DEBTINCDOC_NO, Original_DEBT_NO, COMPANY_ID, DEBT_AMT, DEBTBALANCE_AMT, DEBTINC_STATUS, DEBTPAY_AMT, ENTRY_ID, ENTRY_DATE, REMARK, Original_DEBTINCTYPE_CODE, STORE_ID, DEBTTYPE_CODE, SLIP_DATE, Original_DEBTINCDOC_NO, Original_DEBT_NO, Original_COMPANY_ID, Original_DEBTINCTYPE_CODE); } } /// ///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 STDEBTDECTableAdapter _sTDEBTDECTableAdapter; private STDEBTDETTableAdapter _sTDEBTDETTableAdapter; private STDEBTINCTableAdapter _sTDEBTINCTableAdapter; 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 STDEBTDECTableAdapter STDEBTDECTableAdapter { get { return this._sTDEBTDECTableAdapter; } set { this._sTDEBTDECTableAdapter = 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 STDEBTDETTableAdapter STDEBTDETTableAdapter { get { return this._sTDEBTDETTableAdapter; } set { this._sTDEBTDETTableAdapter = 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 STDEBTINCTableAdapter STDEBTINCTableAdapter { get { return this._sTDEBTINCTableAdapter; } set { this._sTDEBTINCTableAdapter = 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._sTDEBTDECTableAdapter != null) && (this._sTDEBTDECTableAdapter.Connection != null))) { return this._sTDEBTDECTableAdapter.Connection; } if (((this._sTDEBTDETTableAdapter != null) && (this._sTDEBTDETTableAdapter.Connection != null))) { return this._sTDEBTDETTableAdapter.Connection; } if (((this._sTDEBTINCTableAdapter != null) && (this._sTDEBTINCTableAdapter.Connection != null))) { return this._sTDEBTINCTableAdapter.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._sTDEBTDECTableAdapter != null)) { count = (count + 1); } if ((this._sTDEBTDETTableAdapter != null)) { count = (count + 1); } if ((this._sTDEBTINCTableAdapter != 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._sTDEBTINCTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.STDEBTINC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._sTDEBTINCTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._sTDEBTDECTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.STDEBTDEC.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._sTDEBTDECTableAdapter.Update(updatedRows)); allChangedRows.AddRange(updatedRows); } } if ((this._sTDEBTDETTableAdapter != null)) { global::System.Data.DataRow[] updatedRows = dataSet.STDEBTDET.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent); updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows); if (((updatedRows != null) && (0 < updatedRows.Length))) { result = (result + this._sTDEBTDETTableAdapter.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._sTDEBTINCTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.STDEBTINC.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._sTDEBTINCTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._sTDEBTDECTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.STDEBTDEC.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._sTDEBTDECTableAdapter.Update(addedRows)); allAddedRows.AddRange(addedRows); } } if ((this._sTDEBTDETTableAdapter != null)) { global::System.Data.DataRow[] addedRows = dataSet.STDEBTDET.Select(null, null, global::System.Data.DataViewRowState.Added); if (((addedRows != null) && (0 < addedRows.Length))) { result = (result + this._sTDEBTDETTableAdapter.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._sTDEBTDETTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.STDEBTDET.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._sTDEBTDETTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._sTDEBTDECTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.STDEBTDEC.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._sTDEBTDECTableAdapter.Update(deletedRows)); allChangedRows.AddRange(deletedRows); } } if ((this._sTDEBTINCTableAdapter != null)) { global::System.Data.DataRow[] deletedRows = dataSet.STDEBTINC.Select(null, null, global::System.Data.DataViewRowState.Deleted); if (((deletedRows != null) && (0 < deletedRows.Length))) { result = (result + this._sTDEBTINCTableAdapter.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._sTDEBTDECTableAdapter != null) && (this.MatchTableAdapterConnection(this._sTDEBTDECTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._sTDEBTDETTableAdapter != null) && (this.MatchTableAdapterConnection(this._sTDEBTDETTableAdapter.Connection) == false))) { throw new global::System.ArgumentException("All TableAdapters managed by a TableAdapterManager must use the same connection s" + "tring."); } if (((this._sTDEBTINCTableAdapter != null) && (this.MatchTableAdapterConnection(this._sTDEBTINCTableAdapter.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._sTDEBTDECTableAdapter != null)) { revertConnections.Add(this._sTDEBTDECTableAdapter, this._sTDEBTDECTableAdapter.Connection); this._sTDEBTDECTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._sTDEBTDECTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._sTDEBTDECTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._sTDEBTDECTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._sTDEBTDECTableAdapter.Adapter); } } if ((this._sTDEBTDETTableAdapter != null)) { revertConnections.Add(this._sTDEBTDETTableAdapter, this._sTDEBTDETTableAdapter.Connection); this._sTDEBTDETTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._sTDEBTDETTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._sTDEBTDETTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._sTDEBTDETTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._sTDEBTDETTableAdapter.Adapter); } } if ((this._sTDEBTINCTableAdapter != null)) { revertConnections.Add(this._sTDEBTINCTableAdapter, this._sTDEBTINCTableAdapter.Connection); this._sTDEBTINCTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(workConnection)); this._sTDEBTINCTableAdapter.Transaction = ((global::System.Data.OracleClient.OracleTransaction)(workTransaction)); if (this._sTDEBTINCTableAdapter.Adapter.AcceptChangesDuringUpdate) { this._sTDEBTINCTableAdapter.Adapter.AcceptChangesDuringUpdate = false; adaptersWithAcceptChangesDuringUpdate.Add(this._sTDEBTINCTableAdapter.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._sTDEBTDECTableAdapter != null)) { this._sTDEBTDECTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._sTDEBTDECTableAdapter])); this._sTDEBTDECTableAdapter.Transaction = null; } if ((this._sTDEBTDETTableAdapter != null)) { this._sTDEBTDETTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._sTDEBTDETTableAdapter])); this._sTDEBTDETTableAdapter.Transaction = null; } if ((this._sTDEBTINCTableAdapter != null)) { this._sTDEBTINCTableAdapter.Connection = ((global::System.Data.OracleClient.OracleConnection)(revertConnections[this._sTDEBTINCTableAdapter])); this._sTDEBTINCTableAdapter.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