123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899 |
- 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")]
- [XmlRoot("dsUIMonthStatistics")]
- [DesignerCategory("code")]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [ToolboxItem(true)]
- public class dsUIMonthStatistics : DataSet
- {
- public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
- public delegate void MonthStatisticsRowChangeEventHandler(object sender, MonthStatisticsRowChangeEvent e);
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class UIDataTable : DataTable, IEnumerable
- {
- private DataColumn columndtStart;
- private DataColumn columnStartNo_Customer;
- private DataColumn columnEndNo_Customer;
- private DataColumn columnStartZone;
- private DataColumn columnEndZone;
- private DataColumn columnStartNo_Principal;
- private DataColumn columnEndNo_Principal;
- private DataColumn columnStartPrincipal_SaleBill;
- private DataColumn columnEndPrincipal_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn dtStartColumn => columndtStart;
- [DebuggerNonUserCode]
- public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn StartZoneColumn => columnStartZone;
- [DebuggerNonUserCode]
- public DataColumn EndZoneColumn => columnEndZone;
- [DebuggerNonUserCode]
- public DataColumn StartNo_PrincipalColumn => columnStartNo_Principal;
- [DebuggerNonUserCode]
- public DataColumn EndNo_PrincipalColumn => columnEndNo_Principal;
- [DebuggerNonUserCode]
- public DataColumn StartPrincipal_SaleBillColumn => columnStartPrincipal_SaleBill;
- [DebuggerNonUserCode]
- public DataColumn EndPrincipal_SaleBillColumn => columnEndPrincipal_SaleBill;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public UIRow this[int index] => (UIRow)base.Rows[index];
- public event UIRowChangeEventHandler UIRowChanging;
- public event UIRowChangeEventHandler UIRowChanged;
- public event UIRowChangeEventHandler UIRowDeleting;
- public event UIRowChangeEventHandler UIRowDeleted;
- [DebuggerNonUserCode]
- public UIDataTable()
- {
- base.TableName = "UI";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal UIDataTable(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 UIDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddUIRow(UIRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public UIRow AddUIRow(DateTime dtStart, string StartNo_Customer, string EndNo_Customer, string StartZone, string EndZone, string StartNo_Principal, string EndNo_Principal, string StartPrincipal_SaleBill, string EndPrincipal_SaleBill)
- {
- UIRow uIRow = (UIRow)NewRow();
- object[] array2 = uIRow.ItemArray = new object[9]
- {
- dtStart,
- StartNo_Customer,
- EndNo_Customer,
- StartZone,
- EndZone,
- StartNo_Principal,
- EndNo_Principal,
- StartPrincipal_SaleBill,
- EndPrincipal_SaleBill
- };
- base.Rows.Add(uIRow);
- return uIRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- UIDataTable uIDataTable = (UIDataTable)base.Clone();
- uIDataTable.InitVars();
- return uIDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new UIDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columndtStart = base.Columns["dtStart"];
- columnStartNo_Customer = base.Columns["StartNo_Customer"];
- columnEndNo_Customer = base.Columns["EndNo_Customer"];
- columnStartZone = base.Columns["StartZone"];
- columnEndZone = base.Columns["EndZone"];
- columnStartNo_Principal = base.Columns["StartNo_Principal"];
- columnEndNo_Principal = base.Columns["EndNo_Principal"];
- columnStartPrincipal_SaleBill = base.Columns["StartPrincipal_SaleBill"];
- columnEndPrincipal_SaleBill = base.Columns["EndPrincipal_SaleBill"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columndtStart = new DataColumn("dtStart", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columndtStart);
- 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);
- columnStartZone = new DataColumn("StartZone", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartZone);
- columnEndZone = new DataColumn("EndZone", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndZone);
- 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);
- columnStartPrincipal_SaleBill = new DataColumn("StartPrincipal_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnStartPrincipal_SaleBill);
- columnEndPrincipal_SaleBill = new DataColumn("EndPrincipal_SaleBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEndPrincipal_SaleBill);
- }
- [DebuggerNonUserCode]
- public UIRow NewUIRow()
- {
- return (UIRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new UIRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(UIRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.UIRowChanged != null)
- {
- this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.UIRowChanging != null)
- {
- this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.UIRowDeleted != null)
- {
- this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.UIRowDeleting != null)
- {
- this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveUIRow(UIRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsUIMonthStatistics dsUIMonthStatistics = new dsUIMonthStatistics();
- 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 = dsUIMonthStatistics.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "UIDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsUIMonthStatistics.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 MonthStatisticsDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_Customer;
- private DataColumn columnShortName_Customer;
- private DataColumn columnType_Customer;
- private DataColumn columnZone_Customer;
- private DataColumn columnBeginDate_Customer;
- private DataColumn columnSumGoodsAmount1;
- private DataColumn columnSumGoodsAmount2;
- private DataColumn columnSumGoodsAmount3;
- private DataColumn columnSumGoodsAmount4;
- private DataColumn columnSumGoodsAmount5;
- private DataColumn columnSumGoodsAmount6;
- private DataColumn columnSumGoodsAmount7;
- private DataColumn columnSumGoodsAmount8;
- private DataColumn columnSumGoodsAmount9;
- private DataColumn columnSumGoodsAmount10;
- private DataColumn columnSumGoodsAmount11;
- private DataColumn columnSumGoodsAmount12;
- [DebuggerNonUserCode]
- public DataColumn No_CustomerColumn => columnNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
- [DebuggerNonUserCode]
- public DataColumn Type_CustomerColumn => columnType_Customer;
- [DebuggerNonUserCode]
- public DataColumn Zone_CustomerColumn => columnZone_Customer;
- [DebuggerNonUserCode]
- public DataColumn BeginDate_CustomerColumn => columnBeginDate_Customer;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount1Column => columnSumGoodsAmount1;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount2Column => columnSumGoodsAmount2;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount3Column => columnSumGoodsAmount3;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount4Column => columnSumGoodsAmount4;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount5Column => columnSumGoodsAmount5;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount6Column => columnSumGoodsAmount6;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount7Column => columnSumGoodsAmount7;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount8Column => columnSumGoodsAmount8;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount9Column => columnSumGoodsAmount9;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount10Column => columnSumGoodsAmount10;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount11Column => columnSumGoodsAmount11;
- [DebuggerNonUserCode]
- public DataColumn SumGoodsAmount12Column => columnSumGoodsAmount12;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public MonthStatisticsRow this[int index] => (MonthStatisticsRow)base.Rows[index];
- public event MonthStatisticsRowChangeEventHandler MonthStatisticsRowChanging;
- public event MonthStatisticsRowChangeEventHandler MonthStatisticsRowChanged;
- public event MonthStatisticsRowChangeEventHandler MonthStatisticsRowDeleting;
- public event MonthStatisticsRowChangeEventHandler MonthStatisticsRowDeleted;
- [DebuggerNonUserCode]
- public MonthStatisticsDataTable()
- {
- base.TableName = "MonthStatistics";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal MonthStatisticsDataTable(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 MonthStatisticsDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddMonthStatisticsRow(MonthStatisticsRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public MonthStatisticsRow AddMonthStatisticsRow(string No_Customer, string ShortName_Customer, string Type_Customer, string Zone_Customer, DateTime BeginDate_Customer, decimal SumGoodsAmount1, decimal SumGoodsAmount2, decimal SumGoodsAmount3, decimal SumGoodsAmount4, decimal SumGoodsAmount5, decimal SumGoodsAmount6, decimal SumGoodsAmount7, decimal SumGoodsAmount8, decimal SumGoodsAmount9, decimal SumGoodsAmount10, decimal SumGoodsAmount11, decimal SumGoodsAmount12)
- {
- MonthStatisticsRow monthStatisticsRow = (MonthStatisticsRow)NewRow();
- object[] array2 = monthStatisticsRow.ItemArray = new object[17]
- {
- No_Customer,
- ShortName_Customer,
- Type_Customer,
- Zone_Customer,
- BeginDate_Customer,
- SumGoodsAmount1,
- SumGoodsAmount2,
- SumGoodsAmount3,
- SumGoodsAmount4,
- SumGoodsAmount5,
- SumGoodsAmount6,
- SumGoodsAmount7,
- SumGoodsAmount8,
- SumGoodsAmount9,
- SumGoodsAmount10,
- SumGoodsAmount11,
- SumGoodsAmount12
- };
- base.Rows.Add(monthStatisticsRow);
- return monthStatisticsRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- MonthStatisticsDataTable monthStatisticsDataTable = (MonthStatisticsDataTable)base.Clone();
- monthStatisticsDataTable.InitVars();
- return monthStatisticsDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new MonthStatisticsDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_Customer = base.Columns["No_Customer"];
- columnShortName_Customer = base.Columns["ShortName_Customer"];
- columnType_Customer = base.Columns["Type_Customer"];
- columnZone_Customer = base.Columns["Zone_Customer"];
- columnBeginDate_Customer = base.Columns["BeginDate_Customer"];
- columnSumGoodsAmount1 = base.Columns["SumGoodsAmount1"];
- columnSumGoodsAmount2 = base.Columns["SumGoodsAmount2"];
- columnSumGoodsAmount3 = base.Columns["SumGoodsAmount3"];
- columnSumGoodsAmount4 = base.Columns["SumGoodsAmount4"];
- columnSumGoodsAmount5 = base.Columns["SumGoodsAmount5"];
- columnSumGoodsAmount6 = base.Columns["SumGoodsAmount6"];
- columnSumGoodsAmount7 = base.Columns["SumGoodsAmount7"];
- columnSumGoodsAmount8 = base.Columns["SumGoodsAmount8"];
- columnSumGoodsAmount9 = base.Columns["SumGoodsAmount9"];
- columnSumGoodsAmount10 = base.Columns["SumGoodsAmount10"];
- columnSumGoodsAmount11 = base.Columns["SumGoodsAmount11"];
- columnSumGoodsAmount12 = base.Columns["SumGoodsAmount12"];
- }
- [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);
- 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);
- columnBeginDate_Customer = new DataColumn("BeginDate_Customer", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnBeginDate_Customer);
- columnSumGoodsAmount1 = new DataColumn("SumGoodsAmount1", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount1);
- columnSumGoodsAmount2 = new DataColumn("SumGoodsAmount2", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount2);
- columnSumGoodsAmount3 = new DataColumn("SumGoodsAmount3", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount3);
- columnSumGoodsAmount4 = new DataColumn("SumGoodsAmount4", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount4);
- columnSumGoodsAmount5 = new DataColumn("SumGoodsAmount5", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount5);
- columnSumGoodsAmount6 = new DataColumn("SumGoodsAmount6", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount6);
- columnSumGoodsAmount7 = new DataColumn("SumGoodsAmount7", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount7);
- columnSumGoodsAmount8 = new DataColumn("SumGoodsAmount8", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount8);
- columnSumGoodsAmount9 = new DataColumn("SumGoodsAmount9", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount9);
- columnSumGoodsAmount10 = new DataColumn("SumGoodsAmount10", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount10);
- columnSumGoodsAmount11 = new DataColumn("SumGoodsAmount11", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount11);
- columnSumGoodsAmount12 = new DataColumn("SumGoodsAmount12", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnSumGoodsAmount12);
- }
- [DebuggerNonUserCode]
- public MonthStatisticsRow NewMonthStatisticsRow()
- {
- return (MonthStatisticsRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new MonthStatisticsRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(MonthStatisticsRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.MonthStatisticsRowChanged != null)
- {
- this.MonthStatisticsRowChanged(this, new MonthStatisticsRowChangeEvent((MonthStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.MonthStatisticsRowChanging != null)
- {
- this.MonthStatisticsRowChanging(this, new MonthStatisticsRowChangeEvent((MonthStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.MonthStatisticsRowDeleted != null)
- {
- this.MonthStatisticsRowDeleted(this, new MonthStatisticsRowChangeEvent((MonthStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.MonthStatisticsRowDeleting != null)
- {
- this.MonthStatisticsRowDeleting(this, new MonthStatisticsRowChangeEvent((MonthStatisticsRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveMonthStatisticsRow(MonthStatisticsRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsUIMonthStatistics dsUIMonthStatistics = new dsUIMonthStatistics();
- 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 = dsUIMonthStatistics.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "MonthStatisticsDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsUIMonthStatistics.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 UIRow : DataRow
- {
- private UIDataTable tableUI;
- [DebuggerNonUserCode]
- public DateTime dtStart
- {
- get
- {
- try
- {
- return (DateTime)base[tableUI.dtStartColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'dtStart' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.dtStartColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartZone
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartZoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartZone' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartZoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndZone
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndZoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndZone' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndZoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartNo_Principal
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartNo_PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartNo_Principal' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartNo_PrincipalColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndNo_Principal
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndNo_PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndNo_Principal' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndNo_PrincipalColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string StartPrincipal_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.StartPrincipal_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StartPrincipal_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.StartPrincipal_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EndPrincipal_SaleBill
- {
- get
- {
- try
- {
- return (string)base[tableUI.EndPrincipal_SaleBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EndPrincipal_SaleBill' in table 'UI' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableUI.EndPrincipal_SaleBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal UIRow(DataRowBuilder rb)
- : base(rb)
- {
- tableUI = (UIDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsdtStartNull()
- {
- return IsNull(tableUI.dtStartColumn);
- }
- [DebuggerNonUserCode]
- public void SetdtStartNull()
- {
- base[tableUI.dtStartColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_CustomerNull()
- {
- return IsNull(tableUI.StartNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_CustomerNull()
- {
- base[tableUI.StartNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_CustomerNull()
- {
- return IsNull(tableUI.EndNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_CustomerNull()
- {
- base[tableUI.EndNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartZoneNull()
- {
- return IsNull(tableUI.StartZoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartZoneNull()
- {
- base[tableUI.StartZoneColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndZoneNull()
- {
- return IsNull(tableUI.EndZoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndZoneNull()
- {
- base[tableUI.EndZoneColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartNo_PrincipalNull()
- {
- return IsNull(tableUI.StartNo_PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartNo_PrincipalNull()
- {
- base[tableUI.StartNo_PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndNo_PrincipalNull()
- {
- return IsNull(tableUI.EndNo_PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndNo_PrincipalNull()
- {
- base[tableUI.EndNo_PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStartPrincipal_SaleBillNull()
- {
- return IsNull(tableUI.StartPrincipal_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStartPrincipal_SaleBillNull()
- {
- base[tableUI.StartPrincipal_SaleBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEndPrincipal_SaleBillNull()
- {
- return IsNull(tableUI.EndPrincipal_SaleBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEndPrincipal_SaleBillNull()
- {
- base[tableUI.EndPrincipal_SaleBillColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class MonthStatisticsRow : DataRow
- {
- private MonthStatisticsDataTable tableMonthStatistics;
- [DebuggerNonUserCode]
- public string No_Customer
- {
- get
- {
- try
- {
- return (string)base[tableMonthStatistics.No_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Customer' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.No_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string ShortName_Customer
- {
- get
- {
- try
- {
- return (string)base[tableMonthStatistics.ShortName_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.ShortName_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Type_Customer
- {
- get
- {
- try
- {
- return (string)base[tableMonthStatistics.Type_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Type_Customer' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.Type_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Zone_Customer
- {
- get
- {
- try
- {
- return (string)base[tableMonthStatistics.Zone_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Zone_Customer' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.Zone_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime BeginDate_Customer
- {
- get
- {
- try
- {
- return (DateTime)base[tableMonthStatistics.BeginDate_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'BeginDate_Customer' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.BeginDate_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount1
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount1Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount1' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount1Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount2
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount2Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount2' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount2Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount3
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount3Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount3' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount3Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount4
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount4Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount4' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount4Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount5
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount5Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount5' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount5Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount6
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount6Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount6' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount6Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount7
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount7Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount7' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount7Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount8
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount8Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount8' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount8Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount9
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount9Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount9' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount9Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount10
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount10Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount10' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount10Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount11
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount11Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount11' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount11Column] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal SumGoodsAmount12
- {
- get
- {
- try
- {
- return (decimal)base[tableMonthStatistics.SumGoodsAmount12Column];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SumGoodsAmount12' in table 'MonthStatistics' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableMonthStatistics.SumGoodsAmount12Column] = value;
- }
- }
- [DebuggerNonUserCode]
- internal MonthStatisticsRow(DataRowBuilder rb)
- : base(rb)
- {
- tableMonthStatistics = (MonthStatisticsDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_CustomerNull()
- {
- return IsNull(tableMonthStatistics.No_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_CustomerNull()
- {
- base[tableMonthStatistics.No_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsShortName_CustomerNull()
- {
- return IsNull(tableMonthStatistics.ShortName_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetShortName_CustomerNull()
- {
- base[tableMonthStatistics.ShortName_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsType_CustomerNull()
- {
- return IsNull(tableMonthStatistics.Type_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetType_CustomerNull()
- {
- base[tableMonthStatistics.Type_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsZone_CustomerNull()
- {
- return IsNull(tableMonthStatistics.Zone_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetZone_CustomerNull()
- {
- base[tableMonthStatistics.Zone_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsBeginDate_CustomerNull()
- {
- return IsNull(tableMonthStatistics.BeginDate_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetBeginDate_CustomerNull()
- {
- base[tableMonthStatistics.BeginDate_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount1Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount1Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount1Null()
- {
- base[tableMonthStatistics.SumGoodsAmount1Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount2Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount2Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount2Null()
- {
- base[tableMonthStatistics.SumGoodsAmount2Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount3Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount3Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount3Null()
- {
- base[tableMonthStatistics.SumGoodsAmount3Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount4Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount4Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount4Null()
- {
- base[tableMonthStatistics.SumGoodsAmount4Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount5Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount5Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount5Null()
- {
- base[tableMonthStatistics.SumGoodsAmount5Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount6Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount6Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount6Null()
- {
- base[tableMonthStatistics.SumGoodsAmount6Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount7Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount7Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount7Null()
- {
- base[tableMonthStatistics.SumGoodsAmount7Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount8Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount8Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount8Null()
- {
- base[tableMonthStatistics.SumGoodsAmount8Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount9Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount9Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount9Null()
- {
- base[tableMonthStatistics.SumGoodsAmount9Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount10Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount10Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount10Null()
- {
- base[tableMonthStatistics.SumGoodsAmount10Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount11Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount11Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount11Null()
- {
- base[tableMonthStatistics.SumGoodsAmount11Column] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSumGoodsAmount12Null()
- {
- return IsNull(tableMonthStatistics.SumGoodsAmount12Column);
- }
- [DebuggerNonUserCode]
- public void SetSumGoodsAmount12Null()
- {
- base[tableMonthStatistics.SumGoodsAmount12Column] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class UIRowChangeEvent : EventArgs
- {
- private UIRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public UIRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public UIRowChangeEvent(UIRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class MonthStatisticsRowChangeEvent : EventArgs
- {
- private MonthStatisticsRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public MonthStatisticsRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public MonthStatisticsRowChangeEvent(MonthStatisticsRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private UIDataTable tableUI;
- private MonthStatisticsDataTable tableMonthStatistics;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public UIDataTable UI => tableUI;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- [DebuggerNonUserCode]
- public MonthStatisticsDataTable MonthStatistics => tableMonthStatistics;
- [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 dsUIMonthStatistics()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsUIMonthStatistics(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["UI"] != null)
- {
- base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
- }
- if (dataSet.Tables["MonthStatistics"] != null)
- {
- base.Tables.Add(new MonthStatisticsDataTable(dataSet.Tables["MonthStatistics"]));
- }
- 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()
- {
- dsUIMonthStatistics dsUIMonthStatistics = (dsUIMonthStatistics)base.Clone();
- dsUIMonthStatistics.InitVars();
- dsUIMonthStatistics.SchemaSerializationMode = SchemaSerializationMode;
- return dsUIMonthStatistics;
- }
- [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["UI"] != null)
- {
- base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
- }
- if (dataSet.Tables["MonthStatistics"] != null)
- {
- base.Tables.Add(new MonthStatisticsDataTable(dataSet.Tables["MonthStatistics"]));
- }
- 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)
- {
- tableUI = (UIDataTable)base.Tables["UI"];
- if (initTable && tableUI != null)
- {
- tableUI.InitVars();
- }
- tableMonthStatistics = (MonthStatisticsDataTable)base.Tables["MonthStatistics"];
- if (initTable && tableMonthStatistics != null)
- {
- tableMonthStatistics.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsUIMonthStatistics";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsUIMonthStatistics.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableUI = new UIDataTable();
- base.Tables.Add(tableUI);
- tableMonthStatistics = new MonthStatisticsDataTable();
- base.Tables.Add(tableMonthStatistics);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeUI()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeMonthStatistics()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsUIMonthStatistics dsUIMonthStatistics = new dsUIMonthStatistics();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsUIMonthStatistics.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- XmlSchema schemaSerializable = dsUIMonthStatistics.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;
- }
- }
- }
|