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")] [XmlSchemaProvider("GetTypedDataSetSchema")] [XmlRoot("dsFrmSaleBill")] [ToolboxItem(true)] [HelpKeyword("vs.data.DataSet")] [DesignerCategory("code")] public class dsFrmSaleBill : DataSet { public delegate void SaleBillRowChangeEventHandler(object sender, SaleBillRowChangeEvent e); public delegate void SaleBillProductRowChangeEventHandler(object sender, SaleBillProductRowChangeEvent e); public delegate void ReportCommentRowChangeEventHandler(object sender, ReportCommentRowChangeEvent e); public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e); [Serializable] [XmlSchemaProvider("GetTypedTableSchema")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleBillDataTable : DataTable, IEnumerable { private DataColumn columnNo_SaleBill; private DataColumn columnDate_SaleBill; private DataColumn columnNo_OrderBill; private DataColumn columnGetMethod_SaleBill; private DataColumn columnToGet_SaleBill; private DataColumn columnName_Linkman; private DataColumn columnTel_SaleBill; private DataColumn columnFax_SaleBill; private DataColumn columnSendAddr_SaleBill; private DataColumn columnInvoiceAddress_Company; private DataColumn columnInvoiceTitle_Company; private DataColumn columnTaxCurrency_SaleBill; private DataColumn columnCurrency_SaleBill; private DataColumn columnPrincipal_SaleBill; private DataColumn columnAssessDate_SaleBill; private DataColumn columnAssess_SaleBill; private DataColumn columnDisable_SaleBill; private DataColumn columnCreateDate_SaleBill; private DataColumn columnLastModDate_SaleBill; private DataColumn columnTransBack_SaleBill; private DataColumn columnTransBackDate_SaleBill; private DataColumn columnAmount_SaleBill; private DataColumn columnRespite_SaleBill; private DataColumn columnGoodsAmount_SaleBill; private DataColumn columnTaxAmount_SaleBill; private DataColumn columnStrikedGoodsAmount_SaleBill; private DataColumn columnStrikedTaxAmount_SaleBill; private DataColumn columnNo_Customer; private DataColumn columnName_Customer; private DataColumn columnShortName_Customer; private DataColumn columnType_Customer; private DataColumn columnLastDiscount_Customer; private DataColumn columnPostalCode_Customer; private DataColumn columnName_Creator; private DataColumn columnName_Assessor; private DataColumn columnLastModUserName; private DataColumn columnNo_Location; private DataColumn columnName_Location; private DataColumn columnNumSum; private DataColumn columnMoneySum; private DataColumn columnTaxSum; private DataColumn columnNo_Principal; private DataColumn columnRegistedAddress_Customer; [DebuggerNonUserCode] public DataColumn No_SaleBillColumn => columnNo_SaleBill; [DebuggerNonUserCode] public DataColumn Date_SaleBillColumn => columnDate_SaleBill; [DebuggerNonUserCode] public DataColumn No_OrderBillColumn => columnNo_OrderBill; [DebuggerNonUserCode] public DataColumn GetMethod_SaleBillColumn => columnGetMethod_SaleBill; [DebuggerNonUserCode] public DataColumn ToGet_SaleBillColumn => columnToGet_SaleBill; [DebuggerNonUserCode] public DataColumn Name_LinkmanColumn => columnName_Linkman; [DebuggerNonUserCode] public DataColumn Tel_SaleBillColumn => columnTel_SaleBill; [DebuggerNonUserCode] public DataColumn Fax_SaleBillColumn => columnFax_SaleBill; [DebuggerNonUserCode] public DataColumn SendAddr_SaleBillColumn => columnSendAddr_SaleBill; [DebuggerNonUserCode] public DataColumn InvoiceAddress_CompanyColumn => columnInvoiceAddress_Company; [DebuggerNonUserCode] public DataColumn InvoiceTitle_CompanyColumn => columnInvoiceTitle_Company; [DebuggerNonUserCode] public DataColumn TaxCurrency_SaleBillColumn => columnTaxCurrency_SaleBill; [DebuggerNonUserCode] public DataColumn Currency_SaleBillColumn => columnCurrency_SaleBill; [DebuggerNonUserCode] public DataColumn Principal_SaleBillColumn => columnPrincipal_SaleBill; [DebuggerNonUserCode] public DataColumn AssessDate_SaleBillColumn => columnAssessDate_SaleBill; [DebuggerNonUserCode] public DataColumn Assess_SaleBillColumn => columnAssess_SaleBill; [DebuggerNonUserCode] public DataColumn Disable_SaleBillColumn => columnDisable_SaleBill; [DebuggerNonUserCode] public DataColumn CreateDate_SaleBillColumn => columnCreateDate_SaleBill; [DebuggerNonUserCode] public DataColumn LastModDate_SaleBillColumn => columnLastModDate_SaleBill; [DebuggerNonUserCode] public DataColumn TransBack_SaleBillColumn => columnTransBack_SaleBill; [DebuggerNonUserCode] public DataColumn TransBackDate_SaleBillColumn => columnTransBackDate_SaleBill; [DebuggerNonUserCode] public DataColumn Amount_SaleBillColumn => columnAmount_SaleBill; [DebuggerNonUserCode] public DataColumn Respite_SaleBillColumn => columnRespite_SaleBill; [DebuggerNonUserCode] public DataColumn GoodsAmount_SaleBillColumn => columnGoodsAmount_SaleBill; [DebuggerNonUserCode] public DataColumn TaxAmount_SaleBillColumn => columnTaxAmount_SaleBill; [DebuggerNonUserCode] public DataColumn StrikedGoodsAmount_SaleBillColumn => columnStrikedGoodsAmount_SaleBill; [DebuggerNonUserCode] public DataColumn StrikedTaxAmount_SaleBillColumn => columnStrikedTaxAmount_SaleBill; [DebuggerNonUserCode] public DataColumn No_CustomerColumn => columnNo_Customer; [DebuggerNonUserCode] public DataColumn Name_CustomerColumn => columnName_Customer; [DebuggerNonUserCode] public DataColumn ShortName_CustomerColumn => columnShortName_Customer; [DebuggerNonUserCode] public DataColumn Type_CustomerColumn => columnType_Customer; [DebuggerNonUserCode] public DataColumn LastDiscount_CustomerColumn => columnLastDiscount_Customer; [DebuggerNonUserCode] public DataColumn PostalCode_CustomerColumn => columnPostalCode_Customer; [DebuggerNonUserCode] public DataColumn Name_CreatorColumn => columnName_Creator; [DebuggerNonUserCode] public DataColumn Name_AssessorColumn => columnName_Assessor; [DebuggerNonUserCode] public DataColumn LastModUserNameColumn => columnLastModUserName; [DebuggerNonUserCode] public DataColumn No_LocationColumn => columnNo_Location; [DebuggerNonUserCode] public DataColumn Name_LocationColumn => columnName_Location; [DebuggerNonUserCode] public DataColumn NumSumColumn => columnNumSum; [DebuggerNonUserCode] public DataColumn MoneySumColumn => columnMoneySum; [DebuggerNonUserCode] public DataColumn TaxSumColumn => columnTaxSum; [DebuggerNonUserCode] public DataColumn No_PrincipalColumn => columnNo_Principal; [DebuggerNonUserCode] public DataColumn RegistedAddress_CustomerColumn => columnRegistedAddress_Customer; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public SaleBillRow this[int index] => (SaleBillRow)base.Rows[index]; public event SaleBillRowChangeEventHandler SaleBillRowChanging; public event SaleBillRowChangeEventHandler SaleBillRowChanged; public event SaleBillRowChangeEventHandler SaleBillRowDeleting; public event SaleBillRowChangeEventHandler SaleBillRowDeleted; [DebuggerNonUserCode] public SaleBillDataTable() { base.TableName = "SaleBill"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal SaleBillDataTable(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 SaleBillDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddSaleBillRow(SaleBillRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public SaleBillRow AddSaleBillRow(string No_SaleBill, DateTime Date_SaleBill, string No_OrderBill, string GetMethod_SaleBill, decimal ToGet_SaleBill, string Name_Linkman, string Tel_SaleBill, string Fax_SaleBill, string SendAddr_SaleBill, string InvoiceAddress_Company, string InvoiceTitle_Company, string TaxCurrency_SaleBill, string Currency_SaleBill, string Principal_SaleBill, DateTime AssessDate_SaleBill, bool Assess_SaleBill, bool Disable_SaleBill, DateTime CreateDate_SaleBill, DateTime LastModDate_SaleBill, bool TransBack_SaleBill, DateTime TransBackDate_SaleBill, decimal Amount_SaleBill, bool Respite_SaleBill, decimal GoodsAmount_SaleBill, decimal TaxAmount_SaleBill, decimal StrikedGoodsAmount_SaleBill, decimal StrikedTaxAmount_SaleBill, string No_Customer, string Name_Customer, string ShortName_Customer, string Type_Customer, decimal LastDiscount_Customer, string PostalCode_Customer, string Name_Creator, string Name_Assessor, string LastModUserName, string No_Location, string Name_Location, decimal NumSum, decimal MoneySum, decimal TaxSum, string No_Principal, string RegistedAddress_Customer) { SaleBillRow saleBillRow = (SaleBillRow)NewRow(); saleBillRow.ItemArray = new object[43] { No_SaleBill, Date_SaleBill, No_OrderBill, GetMethod_SaleBill, ToGet_SaleBill, Name_Linkman, Tel_SaleBill, Fax_SaleBill, SendAddr_SaleBill, InvoiceAddress_Company, InvoiceTitle_Company, TaxCurrency_SaleBill, Currency_SaleBill, Principal_SaleBill, AssessDate_SaleBill, Assess_SaleBill, Disable_SaleBill, CreateDate_SaleBill, LastModDate_SaleBill, TransBack_SaleBill, TransBackDate_SaleBill, Amount_SaleBill, Respite_SaleBill, GoodsAmount_SaleBill, TaxAmount_SaleBill, StrikedGoodsAmount_SaleBill, StrikedTaxAmount_SaleBill, No_Customer, Name_Customer, ShortName_Customer, Type_Customer, LastDiscount_Customer, PostalCode_Customer, Name_Creator, Name_Assessor, LastModUserName, No_Location, Name_Location, NumSum, MoneySum, TaxSum, No_Principal, RegistedAddress_Customer }; base.Rows.Add(saleBillRow); return saleBillRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { SaleBillDataTable saleBillDataTable = (SaleBillDataTable)base.Clone(); saleBillDataTable.InitVars(); return saleBillDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new SaleBillDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_SaleBill = base.Columns["No_SaleBill"]; columnDate_SaleBill = base.Columns["Date_SaleBill"]; columnNo_OrderBill = base.Columns["No_OrderBill"]; columnGetMethod_SaleBill = base.Columns["GetMethod_SaleBill"]; columnToGet_SaleBill = base.Columns["ToGet_SaleBill"]; columnName_Linkman = base.Columns["Name_Linkman"]; columnTel_SaleBill = base.Columns["Tel_SaleBill"]; columnFax_SaleBill = base.Columns["Fax_SaleBill"]; columnSendAddr_SaleBill = base.Columns["SendAddr_SaleBill"]; columnInvoiceAddress_Company = base.Columns["InvoiceAddress_Company"]; columnInvoiceTitle_Company = base.Columns["InvoiceTitle_Company"]; columnTaxCurrency_SaleBill = base.Columns["TaxCurrency_SaleBill"]; columnCurrency_SaleBill = base.Columns["Currency_SaleBill"]; columnPrincipal_SaleBill = base.Columns["Principal_SaleBill"]; columnAssessDate_SaleBill = base.Columns["AssessDate_SaleBill"]; columnAssess_SaleBill = base.Columns["Assess_SaleBill"]; columnDisable_SaleBill = base.Columns["Disable_SaleBill"]; columnCreateDate_SaleBill = base.Columns["CreateDate_SaleBill"]; columnLastModDate_SaleBill = base.Columns["LastModDate_SaleBill"]; columnTransBack_SaleBill = base.Columns["TransBack_SaleBill"]; columnTransBackDate_SaleBill = base.Columns["TransBackDate_SaleBill"]; columnAmount_SaleBill = base.Columns["Amount_SaleBill"]; columnRespite_SaleBill = base.Columns["Respite_SaleBill"]; columnGoodsAmount_SaleBill = base.Columns["GoodsAmount_SaleBill"]; columnTaxAmount_SaleBill = base.Columns["TaxAmount_SaleBill"]; columnStrikedGoodsAmount_SaleBill = base.Columns["StrikedGoodsAmount_SaleBill"]; columnStrikedTaxAmount_SaleBill = base.Columns["StrikedTaxAmount_SaleBill"]; columnNo_Customer = base.Columns["No_Customer"]; columnName_Customer = base.Columns["Name_Customer"]; columnShortName_Customer = base.Columns["ShortName_Customer"]; columnType_Customer = base.Columns["Type_Customer"]; columnLastDiscount_Customer = base.Columns["LastDiscount_Customer"]; columnPostalCode_Customer = base.Columns["PostalCode_Customer"]; columnName_Creator = base.Columns["Name_Creator"]; columnName_Assessor = base.Columns["Name_Assessor"]; columnLastModUserName = base.Columns["LastModUserName"]; columnNo_Location = base.Columns["No_Location"]; columnName_Location = base.Columns["Name_Location"]; columnNumSum = base.Columns["NumSum"]; columnMoneySum = base.Columns["MoneySum"]; columnTaxSum = base.Columns["TaxSum"]; columnNo_Principal = base.Columns["No_Principal"]; columnRegistedAddress_Customer = base.Columns["RegistedAddress_Customer"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleBill); columnDate_SaleBill = new DataColumn("Date_SaleBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnDate_SaleBill); columnNo_OrderBill = new DataColumn("No_OrderBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_OrderBill); columnGetMethod_SaleBill = new DataColumn("GetMethod_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnGetMethod_SaleBill); columnToGet_SaleBill = new DataColumn("ToGet_SaleBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnToGet_SaleBill); columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Linkman); columnTel_SaleBill = new DataColumn("Tel_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnTel_SaleBill); columnFax_SaleBill = new DataColumn("Fax_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnFax_SaleBill); columnSendAddr_SaleBill = new DataColumn("SendAddr_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnSendAddr_SaleBill); columnInvoiceAddress_Company = new DataColumn("InvoiceAddress_Company", typeof(string), null, MappingType.Element); base.Columns.Add(columnInvoiceAddress_Company); columnInvoiceTitle_Company = new DataColumn("InvoiceTitle_Company", typeof(string), null, MappingType.Element); base.Columns.Add(columnInvoiceTitle_Company); columnTaxCurrency_SaleBill = new DataColumn("TaxCurrency_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnTaxCurrency_SaleBill); columnCurrency_SaleBill = new DataColumn("Currency_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrency_SaleBill); columnPrincipal_SaleBill = new DataColumn("Principal_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnPrincipal_SaleBill); columnAssessDate_SaleBill = new DataColumn("AssessDate_SaleBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnAssessDate_SaleBill); columnAssess_SaleBill = new DataColumn("Assess_SaleBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnAssess_SaleBill); columnDisable_SaleBill = new DataColumn("Disable_SaleBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnDisable_SaleBill); columnCreateDate_SaleBill = new DataColumn("CreateDate_SaleBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnCreateDate_SaleBill); columnLastModDate_SaleBill = new DataColumn("LastModDate_SaleBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnLastModDate_SaleBill); columnTransBack_SaleBill = new DataColumn("TransBack_SaleBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnTransBack_SaleBill); columnTransBackDate_SaleBill = new DataColumn("TransBackDate_SaleBill", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnTransBackDate_SaleBill); columnAmount_SaleBill = new DataColumn("Amount_SaleBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAmount_SaleBill); columnRespite_SaleBill = new DataColumn("Respite_SaleBill", typeof(bool), null, MappingType.Element); base.Columns.Add(columnRespite_SaleBill); columnGoodsAmount_SaleBill = new DataColumn("GoodsAmount_SaleBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnGoodsAmount_SaleBill); columnTaxAmount_SaleBill = new DataColumn("TaxAmount_SaleBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTaxAmount_SaleBill); columnStrikedGoodsAmount_SaleBill = new DataColumn("StrikedGoodsAmount_SaleBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnStrikedGoodsAmount_SaleBill); columnStrikedTaxAmount_SaleBill = new DataColumn("StrikedTaxAmount_SaleBill", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnStrikedTaxAmount_SaleBill); columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Customer); columnName_Customer = new DataColumn("Name_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Customer); columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnShortName_Customer); columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnType_Customer); columnLastDiscount_Customer = new DataColumn("LastDiscount_Customer", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnLastDiscount_Customer); columnPostalCode_Customer = new DataColumn("PostalCode_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnPostalCode_Customer); 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 = new DataColumn("LastModUserName", typeof(string), null, MappingType.Element); base.Columns.Add(columnLastModUserName); columnNo_Location = new DataColumn("No_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Location); columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Location); columnNumSum = new DataColumn("NumSum", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnNumSum); columnMoneySum = new DataColumn("MoneySum", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnMoneySum); columnTaxSum = new DataColumn("TaxSum", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnTaxSum); columnNo_Principal = new DataColumn("No_Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Principal); columnRegistedAddress_Customer = new DataColumn("RegistedAddress_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnRegistedAddress_Customer); } [DebuggerNonUserCode] public SaleBillRow NewSaleBillRow() { return (SaleBillRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new SaleBillRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(SaleBillRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.SaleBillRowChanged != null) { this.SaleBillRowChanged(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.SaleBillRowChanging != null) { this.SaleBillRowChanging(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.SaleBillRowDeleted != null) { this.SaleBillRowDeleted(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.SaleBillRowDeleting != null) { this.SaleBillRowDeleting(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveSaleBillRow(SaleBillRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill(); xs.Add(dsFrmSaleBill.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 = dsFrmSaleBill.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "SaleBillDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class SaleBillProductDataTable : DataTable, IEnumerable { private DataColumn columnNo_SaleBillProduct; private DataColumn columnType_FromBill; private DataColumn columnNo_FromBill; private DataColumn columnNo_FromBillProduct; private DataColumn columnQuantity_SaleBillProduct; private DataColumn columnUnitPrice_SaleBillProduct; private DataColumn columnDiscount_SaleBillProduct; private DataColumn columnComment_SaleBillProduct; private DataColumn columnNo_Product; private DataColumn columnName_Product; private DataColumn columnUnit_Product; private DataColumn columnLowSalePrice_Product; private DataColumn columnAmount_SaleBillProduct; private DataColumn columnName_BillType; private DataColumn columnNo_SaleBill; [DebuggerNonUserCode] public DataColumn No_SaleBillProductColumn => columnNo_SaleBillProduct; [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_SaleBillProductColumn => columnQuantity_SaleBillProduct; [DebuggerNonUserCode] public DataColumn UnitPrice_SaleBillProductColumn => columnUnitPrice_SaleBillProduct; [DebuggerNonUserCode] public DataColumn Discount_SaleBillProductColumn => columnDiscount_SaleBillProduct; [DebuggerNonUserCode] public DataColumn Comment_SaleBillProductColumn => columnComment_SaleBillProduct; [DebuggerNonUserCode] public DataColumn No_ProductColumn => columnNo_Product; [DebuggerNonUserCode] public DataColumn Name_ProductColumn => columnName_Product; [DebuggerNonUserCode] public DataColumn Unit_ProductColumn => columnUnit_Product; [DebuggerNonUserCode] public DataColumn LowSalePrice_ProductColumn => columnLowSalePrice_Product; [DebuggerNonUserCode] public DataColumn Amount_SaleBillProductColumn => columnAmount_SaleBillProduct; [DebuggerNonUserCode] public DataColumn Name_BillTypeColumn => columnName_BillType; [DebuggerNonUserCode] public DataColumn No_SaleBillColumn => columnNo_SaleBill; [Browsable(false)] [DebuggerNonUserCode] public int Count => base.Rows.Count; [DebuggerNonUserCode] public SaleBillProductRow this[int index] => (SaleBillProductRow)base.Rows[index]; public event SaleBillProductRowChangeEventHandler SaleBillProductRowChanging; public event SaleBillProductRowChangeEventHandler SaleBillProductRowChanged; public event SaleBillProductRowChangeEventHandler SaleBillProductRowDeleting; public event SaleBillProductRowChangeEventHandler SaleBillProductRowDeleted; [DebuggerNonUserCode] public SaleBillProductDataTable() { base.TableName = "SaleBillProduct"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal SaleBillProductDataTable(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 SaleBillProductDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddSaleBillProductRow(SaleBillProductRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public SaleBillProductRow AddSaleBillProductRow(string No_SaleBillProduct, int Type_FromBill, string No_FromBill, string No_FromBillProduct, decimal Quantity_SaleBillProduct, decimal UnitPrice_SaleBillProduct, decimal Discount_SaleBillProduct, string Comment_SaleBillProduct, string No_Product, string Name_Product, string Unit_Product, decimal LowSalePrice_Product, decimal Amount_SaleBillProduct, string Name_BillType, string No_SaleBill) { SaleBillProductRow saleBillProductRow = (SaleBillProductRow)NewRow(); saleBillProductRow.ItemArray = new object[15] { No_SaleBillProduct, Type_FromBill, No_FromBill, No_FromBillProduct, Quantity_SaleBillProduct, UnitPrice_SaleBillProduct, Discount_SaleBillProduct, Comment_SaleBillProduct, No_Product, Name_Product, Unit_Product, LowSalePrice_Product, Amount_SaleBillProduct, Name_BillType, No_SaleBill }; base.Rows.Add(saleBillProductRow); return saleBillProductRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { SaleBillProductDataTable saleBillProductDataTable = (SaleBillProductDataTable)base.Clone(); saleBillProductDataTable.InitVars(); return saleBillProductDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new SaleBillProductDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_SaleBillProduct = base.Columns["No_SaleBillProduct"]; columnType_FromBill = base.Columns["Type_FromBill"]; columnNo_FromBill = base.Columns["No_FromBill"]; columnNo_FromBillProduct = base.Columns["No_FromBillProduct"]; columnQuantity_SaleBillProduct = base.Columns["Quantity_SaleBillProduct"]; columnUnitPrice_SaleBillProduct = base.Columns["UnitPrice_SaleBillProduct"]; columnDiscount_SaleBillProduct = base.Columns["Discount_SaleBillProduct"]; columnComment_SaleBillProduct = base.Columns["Comment_SaleBillProduct"]; columnNo_Product = base.Columns["No_Product"]; columnName_Product = base.Columns["Name_Product"]; columnUnit_Product = base.Columns["Unit_Product"]; columnLowSalePrice_Product = base.Columns["LowSalePrice_Product"]; columnAmount_SaleBillProduct = base.Columns["Amount_SaleBillProduct"]; columnName_BillType = base.Columns["Name_BillType"]; columnNo_SaleBill = base.Columns["No_SaleBill"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_SaleBillProduct = new DataColumn("No_SaleBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleBillProduct); 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_SaleBillProduct = new DataColumn("Quantity_SaleBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnQuantity_SaleBillProduct); columnUnitPrice_SaleBillProduct = new DataColumn("UnitPrice_SaleBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnUnitPrice_SaleBillProduct); columnDiscount_SaleBillProduct = new DataColumn("Discount_SaleBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnDiscount_SaleBillProduct); columnComment_SaleBillProduct = new DataColumn("Comment_SaleBillProduct", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_SaleBillProduct); columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Product); columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Product); columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnUnit_Product); columnLowSalePrice_Product = new DataColumn("LowSalePrice_Product", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnLowSalePrice_Product); columnAmount_SaleBillProduct = new DataColumn("Amount_SaleBillProduct", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAmount_SaleBillProduct); columnName_BillType = new DataColumn("Name_BillType", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_BillType); columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleBill); } [DebuggerNonUserCode] public SaleBillProductRow NewSaleBillProductRow() { return (SaleBillProductRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new SaleBillProductRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(SaleBillProductRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.SaleBillProductRowChanged != null) { this.SaleBillProductRowChanged(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.SaleBillProductRowChanging != null) { this.SaleBillProductRowChanging(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.SaleBillProductRowDeleted != null) { this.SaleBillProductRowDeleted(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.SaleBillProductRowDeleting != null) { this.SaleBillProductRowDeleting(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveSaleBillProductRow(SaleBillProductRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill(); xs.Add(dsFrmSaleBill.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 = dsFrmSaleBill.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "SaleBillProductDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class ReportCommentDataTable : DataTable, IEnumerable { private DataColumn columnComment_ReportComment; private DataColumn columnNo_SaleBill; [DebuggerNonUserCode] public DataColumn Comment_ReportCommentColumn => columnComment_ReportComment; [DebuggerNonUserCode] public DataColumn No_SaleBillColumn => columnNo_SaleBill; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public ReportCommentRow this[int index] => (ReportCommentRow)base.Rows[index]; public event ReportCommentRowChangeEventHandler ReportCommentRowChanging; public event ReportCommentRowChangeEventHandler ReportCommentRowChanged; public event ReportCommentRowChangeEventHandler ReportCommentRowDeleting; public event ReportCommentRowChangeEventHandler ReportCommentRowDeleted; [DebuggerNonUserCode] public ReportCommentDataTable() { base.TableName = "ReportComment"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal ReportCommentDataTable(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 ReportCommentDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddReportCommentRow(ReportCommentRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public ReportCommentRow AddReportCommentRow(string Comment_ReportComment, string No_SaleBill) { ReportCommentRow reportCommentRow = (ReportCommentRow)NewRow(); reportCommentRow.ItemArray = new object[2] { Comment_ReportComment, No_SaleBill }; base.Rows.Add(reportCommentRow); return reportCommentRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { ReportCommentDataTable reportCommentDataTable = (ReportCommentDataTable)base.Clone(); reportCommentDataTable.InitVars(); return reportCommentDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new ReportCommentDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnComment_ReportComment = base.Columns["Comment_ReportComment"]; columnNo_SaleBill = base.Columns["No_SaleBill"]; } [DebuggerNonUserCode] private void InitClass() { columnComment_ReportComment = new DataColumn("Comment_ReportComment", typeof(string), null, MappingType.Element); base.Columns.Add(columnComment_ReportComment); columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_SaleBill); } [DebuggerNonUserCode] public ReportCommentRow NewReportCommentRow() { return (ReportCommentRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new ReportCommentRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(ReportCommentRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.ReportCommentRowChanged != null) { this.ReportCommentRowChanged(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.ReportCommentRowChanging != null) { this.ReportCommentRowChanging(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.ReportCommentRowDeleted != null) { this.ReportCommentRowDeleted(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.ReportCommentRowDeleting != null) { this.ReportCommentRowDeleting(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveReportCommentRow(ReportCommentRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill(); xs.Add(dsFrmSaleBill.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 = dsFrmSaleBill.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "ReportCommentDataTable"; 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(); dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill(); xs.Add(dsFrmSaleBill.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 = dsFrmSaleBill.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 SaleBillRow : DataRow { private SaleBillDataTable tableSaleBill; [DebuggerNonUserCode] public string No_SaleBill { get { try { return (string)base[tableSaleBill.No_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.No_SaleBillColumn] = value; } } [DebuggerNonUserCode] public DateTime Date_SaleBill { get { try { return (DateTime)base[tableSaleBill.Date_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Date_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Date_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string No_OrderBill { get { try { return (string)base[tableSaleBill.No_OrderBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_OrderBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.No_OrderBillColumn] = value; } } [DebuggerNonUserCode] public string GetMethod_SaleBill { get { try { return (string)base[tableSaleBill.GetMethod_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'GetMethod_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.GetMethod_SaleBillColumn] = value; } } [DebuggerNonUserCode] public decimal ToGet_SaleBill { get { try { return (decimal)base[tableSaleBill.ToGet_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ToGet_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.ToGet_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string Name_Linkman { get { try { return (string)base[tableSaleBill.Name_LinkmanColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Linkman' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Name_LinkmanColumn] = value; } } [DebuggerNonUserCode] public string Tel_SaleBill { get { try { return (string)base[tableSaleBill.Tel_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Tel_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Tel_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string Fax_SaleBill { get { try { return (string)base[tableSaleBill.Fax_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Fax_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Fax_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string SendAddr_SaleBill { get { try { return (string)base[tableSaleBill.SendAddr_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'SendAddr_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.SendAddr_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string InvoiceAddress_Company { get { try { return (string)base[tableSaleBill.InvoiceAddress_CompanyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'InvoiceAddress_Company' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.InvoiceAddress_CompanyColumn] = value; } } [DebuggerNonUserCode] public string InvoiceTitle_Company { get { try { return (string)base[tableSaleBill.InvoiceTitle_CompanyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'InvoiceTitle_Company' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.InvoiceTitle_CompanyColumn] = value; } } [DebuggerNonUserCode] public string TaxCurrency_SaleBill { get { try { return (string)base[tableSaleBill.TaxCurrency_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxCurrency_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.TaxCurrency_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string Currency_SaleBill { get { try { return (string)base[tableSaleBill.Currency_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Currency_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Currency_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string Principal_SaleBill { get { try { return (string)base[tableSaleBill.Principal_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Principal_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Principal_SaleBillColumn] = value; } } [DebuggerNonUserCode] public DateTime AssessDate_SaleBill { get { try { return (DateTime)base[tableSaleBill.AssessDate_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'AssessDate_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.AssessDate_SaleBillColumn] = value; } } [DebuggerNonUserCode] public bool Assess_SaleBill { get { try { return (bool)base[tableSaleBill.Assess_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Assess_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Assess_SaleBillColumn] = value; } } [DebuggerNonUserCode] public bool Disable_SaleBill { get { try { return (bool)base[tableSaleBill.Disable_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Disable_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Disable_SaleBillColumn] = value; } } [DebuggerNonUserCode] public DateTime CreateDate_SaleBill { get { try { return (DateTime)base[tableSaleBill.CreateDate_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CreateDate_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.CreateDate_SaleBillColumn] = value; } } [DebuggerNonUserCode] public DateTime LastModDate_SaleBill { get { try { return (DateTime)base[tableSaleBill.LastModDate_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModDate_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.LastModDate_SaleBillColumn] = value; } } [DebuggerNonUserCode] public bool TransBack_SaleBill { get { try { return (bool)base[tableSaleBill.TransBack_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TransBack_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.TransBack_SaleBillColumn] = value; } } [DebuggerNonUserCode] public DateTime TransBackDate_SaleBill { get { try { return (DateTime)base[tableSaleBill.TransBackDate_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TransBackDate_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.TransBackDate_SaleBillColumn] = value; } } [DebuggerNonUserCode] public decimal Amount_SaleBill { get { try { return (decimal)base[tableSaleBill.Amount_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Amount_SaleBillColumn] = value; } } [DebuggerNonUserCode] public bool Respite_SaleBill { get { try { return (bool)base[tableSaleBill.Respite_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Respite_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Respite_SaleBillColumn] = value; } } [DebuggerNonUserCode] public decimal GoodsAmount_SaleBill { get { try { return (decimal)base[tableSaleBill.GoodsAmount_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'GoodsAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.GoodsAmount_SaleBillColumn] = value; } } [DebuggerNonUserCode] public decimal TaxAmount_SaleBill { get { try { return (decimal)base[tableSaleBill.TaxAmount_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.TaxAmount_SaleBillColumn] = value; } } [DebuggerNonUserCode] public decimal StrikedGoodsAmount_SaleBill { get { try { return (decimal)base[tableSaleBill.StrikedGoodsAmount_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StrikedGoodsAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.StrikedGoodsAmount_SaleBillColumn] = value; } } [DebuggerNonUserCode] public decimal StrikedTaxAmount_SaleBill { get { try { return (decimal)base[tableSaleBill.StrikedTaxAmount_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StrikedTaxAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.StrikedTaxAmount_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string No_Customer { get { try { return (string)base[tableSaleBill.No_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.No_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Name_Customer { get { try { return (string)base[tableSaleBill.Name_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Name_CustomerColumn] = value; } } [DebuggerNonUserCode] public string ShortName_Customer { get { try { return (string)base[tableSaleBill.ShortName_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.ShortName_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Type_Customer { get { try { return (string)base[tableSaleBill.Type_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Type_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Type_CustomerColumn] = value; } } [DebuggerNonUserCode] public decimal LastDiscount_Customer { get { try { return (decimal)base[tableSaleBill.LastDiscount_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastDiscount_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.LastDiscount_CustomerColumn] = value; } } [DebuggerNonUserCode] public string PostalCode_Customer { get { try { return (string)base[tableSaleBill.PostalCode_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'PostalCode_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.PostalCode_CustomerColumn] = value; } } [DebuggerNonUserCode] public string Name_Creator { get { try { return (string)base[tableSaleBill.Name_CreatorColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Creator' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Name_CreatorColumn] = value; } } [DebuggerNonUserCode] public string Name_Assessor { get { try { return (string)base[tableSaleBill.Name_AssessorColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Assessor' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Name_AssessorColumn] = value; } } [DebuggerNonUserCode] public string LastModUserName { get { try { return (string)base[tableSaleBill.LastModUserNameColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LastModUserName' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.LastModUserNameColumn] = value; } } [DebuggerNonUserCode] public string No_Location { get { try { return (string)base[tableSaleBill.No_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Location' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.No_LocationColumn] = value; } } [DebuggerNonUserCode] public string Name_Location { get { try { return (string)base[tableSaleBill.Name_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Location' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.Name_LocationColumn] = value; } } [DebuggerNonUserCode] public decimal NumSum { get { try { return (decimal)base[tableSaleBill.NumSumColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'NumSum' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.NumSumColumn] = value; } } [DebuggerNonUserCode] public decimal MoneySum { get { try { return (decimal)base[tableSaleBill.MoneySumColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'MoneySum' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.MoneySumColumn] = value; } } [DebuggerNonUserCode] public decimal TaxSum { get { try { return (decimal)base[tableSaleBill.TaxSumColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxSum' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.TaxSumColumn] = value; } } [DebuggerNonUserCode] public string No_Principal { get { try { return (string)base[tableSaleBill.No_PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Principal' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.No_PrincipalColumn] = value; } } [DebuggerNonUserCode] public string RegistedAddress_Customer { get { try { return (string)base[tableSaleBill.RegistedAddress_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'RegistedAddress_Customer' in table 'SaleBill' is DBNull.", innerException); } } set { base[tableSaleBill.RegistedAddress_CustomerColumn] = value; } } [DebuggerNonUserCode] internal SaleBillRow(DataRowBuilder rb) : base(rb) { tableSaleBill = (SaleBillDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_SaleBillNull() { return IsNull(tableSaleBill.No_SaleBillColumn); } [DebuggerNonUserCode] public void SetNo_SaleBillNull() { base[tableSaleBill.No_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsDate_SaleBillNull() { return IsNull(tableSaleBill.Date_SaleBillColumn); } [DebuggerNonUserCode] public void SetDate_SaleBillNull() { base[tableSaleBill.Date_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_OrderBillNull() { return IsNull(tableSaleBill.No_OrderBillColumn); } [DebuggerNonUserCode] public void SetNo_OrderBillNull() { base[tableSaleBill.No_OrderBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsGetMethod_SaleBillNull() { return IsNull(tableSaleBill.GetMethod_SaleBillColumn); } [DebuggerNonUserCode] public void SetGetMethod_SaleBillNull() { base[tableSaleBill.GetMethod_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsToGet_SaleBillNull() { return IsNull(tableSaleBill.ToGet_SaleBillColumn); } [DebuggerNonUserCode] public void SetToGet_SaleBillNull() { base[tableSaleBill.ToGet_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_LinkmanNull() { return IsNull(tableSaleBill.Name_LinkmanColumn); } [DebuggerNonUserCode] public void SetName_LinkmanNull() { base[tableSaleBill.Name_LinkmanColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTel_SaleBillNull() { return IsNull(tableSaleBill.Tel_SaleBillColumn); } [DebuggerNonUserCode] public void SetTel_SaleBillNull() { base[tableSaleBill.Tel_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsFax_SaleBillNull() { return IsNull(tableSaleBill.Fax_SaleBillColumn); } [DebuggerNonUserCode] public void SetFax_SaleBillNull() { base[tableSaleBill.Fax_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsSendAddr_SaleBillNull() { return IsNull(tableSaleBill.SendAddr_SaleBillColumn); } [DebuggerNonUserCode] public void SetSendAddr_SaleBillNull() { base[tableSaleBill.SendAddr_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsInvoiceAddress_CompanyNull() { return IsNull(tableSaleBill.InvoiceAddress_CompanyColumn); } [DebuggerNonUserCode] public void SetInvoiceAddress_CompanyNull() { base[tableSaleBill.InvoiceAddress_CompanyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsInvoiceTitle_CompanyNull() { return IsNull(tableSaleBill.InvoiceTitle_CompanyColumn); } [DebuggerNonUserCode] public void SetInvoiceTitle_CompanyNull() { base[tableSaleBill.InvoiceTitle_CompanyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxCurrency_SaleBillNull() { return IsNull(tableSaleBill.TaxCurrency_SaleBillColumn); } [DebuggerNonUserCode] public void SetTaxCurrency_SaleBillNull() { base[tableSaleBill.TaxCurrency_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrency_SaleBillNull() { return IsNull(tableSaleBill.Currency_SaleBillColumn); } [DebuggerNonUserCode] public void SetCurrency_SaleBillNull() { base[tableSaleBill.Currency_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsPrincipal_SaleBillNull() { return IsNull(tableSaleBill.Principal_SaleBillColumn); } [DebuggerNonUserCode] public void SetPrincipal_SaleBillNull() { base[tableSaleBill.Principal_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAssessDate_SaleBillNull() { return IsNull(tableSaleBill.AssessDate_SaleBillColumn); } [DebuggerNonUserCode] public void SetAssessDate_SaleBillNull() { base[tableSaleBill.AssessDate_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAssess_SaleBillNull() { return IsNull(tableSaleBill.Assess_SaleBillColumn); } [DebuggerNonUserCode] public void SetAssess_SaleBillNull() { base[tableSaleBill.Assess_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsDisable_SaleBillNull() { return IsNull(tableSaleBill.Disable_SaleBillColumn); } [DebuggerNonUserCode] public void SetDisable_SaleBillNull() { base[tableSaleBill.Disable_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCreateDate_SaleBillNull() { return IsNull(tableSaleBill.CreateDate_SaleBillColumn); } [DebuggerNonUserCode] public void SetCreateDate_SaleBillNull() { base[tableSaleBill.CreateDate_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModDate_SaleBillNull() { return IsNull(tableSaleBill.LastModDate_SaleBillColumn); } [DebuggerNonUserCode] public void SetLastModDate_SaleBillNull() { base[tableSaleBill.LastModDate_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTransBack_SaleBillNull() { return IsNull(tableSaleBill.TransBack_SaleBillColumn); } [DebuggerNonUserCode] public void SetTransBack_SaleBillNull() { base[tableSaleBill.TransBack_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTransBackDate_SaleBillNull() { return IsNull(tableSaleBill.TransBackDate_SaleBillColumn); } [DebuggerNonUserCode] public void SetTransBackDate_SaleBillNull() { base[tableSaleBill.TransBackDate_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmount_SaleBillNull() { return IsNull(tableSaleBill.Amount_SaleBillColumn); } [DebuggerNonUserCode] public void SetAmount_SaleBillNull() { base[tableSaleBill.Amount_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsRespite_SaleBillNull() { return IsNull(tableSaleBill.Respite_SaleBillColumn); } [DebuggerNonUserCode] public void SetRespite_SaleBillNull() { base[tableSaleBill.Respite_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsGoodsAmount_SaleBillNull() { return IsNull(tableSaleBill.GoodsAmount_SaleBillColumn); } [DebuggerNonUserCode] public void SetGoodsAmount_SaleBillNull() { base[tableSaleBill.GoodsAmount_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxAmount_SaleBillNull() { return IsNull(tableSaleBill.TaxAmount_SaleBillColumn); } [DebuggerNonUserCode] public void SetTaxAmount_SaleBillNull() { base[tableSaleBill.TaxAmount_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStrikedGoodsAmount_SaleBillNull() { return IsNull(tableSaleBill.StrikedGoodsAmount_SaleBillColumn); } [DebuggerNonUserCode] public void SetStrikedGoodsAmount_SaleBillNull() { base[tableSaleBill.StrikedGoodsAmount_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStrikedTaxAmount_SaleBillNull() { return IsNull(tableSaleBill.StrikedTaxAmount_SaleBillColumn); } [DebuggerNonUserCode] public void SetStrikedTaxAmount_SaleBillNull() { base[tableSaleBill.StrikedTaxAmount_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_CustomerNull() { return IsNull(tableSaleBill.No_CustomerColumn); } [DebuggerNonUserCode] public void SetNo_CustomerNull() { base[tableSaleBill.No_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_CustomerNull() { return IsNull(tableSaleBill.Name_CustomerColumn); } [DebuggerNonUserCode] public void SetName_CustomerNull() { base[tableSaleBill.Name_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsShortName_CustomerNull() { return IsNull(tableSaleBill.ShortName_CustomerColumn); } [DebuggerNonUserCode] public void SetShortName_CustomerNull() { base[tableSaleBill.ShortName_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsType_CustomerNull() { return IsNull(tableSaleBill.Type_CustomerColumn); } [DebuggerNonUserCode] public void SetType_CustomerNull() { base[tableSaleBill.Type_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastDiscount_CustomerNull() { return IsNull(tableSaleBill.LastDiscount_CustomerColumn); } [DebuggerNonUserCode] public void SetLastDiscount_CustomerNull() { base[tableSaleBill.LastDiscount_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsPostalCode_CustomerNull() { return IsNull(tableSaleBill.PostalCode_CustomerColumn); } [DebuggerNonUserCode] public void SetPostalCode_CustomerNull() { base[tableSaleBill.PostalCode_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_CreatorNull() { return IsNull(tableSaleBill.Name_CreatorColumn); } [DebuggerNonUserCode] public void SetName_CreatorNull() { base[tableSaleBill.Name_CreatorColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_AssessorNull() { return IsNull(tableSaleBill.Name_AssessorColumn); } [DebuggerNonUserCode] public void SetName_AssessorNull() { base[tableSaleBill.Name_AssessorColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLastModUserNameNull() { return IsNull(tableSaleBill.LastModUserNameColumn); } [DebuggerNonUserCode] public void SetLastModUserNameNull() { base[tableSaleBill.LastModUserNameColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_LocationNull() { return IsNull(tableSaleBill.No_LocationColumn); } [DebuggerNonUserCode] public void SetNo_LocationNull() { base[tableSaleBill.No_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_LocationNull() { return IsNull(tableSaleBill.Name_LocationColumn); } [DebuggerNonUserCode] public void SetName_LocationNull() { base[tableSaleBill.Name_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNumSumNull() { return IsNull(tableSaleBill.NumSumColumn); } [DebuggerNonUserCode] public void SetNumSumNull() { base[tableSaleBill.NumSumColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsMoneySumNull() { return IsNull(tableSaleBill.MoneySumColumn); } [DebuggerNonUserCode] public void SetMoneySumNull() { base[tableSaleBill.MoneySumColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxSumNull() { return IsNull(tableSaleBill.TaxSumColumn); } [DebuggerNonUserCode] public void SetTaxSumNull() { base[tableSaleBill.TaxSumColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_PrincipalNull() { return IsNull(tableSaleBill.No_PrincipalColumn); } [DebuggerNonUserCode] public void SetNo_PrincipalNull() { base[tableSaleBill.No_PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsRegistedAddress_CustomerNull() { return IsNull(tableSaleBill.RegistedAddress_CustomerColumn); } [DebuggerNonUserCode] public void SetRegistedAddress_CustomerNull() { base[tableSaleBill.RegistedAddress_CustomerColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleBillProductRow : DataRow { private SaleBillProductDataTable tableSaleBillProduct; [DebuggerNonUserCode] public string No_SaleBillProduct { get { try { return (string)base[tableSaleBillProduct.No_SaleBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.No_SaleBillProductColumn] = value; } } [DebuggerNonUserCode] public int Type_FromBill { get { try { return (int)base[tableSaleBillProduct.Type_FromBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Type_FromBill' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Type_FromBillColumn] = value; } } [DebuggerNonUserCode] public string No_FromBill { get { try { return (string)base[tableSaleBillProduct.No_FromBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_FromBill' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.No_FromBillColumn] = value; } } [DebuggerNonUserCode] public string No_FromBillProduct { get { try { return (string)base[tableSaleBillProduct.No_FromBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.No_FromBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal Quantity_SaleBillProduct { get { try { return (decimal)base[tableSaleBillProduct.Quantity_SaleBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Quantity_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Quantity_SaleBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal UnitPrice_SaleBillProduct { get { try { return (decimal)base[tableSaleBillProduct.UnitPrice_SaleBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'UnitPrice_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.UnitPrice_SaleBillProductColumn] = value; } } [DebuggerNonUserCode] public decimal Discount_SaleBillProduct { get { try { return (decimal)base[tableSaleBillProduct.Discount_SaleBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Discount_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Discount_SaleBillProductColumn] = value; } } [DebuggerNonUserCode] public string Comment_SaleBillProduct { get { try { return (string)base[tableSaleBillProduct.Comment_SaleBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Comment_SaleBillProductColumn] = value; } } [DebuggerNonUserCode] public string No_Product { get { try { return (string)base[tableSaleBillProduct.No_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Product' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.No_ProductColumn] = value; } } [DebuggerNonUserCode] public string Name_Product { get { try { return (string)base[tableSaleBillProduct.Name_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Product' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Name_ProductColumn] = value; } } [DebuggerNonUserCode] public string Unit_Product { get { try { return (string)base[tableSaleBillProduct.Unit_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Unit_Product' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Unit_ProductColumn] = value; } } [DebuggerNonUserCode] public decimal LowSalePrice_Product { get { try { return (decimal)base[tableSaleBillProduct.LowSalePrice_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'LowSalePrice_Product' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.LowSalePrice_ProductColumn] = value; } } [DebuggerNonUserCode] public decimal Amount_SaleBillProduct { get { try { return (decimal)base[tableSaleBillProduct.Amount_SaleBillProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Amount_SaleBillProductColumn] = value; } } [DebuggerNonUserCode] public string Name_BillType { get { try { return (string)base[tableSaleBillProduct.Name_BillTypeColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_BillType' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.Name_BillTypeColumn] = value; } } [DebuggerNonUserCode] public string No_SaleBill { get { try { return (string)base[tableSaleBillProduct.No_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleBill' in table 'SaleBillProduct' is DBNull.", innerException); } } set { base[tableSaleBillProduct.No_SaleBillColumn] = value; } } [DebuggerNonUserCode] internal SaleBillProductRow(DataRowBuilder rb) : base(rb) { tableSaleBillProduct = (SaleBillProductDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_SaleBillProductNull() { return IsNull(tableSaleBillProduct.No_SaleBillProductColumn); } [DebuggerNonUserCode] public void SetNo_SaleBillProductNull() { base[tableSaleBillProduct.No_SaleBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsType_FromBillNull() { return IsNull(tableSaleBillProduct.Type_FromBillColumn); } [DebuggerNonUserCode] public void SetType_FromBillNull() { base[tableSaleBillProduct.Type_FromBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_FromBillNull() { return IsNull(tableSaleBillProduct.No_FromBillColumn); } [DebuggerNonUserCode] public void SetNo_FromBillNull() { base[tableSaleBillProduct.No_FromBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_FromBillProductNull() { return IsNull(tableSaleBillProduct.No_FromBillProductColumn); } [DebuggerNonUserCode] public void SetNo_FromBillProductNull() { base[tableSaleBillProduct.No_FromBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsQuantity_SaleBillProductNull() { return IsNull(tableSaleBillProduct.Quantity_SaleBillProductColumn); } [DebuggerNonUserCode] public void SetQuantity_SaleBillProductNull() { base[tableSaleBillProduct.Quantity_SaleBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnitPrice_SaleBillProductNull() { return IsNull(tableSaleBillProduct.UnitPrice_SaleBillProductColumn); } [DebuggerNonUserCode] public void SetUnitPrice_SaleBillProductNull() { base[tableSaleBillProduct.UnitPrice_SaleBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsDiscount_SaleBillProductNull() { return IsNull(tableSaleBillProduct.Discount_SaleBillProductColumn); } [DebuggerNonUserCode] public void SetDiscount_SaleBillProductNull() { base[tableSaleBillProduct.Discount_SaleBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsComment_SaleBillProductNull() { return IsNull(tableSaleBillProduct.Comment_SaleBillProductColumn); } [DebuggerNonUserCode] public void SetComment_SaleBillProductNull() { base[tableSaleBillProduct.Comment_SaleBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_ProductNull() { return IsNull(tableSaleBillProduct.No_ProductColumn); } [DebuggerNonUserCode] public void SetNo_ProductNull() { base[tableSaleBillProduct.No_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_ProductNull() { return IsNull(tableSaleBillProduct.Name_ProductColumn); } [DebuggerNonUserCode] public void SetName_ProductNull() { base[tableSaleBillProduct.Name_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnit_ProductNull() { return IsNull(tableSaleBillProduct.Unit_ProductColumn); } [DebuggerNonUserCode] public void SetUnit_ProductNull() { base[tableSaleBillProduct.Unit_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsLowSalePrice_ProductNull() { return IsNull(tableSaleBillProduct.LowSalePrice_ProductColumn); } [DebuggerNonUserCode] public void SetLowSalePrice_ProductNull() { base[tableSaleBillProduct.LowSalePrice_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmount_SaleBillProductNull() { return IsNull(tableSaleBillProduct.Amount_SaleBillProductColumn); } [DebuggerNonUserCode] public void SetAmount_SaleBillProductNull() { base[tableSaleBillProduct.Amount_SaleBillProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_BillTypeNull() { return IsNull(tableSaleBillProduct.Name_BillTypeColumn); } [DebuggerNonUserCode] public void SetName_BillTypeNull() { base[tableSaleBillProduct.Name_BillTypeColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_SaleBillNull() { return IsNull(tableSaleBillProduct.No_SaleBillColumn); } [DebuggerNonUserCode] public void SetNo_SaleBillNull() { base[tableSaleBillProduct.No_SaleBillColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class ReportCommentRow : DataRow { private ReportCommentDataTable tableReportComment; [DebuggerNonUserCode] public string Comment_ReportComment { get { try { return (string)base[tableReportComment.Comment_ReportCommentColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Comment_ReportComment' in table 'ReportComment' is DBNull.", innerException); } } set { base[tableReportComment.Comment_ReportCommentColumn] = value; } } [DebuggerNonUserCode] public string No_SaleBill { get { try { return (string)base[tableReportComment.No_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_SaleBill' in table 'ReportComment' is DBNull.", innerException); } } set { base[tableReportComment.No_SaleBillColumn] = value; } } [DebuggerNonUserCode] internal ReportCommentRow(DataRowBuilder rb) : base(rb) { tableReportComment = (ReportCommentDataTable)base.Table; } [DebuggerNonUserCode] public bool IsComment_ReportCommentNull() { return IsNull(tableReportComment.Comment_ReportCommentColumn); } [DebuggerNonUserCode] public void SetComment_ReportCommentNull() { base[tableReportComment.Comment_ReportCommentColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_SaleBillNull() { return IsNull(tableReportComment.No_SaleBillColumn); } [DebuggerNonUserCode] public void SetNo_SaleBillNull() { base[tableReportComment.No_SaleBillColumn] = 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 SaleBillRowChangeEvent : EventArgs { private SaleBillRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public SaleBillRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public SaleBillRowChangeEvent(SaleBillRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class SaleBillProductRowChangeEvent : EventArgs { private SaleBillProductRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public SaleBillProductRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public SaleBillProductRowChangeEvent(SaleBillProductRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class ReportCommentRowChangeEvent : EventArgs { private ReportCommentRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public ReportCommentRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public ReportCommentRowChangeEvent(ReportCommentRow 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 SaleBillDataTable tableSaleBill; private SaleBillProductDataTable tableSaleBillProduct; private ReportCommentDataTable tableReportComment; private AppendInfoDataTable tableAppendInfo; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [DebuggerNonUserCode] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public SaleBillDataTable SaleBill => tableSaleBill; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] [Browsable(false)] public SaleBillProductDataTable SaleBillProduct => tableSaleBillProduct; [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] public ReportCommentDataTable ReportComment => tableReportComment; [DebuggerNonUserCode] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] 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 dsFrmSaleBill() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsFrmSaleBill(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["SaleBill"] != null) { base.Tables.Add(new SaleBillDataTable(dataSet.Tables["SaleBill"])); } if (dataSet.Tables["SaleBillProduct"] != null) { base.Tables.Add(new SaleBillProductDataTable(dataSet.Tables["SaleBillProduct"])); } if (dataSet.Tables["ReportComment"] != null) { base.Tables.Add(new ReportCommentDataTable(dataSet.Tables["ReportComment"])); } 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() { dsFrmSaleBill dsFrmSaleBill = (dsFrmSaleBill)base.Clone(); dsFrmSaleBill.InitVars(); dsFrmSaleBill.SchemaSerializationMode = SchemaSerializationMode; return dsFrmSaleBill; } [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["SaleBill"] != null) { base.Tables.Add(new SaleBillDataTable(dataSet.Tables["SaleBill"])); } if (dataSet.Tables["SaleBillProduct"] != null) { base.Tables.Add(new SaleBillProductDataTable(dataSet.Tables["SaleBillProduct"])); } if (dataSet.Tables["ReportComment"] != null) { base.Tables.Add(new ReportCommentDataTable(dataSet.Tables["ReportComment"])); } 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) { tableSaleBill = (SaleBillDataTable)base.Tables["SaleBill"]; if (initTable && tableSaleBill != null) { tableSaleBill.InitVars(); } tableSaleBillProduct = (SaleBillProductDataTable)base.Tables["SaleBillProduct"]; if (initTable && tableSaleBillProduct != null) { tableSaleBillProduct.InitVars(); } tableReportComment = (ReportCommentDataTable)base.Tables["ReportComment"]; if (initTable && tableReportComment != null) { tableReportComment.InitVars(); } tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"]; if (initTable && tableAppendInfo != null) { tableAppendInfo.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsFrmSaleBill"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsFrmSaleBill.xsd"; base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableSaleBill = new SaleBillDataTable(); base.Tables.Add(tableSaleBill); tableSaleBillProduct = new SaleBillProductDataTable(); base.Tables.Add(tableSaleBillProduct); tableReportComment = new ReportCommentDataTable(); base.Tables.Add(tableReportComment); tableAppendInfo = new AppendInfoDataTable(); base.Tables.Add(tableAppendInfo); } [DebuggerNonUserCode] private bool ShouldSerializeSaleBill() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeSaleBillProduct() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeReportComment() { 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) { dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); xs.Add(dsFrmSaleBill.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsFrmSaleBill.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } }