123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016 |
- 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]
- [HelpKeyword("vs.data.DataSet")]
- [DesignerCategory("code")]
- [XmlRoot("dsGetFrmSalesStatisticsCustomer")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [ToolboxItem(true)]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- public class dsGetFrmSalesStatisticsCustomer : 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;
- 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);
- columnCombine.AllowDBNull = false;
- columnStartZone_Customer.AllowDBNull = false;
- columnEndZone_Customer.AllowDBNull = false;
- }
- [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();
- dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = new dsGetFrmSalesStatisticsCustomer();
- 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 = dsGetFrmSalesStatisticsCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "GetDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsGetFrmSalesStatisticsCustomer.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]
- [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 columnPrincipal;
- private DataColumn columnCurrency;
- private DataColumn columnTaxCurrency;
- private DataColumn columnNo;
- private DataColumn columnAmount;
- private DataColumn columnGoodsAmount;
- private DataColumn columnTaxAmount;
- private DataColumn columnLocalAmount;
- private DataColumn columnType_Customer;
- private DataColumn columnZone_Customer;
- [DebuggerNonUserCode]
- public DataColumn No_CustomerColumn => columnNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
- [DebuggerNonUserCode]
- public DataColumn PrincipalColumn => columnPrincipal;
- [DebuggerNonUserCode]
- public DataColumn CurrencyColumn => columnCurrency;
- [DebuggerNonUserCode]
- public DataColumn TaxCurrencyColumn => columnTaxCurrency;
- [DebuggerNonUserCode]
- public DataColumn NoColumn => columnNo;
- [DebuggerNonUserCode]
- public DataColumn AmountColumn => columnAmount;
- [DebuggerNonUserCode]
- public DataColumn GoodsAmountColumn => columnGoodsAmount;
- [DebuggerNonUserCode]
- public DataColumn TaxAmountColumn => columnTaxAmount;
- [DebuggerNonUserCode]
- public DataColumn LocalAmountColumn => columnLocalAmount;
- [DebuggerNonUserCode]
- public DataColumn Type_CustomerColumn => columnType_Customer;
- [DebuggerNonUserCode]
- public DataColumn Zone_CustomerColumn => columnZone_Customer;
- [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 Principal, string Currency, string TaxCurrency, string No, decimal Amount, decimal GoodsAmount, decimal TaxAmount, decimal LocalAmount, string Type_Customer, string Zone_Customer)
- {
- FrmSalesStatisticsCustomerRow frmSalesStatisticsCustomerRow = (FrmSalesStatisticsCustomerRow)NewRow();
- object[] array2 = frmSalesStatisticsCustomerRow.ItemArray = new object[12]
- {
- No_Customer,
- ShortName_Customer,
- Principal,
- Currency,
- TaxCurrency,
- No,
- Amount,
- GoodsAmount,
- TaxAmount,
- LocalAmount,
- Type_Customer,
- Zone_Customer
- };
- 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"];
- columnPrincipal = base.Columns["Principal"];
- columnCurrency = base.Columns["Currency"];
- columnTaxCurrency = base.Columns["TaxCurrency"];
- columnNo = base.Columns["No"];
- columnAmount = base.Columns["Amount"];
- columnGoodsAmount = base.Columns["GoodsAmount"];
- columnTaxAmount = base.Columns["TaxAmount"];
- columnLocalAmount = base.Columns["LocalAmount"];
- columnType_Customer = base.Columns["Type_Customer"];
- columnZone_Customer = base.Columns["Zone_Customer"];
- }
- [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);
- columnPrincipal = new DataColumn("Principal", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPrincipal);
- columnCurrency = new DataColumn("Currency", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrency);
- columnTaxCurrency = new DataColumn("TaxCurrency", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTaxCurrency);
- columnNo = new DataColumn("No", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo);
- columnAmount = new DataColumn("Amount", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnAmount);
- columnGoodsAmount = new DataColumn("GoodsAmount", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnGoodsAmount);
- columnTaxAmount = new DataColumn("TaxAmount", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnTaxAmount);
- columnLocalAmount = new DataColumn("LocalAmount", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnLocalAmount);
- columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnType_Customer);
- columnZone_Customer = new DataColumn("Zone_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnZone_Customer);
- columnType_Customer.AllowDBNull = false;
- columnZone_Customer.AllowDBNull = false;
- }
- [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();
- dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = new dsGetFrmSalesStatisticsCustomer();
- 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 = dsGetFrmSalesStatisticsCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "FrmSalesStatisticsCustomerDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsGetFrmSalesStatisticsCustomer.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
- {
- return (bool)base[tableGet.CombineColumn];
- }
- set
- {
- base[tableGet.CombineColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartZone_Customer
- {
- get
- {
- return (string)base[tableGet.StartZone_CustomerColumn];
- }
- set
- {
- base[tableGet.StartZone_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndZone_Customer
- {
- get
- {
- return (string)base[tableGet.EndZone_CustomerColumn];
- }
- 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;
- }
- }
- [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 Principal
- {
- get
- {
- try
- {
- return (string)base[tableFrmSalesStatisticsCustomer.PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Principal' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesStatisticsCustomer.PrincipalColumn] = 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 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 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 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 decimal GoodsAmount
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSalesStatisticsCustomer.GoodsAmountColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'GoodsAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesStatisticsCustomer.GoodsAmountColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal TaxAmount
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSalesStatisticsCustomer.TaxAmountColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'TaxAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesStatisticsCustomer.TaxAmountColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal LocalAmount
- {
- get
- {
- try
- {
- return (decimal)base[tableFrmSalesStatisticsCustomer.LocalAmountColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LocalAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFrmSalesStatisticsCustomer.LocalAmountColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Type_Customer
- {
- get
- {
- return (string)base[tableFrmSalesStatisticsCustomer.Type_CustomerColumn];
- }
- set
- {
- base[tableFrmSalesStatisticsCustomer.Type_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Zone_Customer
- {
- get
- {
- return (string)base[tableFrmSalesStatisticsCustomer.Zone_CustomerColumn];
- }
- set
- {
- base[tableFrmSalesStatisticsCustomer.Zone_CustomerColumn] = 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 IsPrincipalNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetPrincipalNull()
- {
- base[tableFrmSalesStatisticsCustomer.PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCurrencyNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.CurrencyColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrencyNull()
- {
- base[tableFrmSalesStatisticsCustomer.CurrencyColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTaxCurrencyNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.TaxCurrencyColumn);
- }
- [DebuggerNonUserCode]
- public void SetTaxCurrencyNull()
- {
- base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNoNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.NoColumn);
- }
- [DebuggerNonUserCode]
- public void SetNoNull()
- {
- base[tableFrmSalesStatisticsCustomer.NoColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAmountNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.AmountColumn);
- }
- [DebuggerNonUserCode]
- public void SetAmountNull()
- {
- base[tableFrmSalesStatisticsCustomer.AmountColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsGoodsAmountNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.GoodsAmountColumn);
- }
- [DebuggerNonUserCode]
- public void SetGoodsAmountNull()
- {
- base[tableFrmSalesStatisticsCustomer.GoodsAmountColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTaxAmountNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.TaxAmountColumn);
- }
- [DebuggerNonUserCode]
- public void SetTaxAmountNull()
- {
- base[tableFrmSalesStatisticsCustomer.TaxAmountColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLocalAmountNull()
- {
- return IsNull(tableFrmSalesStatisticsCustomer.LocalAmountColumn);
- }
- [DebuggerNonUserCode]
- public void SetLocalAmountNull()
- {
- base[tableFrmSalesStatisticsCustomer.LocalAmountColumn] = 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;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- public GetDataTable Get => tableGet;
- [DebuggerNonUserCode]
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- public FrmSalesStatisticsCustomerDataTable FrmSalesStatisticsCustomer => tableFrmSalesStatisticsCustomer;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- [Browsable(true)]
- [DebuggerNonUserCode]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataTableCollection Tables => base.Tables;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsGetFrmSalesStatisticsCustomer()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsGetFrmSalesStatisticsCustomer(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()
- {
- dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = (dsGetFrmSalesStatisticsCustomer)base.Clone();
- dsGetFrmSalesStatisticsCustomer.InitVars();
- dsGetFrmSalesStatisticsCustomer.SchemaSerializationMode = SchemaSerializationMode;
- return dsGetFrmSalesStatisticsCustomer;
- }
- [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 = "dsGetFrmSalesStatisticsCustomer";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsGetFrmSalesStatisticsCustomer.xsd";
- base.Locale = new CultureInfo("");
- 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)
- {
- dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = new dsGetFrmSalesStatisticsCustomer();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsGetFrmSalesStatisticsCustomer.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsGetFrmSalesStatisticsCustomer.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;
- }
- }
- }
|