using System; using System.CodeDom.Compiler; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Data; using System.Diagnostics; using System.Globalization; using System.IO; using System.Runtime.Serialization; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet { [Serializable] [XmlRoot("dsGetFrmSalesStatisticsLocation")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [DesignerCategory("code")] [XmlSchemaProvider("GetTypedDataSetSchema")] [HelpKeyword("vs.data.DataSet")] [ToolboxItem(true)] public class dsGetFrmSalesStatisticsLocation : DataSet { public delegate void GetRowChangeEventHandler(object sender, GetRowChangeEvent e); public delegate void FrmSalesStatisticsLocationRowChangeEventHandler(object sender, FrmSalesStatisticsLocationRowChangeEvent e); [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class GetDataTable : DataTable, IEnumerable { private DataColumn columnStartDate; private DataColumn columnEndDate; private DataColumn columnStartNo_SaleBill; private DataColumn columnEndNo_SaleBill; private DataColumn columnStartNo_Customer; private DataColumn columnEndNo_Customer; private DataColumn columnStartNo_Principal; private DataColumn columnEndNo_Principal; private DataColumn columnStartNo_Location; private DataColumn columnEndNo_Location; private DataColumn columnStartNo_Product; private DataColumn columnEndNo_Product; private DataColumn columnStartType_Product; private DataColumn columnEndType_Product; private DataColumn columnCompany; private DataColumn columnName_Create; private DataColumn columnCombine; private DataColumn columnStartZone_Customer; private DataColumn columnEndZone_Customer; [DebuggerNonUserCode] public DataColumn StartDateColumn => columnStartDate; [DebuggerNonUserCode] public DataColumn EndDateColumn => columnEndDate; [DebuggerNonUserCode] public DataColumn StartNo_SaleBillColumn => columnStartNo_SaleBill; [DebuggerNonUserCode] public DataColumn EndNo_SaleBillColumn => columnEndNo_SaleBill; [DebuggerNonUserCode] public DataColumn StartNo_CustomerColumn => columnStartNo_Customer; [DebuggerNonUserCode] public DataColumn EndNo_CustomerColumn => columnEndNo_Customer; [DebuggerNonUserCode] public DataColumn StartNo_PrincipalColumn => columnStartNo_Principal; [DebuggerNonUserCode] public DataColumn EndNo_PrincipalColumn => columnEndNo_Principal; [DebuggerNonUserCode] public DataColumn StartNo_LocationColumn => columnStartNo_Location; [DebuggerNonUserCode] public DataColumn EndNo_LocationColumn => columnEndNo_Location; [DebuggerNonUserCode] public DataColumn StartNo_ProductColumn => columnStartNo_Product; [DebuggerNonUserCode] public DataColumn EndNo_ProductColumn => columnEndNo_Product; [DebuggerNonUserCode] public DataColumn StartType_ProductColumn => columnStartType_Product; [DebuggerNonUserCode] public DataColumn EndType_ProductColumn => columnEndType_Product; [DebuggerNonUserCode] public DataColumn CompanyColumn => columnCompany; [DebuggerNonUserCode] public DataColumn Name_CreateColumn => columnName_Create; [DebuggerNonUserCode] public DataColumn CombineColumn => columnCombine; [DebuggerNonUserCode] public DataColumn StartZone_CustomerColumn => columnStartZone_Customer; [DebuggerNonUserCode] public DataColumn EndZone_CustomerColumn => columnEndZone_Customer; [Browsable(false)] [DebuggerNonUserCode] public int Count => base.Rows.Count; [DebuggerNonUserCode] public GetRow this[int index] => (GetRow)base.Rows[index]; public event GetRowChangeEventHandler GetRowChanging; public event GetRowChangeEventHandler GetRowChanged; public event GetRowChangeEventHandler GetRowDeleting; public event GetRowChangeEventHandler GetRowDeleted; [DebuggerNonUserCode] public GetDataTable() { base.TableName = "Get"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal GetDataTable(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 GetDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddGetRow(GetRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public GetRow AddGetRow(DateTime StartDate, DateTime EndDate, string StartNo_SaleBill, string EndNo_SaleBill, string StartNo_Customer, string EndNo_Customer, string StartNo_Principal, string EndNo_Principal, string StartNo_Location, string EndNo_Location, string StartNo_Product, string EndNo_Product, string StartType_Product, string EndType_Product, string Company, string Name_Create, bool Combine, string StartZone_Customer, string EndZone_Customer) { GetRow getRow = (GetRow)NewRow(); object[] array2 = getRow.ItemArray = new object[19] { StartDate, EndDate, StartNo_SaleBill, EndNo_SaleBill, StartNo_Customer, EndNo_Customer, StartNo_Principal, EndNo_Principal, StartNo_Location, EndNo_Location, StartNo_Product, EndNo_Product, StartType_Product, EndType_Product, Company, Name_Create, Combine, StartZone_Customer, EndZone_Customer }; base.Rows.Add(getRow); return getRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { GetDataTable getDataTable = (GetDataTable)base.Clone(); getDataTable.InitVars(); return getDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new GetDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnStartDate = base.Columns["StartDate"]; columnEndDate = base.Columns["EndDate"]; columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"]; columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"]; columnStartNo_Customer = base.Columns["StartNo_Customer"]; columnEndNo_Customer = base.Columns["EndNo_Customer"]; columnStartNo_Principal = base.Columns["StartNo_Principal"]; columnEndNo_Principal = base.Columns["EndNo_Principal"]; columnStartNo_Location = base.Columns["StartNo_Location"]; columnEndNo_Location = base.Columns["EndNo_Location"]; columnStartNo_Product = base.Columns["StartNo_Product"]; columnEndNo_Product = base.Columns["EndNo_Product"]; columnStartType_Product = base.Columns["StartType_Product"]; columnEndType_Product = base.Columns["EndType_Product"]; columnCompany = base.Columns["Company"]; columnName_Create = base.Columns["Name_Create"]; columnCombine = base.Columns["Combine"]; columnStartZone_Customer = base.Columns["StartZone_Customer"]; columnEndZone_Customer = base.Columns["EndZone_Customer"]; } [DebuggerNonUserCode] private void InitClass() { columnStartDate = new DataColumn("StartDate", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnStartDate); columnEndDate = new DataColumn("EndDate", typeof(DateTime), null, MappingType.Element); base.Columns.Add(columnEndDate); columnStartNo_SaleBill = new DataColumn("StartNo_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_SaleBill); columnEndNo_SaleBill = new DataColumn("EndNo_SaleBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_SaleBill); columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_Customer); columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_Customer); columnStartNo_Principal = new DataColumn("StartNo_Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_Principal); columnEndNo_Principal = new DataColumn("EndNo_Principal", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_Principal); columnStartNo_Location = new DataColumn("StartNo_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_Location); columnEndNo_Location = new DataColumn("EndNo_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_Location); columnStartNo_Product = new DataColumn("StartNo_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartNo_Product); columnEndNo_Product = new DataColumn("EndNo_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndNo_Product); columnStartType_Product = new DataColumn("StartType_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartType_Product); columnEndType_Product = new DataColumn("EndType_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndType_Product); columnCompany = new DataColumn("Company", typeof(string), null, MappingType.Element); base.Columns.Add(columnCompany); columnName_Create = new DataColumn("Name_Create", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Create); columnCombine = new DataColumn("Combine", typeof(bool), null, MappingType.Element); base.Columns.Add(columnCombine); columnStartZone_Customer = new DataColumn("StartZone_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnStartZone_Customer); columnEndZone_Customer = new DataColumn("EndZone_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnEndZone_Customer); } [DebuggerNonUserCode] public GetRow NewGetRow() { return (GetRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new GetRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(GetRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.GetRowChanged != null) { this.GetRowChanged(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.GetRowChanging != null) { this.GetRowChanging(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.GetRowDeleted != null) { this.GetRowDeleted(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.GetRowDeleting != null) { this.GetRowDeleting(this, new GetRowChangeEvent((GetRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveGetRow(GetRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsGetFrmSalesStatisticsLocation dsGetFrmSalesStatisticsLocation = new dsGetFrmSalesStatisticsLocation(); 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 = dsGetFrmSalesStatisticsLocation.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "GetDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsGetFrmSalesStatisticsLocation.GetSchemaSerializable(); if (xs.Contains(schemaSerializable.TargetNamespace)) { MemoryStream memoryStream = new MemoryStream(); MemoryStream memoryStream2 = new MemoryStream(); try { XmlSchema xmlSchema = null; schemaSerializable.Write(memoryStream); IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator(); while (enumerator.MoveNext()) { xmlSchema = (XmlSchema)enumerator.Current; memoryStream2.SetLength(0L); xmlSchema.Write(memoryStream2); if (memoryStream.Length == memoryStream2.Length) { memoryStream.Position = 0L; memoryStream2.Position = 0L; while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte()) { } if (memoryStream.Position == memoryStream.Length) { return xmlSchemaComplexType; } } } } finally { memoryStream?.Close(); memoryStream2?.Close(); } } xs.Add(schemaSerializable); return xmlSchemaComplexType; } } [Serializable] [XmlSchemaProvider("GetTypedTableSchema")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmSalesStatisticsLocationDataTable : DataTable, IEnumerable { private DataColumn columnNo_Product; private DataColumn columnName_Location; private DataColumn columnQuantity; private DataColumn columnMoneySum; private DataColumn columnAmount; private DataColumn columnCurrencyAmount; private DataColumn columnName_Product; private DataColumn columnTaxCurrency; private DataColumn columnUnitPrice; private DataColumn columnUnit_Product; private DataColumn columnNo; private DataColumn columnCurrency; [DebuggerNonUserCode] public DataColumn No_ProductColumn => columnNo_Product; [DebuggerNonUserCode] public DataColumn Name_LocationColumn => columnName_Location; [DebuggerNonUserCode] public DataColumn QuantityColumn => columnQuantity; [DebuggerNonUserCode] public DataColumn MoneySumColumn => columnMoneySum; [DebuggerNonUserCode] public DataColumn AmountColumn => columnAmount; [DebuggerNonUserCode] public DataColumn CurrencyAmountColumn => columnCurrencyAmount; [DebuggerNonUserCode] public DataColumn Name_ProductColumn => columnName_Product; [DebuggerNonUserCode] public DataColumn TaxCurrencyColumn => columnTaxCurrency; [DebuggerNonUserCode] public DataColumn UnitPriceColumn => columnUnitPrice; [DebuggerNonUserCode] public DataColumn Unit_ProductColumn => columnUnit_Product; [DebuggerNonUserCode] public DataColumn NoColumn => columnNo; [DebuggerNonUserCode] public DataColumn CurrencyColumn => columnCurrency; [DebuggerNonUserCode] [Browsable(false)] public int Count => base.Rows.Count; [DebuggerNonUserCode] public FrmSalesStatisticsLocationRow this[int index] => (FrmSalesStatisticsLocationRow)base.Rows[index]; public event FrmSalesStatisticsLocationRowChangeEventHandler FrmSalesStatisticsLocationRowChanging; public event FrmSalesStatisticsLocationRowChangeEventHandler FrmSalesStatisticsLocationRowChanged; public event FrmSalesStatisticsLocationRowChangeEventHandler FrmSalesStatisticsLocationRowDeleting; public event FrmSalesStatisticsLocationRowChangeEventHandler FrmSalesStatisticsLocationRowDeleted; [DebuggerNonUserCode] public FrmSalesStatisticsLocationDataTable() { base.TableName = "FrmSalesStatisticsLocation"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal FrmSalesStatisticsLocationDataTable(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 FrmSalesStatisticsLocationDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddFrmSalesStatisticsLocationRow(FrmSalesStatisticsLocationRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public FrmSalesStatisticsLocationRow AddFrmSalesStatisticsLocationRow(string No_Product, string Name_Location, decimal Quantity, decimal MoneySum, decimal Amount, decimal CurrencyAmount, string Name_Product, string TaxCurrency, decimal UnitPrice, string Unit_Product, string No, string Currency) { FrmSalesStatisticsLocationRow frmSalesStatisticsLocationRow = (FrmSalesStatisticsLocationRow)NewRow(); object[] array2 = frmSalesStatisticsLocationRow.ItemArray = new object[12] { No_Product, Name_Location, Quantity, MoneySum, Amount, CurrencyAmount, Name_Product, TaxCurrency, UnitPrice, Unit_Product, No, Currency }; base.Rows.Add(frmSalesStatisticsLocationRow); return frmSalesStatisticsLocationRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { FrmSalesStatisticsLocationDataTable frmSalesStatisticsLocationDataTable = (FrmSalesStatisticsLocationDataTable)base.Clone(); frmSalesStatisticsLocationDataTable.InitVars(); return frmSalesStatisticsLocationDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new FrmSalesStatisticsLocationDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_Product = base.Columns["No_Product"]; columnName_Location = base.Columns["Name_Location"]; columnQuantity = base.Columns["Quantity"]; columnMoneySum = base.Columns["MoneySum"]; columnAmount = base.Columns["Amount"]; columnCurrencyAmount = base.Columns["CurrencyAmount"]; columnName_Product = base.Columns["Name_Product"]; columnTaxCurrency = base.Columns["TaxCurrency"]; columnUnitPrice = base.Columns["UnitPrice"]; columnUnit_Product = base.Columns["Unit_Product"]; columnNo = base.Columns["No"]; columnCurrency = base.Columns["Currency"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Product); columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Location); columnQuantity = new DataColumn("Quantity", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnQuantity); columnMoneySum = new DataColumn("MoneySum", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnMoneySum); columnAmount = new DataColumn("Amount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnAmount); columnCurrencyAmount = new DataColumn("CurrencyAmount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCurrencyAmount); columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnName_Product); columnTaxCurrency = new DataColumn("TaxCurrency", typeof(string), null, MappingType.Element); base.Columns.Add(columnTaxCurrency); columnUnitPrice = new DataColumn("UnitPrice", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnUnitPrice); columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element); base.Columns.Add(columnUnit_Product); columnNo = new DataColumn("No", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo); columnCurrency = new DataColumn("Currency", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrency); } [DebuggerNonUserCode] public FrmSalesStatisticsLocationRow NewFrmSalesStatisticsLocationRow() { return (FrmSalesStatisticsLocationRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new FrmSalesStatisticsLocationRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(FrmSalesStatisticsLocationRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.FrmSalesStatisticsLocationRowChanged != null) { this.FrmSalesStatisticsLocationRowChanged(this, new FrmSalesStatisticsLocationRowChangeEvent((FrmSalesStatisticsLocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.FrmSalesStatisticsLocationRowChanging != null) { this.FrmSalesStatisticsLocationRowChanging(this, new FrmSalesStatisticsLocationRowChangeEvent((FrmSalesStatisticsLocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.FrmSalesStatisticsLocationRowDeleted != null) { this.FrmSalesStatisticsLocationRowDeleted(this, new FrmSalesStatisticsLocationRowChangeEvent((FrmSalesStatisticsLocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.FrmSalesStatisticsLocationRowDeleting != null) { this.FrmSalesStatisticsLocationRowDeleting(this, new FrmSalesStatisticsLocationRowChangeEvent((FrmSalesStatisticsLocationRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveFrmSalesStatisticsLocationRow(FrmSalesStatisticsLocationRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsGetFrmSalesStatisticsLocation dsGetFrmSalesStatisticsLocation = new dsGetFrmSalesStatisticsLocation(); 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 = dsGetFrmSalesStatisticsLocation.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "FrmSalesStatisticsLocationDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsGetFrmSalesStatisticsLocation.GetSchemaSerializable(); if (xs.Contains(schemaSerializable.TargetNamespace)) { MemoryStream memoryStream = new MemoryStream(); MemoryStream memoryStream2 = new MemoryStream(); try { XmlSchema xmlSchema = null; schemaSerializable.Write(memoryStream); IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator(); while (enumerator.MoveNext()) { xmlSchema = (XmlSchema)enumerator.Current; memoryStream2.SetLength(0L); xmlSchema.Write(memoryStream2); if (memoryStream.Length == memoryStream2.Length) { memoryStream.Position = 0L; memoryStream2.Position = 0L; while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte()) { } if (memoryStream.Position == memoryStream.Length) { return xmlSchemaComplexType; } } } } finally { memoryStream?.Close(); memoryStream2?.Close(); } } xs.Add(schemaSerializable); return xmlSchemaComplexType; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class GetRow : DataRow { private GetDataTable tableGet; [DebuggerNonUserCode] public DateTime StartDate { get { try { return (DateTime)base[tableGet.StartDateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartDate' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartDateColumn] = value; } } [DebuggerNonUserCode] public DateTime EndDate { get { try { return (DateTime)base[tableGet.EndDateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndDate' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndDateColumn] = value; } } [DebuggerNonUserCode] public string StartNo_SaleBill { get { try { return (string)base[tableGet.StartNo_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string EndNo_SaleBill { get { try { return (string)base[tableGet.EndNo_SaleBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_SaleBillColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Customer { get { try { return (string)base[tableGet.StartNo_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_CustomerColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Customer { get { try { return (string)base[tableGet.EndNo_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_CustomerColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Principal { get { try { return (string)base[tableGet.StartNo_PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Principal' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_PrincipalColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Principal { get { try { return (string)base[tableGet.EndNo_PrincipalColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Principal' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_PrincipalColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Location { get { try { return (string)base[tableGet.StartNo_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Location' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_LocationColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Location { get { try { return (string)base[tableGet.EndNo_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Location' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_LocationColumn] = value; } } [DebuggerNonUserCode] public string StartNo_Product { get { try { return (string)base[tableGet.StartNo_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartNo_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartNo_ProductColumn] = value; } } [DebuggerNonUserCode] public string EndNo_Product { get { try { return (string)base[tableGet.EndNo_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndNo_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndNo_ProductColumn] = value; } } [DebuggerNonUserCode] public string StartType_Product { get { try { return (string)base[tableGet.StartType_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartType_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartType_ProductColumn] = value; } } [DebuggerNonUserCode] public string EndType_Product { get { try { return (string)base[tableGet.EndType_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndType_Product' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndType_ProductColumn] = value; } } [DebuggerNonUserCode] public string Company { get { try { return (string)base[tableGet.CompanyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Company' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.CompanyColumn] = value; } } [DebuggerNonUserCode] public string Name_Create { get { try { return (string)base[tableGet.Name_CreateColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Create' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.Name_CreateColumn] = value; } } [DebuggerNonUserCode] public bool Combine { get { try { return (bool)base[tableGet.CombineColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Combine' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.CombineColumn] = value; } } [DebuggerNonUserCode] public string StartZone_Customer { get { try { return (string)base[tableGet.StartZone_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'StartZone_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.StartZone_CustomerColumn] = value; } } [DebuggerNonUserCode] public string EndZone_Customer { get { try { return (string)base[tableGet.EndZone_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'EndZone_Customer' in table 'Get' is DBNull.", innerException); } } set { base[tableGet.EndZone_CustomerColumn] = value; } } [DebuggerNonUserCode] internal GetRow(DataRowBuilder rb) : base(rb) { tableGet = (GetDataTable)base.Table; } [DebuggerNonUserCode] public bool IsStartDateNull() { return IsNull(tableGet.StartDateColumn); } [DebuggerNonUserCode] public void SetStartDateNull() { base[tableGet.StartDateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndDateNull() { return IsNull(tableGet.EndDateColumn); } [DebuggerNonUserCode] public void SetEndDateNull() { base[tableGet.EndDateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_SaleBillNull() { return IsNull(tableGet.StartNo_SaleBillColumn); } [DebuggerNonUserCode] public void SetStartNo_SaleBillNull() { base[tableGet.StartNo_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_SaleBillNull() { return IsNull(tableGet.EndNo_SaleBillColumn); } [DebuggerNonUserCode] public void SetEndNo_SaleBillNull() { base[tableGet.EndNo_SaleBillColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_CustomerNull() { return IsNull(tableGet.StartNo_CustomerColumn); } [DebuggerNonUserCode] public void SetStartNo_CustomerNull() { base[tableGet.StartNo_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_CustomerNull() { return IsNull(tableGet.EndNo_CustomerColumn); } [DebuggerNonUserCode] public void SetEndNo_CustomerNull() { base[tableGet.EndNo_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_PrincipalNull() { return IsNull(tableGet.StartNo_PrincipalColumn); } [DebuggerNonUserCode] public void SetStartNo_PrincipalNull() { base[tableGet.StartNo_PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_PrincipalNull() { return IsNull(tableGet.EndNo_PrincipalColumn); } [DebuggerNonUserCode] public void SetEndNo_PrincipalNull() { base[tableGet.EndNo_PrincipalColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_LocationNull() { return IsNull(tableGet.StartNo_LocationColumn); } [DebuggerNonUserCode] public void SetStartNo_LocationNull() { base[tableGet.StartNo_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_LocationNull() { return IsNull(tableGet.EndNo_LocationColumn); } [DebuggerNonUserCode] public void SetEndNo_LocationNull() { base[tableGet.EndNo_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartNo_ProductNull() { return IsNull(tableGet.StartNo_ProductColumn); } [DebuggerNonUserCode] public void SetStartNo_ProductNull() { base[tableGet.StartNo_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndNo_ProductNull() { return IsNull(tableGet.EndNo_ProductColumn); } [DebuggerNonUserCode] public void SetEndNo_ProductNull() { base[tableGet.EndNo_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartType_ProductNull() { return IsNull(tableGet.StartType_ProductColumn); } [DebuggerNonUserCode] public void SetStartType_ProductNull() { base[tableGet.StartType_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndType_ProductNull() { return IsNull(tableGet.EndType_ProductColumn); } [DebuggerNonUserCode] public void SetEndType_ProductNull() { base[tableGet.EndType_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCompanyNull() { return IsNull(tableGet.CompanyColumn); } [DebuggerNonUserCode] public void SetCompanyNull() { base[tableGet.CompanyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_CreateNull() { return IsNull(tableGet.Name_CreateColumn); } [DebuggerNonUserCode] public void SetName_CreateNull() { base[tableGet.Name_CreateColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCombineNull() { return IsNull(tableGet.CombineColumn); } [DebuggerNonUserCode] public void SetCombineNull() { base[tableGet.CombineColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsStartZone_CustomerNull() { return IsNull(tableGet.StartZone_CustomerColumn); } [DebuggerNonUserCode] public void SetStartZone_CustomerNull() { base[tableGet.StartZone_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsEndZone_CustomerNull() { return IsNull(tableGet.EndZone_CustomerColumn); } [DebuggerNonUserCode] public void SetEndZone_CustomerNull() { base[tableGet.EndZone_CustomerColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmSalesStatisticsLocationRow : DataRow { private FrmSalesStatisticsLocationDataTable tableFrmSalesStatisticsLocation; [DebuggerNonUserCode] public string No_Product { get { try { return (string)base[tableFrmSalesStatisticsLocation.No_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Product' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.No_ProductColumn] = value; } } [DebuggerNonUserCode] public string Name_Location { get { try { return (string)base[tableFrmSalesStatisticsLocation.Name_LocationColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Location' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.Name_LocationColumn] = value; } } [DebuggerNonUserCode] public decimal Quantity { get { try { return (decimal)base[tableFrmSalesStatisticsLocation.QuantityColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Quantity' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.QuantityColumn] = value; } } [DebuggerNonUserCode] public decimal MoneySum { get { try { return (decimal)base[tableFrmSalesStatisticsLocation.MoneySumColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'MoneySum' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.MoneySumColumn] = value; } } [DebuggerNonUserCode] public decimal Amount { get { try { return (decimal)base[tableFrmSalesStatisticsLocation.AmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.AmountColumn] = value; } } [DebuggerNonUserCode] public decimal CurrencyAmount { get { try { return (decimal)base[tableFrmSalesStatisticsLocation.CurrencyAmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrencyAmount' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.CurrencyAmountColumn] = value; } } [DebuggerNonUserCode] public string Name_Product { get { try { return (string)base[tableFrmSalesStatisticsLocation.Name_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Product' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.Name_ProductColumn] = value; } } [DebuggerNonUserCode] public string TaxCurrency { get { try { return (string)base[tableFrmSalesStatisticsLocation.TaxCurrencyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxCurrency' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.TaxCurrencyColumn] = value; } } [DebuggerNonUserCode] public decimal UnitPrice { get { try { return (decimal)base[tableFrmSalesStatisticsLocation.UnitPriceColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'UnitPrice' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.UnitPriceColumn] = value; } } [DebuggerNonUserCode] public string Unit_Product { get { try { return (string)base[tableFrmSalesStatisticsLocation.Unit_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Unit_Product' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.Unit_ProductColumn] = value; } } [DebuggerNonUserCode] public string No { get { try { return (string)base[tableFrmSalesStatisticsLocation.NoColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.NoColumn] = value; } } [DebuggerNonUserCode] public string Currency { get { try { return (string)base[tableFrmSalesStatisticsLocation.CurrencyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Currency' in table 'FrmSalesStatisticsLocation' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsLocation.CurrencyColumn] = value; } } [DebuggerNonUserCode] internal FrmSalesStatisticsLocationRow(DataRowBuilder rb) : base(rb) { tableFrmSalesStatisticsLocation = (FrmSalesStatisticsLocationDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_ProductNull() { return IsNull(tableFrmSalesStatisticsLocation.No_ProductColumn); } [DebuggerNonUserCode] public void SetNo_ProductNull() { base[tableFrmSalesStatisticsLocation.No_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_LocationNull() { return IsNull(tableFrmSalesStatisticsLocation.Name_LocationColumn); } [DebuggerNonUserCode] public void SetName_LocationNull() { base[tableFrmSalesStatisticsLocation.Name_LocationColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsQuantityNull() { return IsNull(tableFrmSalesStatisticsLocation.QuantityColumn); } [DebuggerNonUserCode] public void SetQuantityNull() { base[tableFrmSalesStatisticsLocation.QuantityColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsMoneySumNull() { return IsNull(tableFrmSalesStatisticsLocation.MoneySumColumn); } [DebuggerNonUserCode] public void SetMoneySumNull() { base[tableFrmSalesStatisticsLocation.MoneySumColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmountNull() { return IsNull(tableFrmSalesStatisticsLocation.AmountColumn); } [DebuggerNonUserCode] public void SetAmountNull() { base[tableFrmSalesStatisticsLocation.AmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrencyAmountNull() { return IsNull(tableFrmSalesStatisticsLocation.CurrencyAmountColumn); } [DebuggerNonUserCode] public void SetCurrencyAmountNull() { base[tableFrmSalesStatisticsLocation.CurrencyAmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_ProductNull() { return IsNull(tableFrmSalesStatisticsLocation.Name_ProductColumn); } [DebuggerNonUserCode] public void SetName_ProductNull() { base[tableFrmSalesStatisticsLocation.Name_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxCurrencyNull() { return IsNull(tableFrmSalesStatisticsLocation.TaxCurrencyColumn); } [DebuggerNonUserCode] public void SetTaxCurrencyNull() { base[tableFrmSalesStatisticsLocation.TaxCurrencyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnitPriceNull() { return IsNull(tableFrmSalesStatisticsLocation.UnitPriceColumn); } [DebuggerNonUserCode] public void SetUnitPriceNull() { base[tableFrmSalesStatisticsLocation.UnitPriceColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnit_ProductNull() { return IsNull(tableFrmSalesStatisticsLocation.Unit_ProductColumn); } [DebuggerNonUserCode] public void SetUnit_ProductNull() { base[tableFrmSalesStatisticsLocation.Unit_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNoNull() { return IsNull(tableFrmSalesStatisticsLocation.NoColumn); } [DebuggerNonUserCode] public void SetNoNull() { base[tableFrmSalesStatisticsLocation.NoColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrencyNull() { return IsNull(tableFrmSalesStatisticsLocation.CurrencyColumn); } [DebuggerNonUserCode] public void SetCurrencyNull() { base[tableFrmSalesStatisticsLocation.CurrencyColumn] = Convert.DBNull; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class GetRowChangeEvent : EventArgs { private GetRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public GetRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public GetRowChangeEvent(GetRow row, DataRowAction action) { eventRow = row; eventAction = action; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmSalesStatisticsLocationRowChangeEvent : EventArgs { private FrmSalesStatisticsLocationRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public FrmSalesStatisticsLocationRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public FrmSalesStatisticsLocationRowChangeEvent(FrmSalesStatisticsLocationRow row, DataRowAction action) { eventRow = row; eventAction = action; } } private GetDataTable tableGet; private FrmSalesStatisticsLocationDataTable tableFrmSalesStatisticsLocation; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] [Browsable(false)] public GetDataTable Get => tableGet; [DebuggerNonUserCode] [Browsable(false)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public FrmSalesStatisticsLocationDataTable FrmSalesStatisticsLocation => tableFrmSalesStatisticsLocation; [DebuggerNonUserCode] [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public override SchemaSerializationMode SchemaSerializationMode { get { return _schemaSerializationMode; } set { _schemaSerializationMode = value; } } [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DebuggerNonUserCode] public new DataTableCollection Tables => base.Tables; [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DebuggerNonUserCode] public new DataRelationCollection Relations => base.Relations; [DebuggerNonUserCode] public dsGetFrmSalesStatisticsLocation() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsGetFrmSalesStatisticsLocation(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["Get"] != null) { base.Tables.Add(new GetDataTable(dataSet.Tables["Get"])); } if (dataSet.Tables["FrmSalesStatisticsLocation"] != null) { base.Tables.Add(new FrmSalesStatisticsLocationDataTable(dataSet.Tables["FrmSalesStatisticsLocation"])); } 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() { dsGetFrmSalesStatisticsLocation dsGetFrmSalesStatisticsLocation = (dsGetFrmSalesStatisticsLocation)base.Clone(); dsGetFrmSalesStatisticsLocation.InitVars(); dsGetFrmSalesStatisticsLocation.SchemaSerializationMode = SchemaSerializationMode; return dsGetFrmSalesStatisticsLocation; } [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["Get"] != null) { base.Tables.Add(new GetDataTable(dataSet.Tables["Get"])); } if (dataSet.Tables["FrmSalesStatisticsLocation"] != null) { base.Tables.Add(new FrmSalesStatisticsLocationDataTable(dataSet.Tables["FrmSalesStatisticsLocation"])); } 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) { tableGet = (GetDataTable)base.Tables["Get"]; if (initTable && tableGet != null) { tableGet.InitVars(); } tableFrmSalesStatisticsLocation = (FrmSalesStatisticsLocationDataTable)base.Tables["FrmSalesStatisticsLocation"]; if (initTable && tableFrmSalesStatisticsLocation != null) { tableFrmSalesStatisticsLocation.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsGetFrmSalesStatisticsLocation"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsGetFrmSalesStatisticsLocation.xsd"; base.Locale = new CultureInfo("en-US"); base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableGet = new GetDataTable(); base.Tables.Add(tableGet); tableFrmSalesStatisticsLocation = new FrmSalesStatisticsLocationDataTable(); base.Tables.Add(tableFrmSalesStatisticsLocation); } [DebuggerNonUserCode] private bool ShouldSerializeGet() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeFrmSalesStatisticsLocation() { return false; } [DebuggerNonUserCode] private void SchemaChanged(object sender, CollectionChangeEventArgs e) { if (e.Action == CollectionChangeAction.Remove) { InitVars(); } } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { dsGetFrmSalesStatisticsLocation dsGetFrmSalesStatisticsLocation = new dsGetFrmSalesStatisticsLocation(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsGetFrmSalesStatisticsLocation.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; XmlSchema schemaSerializable = dsGetFrmSalesStatisticsLocation.GetSchemaSerializable(); if (xs.Contains(schemaSerializable.TargetNamespace)) { MemoryStream memoryStream = new MemoryStream(); MemoryStream memoryStream2 = new MemoryStream(); try { XmlSchema xmlSchema = null; schemaSerializable.Write(memoryStream); IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator(); while (enumerator.MoveNext()) { xmlSchema = (XmlSchema)enumerator.Current; memoryStream2.SetLength(0L); xmlSchema.Write(memoryStream2); if (memoryStream.Length == memoryStream2.Length) { memoryStream.Position = 0L; memoryStream2.Position = 0L; while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte()) { } if (memoryStream.Position == memoryStream.Length) { return xmlSchemaComplexType; } } } } finally { memoryStream?.Close(); memoryStream2?.Close(); } } xs.Add(schemaSerializable); return xmlSchemaComplexType; } } }