using System; using System.CodeDom.Compiler; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Diagnostics; using System.IO; using System.Runtime.Serialization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet { [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [DesignerCategory("code")] [ToolboxItem(true)] [XmlSchemaProvider("GetTypedDataSetSchema")] [XmlRoot("dsFrmSaleRtnBill")] [HelpKeyword("vs.data.DataSet")] public class dsFrmSaleRtnBill : DataSet { public delegate void SaleRtnBillRowChangeEventHandler(object sender, SaleRtnBillRowChangeEvent e); public delegate void SaleRtnBillProductRowChangeEventHandler(object sender, SaleRtnBillProductRowChangeEvent e); public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e); [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class SaleRtnBillDataTable : DataTable, IEnumerable { private DataColumn columnNo_SaleRtnBill; private DataColumn columnDate_SaleRtnBill; private DataColumn columnIsPrevBill_SaleRtnBill; private DataColumn columnPrincipal_SaleRtnBill; private DataColumn columnReason_SaleRtnBill; private DataColumn columnTaxCurrency_SaleRtnBill; private DataColumn columnCurrency_SaleRtnBill; private DataColumn columnAssessDate_SaleRtnBill; private DataColumn columnComment_SaleRtnBill; private DataColumn columnDisable_SaleRtnBill; private DataColumn columnCreateDate_SaleRtnBill; private DataColumn columnLastModDate_SaleRtnBill; private DataColumn columnAmount_SaleRtnBill; private DataColumn columnGoodsAmount_SaleRtnBill; private DataColumn columnTaxAmount_SaleRtnBill; private DataColumn columnStrikedGoodsAmount_SaleRtnBill; private DataColumn columnStrikedTaxAmount_SaleRtnBill; private DataColumn columnNo_Customer; private DataColumn columnShortName_Customer; private DataColumn columnName_Location; private DataColumn columnNo_Location; private DataColumn columnName_Creator; private DataColumn columnName_Assessor; private DataColumn columnLastModUserName_SaleRtnBill; private DataColumn columnCountColume_SaleRtnBillProduct; private DataColumn columnTaxCurrencyCash_SaleRtnBillProduct; private DataColumn columnCurrencyCash_SaleRtnBillProduct; private DataColumn columnTotCash_SaleRtnBillProduct; private DataColumn columnPrincipalNo_SaleRtnBill; [DebuggerNonUserCode] public DataColumn No_SaleRtnBillColumn => columnNo_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Date_SaleRtnBillColumn => columnDate_SaleRtnBill; [DebuggerNonUserCode] public DataColumn IsPrevBill_SaleRtnBillColumn => columnIsPrevBill_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Principal_SaleRtnBillColumn => columnPrincipal_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Reason_SaleRtnBillColumn => columnReason_SaleRtnBill; [DebuggerNonUserCode] public DataColumn TaxCurrency_SaleRtnBillColumn => columnTaxCurrency_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Currency_SaleRtnBillColumn => columnCurrency_SaleRtnBill; [DebuggerNonUserCode] public DataColumn AssessDate_SaleRtnBillColumn => columnAssessDate_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Comment_SaleRtnBillColumn => columnComment_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Disable_SaleRtnBillColumn => columnDisable_SaleRtnBill; [DebuggerNonUserCode] public DataColumn CreateDate_SaleRtnBillColumn => columnCreateDate_SaleRtnBill; [DebuggerNonUserCode] public DataColumn LastModDate_SaleRtnBillColumn => columnLastModDate_SaleRtnBill; [DebuggerNonUserCode] public DataColumn Amount_SaleRtnBillColumn => columnAmount_SaleRtnBill; [DebuggerNonUserCode] public DataColumn GoodsAmount_SaleRtnBillColumn => columnGoodsAmount_SaleRtnBill; [DebuggerNonUserCode] public DataColumn TaxAmount_SaleRtnBillColumn => columnTaxAmount_SaleRtnBill; [DebuggerNonUserCode] public DataColumn StrikedGoodsAmount_SaleRtnBillColumn => columnStrikedGoodsAmount_SaleRtnBill; [DebuggerNonUserCode] public DataColumn StrikedTaxAmount_SaleRtnBillColumn => columnStrikedTaxAmount_SaleRtnBill; [DebuggerNonUserCode] public DataColumn No_CustomerColumn => columnNo_Customer; [DebuggerNonUserCode] public DataColumn ShortName_CustomerColumn => columnShortName_Customer; [DebuggerNonUserCode] public DataColumn Name_LocationColumn => columnName_Location; [DebuggerNonUserCode] public DataColumn No_LocationColumn => columnNo_Location; [DebuggerNonUserCode] public DataColumn Name_CreatorColumn => columnName_Creator; [DebuggerNonUserCode] public DataColumn Name_AssessorColumn => columnName_Assessor; [DebuggerNonUserCode] public DataColumn LastModUserName_SaleRtnBillColumn => columnLastModUserName_SaleRtnBill; [DebuggerNonUserCode] public DataColumn CountColume_SaleRtnBillProductColumn => columnCountColume_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn TaxCurrencyCash_SaleRtnBillProductColumn => columnTaxCurrencyCash_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn CurrencyCash_SaleRtnBillProductColumn => columnCurrencyCash_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn TotCash_SaleRtnBillProductColumn => columnTotCash_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn PrincipalNo_SaleRtnBillColumn => columnPrincipalNo_SaleRtnBill; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public SaleRtnBillRow this[int index] => (SaleRtnBillRow)base.Rows[index]; public event SaleRtnBillRowChangeEventHandler SaleRtnBillRowChanging; public event SaleRtnBillRowChangeEventHandler SaleRtnBillRowChanged; public event SaleRtnBillRowChangeEventHandler SaleRtnBillRowDeleting; public event SaleRtnBillRowChangeEventHandler SaleRtnBillRowDeleted; [DebuggerNonUserCode] public SaleRtnBillDataTable() { base.TableName = "SaleRtnBill"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal SaleRtnBillDataTable(DataTable table) { base.TableName = table.TableName; if (table.CaseSensitive != table.DataSet.CaseSensitive) { base.CaseSensitive = table.CaseSensitive; } if (table.Locale.ToString() != table.DataSet.Locale.ToString()) { base.Locale = table.Locale; } if (table.Namespace != table.DataSet.Namespace) { base.Namespace = table.Namespace; } base.Prefix = table.Prefix; base.MinimumCapacity = table.MinimumCapacity; } [DebuggerNonUserCode] protected SaleRtnBillDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddSaleRtnBillRow(SaleRtnBillRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public SaleRtnBillRow AddSaleRtnBillRow(string No_SaleRtnBill, DateTime Date_SaleRtnBill, bool IsPrevBill_SaleRtnBill, string Principal_SaleRtnBill, string Reason_SaleRtnBill, string TaxCurrency_SaleRtnBill, string Currency_SaleRtnBill, DateTime AssessDate_SaleRtnBill, string Comment_SaleRtnBill, bool Disable_SaleRtnBill, DateTime CreateDate_SaleRtnBill, DateTime LastModDate_SaleRtnBill, decimal Amount_SaleRtnBill, decimal GoodsAmount_SaleRtnBill, decimal TaxAmount_SaleRtnBill, decimal StrikedGoodsAmount_SaleRtnBill, decimal StrikedTaxAmount_SaleRtnBill, string No_Customer, string ShortName_Customer, string Name_Location, string No_Location, string Name_Creator, string Name_Assessor, string LastModUserName_SaleRtnBill, decimal CountColume_SaleRtnBillProduct, decimal TaxCurrencyCash_SaleRtnBillProduct, decimal CurrencyCash_SaleRtnBillProduct, decimal TotCash_SaleRtnBillProduct, string PrincipalNo_SaleRtnBill) { SaleRtnBillRow saleRtnBillRow = (SaleRtnBillRow)NewRow(); saleRtnBillRow.ItemArray = new object[29] { No_SaleRtnBill, Date_SaleRtnBill, IsPrevBill_SaleRtnBill, Principal_SaleRtnBill, Reason_SaleRtnBill, TaxCurrency_SaleRtnBill, Currency_SaleRtnBill, AssessDate_SaleRtnBill, Comment_SaleRtnBill, Disable_SaleRtnBill, CreateDate_SaleRtnBill, LastModDate_SaleRtnBill, Amount_SaleRtnBill, GoodsAmount_SaleRtnBill, TaxAmount_SaleRtnBill, StrikedGoodsAmount_SaleRtnBill, StrikedTaxAmount_SaleRtnBill, No_Customer, ShortName_Customer, Name_Location, No_Location, Name_Creator, Name_Assessor, LastModUserName_SaleRtnBill, CountColume_SaleRtnBillProduct, TaxCurrencyCash_SaleRtnBillProduct, CurrencyCash_SaleRtnBillProduct, TotCash_SaleRtnBillProduct, PrincipalNo_SaleRtnBill }; base.Rows.Add(saleRtnBillRow); return saleRtnBillRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { SaleRtnBillDataTable saleRtnBillDataTable = (SaleRtnBillDataTable)base.Clone(); saleRtnBillDataTable.InitVars(); return saleRtnBillDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new SaleRtnBillDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_SaleRtnBill = base.Columns["No_SaleRtnBill"]; columnDate_SaleRtnBill = base.Columns["Date_SaleRtnBill"]; columnIsPrevBill_SaleRtnBill = base.Columns["IsPrevBill_SaleRtnBill"]; columnPrincipal_SaleRtnBill = base.Columns["Principal_SaleRtnBill"]; columnReason_SaleRtnBill = base.Columns["Reason_SaleRtnBill"]; columnTaxCurrency_SaleRtnBill = base.Columns["TaxCurrency_SaleRtnBill"]; columnCurrency_SaleRtnBill = base.Columns["Currency_SaleRtnBill"]; columnAssessDate_SaleRtnBill = base.Columns["AssessDate_SaleRtnBill"]; columnComment_SaleRtnBill = base.Columns["Comment_SaleRtnBill"]; columnDisable_SaleRtnBill = base.Columns["Disable_SaleRtnBill"]; columnCreateDate_SaleRtnBill = base.Columns["CreateDate_SaleRtnBill"]; columnLastModDate_SaleRtnBill = base.Columns["LastModDate_SaleRtnBill"]; columnAmount_SaleRtnBill = base.Columns["Amount_SaleRtnBill"]; columnGoodsAmount_SaleRtnBill = base.Columns["GoodsAmount_SaleRtnBill"]; columnTaxAmount_SaleRtnBill = base.Columns["TaxAmount_SaleRtnBill"]; columnStrikedGoodsAmount_SaleRtnBill = base.Columns["StrikedGoodsAmount_SaleRtnBill"]; columnStrikedTaxAmount_SaleRtnBill = base.Columns["StrikedTaxAmount_SaleRtnBill"]; columnNo_Customer = base.Columns["No_Customer"]; columnShortName_Customer = base.Columns["ShortName_Customer"]; columnName_Location = base.Columns["Name_Location"]; columnNo_Location = base.Columns["No_Location"]; columnName_Creator = base.Columns["Name_Creator"]; columnName_Assessor = base.Columns["Name_Assessor"]; columnLastModUserName_SaleRtnBill = base.Columns["LastModUserName_SaleRtnBill"]; columnCountColume_SaleRtnBillProduct = base.Columns["CountColume_SaleRtnBillProduct"]; columnTaxCurrencyCash_SaleRtnBillProduct = base.Columns["TaxCurrencyCash_SaleRtnBillProduct"]; columnCurrencyCash_SaleRtnBillProduct = base.Columns["CurrencyCash_SaleRtnBillProduct"]; columnTotCash_SaleRtnBillProduct = base.Columns["TotCash_SaleRtnBillProduct"]; columnPrincipalNo_SaleRtnBill = base.Columns["PrincipalNo_SaleRtnBill"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_SaleRtnBill = new DataColumn("No_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleRtnBill); columnDate_SaleRtnBill = new DataColumn("Date_SaleRtnBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnDate_SaleRtnBill); columnIsPrevBill_SaleRtnBill = new DataColumn("IsPrevBill_SaleRtnBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnIsPrevBill_SaleRtnBill); columnPrincipal_SaleRtnBill = new DataColumn("Principal_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnPrincipal_SaleRtnBill); columnReason_SaleRtnBill = new DataColumn("Reason_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnReason_SaleRtnBill); columnTaxCurrency_SaleRtnBill = new DataColumn("TaxCurrency_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnTaxCurrency_SaleRtnBill); columnCurrency_SaleRtnBill = new DataColumn("Currency_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrency_SaleRtnBill); columnAssessDate_SaleRtnBill = new DataColumn("AssessDate_SaleRtnBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnAssessDate_SaleRtnBill); columnComment_SaleRtnBill = new DataColumn("Comment_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_SaleRtnBill); columnDisable_SaleRtnBill = new DataColumn("Disable_SaleRtnBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnDisable_SaleRtnBill); columnCreateDate_SaleRtnBill = new DataColumn("CreateDate_SaleRtnBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnCreateDate_SaleRtnBill); columnLastModDate_SaleRtnBill = new DataColumn("LastModDate_SaleRtnBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnLastModDate_SaleRtnBill); columnAmount_SaleRtnBill = new DataColumn("Amount_SaleRtnBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAmount_SaleRtnBill); columnGoodsAmount_SaleRtnBill = new DataColumn("GoodsAmount_SaleRtnBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnGoodsAmount_SaleRtnBill); columnTaxAmount_SaleRtnBill = new DataColumn("TaxAmount_SaleRtnBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTaxAmount_SaleRtnBill); columnStrikedGoodsAmount_SaleRtnBill = new DataColumn("StrikedGoodsAmount_SaleRtnBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnStrikedGoodsAmount_SaleRtnBill); columnStrikedTaxAmount_SaleRtnBill = new DataColumn("StrikedTaxAmount_SaleRtnBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnStrikedTaxAmount_SaleRtnBill); columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Customer); columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnShortName_Customer); columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Location); columnNo_Location = new DataColumn("No_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Location); columnName_Creator = new DataColumn("Name_Creator", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Creator); columnName_Assessor = new DataColumn("Name_Assessor", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Assessor); columnLastModUserName_SaleRtnBill = new DataColumn("LastModUserName_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnLastModUserName_SaleRtnBill); columnCountColume_SaleRtnBillProduct = new DataColumn("CountColume_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCountColume_SaleRtnBillProduct); columnTaxCurrencyCash_SaleRtnBillProduct = new DataColumn("TaxCurrencyCash_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTaxCurrencyCash_SaleRtnBillProduct); columnCurrencyCash_SaleRtnBillProduct = new DataColumn("CurrencyCash_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCurrencyCash_SaleRtnBillProduct); columnTotCash_SaleRtnBillProduct = new DataColumn("TotCash_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTotCash_SaleRtnBillProduct); columnPrincipalNo_SaleRtnBill = new DataColumn("PrincipalNo_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnPrincipalNo_SaleRtnBill); } [DebuggerNonUserCode] public SaleRtnBillRow NewSaleRtnBillRow() { return (SaleRtnBillRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new SaleRtnBillRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(SaleRtnBillRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.SaleRtnBillRowChanged != null) { this.SaleRtnBillRowChanged(this, new SaleRtnBillRowChangeEvent((SaleRtnBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.SaleRtnBillRowChanging != null) { this.SaleRtnBillRowChanging(this, new SaleRtnBillRowChangeEvent((SaleRtnBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.SaleRtnBillRowDeleted != null) { this.SaleRtnBillRowDeleted(this, new SaleRtnBillRowChangeEvent((SaleRtnBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.SaleRtnBillRowDeleting != null) { this.SaleRtnBillRowDeleting(this, new SaleRtnBillRowChangeEvent((SaleRtnBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveSaleRtnBillRow(SaleRtnBillRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmSaleRtnBill dsFrmSaleRtnBill = new dsFrmSaleRtnBill(); xs.Add(dsFrmSaleRtnBill.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema"; xmlSchemaAny.MinOccurs = 0m; xmlSchemaAny.MaxOccurs = decimal.MaxValue; xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny); XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny(); xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; xmlSchemaAny2.MinOccurs = 1m; xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny2); XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute(); xmlSchemaAttribute.Name = "namespace"; xmlSchemaAttribute.FixedValue = dsFrmSaleRtnBill.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "SaleRtnBillDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class SaleRtnBillProductDataTable : DataTable, IEnumerable { private DataColumn columnNo_SaleRtnBillProduct; private DataColumn columnType_FromBill; private DataColumn columnNo_FromBill; private DataColumn columnNo_FromBillProduct; private DataColumn columnQuantity_SaleRtnBillProduct; private DataColumn columnUnitPrice_SaleRtnBillProduct; private DataColumn columnDiscount_SaleRtnBillProduct; private DataColumn columnComment_SaleRtnBillProduct; private DataColumn columnFromBill_SaleRtnBillProduct; private DataColumn columnIsPrevBill_SaleRtnBill; private DataColumn columnAssessDate_SaleRtnBill; private DataColumn columnProductNo_SaleRtnBillProduct; private DataColumn columnProductName_SaleRtnBillProduct; private DataColumn columnProductUnit_SaleRtnBillProduct; private DataColumn columnCash_SaleRtnBillProduct; private DataColumn columnComment_SaleRtnBillProduct1; private DataColumn columnNo_SaleRtnBill; [DebuggerNonUserCode] public DataColumn No_SaleRtnBillProductColumn => columnNo_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn Type_FromBillColumn => columnType_FromBill; [DebuggerNonUserCode] public DataColumn No_FromBillColumn => columnNo_FromBill; [DebuggerNonUserCode] public DataColumn No_FromBillProductColumn => columnNo_FromBillProduct; [DebuggerNonUserCode] public DataColumn Quantity_SaleRtnBillProductColumn => columnQuantity_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn UnitPrice_SaleRtnBillProductColumn => columnUnitPrice_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn Discount_SaleRtnBillProductColumn => columnDiscount_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn Comment_SaleRtnBillProductColumn => columnComment_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn FromBill_SaleRtnBillProductColumn => columnFromBill_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn IsPrevBill_SaleRtnBillColumn => columnIsPrevBill_SaleRtnBill; [DebuggerNonUserCode] public DataColumn AssessDate_SaleRtnBillColumn => columnAssessDate_SaleRtnBill; [DebuggerNonUserCode] public DataColumn ProductNo_SaleRtnBillProductColumn => columnProductNo_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn ProductName_SaleRtnBillProductColumn => columnProductName_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn ProductUnit_SaleRtnBillProductColumn => columnProductUnit_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn Cash_SaleRtnBillProductColumn => columnCash_SaleRtnBillProduct; [DebuggerNonUserCode] public DataColumn Comment_SaleRtnBillProduct1Column => columnComment_SaleRtnBillProduct1; [DebuggerNonUserCode] public DataColumn No_SaleRtnBillColumn => columnNo_SaleRtnBill; [Browsable(false)] [DebuggerNonUserCode] public int Count => base.Rows.Count; [DebuggerNonUserCode] public SaleRtnBillProductRow this[int index] => (SaleRtnBillProductRow)base.Rows[index]; public event SaleRtnBillProductRowChangeEventHandler SaleRtnBillProductRowChanging; public event SaleRtnBillProductRowChangeEventHandler SaleRtnBillProductRowChanged; public event SaleRtnBillProductRowChangeEventHandler SaleRtnBillProductRowDeleting; public event SaleRtnBillProductRowChangeEventHandler SaleRtnBillProductRowDeleted; [DebuggerNonUserCode] public SaleRtnBillProductDataTable() { base.TableName = "SaleRtnBillProduct"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal SaleRtnBillProductDataTable(DataTable table) { base.TableName = table.TableName; if (table.CaseSensitive != table.DataSet.CaseSensitive) { base.CaseSensitive = table.CaseSensitive; } if (table.Locale.ToString() != table.DataSet.Locale.ToString()) { base.Locale = table.Locale; } if (table.Namespace != table.DataSet.Namespace) { base.Namespace = table.Namespace; } base.Prefix = table.Prefix; base.MinimumCapacity = table.MinimumCapacity; } [DebuggerNonUserCode] protected SaleRtnBillProductDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddSaleRtnBillProductRow(SaleRtnBillProductRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public SaleRtnBillProductRow AddSaleRtnBillProductRow(string No_SaleRtnBillProduct, int Type_FromBill, string No_FromBill, string No_FromBillProduct, decimal Quantity_SaleRtnBillProduct, decimal UnitPrice_SaleRtnBillProduct, decimal Discount_SaleRtnBillProduct, string Comment_SaleRtnBillProduct, string FromBill_SaleRtnBillProduct, bool IsPrevBill_SaleRtnBill, DateTime AssessDate_SaleRtnBill, string ProductNo_SaleRtnBillProduct, string ProductName_SaleRtnBillProduct, string ProductUnit_SaleRtnBillProduct, decimal Cash_SaleRtnBillProduct, string Comment_SaleRtnBillProduct1, string No_SaleRtnBill) { SaleRtnBillProductRow saleRtnBillProductRow = (SaleRtnBillProductRow)NewRow(); saleRtnBillProductRow.ItemArray = new object[17] { No_SaleRtnBillProduct, Type_FromBill, No_FromBill, No_FromBillProduct, Quantity_SaleRtnBillProduct, UnitPrice_SaleRtnBillProduct, Discount_SaleRtnBillProduct, Comment_SaleRtnBillProduct, FromBill_SaleRtnBillProduct, IsPrevBill_SaleRtnBill, AssessDate_SaleRtnBill, ProductNo_SaleRtnBillProduct, ProductName_SaleRtnBillProduct, ProductUnit_SaleRtnBillProduct, Cash_SaleRtnBillProduct, Comment_SaleRtnBillProduct1, No_SaleRtnBill }; base.Rows.Add(saleRtnBillProductRow); return saleRtnBillProductRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { SaleRtnBillProductDataTable saleRtnBillProductDataTable = (SaleRtnBillProductDataTable)base.Clone(); saleRtnBillProductDataTable.InitVars(); return saleRtnBillProductDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new SaleRtnBillProductDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_SaleRtnBillProduct = base.Columns["No_SaleRtnBillProduct"]; columnType_FromBill = base.Columns["Type_FromBill"]; columnNo_FromBill = base.Columns["No_FromBill"]; columnNo_FromBillProduct = base.Columns["No_FromBillProduct"]; columnQuantity_SaleRtnBillProduct = base.Columns["Quantity_SaleRtnBillProduct"]; columnUnitPrice_SaleRtnBillProduct = base.Columns["UnitPrice_SaleRtnBillProduct"]; columnDiscount_SaleRtnBillProduct = base.Columns["Discount_SaleRtnBillProduct"]; columnComment_SaleRtnBillProduct = base.Columns["Comment_SaleRtnBillProduct"]; columnFromBill_SaleRtnBillProduct = base.Columns["FromBill_SaleRtnBillProduct"]; columnIsPrevBill_SaleRtnBill = base.Columns["IsPrevBill_SaleRtnBill"]; columnAssessDate_SaleRtnBill = base.Columns["AssessDate_SaleRtnBill"]; columnProductNo_SaleRtnBillProduct = base.Columns["ProductNo_SaleRtnBillProduct"]; columnProductName_SaleRtnBillProduct = base.Columns["ProductName_SaleRtnBillProduct"]; columnProductUnit_SaleRtnBillProduct = base.Columns["ProductUnit_SaleRtnBillProduct"]; columnCash_SaleRtnBillProduct = base.Columns["Cash_SaleRtnBillProduct"]; columnComment_SaleRtnBillProduct1 = base.Columns["Comment_SaleRtnBillProduct1"]; columnNo_SaleRtnBill = base.Columns["No_SaleRtnBill"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_SaleRtnBillProduct = new DataColumn("No_SaleRtnBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleRtnBillProduct); columnType_FromBill = new DataColumn("Type_FromBill", typeof(int), null, MappingType.Element); base.Columns.Add(columnType_FromBill); columnNo_FromBill = new DataColumn("No_FromBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_FromBill); columnNo_FromBillProduct = new DataColumn("No_FromBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_FromBillProduct); columnQuantity_SaleRtnBillProduct = new DataColumn("Quantity_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnQuantity_SaleRtnBillProduct); columnUnitPrice_SaleRtnBillProduct = new DataColumn("UnitPrice_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnUnitPrice_SaleRtnBillProduct); columnDiscount_SaleRtnBillProduct = new DataColumn("Discount_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnDiscount_SaleRtnBillProduct); columnComment_SaleRtnBillProduct = new DataColumn("Comment_SaleRtnBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_SaleRtnBillProduct); columnFromBill_SaleRtnBillProduct = new DataColumn("FromBill_SaleRtnBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnFromBill_SaleRtnBillProduct); columnIsPrevBill_SaleRtnBill = new DataColumn("IsPrevBill_SaleRtnBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnIsPrevBill_SaleRtnBill); columnAssessDate_SaleRtnBill = new DataColumn("AssessDate_SaleRtnBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnAssessDate_SaleRtnBill); columnProductNo_SaleRtnBillProduct = new DataColumn("ProductNo_SaleRtnBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnProductNo_SaleRtnBillProduct); columnProductName_SaleRtnBillProduct = new DataColumn("ProductName_SaleRtnBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnProductName_SaleRtnBillProduct); columnProductUnit_SaleRtnBillProduct = new DataColumn("ProductUnit_SaleRtnBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnProductUnit_SaleRtnBillProduct); columnCash_SaleRtnBillProduct = new DataColumn("Cash_SaleRtnBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCash_SaleRtnBillProduct); columnComment_SaleRtnBillProduct1 = new DataColumn("Comment_SaleRtnBillProduct1", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_SaleRtnBillProduct1); columnNo_SaleRtnBill = new DataColumn("No_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleRtnBill); } [DebuggerNonUserCode] public SaleRtnBillProductRow NewSaleRtnBillProductRow() { return (SaleRtnBillProductRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new SaleRtnBillProductRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(SaleRtnBillProductRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.SaleRtnBillProductRowChanged != null) { this.SaleRtnBillProductRowChanged(this, new SaleRtnBillProductRowChangeEvent((SaleRtnBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.SaleRtnBillProductRowChanging != null) { this.SaleRtnBillProductRowChanging(this, new SaleRtnBillProductRowChangeEvent((SaleRtnBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.SaleRtnBillProductRowDeleted != null) { this.SaleRtnBillProductRowDeleted(this, new SaleRtnBillProductRowChangeEvent((SaleRtnBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.SaleRtnBillProductRowDeleting != null) { this.SaleRtnBillProductRowDeleting(this, new SaleRtnBillProductRowChangeEvent((SaleRtnBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveSaleRtnBillProductRow(SaleRtnBillProductRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmSaleRtnBill dsFrmSaleRtnBill = new dsFrmSaleRtnBill(); xs.Add(dsFrmSaleRtnBill.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema"; xmlSchemaAny.MinOccurs = 0m; xmlSchemaAny.MaxOccurs = decimal.MaxValue; xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny); XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny(); xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; xmlSchemaAny2.MinOccurs = 1m; xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny2); XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute(); xmlSchemaAttribute.Name = "namespace"; xmlSchemaAttribute.FixedValue = dsFrmSaleRtnBill.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "SaleRtnBillProductDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class AppendInfoDataTable : DataTable, IEnumerable { private DataColumn columnCurrentCompany; private DataColumn columnCurrentUser; [DebuggerNonUserCode] public DataColumn CurrentCompanyColumn => columnCurrentCompany; [DebuggerNonUserCode] public DataColumn CurrentUserColumn => columnCurrentUser; [Browsable(false)] [DebuggerNonUserCode] public int Count => base.Rows.Count; [DebuggerNonUserCode] public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index]; public event AppendInfoRowChangeEventHandler AppendInfoRowChanging; public event AppendInfoRowChangeEventHandler AppendInfoRowChanged; public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting; public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted; [DebuggerNonUserCode] public AppendInfoDataTable() { base.TableName = "AppendInfo"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal AppendInfoDataTable(DataTable table) { base.TableName = table.TableName; if (table.CaseSensitive != table.DataSet.CaseSensitive) { base.CaseSensitive = table.CaseSensitive; } if (table.Locale.ToString() != table.DataSet.Locale.ToString()) { base.Locale = table.Locale; } if (table.Namespace != table.DataSet.Namespace) { base.Namespace = table.Namespace; } base.Prefix = table.Prefix; base.MinimumCapacity = table.MinimumCapacity; } [DebuggerNonUserCode] protected AppendInfoDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddAppendInfoRow(AppendInfoRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser) { AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow(); appendInfoRow.ItemArray = new object[2] { CurrentCompany, CurrentUser }; base.Rows.Add(appendInfoRow); return appendInfoRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone(); appendInfoDataTable.InitVars(); return appendInfoDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new AppendInfoDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnCurrentCompany = base.Columns["CurrentCompany"]; columnCurrentUser = base.Columns["CurrentUser"]; } [DebuggerNonUserCode] private void InitClass() { columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrentCompany); columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrentUser); } [DebuggerNonUserCode] public AppendInfoRow NewAppendInfoRow() { return (AppendInfoRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new AppendInfoRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(AppendInfoRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.AppendInfoRowChanged != null) { this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.AppendInfoRowChanging != null) { this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.AppendInfoRowDeleted != null) { this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.AppendInfoRowDeleting != null) { this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveAppendInfoRow(AppendInfoRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmSaleRtnBill dsFrmSaleRtnBill = new dsFrmSaleRtnBill(); xs.Add(dsFrmSaleRtnBill.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema"; xmlSchemaAny.MinOccurs = 0m; xmlSchemaAny.MaxOccurs = decimal.MaxValue; xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny); XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny(); xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; xmlSchemaAny2.MinOccurs = 1m; xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax; xmlSchemaSequence.Items.Add(xmlSchemaAny2); XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute(); xmlSchemaAttribute.Name = "namespace"; xmlSchemaAttribute.FixedValue = dsFrmSaleRtnBill.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleRtnBillRow : DataRow { private SaleRtnBillDataTable tableSaleRtnBill; [DebuggerNonUserCode] public string No_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.No_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.No_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public DateTime Date_SaleRtnBill { get { try { return (DateTime)base[tableSaleRtnBill.Date_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Date_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Date_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public bool IsPrevBill_SaleRtnBill { get { try { return (bool)base[tableSaleRtnBill.IsPrevBill_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'IsPrevBill_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.IsPrevBill_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string Principal_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.Principal_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Principal_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Principal_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string Reason_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.Reason_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Reason_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Reason_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string TaxCurrency_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.TaxCurrency_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxCurrency_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.TaxCurrency_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string Currency_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.Currency_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Currency_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Currency_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public DateTime AssessDate_SaleRtnBill { get { try { return (DateTime)base[tableSaleRtnBill.AssessDate_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'AssessDate_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.AssessDate_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string Comment_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.Comment_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Comment_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public bool Disable_SaleRtnBill { get { try { return (bool)base[tableSaleRtnBill.Disable_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Disable_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Disable_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public DateTime CreateDate_SaleRtnBill { get { try { return (DateTime)base[tableSaleRtnBill.CreateDate_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CreateDate_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.CreateDate_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public DateTime LastModDate_SaleRtnBill { get { try { return (DateTime)base[tableSaleRtnBill.LastModDate_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModDate_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.LastModDate_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public decimal Amount_SaleRtnBill { get { try { return (decimal)base[tableSaleRtnBill.Amount_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Amount_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public decimal GoodsAmount_SaleRtnBill { get { try { return (decimal)base[tableSaleRtnBill.GoodsAmount_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'GoodsAmount_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.GoodsAmount_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public decimal TaxAmount_SaleRtnBill { get { try { return (decimal)base[tableSaleRtnBill.TaxAmount_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxAmount_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.TaxAmount_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public decimal StrikedGoodsAmount_SaleRtnBill { get { try { return (decimal)base[tableSaleRtnBill.StrikedGoodsAmount_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StrikedGoodsAmount_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.StrikedGoodsAmount_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public decimal StrikedTaxAmount_SaleRtnBill { get { try { return (decimal)base[tableSaleRtnBill.StrikedTaxAmount_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StrikedTaxAmount_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.StrikedTaxAmount_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string No_Customer { get { try { return (string)base[tableSaleRtnBill.No_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Customer' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.No_CustomerColumn] = value; } } [DebuggerNonUserCode] public string ShortName_Customer { get { try { return (string)base[tableSaleRtnBill.ShortName_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.ShortName_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Name_Location { get { try { return (string)base[tableSaleRtnBill.Name_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Location' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Name_LocationColumn] = value; } } [DebuggerNonUserCode] public string No_Location { get { try { return (string)base[tableSaleRtnBill.No_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Location' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.No_LocationColumn] = value; } } [DebuggerNonUserCode] public string Name_Creator { get { try { return (string)base[tableSaleRtnBill.Name_CreatorColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Creator' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Name_CreatorColumn] = value; } } [DebuggerNonUserCode] public string Name_Assessor { get { try { return (string)base[tableSaleRtnBill.Name_AssessorColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Assessor' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.Name_AssessorColumn] = value; } } [DebuggerNonUserCode] public string LastModUserName_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.LastModUserName_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModUserName_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.LastModUserName_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public decimal CountColume_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBill.CountColume_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CountColume_SaleRtnBillProduct' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.CountColume_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal TaxCurrencyCash_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBill.TaxCurrencyCash_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxCurrencyCash_SaleRtnBillProduct' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.TaxCurrencyCash_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal CurrencyCash_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBill.CurrencyCash_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrencyCash_SaleRtnBillProduct' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.CurrencyCash_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal TotCash_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBill.TotCash_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TotCash_SaleRtnBillProduct' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.TotCash_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public string PrincipalNo_SaleRtnBill { get { try { return (string)base[tableSaleRtnBill.PrincipalNo_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'PrincipalNo_SaleRtnBill' in table 'SaleRtnBill' is DBNull.", innerException); } } set { base[tableSaleRtnBill.PrincipalNo_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] internal SaleRtnBillRow(DataRowBuilder rb) : base(rb) { tableSaleRtnBill = (SaleRtnBillDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.No_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetNo_SaleRtnBillNull() { base[tableSaleRtnBill.No_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsDate_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Date_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetDate_SaleRtnBillNull() { base[tableSaleRtnBill.Date_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsIsPrevBill_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.IsPrevBill_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetIsPrevBill_SaleRtnBillNull() { base[tableSaleRtnBill.IsPrevBill_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsPrincipal_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Principal_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetPrincipal_SaleRtnBillNull() { base[tableSaleRtnBill.Principal_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsReason_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Reason_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetReason_SaleRtnBillNull() { base[tableSaleRtnBill.Reason_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxCurrency_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.TaxCurrency_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetTaxCurrency_SaleRtnBillNull() { base[tableSaleRtnBill.TaxCurrency_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrency_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Currency_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetCurrency_SaleRtnBillNull() { base[tableSaleRtnBill.Currency_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAssessDate_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.AssessDate_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetAssessDate_SaleRtnBillNull() { base[tableSaleRtnBill.AssessDate_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Comment_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetComment_SaleRtnBillNull() { base[tableSaleRtnBill.Comment_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsDisable_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Disable_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetDisable_SaleRtnBillNull() { base[tableSaleRtnBill.Disable_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCreateDate_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.CreateDate_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetCreateDate_SaleRtnBillNull() { base[tableSaleRtnBill.CreateDate_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModDate_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.LastModDate_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetLastModDate_SaleRtnBillNull() { base[tableSaleRtnBill.LastModDate_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmount_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.Amount_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetAmount_SaleRtnBillNull() { base[tableSaleRtnBill.Amount_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsGoodsAmount_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.GoodsAmount_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetGoodsAmount_SaleRtnBillNull() { base[tableSaleRtnBill.GoodsAmount_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxAmount_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.TaxAmount_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetTaxAmount_SaleRtnBillNull() { base[tableSaleRtnBill.TaxAmount_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStrikedGoodsAmount_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.StrikedGoodsAmount_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetStrikedGoodsAmount_SaleRtnBillNull() { base[tableSaleRtnBill.StrikedGoodsAmount_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStrikedTaxAmount_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.StrikedTaxAmount_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetStrikedTaxAmount_SaleRtnBillNull() { base[tableSaleRtnBill.StrikedTaxAmount_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_CustomerNull() { return IsNull(tableSaleRtnBill.No_CustomerColumn); } [DebuggerNonUserCode] public void SetNo_CustomerNull() { base[tableSaleRtnBill.No_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsShortName_CustomerNull() { return IsNull(tableSaleRtnBill.ShortName_CustomerColumn); } [DebuggerNonUserCode] public void SetShortName_CustomerNull() { base[tableSaleRtnBill.ShortName_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_LocationNull() { return IsNull(tableSaleRtnBill.Name_LocationColumn); } [DebuggerNonUserCode] public void SetName_LocationNull() { base[tableSaleRtnBill.Name_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_LocationNull() { return IsNull(tableSaleRtnBill.No_LocationColumn); } [DebuggerNonUserCode] public void SetNo_LocationNull() { base[tableSaleRtnBill.No_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_CreatorNull() { return IsNull(tableSaleRtnBill.Name_CreatorColumn); } [DebuggerNonUserCode] public void SetName_CreatorNull() { base[tableSaleRtnBill.Name_CreatorColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_AssessorNull() { return IsNull(tableSaleRtnBill.Name_AssessorColumn); } [DebuggerNonUserCode] public void SetName_AssessorNull() { base[tableSaleRtnBill.Name_AssessorColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModUserName_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.LastModUserName_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetLastModUserName_SaleRtnBillNull() { base[tableSaleRtnBill.LastModUserName_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCountColume_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBill.CountColume_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetCountColume_SaleRtnBillProductNull() { base[tableSaleRtnBill.CountColume_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxCurrencyCash_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBill.TaxCurrencyCash_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetTaxCurrencyCash_SaleRtnBillProductNull() { base[tableSaleRtnBill.TaxCurrencyCash_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrencyCash_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBill.CurrencyCash_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetCurrencyCash_SaleRtnBillProductNull() { base[tableSaleRtnBill.CurrencyCash_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTotCash_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBill.TotCash_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetTotCash_SaleRtnBillProductNull() { base[tableSaleRtnBill.TotCash_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsPrincipalNo_SaleRtnBillNull() { return IsNull(tableSaleRtnBill.PrincipalNo_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetPrincipalNo_SaleRtnBillNull() { base[tableSaleRtnBill.PrincipalNo_SaleRtnBillColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleRtnBillProductRow : DataRow { private SaleRtnBillProductDataTable tableSaleRtnBillProduct; [DebuggerNonUserCode] public string No_SaleRtnBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.No_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.No_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public int Type_FromBill { get { try { return (int)base[tableSaleRtnBillProduct.Type_FromBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Type_FromBill' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.Type_FromBillColumn] = value; } } [DebuggerNonUserCode] public string No_FromBill { get { try { return (string)base[tableSaleRtnBillProduct.No_FromBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_FromBill' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.No_FromBillColumn] = value; } } [DebuggerNonUserCode] public string No_FromBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.No_FromBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.No_FromBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal Quantity_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBillProduct.Quantity_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Quantity_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.Quantity_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal UnitPrice_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBillProduct.UnitPrice_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'UnitPrice_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.UnitPrice_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal Discount_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBillProduct.Discount_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Discount_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.Discount_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public string Comment_SaleRtnBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.Comment_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.Comment_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public string FromBill_SaleRtnBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.FromBill_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'FromBill_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.FromBill_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public bool IsPrevBill_SaleRtnBill { get { try { return (bool)base[tableSaleRtnBillProduct.IsPrevBill_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'IsPrevBill_SaleRtnBill' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.IsPrevBill_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public DateTime AssessDate_SaleRtnBill { get { try { return (DateTime)base[tableSaleRtnBillProduct.AssessDate_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'AssessDate_SaleRtnBill' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.AssessDate_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] public string ProductNo_SaleRtnBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.ProductNo_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ProductNo_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.ProductNo_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public string ProductName_SaleRtnBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.ProductName_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ProductName_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.ProductName_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public string ProductUnit_SaleRtnBillProduct { get { try { return (string)base[tableSaleRtnBillProduct.ProductUnit_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ProductUnit_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.ProductUnit_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal Cash_SaleRtnBillProduct { get { try { return (decimal)base[tableSaleRtnBillProduct.Cash_SaleRtnBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Cash_SaleRtnBillProduct' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.Cash_SaleRtnBillProductColumn] = value; } } [DebuggerNonUserCode] public string Comment_SaleRtnBillProduct1 { get { try { return (string)base[tableSaleRtnBillProduct.Comment_SaleRtnBillProduct1Column]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_SaleRtnBillProduct1' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.Comment_SaleRtnBillProduct1Column] = value; } } [DebuggerNonUserCode] public string No_SaleRtnBill { get { try { return (string)base[tableSaleRtnBillProduct.No_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleRtnBill' in table 'SaleRtnBillProduct' is DBNull.", innerException); } } set { base[tableSaleRtnBillProduct.No_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] internal SaleRtnBillProductRow(DataRowBuilder rb) : base(rb) { tableSaleRtnBillProduct = (SaleRtnBillProductDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.No_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetNo_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.No_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsType_FromBillNull() { return IsNull(tableSaleRtnBillProduct.Type_FromBillColumn); } [DebuggerNonUserCode] public void SetType_FromBillNull() { base[tableSaleRtnBillProduct.Type_FromBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_FromBillNull() { return IsNull(tableSaleRtnBillProduct.No_FromBillColumn); } [DebuggerNonUserCode] public void SetNo_FromBillNull() { base[tableSaleRtnBillProduct.No_FromBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_FromBillProductNull() { return IsNull(tableSaleRtnBillProduct.No_FromBillProductColumn); } [DebuggerNonUserCode] public void SetNo_FromBillProductNull() { base[tableSaleRtnBillProduct.No_FromBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsQuantity_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.Quantity_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetQuantity_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.Quantity_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnitPrice_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.UnitPrice_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetUnitPrice_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.UnitPrice_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsDiscount_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.Discount_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetDiscount_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.Discount_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.Comment_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetComment_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.Comment_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsFromBill_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.FromBill_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetFromBill_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.FromBill_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsIsPrevBill_SaleRtnBillNull() { return IsNull(tableSaleRtnBillProduct.IsPrevBill_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetIsPrevBill_SaleRtnBillNull() { base[tableSaleRtnBillProduct.IsPrevBill_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAssessDate_SaleRtnBillNull() { return IsNull(tableSaleRtnBillProduct.AssessDate_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetAssessDate_SaleRtnBillNull() { base[tableSaleRtnBillProduct.AssessDate_SaleRtnBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsProductNo_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.ProductNo_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetProductNo_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.ProductNo_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsProductName_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.ProductName_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetProductName_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.ProductName_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsProductUnit_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.ProductUnit_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetProductUnit_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.ProductUnit_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCash_SaleRtnBillProductNull() { return IsNull(tableSaleRtnBillProduct.Cash_SaleRtnBillProductColumn); } [DebuggerNonUserCode] public void SetCash_SaleRtnBillProductNull() { base[tableSaleRtnBillProduct.Cash_SaleRtnBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_SaleRtnBillProduct1Null() { return IsNull(tableSaleRtnBillProduct.Comment_SaleRtnBillProduct1Column); } [DebuggerNonUserCode] public void SetComment_SaleRtnBillProduct1Null() { base[tableSaleRtnBillProduct.Comment_SaleRtnBillProduct1Column] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_SaleRtnBillNull() { return IsNull(tableSaleRtnBillProduct.No_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetNo_SaleRtnBillNull() { base[tableSaleRtnBillProduct.No_SaleRtnBillColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class AppendInfoRow : DataRow { private AppendInfoDataTable tableAppendInfo; [DebuggerNonUserCode] public string CurrentCompany { get { try { return (string)base[tableAppendInfo.CurrentCompanyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException); } } set { base[tableAppendInfo.CurrentCompanyColumn] = value; } } [DebuggerNonUserCode] public string CurrentUser { get { try { return (string)base[tableAppendInfo.CurrentUserColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException); } } set { base[tableAppendInfo.CurrentUserColumn] = value; } } [DebuggerNonUserCode] internal AppendInfoRow(DataRowBuilder rb) : base(rb) { tableAppendInfo = (AppendInfoDataTable)base.Table; } [DebuggerNonUserCode] public bool IsCurrentCompanyNull() { return IsNull(tableAppendInfo.CurrentCompanyColumn); } [DebuggerNonUserCode] public void SetCurrentCompanyNull() { base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrentUserNull() { return IsNull(tableAppendInfo.CurrentUserColumn); } [DebuggerNonUserCode] public void SetCurrentUserNull() { base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleRtnBillRowChangeEvent : EventArgs { private SaleRtnBillRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public SaleRtnBillRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public SaleRtnBillRowChangeEvent(SaleRtnBillRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleRtnBillProductRowChangeEvent : EventArgs { private SaleRtnBillProductRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public SaleRtnBillProductRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public SaleRtnBillProductRowChangeEvent(SaleRtnBillProductRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class AppendInfoRowChangeEvent : EventArgs { private AppendInfoRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public AppendInfoRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action) { eventRow = row; eventAction = action; } } private SaleRtnBillDataTable tableSaleRtnBill; private SaleRtnBillProductDataTable tableSaleRtnBillProduct; private AppendInfoDataTable tableAppendInfo; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [Browsable(false)] [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public SaleRtnBillDataTable SaleRtnBill => tableSaleRtnBill; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] [Browsable(false)] public SaleRtnBillProductDataTable SaleRtnBillProduct => tableSaleRtnBillProduct; [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [Browsable(false)] public AppendInfoDataTable AppendInfo => tableAppendInfo; [Browsable(true)] [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public override SchemaSerializationMode SchemaSerializationMode { get { return _schemaSerializationMode; } set { _schemaSerializationMode = value; } } [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new DataTableCollection Tables => base.Tables; [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new DataRelationCollection Relations => base.Relations; [DebuggerNonUserCode] public dsFrmSaleRtnBill() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsFrmSaleRtnBill(SerializationInfo info, StreamingContext context) : base(info, context, ConstructSchema: false) { if (IsBinarySerialized(info, context)) { InitVars(initTable: false); CollectionChangeEventHandler value = SchemaChanged; Tables.CollectionChanged += value; Relations.CollectionChanged += value; return; } string s = (string)info.GetValue("XmlSchema", typeof(string)); if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema) { DataSet dataSet = new DataSet(); dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s))); if (dataSet.Tables["SaleRtnBill"] != null) { base.Tables.Add(new SaleRtnBillDataTable(dataSet.Tables["SaleRtnBill"])); } if (dataSet.Tables["SaleRtnBillProduct"] != null) { base.Tables.Add(new SaleRtnBillProductDataTable(dataSet.Tables["SaleRtnBillProduct"])); } if (dataSet.Tables["AppendInfo"] != null) { base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"])); } base.DataSetName = dataSet.DataSetName; base.Prefix = dataSet.Prefix; base.Namespace = dataSet.Namespace; base.Locale = dataSet.Locale; base.CaseSensitive = dataSet.CaseSensitive; base.EnforceConstraints = dataSet.EnforceConstraints; Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add); InitVars(); } else { ReadXmlSchema(new XmlTextReader(new StringReader(s))); } GetSerializationData(info, context); CollectionChangeEventHandler value2 = SchemaChanged; base.Tables.CollectionChanged += value2; Relations.CollectionChanged += value2; } [DebuggerNonUserCode] protected override void InitializeDerivedDataSet() { BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] public override DataSet Clone() { dsFrmSaleRtnBill dsFrmSaleRtnBill = (dsFrmSaleRtnBill)base.Clone(); dsFrmSaleRtnBill.InitVars(); dsFrmSaleRtnBill.SchemaSerializationMode = SchemaSerializationMode; return dsFrmSaleRtnBill; } [DebuggerNonUserCode] protected override bool ShouldSerializeTables() { return false; } [DebuggerNonUserCode] protected override bool ShouldSerializeRelations() { return false; } [DebuggerNonUserCode] protected override void ReadXmlSerializable(XmlReader reader) { if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema) { Reset(); DataSet dataSet = new DataSet(); dataSet.ReadXml(reader); if (dataSet.Tables["SaleRtnBill"] != null) { base.Tables.Add(new SaleRtnBillDataTable(dataSet.Tables["SaleRtnBill"])); } if (dataSet.Tables["SaleRtnBillProduct"] != null) { base.Tables.Add(new SaleRtnBillProductDataTable(dataSet.Tables["SaleRtnBillProduct"])); } if (dataSet.Tables["AppendInfo"] != null) { base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"])); } base.DataSetName = dataSet.DataSetName; base.Prefix = dataSet.Prefix; base.Namespace = dataSet.Namespace; base.Locale = dataSet.Locale; base.CaseSensitive = dataSet.CaseSensitive; base.EnforceConstraints = dataSet.EnforceConstraints; Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add); InitVars(); } else { ReadXml(reader); InitVars(); } } [DebuggerNonUserCode] protected override XmlSchema GetSchemaSerializable() { MemoryStream memoryStream = new MemoryStream(); WriteXmlSchema(new XmlTextWriter(memoryStream, null)); memoryStream.Position = 0L; return XmlSchema.Read(new XmlTextReader(memoryStream), null); } [DebuggerNonUserCode] internal void InitVars() { InitVars(initTable: true); } [DebuggerNonUserCode] internal void InitVars(bool initTable) { tableSaleRtnBill = (SaleRtnBillDataTable)base.Tables["SaleRtnBill"]; if (initTable && tableSaleRtnBill != null) { tableSaleRtnBill.InitVars(); } tableSaleRtnBillProduct = (SaleRtnBillProductDataTable)base.Tables["SaleRtnBillProduct"]; if (initTable && tableSaleRtnBillProduct != null) { tableSaleRtnBillProduct.InitVars(); } tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"]; if (initTable && tableAppendInfo != null) { tableAppendInfo.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsFrmSaleRtnBill"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsFrmSaleRtnBill.xsd"; base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableSaleRtnBill = new SaleRtnBillDataTable(); base.Tables.Add(tableSaleRtnBill); tableSaleRtnBillProduct = new SaleRtnBillProductDataTable(); base.Tables.Add(tableSaleRtnBillProduct); tableAppendInfo = new AppendInfoDataTable(); base.Tables.Add(tableAppendInfo); } [DebuggerNonUserCode] private bool ShouldSerializeSaleRtnBill() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeSaleRtnBillProduct() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeAppendInfo() { return false; } [DebuggerNonUserCode] private void SchemaChanged(object sender, CollectionChangeEventArgs e) { if (e.Action == CollectionChangeAction.Remove) { InitVars(); } } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { dsFrmSaleRtnBill dsFrmSaleRtnBill = new dsFrmSaleRtnBill(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); xs.Add(dsFrmSaleRtnBill.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsFrmSaleRtnBill.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } }