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] [HelpKeyword("vs.data.DataSet")] [DesignerCategory("code")] [XmlRoot("dsGetFrmSaleRtnStatisticsCustomers")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [ToolboxItem(true)] [XmlSchemaProvider("GetTypedDataSetSchema")] public class dsGetFrmSaleRtnStatisticsCustomer : DataSet { public delegate void GetRowChangeEventHandler(object sender, GetRowChangeEvent e); public delegate void FrmSalesStatisticsCustomerRowChangeEventHandler(object sender, FrmSalesStatisticsCustomerRowChangeEvent e); [Serializable] [XmlSchemaProvider("GetTypedTableSchema")] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] 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; [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; [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) { GetRow getRow = (GetRow)NewRow(); getRow.ItemArray = new object[17] { 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 }; 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"]; } [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); } [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(); dsGetFrmSaleRtnStatisticsCustomer dsGetFrmSaleRtnStatisticsCustomer = new dsGetFrmSaleRtnStatisticsCustomer(); xs.Add(dsGetFrmSaleRtnStatisticsCustomer.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 = dsGetFrmSaleRtnStatisticsCustomer.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "GetDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } [Serializable] [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [XmlSchemaProvider("GetTypedTableSchema")] public class FrmSalesStatisticsCustomerDataTable : DataTable, IEnumerable { private DataColumn columnNo_Customer; private DataColumn columnShortName_Customer; private DataColumn columnNo_Product; private DataColumn columnName_Product; private DataColumn columnQuantity; private DataColumn columnUnitPrice; private DataColumn columnCurrency; private DataColumn columnMoneySum; private DataColumn columnAmount; private DataColumn columnTaxCurrency; private DataColumn columnCurrencyAmount; private DataColumn columnNo; private DataColumn columnReason_SaleRtnBill; [DebuggerNonUserCode] public DataColumn No_CustomerColumn => columnNo_Customer; [DebuggerNonUserCode] public DataColumn ShortName_CustomerColumn => columnShortName_Customer; [DebuggerNonUserCode] public DataColumn No_ProductColumn => columnNo_Product; [DebuggerNonUserCode] public DataColumn Name_ProductColumn => columnName_Product; [DebuggerNonUserCode] public DataColumn QuantityColumn => columnQuantity; [DebuggerNonUserCode] public DataColumn UnitPriceColumn => columnUnitPrice; [DebuggerNonUserCode] public DataColumn CurrencyColumn => columnCurrency; [DebuggerNonUserCode] public DataColumn MoneySumColumn => columnMoneySum; [DebuggerNonUserCode] public DataColumn AmountColumn => columnAmount; [DebuggerNonUserCode] public DataColumn TaxCurrencyColumn => columnTaxCurrency; [DebuggerNonUserCode] public DataColumn CurrencyAmountColumn => columnCurrencyAmount; [DebuggerNonUserCode] public DataColumn NoColumn => columnNo; [DebuggerNonUserCode] public DataColumn Reason_SaleRtnBillColumn => columnReason_SaleRtnBill; [Browsable(false)] [DebuggerNonUserCode] public int Count => base.Rows.Count; [DebuggerNonUserCode] public FrmSalesStatisticsCustomerRow this[int index] => (FrmSalesStatisticsCustomerRow)base.Rows[index]; public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowChanging; public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowChanged; public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowDeleting; public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowDeleted; [DebuggerNonUserCode] public FrmSalesStatisticsCustomerDataTable() { base.TableName = "FrmSalesStatisticsCustomer"; BeginInit(); InitClass(); EndInit(); } [DebuggerNonUserCode] internal FrmSalesStatisticsCustomerDataTable(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 FrmSalesStatisticsCustomerDataTable(SerializationInfo info, StreamingContext context) : base(info, context) { InitVars(); } [DebuggerNonUserCode] public void AddFrmSalesStatisticsCustomerRow(FrmSalesStatisticsCustomerRow row) { base.Rows.Add(row); } [DebuggerNonUserCode] public FrmSalesStatisticsCustomerRow AddFrmSalesStatisticsCustomerRow(string No_Customer, string ShortName_Customer, string No_Product, string Name_Product, decimal Quantity, decimal UnitPrice, string Currency, decimal MoneySum, decimal Amount, string TaxCurrency, decimal CurrencyAmount, string No, string Reason_SaleRtnBill) { FrmSalesStatisticsCustomerRow frmSalesStatisticsCustomerRow = (FrmSalesStatisticsCustomerRow)NewRow(); frmSalesStatisticsCustomerRow.ItemArray = new object[13] { No_Customer, ShortName_Customer, No_Product, Name_Product, Quantity, UnitPrice, Currency, MoneySum, Amount, TaxCurrency, CurrencyAmount, No, Reason_SaleRtnBill }; base.Rows.Add(frmSalesStatisticsCustomerRow); return frmSalesStatisticsCustomerRow; } [DebuggerNonUserCode] public virtual IEnumerator GetEnumerator() { return base.Rows.GetEnumerator(); } [DebuggerNonUserCode] public override DataTable Clone() { FrmSalesStatisticsCustomerDataTable frmSalesStatisticsCustomerDataTable = (FrmSalesStatisticsCustomerDataTable)base.Clone(); frmSalesStatisticsCustomerDataTable.InitVars(); return frmSalesStatisticsCustomerDataTable; } [DebuggerNonUserCode] protected override DataTable CreateInstance() { return new FrmSalesStatisticsCustomerDataTable(); } [DebuggerNonUserCode] internal void InitVars() { columnNo_Customer = base.Columns["No_Customer"]; columnShortName_Customer = base.Columns["ShortName_Customer"]; columnNo_Product = base.Columns["No_Product"]; columnName_Product = base.Columns["Name_Product"]; columnQuantity = base.Columns["Quantity"]; columnUnitPrice = base.Columns["UnitPrice"]; columnCurrency = base.Columns["Currency"]; columnMoneySum = base.Columns["MoneySum"]; columnAmount = base.Columns["Amount"]; columnTaxCurrency = base.Columns["TaxCurrency"]; columnCurrencyAmount = base.Columns["CurrencyAmount"]; columnNo = base.Columns["No"]; columnReason_SaleRtnBill = base.Columns["Reason_SaleRtnBill"]; } [DebuggerNonUserCode] private void InitClass() { columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo_Customer); columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element); base.Columns.Add(columnShortName_Customer); 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); columnQuantity = new DataColumn("Quantity", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnQuantity); columnUnitPrice = new DataColumn("UnitPrice", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnUnitPrice); columnCurrency = new DataColumn("Currency", typeof(string), null, MappingType.Element); base.Columns.Add(columnCurrency); 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); columnTaxCurrency = new DataColumn("TaxCurrency", typeof(string), null, MappingType.Element); base.Columns.Add(columnTaxCurrency); columnCurrencyAmount = new DataColumn("CurrencyAmount", typeof(decimal), null, MappingType.Element); base.Columns.Add(columnCurrencyAmount); columnNo = new DataColumn("No", typeof(string), null, MappingType.Element); base.Columns.Add(columnNo); columnReason_SaleRtnBill = new DataColumn("Reason_SaleRtnBill", typeof(string), null, MappingType.Element); base.Columns.Add(columnReason_SaleRtnBill); } [DebuggerNonUserCode] public FrmSalesStatisticsCustomerRow NewFrmSalesStatisticsCustomerRow() { return (FrmSalesStatisticsCustomerRow)NewRow(); } [DebuggerNonUserCode] protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new FrmSalesStatisticsCustomerRow(builder); } [DebuggerNonUserCode] protected override Type GetRowType() { return typeof(FrmSalesStatisticsCustomerRow); } [DebuggerNonUserCode] protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if (this.FrmSalesStatisticsCustomerRowChanged != null) { this.FrmSalesStatisticsCustomerRowChanged(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if (this.FrmSalesStatisticsCustomerRowChanging != null) { this.FrmSalesStatisticsCustomerRowChanging(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if (this.FrmSalesStatisticsCustomerRowDeleted != null) { this.FrmSalesStatisticsCustomerRowDeleted(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action)); } } [DebuggerNonUserCode] protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if (this.FrmSalesStatisticsCustomerRowDeleting != null) { this.FrmSalesStatisticsCustomerRowDeleting(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action)); } } [DebuggerNonUserCode] public void RemoveFrmSalesStatisticsCustomerRow(FrmSalesStatisticsCustomerRow row) { base.Rows.Remove(row); } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs) { XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); dsGetFrmSaleRtnStatisticsCustomer dsGetFrmSaleRtnStatisticsCustomer = new dsGetFrmSaleRtnStatisticsCustomer(); xs.Add(dsGetFrmSaleRtnStatisticsCustomer.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 = dsGetFrmSaleRtnStatisticsCustomer.Namespace; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute); XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute(); xmlSchemaAttribute2.Name = "tableTypeName"; xmlSchemaAttribute2.FixedValue = "FrmSalesStatisticsCustomerDataTable"; xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2); xmlSchemaComplexType.Particle = xmlSchemaSequence; 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] 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; } } [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class FrmSalesStatisticsCustomerRow : DataRow { private FrmSalesStatisticsCustomerDataTable tableFrmSalesStatisticsCustomer; [DebuggerNonUserCode] public string No_Customer { get { try { return (string)base[tableFrmSalesStatisticsCustomer.No_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.No_CustomerColumn] = value; } } [DebuggerNonUserCode] public string ShortName_Customer { get { try { return (string)base[tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn] = value; } } [DebuggerNonUserCode] public string No_Product { get { try { return (string)base[tableFrmSalesStatisticsCustomer.No_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No_Product' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.No_ProductColumn] = value; } } [DebuggerNonUserCode] public string Name_Product { get { try { return (string)base[tableFrmSalesStatisticsCustomer.Name_ProductColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Name_Product' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.Name_ProductColumn] = value; } } [DebuggerNonUserCode] public decimal Quantity { get { try { return (decimal)base[tableFrmSalesStatisticsCustomer.QuantityColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Quantity' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.QuantityColumn] = value; } } [DebuggerNonUserCode] public decimal UnitPrice { get { try { return (decimal)base[tableFrmSalesStatisticsCustomer.UnitPriceColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'UnitPrice' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.UnitPriceColumn] = value; } } [DebuggerNonUserCode] public string Currency { get { try { return (string)base[tableFrmSalesStatisticsCustomer.CurrencyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Currency' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.CurrencyColumn] = value; } } [DebuggerNonUserCode] public decimal MoneySum { get { try { return (decimal)base[tableFrmSalesStatisticsCustomer.MoneySumColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'MoneySum' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.MoneySumColumn] = value; } } [DebuggerNonUserCode] public decimal Amount { get { try { return (decimal)base[tableFrmSalesStatisticsCustomer.AmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Amount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.AmountColumn] = value; } } [DebuggerNonUserCode] public string TaxCurrency { get { try { return (string)base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'TaxCurrency' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn] = value; } } [DebuggerNonUserCode] public decimal CurrencyAmount { get { try { return (decimal)base[tableFrmSalesStatisticsCustomer.CurrencyAmountColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'CurrencyAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.CurrencyAmountColumn] = value; } } [DebuggerNonUserCode] public string No { get { try { return (string)base[tableFrmSalesStatisticsCustomer.NoColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'No' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.NoColumn] = value; } } [DebuggerNonUserCode] public string Reason_SaleRtnBill { get { try { return (string)base[tableFrmSalesStatisticsCustomer.Reason_SaleRtnBillColumn]; } catch (InvalidCastException innerException) { throw new StrongTypingException("The value for column 'Reason_SaleRtnBill' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException); } } set { base[tableFrmSalesStatisticsCustomer.Reason_SaleRtnBillColumn] = value; } } [DebuggerNonUserCode] internal FrmSalesStatisticsCustomerRow(DataRowBuilder rb) : base(rb) { tableFrmSalesStatisticsCustomer = (FrmSalesStatisticsCustomerDataTable)base.Table; } [DebuggerNonUserCode] public bool IsNo_CustomerNull() { return IsNull(tableFrmSalesStatisticsCustomer.No_CustomerColumn); } [DebuggerNonUserCode] public void SetNo_CustomerNull() { base[tableFrmSalesStatisticsCustomer.No_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsShortName_CustomerNull() { return IsNull(tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn); } [DebuggerNonUserCode] public void SetShortName_CustomerNull() { base[tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNo_ProductNull() { return IsNull(tableFrmSalesStatisticsCustomer.No_ProductColumn); } [DebuggerNonUserCode] public void SetNo_ProductNull() { base[tableFrmSalesStatisticsCustomer.No_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsName_ProductNull() { return IsNull(tableFrmSalesStatisticsCustomer.Name_ProductColumn); } [DebuggerNonUserCode] public void SetName_ProductNull() { base[tableFrmSalesStatisticsCustomer.Name_ProductColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsQuantityNull() { return IsNull(tableFrmSalesStatisticsCustomer.QuantityColumn); } [DebuggerNonUserCode] public void SetQuantityNull() { base[tableFrmSalesStatisticsCustomer.QuantityColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsUnitPriceNull() { return IsNull(tableFrmSalesStatisticsCustomer.UnitPriceColumn); } [DebuggerNonUserCode] public void SetUnitPriceNull() { base[tableFrmSalesStatisticsCustomer.UnitPriceColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrencyNull() { return IsNull(tableFrmSalesStatisticsCustomer.CurrencyColumn); } [DebuggerNonUserCode] public void SetCurrencyNull() { base[tableFrmSalesStatisticsCustomer.CurrencyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsMoneySumNull() { return IsNull(tableFrmSalesStatisticsCustomer.MoneySumColumn); } [DebuggerNonUserCode] public void SetMoneySumNull() { base[tableFrmSalesStatisticsCustomer.MoneySumColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsAmountNull() { return IsNull(tableFrmSalesStatisticsCustomer.AmountColumn); } [DebuggerNonUserCode] public void SetAmountNull() { base[tableFrmSalesStatisticsCustomer.AmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsTaxCurrencyNull() { return IsNull(tableFrmSalesStatisticsCustomer.TaxCurrencyColumn); } [DebuggerNonUserCode] public void SetTaxCurrencyNull() { base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsCurrencyAmountNull() { return IsNull(tableFrmSalesStatisticsCustomer.CurrencyAmountColumn); } [DebuggerNonUserCode] public void SetCurrencyAmountNull() { base[tableFrmSalesStatisticsCustomer.CurrencyAmountColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsNoNull() { return IsNull(tableFrmSalesStatisticsCustomer.NoColumn); } [DebuggerNonUserCode] public void SetNoNull() { base[tableFrmSalesStatisticsCustomer.NoColumn] = Convert.DBNull; } [DebuggerNonUserCode] public bool IsReason_SaleRtnBillNull() { return IsNull(tableFrmSalesStatisticsCustomer.Reason_SaleRtnBillColumn); } [DebuggerNonUserCode] public void SetReason_SaleRtnBillNull() { base[tableFrmSalesStatisticsCustomer.Reason_SaleRtnBillColumn] = 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 FrmSalesStatisticsCustomerRowChangeEvent : EventArgs { private FrmSalesStatisticsCustomerRow eventRow; private DataRowAction eventAction; [DebuggerNonUserCode] public FrmSalesStatisticsCustomerRow Row => eventRow; [DebuggerNonUserCode] public DataRowAction Action => eventAction; [DebuggerNonUserCode] public FrmSalesStatisticsCustomerRowChangeEvent(FrmSalesStatisticsCustomerRow row, DataRowAction action) { eventRow = row; eventAction = action; } } private GetDataTable tableGet; private FrmSalesStatisticsCustomerDataTable tableFrmSalesStatisticsCustomer; private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [DebuggerNonUserCode] [Browsable(false)] public GetDataTable Get => tableGet; [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] [Browsable(false)] [DebuggerNonUserCode] public FrmSalesStatisticsCustomerDataTable FrmSalesStatisticsCustomer => tableFrmSalesStatisticsCustomer; [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] [DebuggerNonUserCode] public override SchemaSerializationMode SchemaSerializationMode { get { return _schemaSerializationMode; } set { _schemaSerializationMode = value; } } [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [DebuggerNonUserCode] public new DataTableCollection Tables => base.Tables; [DebuggerNonUserCode] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public new DataRelationCollection Relations => base.Relations; [DebuggerNonUserCode] public dsGetFrmSaleRtnStatisticsCustomer() { BeginInit(); InitClass(); CollectionChangeEventHandler value = SchemaChanged; base.Tables.CollectionChanged += value; base.Relations.CollectionChanged += value; EndInit(); } [DebuggerNonUserCode] protected dsGetFrmSaleRtnStatisticsCustomer(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["FrmSalesStatisticsCustomer"] != null) { base.Tables.Add(new FrmSalesStatisticsCustomerDataTable(dataSet.Tables["FrmSalesStatisticsCustomer"])); } 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() { dsGetFrmSaleRtnStatisticsCustomer dsGetFrmSaleRtnStatisticsCustomer = (dsGetFrmSaleRtnStatisticsCustomer)base.Clone(); dsGetFrmSaleRtnStatisticsCustomer.InitVars(); dsGetFrmSaleRtnStatisticsCustomer.SchemaSerializationMode = SchemaSerializationMode; return dsGetFrmSaleRtnStatisticsCustomer; } [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["FrmSalesStatisticsCustomer"] != null) { base.Tables.Add(new FrmSalesStatisticsCustomerDataTable(dataSet.Tables["FrmSalesStatisticsCustomer"])); } 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(); } tableFrmSalesStatisticsCustomer = (FrmSalesStatisticsCustomerDataTable)base.Tables["FrmSalesStatisticsCustomer"]; if (initTable && tableFrmSalesStatisticsCustomer != null) { tableFrmSalesStatisticsCustomer.InitVars(); } } [DebuggerNonUserCode] private void InitClass() { base.DataSetName = "dsGetFrmSaleRtnStatisticsCustomers"; base.Prefix = ""; base.Namespace = "http://tempuri.org/dsGetFrmSaleRtnStatisticsCustomers.xsd"; base.EnforceConstraints = true; SchemaSerializationMode = SchemaSerializationMode.IncludeSchema; tableGet = new GetDataTable(); base.Tables.Add(tableGet); tableFrmSalesStatisticsCustomer = new FrmSalesStatisticsCustomerDataTable(); base.Tables.Add(tableFrmSalesStatisticsCustomer); } [DebuggerNonUserCode] private bool ShouldSerializeGet() { return false; } [DebuggerNonUserCode] private bool ShouldSerializeFrmSalesStatisticsCustomer() { return false; } [DebuggerNonUserCode] private void SchemaChanged(object sender, CollectionChangeEventArgs e) { if (e.Action == CollectionChangeAction.Remove) { InitVars(); } } [DebuggerNonUserCode] public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs) { dsGetFrmSaleRtnStatisticsCustomer dsGetFrmSaleRtnStatisticsCustomer = new dsGetFrmSaleRtnStatisticsCustomer(); XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType(); XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence(); xs.Add(dsGetFrmSaleRtnStatisticsCustomer.GetSchemaSerializable()); XmlSchemaAny xmlSchemaAny = new XmlSchemaAny(); xmlSchemaAny.Namespace = dsGetFrmSaleRtnStatisticsCustomer.Namespace; xmlSchemaSequence.Items.Add(xmlSchemaAny); xmlSchemaComplexType.Particle = xmlSchemaSequence; return xmlSchemaComplexType; } } }