dsGetFrmSalesStatisticsCustomer.cs 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.ComponentModel.Design;
  6. using System.Data;
  7. using System.Diagnostics;
  8. using System.Globalization;
  9. using System.IO;
  10. using System.Runtime.Serialization;
  11. using System.Xml;
  12. using System.Xml.Schema;
  13. using System.Xml.Serialization;
  14. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  15. {
  16. [Serializable]
  17. [HelpKeyword("vs.data.DataSet")]
  18. [DesignerCategory("code")]
  19. [XmlRoot("dsGetFrmSalesStatisticsCustomer")]
  20. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  21. [ToolboxItem(true)]
  22. [XmlSchemaProvider("GetTypedDataSetSchema")]
  23. public class dsGetFrmSalesStatisticsCustomer : DataSet
  24. {
  25. public delegate void GetRowChangeEventHandler(object sender, GetRowChangeEvent e);
  26. public delegate void FrmSalesStatisticsCustomerRowChangeEventHandler(object sender, FrmSalesStatisticsCustomerRowChangeEvent e);
  27. [Serializable]
  28. [XmlSchemaProvider("GetTypedTableSchema")]
  29. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  30. public class GetDataTable : DataTable, IEnumerable
  31. {
  32. private DataColumn columnStartDate;
  33. private DataColumn columnEndDate;
  34. private DataColumn columnStartNo_SaleBill;
  35. private DataColumn columnEndNo_SaleBill;
  36. private DataColumn columnStartNo_Customer;
  37. private DataColumn columnEndNo_Customer;
  38. private DataColumn columnStartNo_Principal;
  39. private DataColumn columnEndNo_Principal;
  40. private DataColumn columnStartNo_Location;
  41. private DataColumn columnEndNo_Location;
  42. private DataColumn columnStartNo_Product;
  43. private DataColumn columnEndNo_Product;
  44. private DataColumn columnStartType_Product;
  45. private DataColumn columnEndType_Product;
  46. private DataColumn columnCompany;
  47. private DataColumn columnName_Create;
  48. private DataColumn columnCombine;
  49. private DataColumn columnStartZone_Customer;
  50. private DataColumn columnEndZone_Customer;
  51. [DebuggerNonUserCode]
  52. public DataColumn StartDateColumn => columnStartDate;
  53. [DebuggerNonUserCode]
  54. public DataColumn EndDateColumn => columnEndDate;
  55. [DebuggerNonUserCode]
  56. public DataColumn StartNo_SaleBillColumn => columnStartNo_SaleBill;
  57. [DebuggerNonUserCode]
  58. public DataColumn EndNo_SaleBillColumn => columnEndNo_SaleBill;
  59. [DebuggerNonUserCode]
  60. public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
  61. [DebuggerNonUserCode]
  62. public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
  63. [DebuggerNonUserCode]
  64. public DataColumn StartNo_PrincipalColumn => columnStartNo_Principal;
  65. [DebuggerNonUserCode]
  66. public DataColumn EndNo_PrincipalColumn => columnEndNo_Principal;
  67. [DebuggerNonUserCode]
  68. public DataColumn StartNo_LocationColumn => columnStartNo_Location;
  69. [DebuggerNonUserCode]
  70. public DataColumn EndNo_LocationColumn => columnEndNo_Location;
  71. [DebuggerNonUserCode]
  72. public DataColumn StartNo_ProductColumn => columnStartNo_Product;
  73. [DebuggerNonUserCode]
  74. public DataColumn EndNo_ProductColumn => columnEndNo_Product;
  75. [DebuggerNonUserCode]
  76. public DataColumn StartType_ProductColumn => columnStartType_Product;
  77. [DebuggerNonUserCode]
  78. public DataColumn EndType_ProductColumn => columnEndType_Product;
  79. [DebuggerNonUserCode]
  80. public DataColumn CompanyColumn => columnCompany;
  81. [DebuggerNonUserCode]
  82. public DataColumn Name_CreateColumn => columnName_Create;
  83. [DebuggerNonUserCode]
  84. public DataColumn CombineColumn => columnCombine;
  85. [DebuggerNonUserCode]
  86. public DataColumn StartZone_CustomerColumn => columnStartZone_Customer;
  87. [DebuggerNonUserCode]
  88. public DataColumn EndZone_CustomerColumn => columnEndZone_Customer;
  89. [Browsable(false)]
  90. [DebuggerNonUserCode]
  91. public int Count => base.Rows.Count;
  92. [DebuggerNonUserCode]
  93. public GetRow this[int index] => (GetRow)base.Rows[index];
  94. public event GetRowChangeEventHandler GetRowChanging;
  95. public event GetRowChangeEventHandler GetRowChanged;
  96. public event GetRowChangeEventHandler GetRowDeleting;
  97. public event GetRowChangeEventHandler GetRowDeleted;
  98. [DebuggerNonUserCode]
  99. public GetDataTable()
  100. {
  101. base.TableName = "Get";
  102. BeginInit();
  103. InitClass();
  104. EndInit();
  105. }
  106. [DebuggerNonUserCode]
  107. internal GetDataTable(DataTable table)
  108. {
  109. base.TableName = table.TableName;
  110. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  111. {
  112. base.CaseSensitive = table.CaseSensitive;
  113. }
  114. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  115. {
  116. base.Locale = table.Locale;
  117. }
  118. if (table.Namespace != table.DataSet.Namespace)
  119. {
  120. base.Namespace = table.Namespace;
  121. }
  122. base.Prefix = table.Prefix;
  123. base.MinimumCapacity = table.MinimumCapacity;
  124. }
  125. [DebuggerNonUserCode]
  126. protected GetDataTable(SerializationInfo info, StreamingContext context)
  127. : base(info, context)
  128. {
  129. InitVars();
  130. }
  131. [DebuggerNonUserCode]
  132. public void AddGetRow(GetRow row)
  133. {
  134. base.Rows.Add(row);
  135. }
  136. [DebuggerNonUserCode]
  137. 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)
  138. {
  139. GetRow getRow = (GetRow)NewRow();
  140. object[] array2 = getRow.ItemArray = new object[19]
  141. {
  142. StartDate,
  143. EndDate,
  144. StartNo_SaleBill,
  145. EndNo_SaleBill,
  146. StartNo_Customer,
  147. EndNo_Customer,
  148. StartNo_Principal,
  149. EndNo_Principal,
  150. StartNo_Location,
  151. EndNo_Location,
  152. StartNo_Product,
  153. EndNo_Product,
  154. StartType_Product,
  155. EndType_Product,
  156. Company,
  157. Name_Create,
  158. Combine,
  159. StartZone_Customer,
  160. EndZone_Customer
  161. };
  162. base.Rows.Add(getRow);
  163. return getRow;
  164. }
  165. [DebuggerNonUserCode]
  166. public virtual IEnumerator GetEnumerator()
  167. {
  168. return base.Rows.GetEnumerator();
  169. }
  170. [DebuggerNonUserCode]
  171. public override DataTable Clone()
  172. {
  173. GetDataTable getDataTable = (GetDataTable)base.Clone();
  174. getDataTable.InitVars();
  175. return getDataTable;
  176. }
  177. [DebuggerNonUserCode]
  178. protected override DataTable CreateInstance()
  179. {
  180. return new GetDataTable();
  181. }
  182. [DebuggerNonUserCode]
  183. internal void InitVars()
  184. {
  185. columnStartDate = base.Columns["StartDate"];
  186. columnEndDate = base.Columns["EndDate"];
  187. columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"];
  188. columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"];
  189. columnStartNo_Customer = base.Columns["StartNo_Customer"];
  190. columnEndNo_Customer = base.Columns["EndNo_Customer"];
  191. columnStartNo_Principal = base.Columns["StartNo_Principal"];
  192. columnEndNo_Principal = base.Columns["EndNo_Principal"];
  193. columnStartNo_Location = base.Columns["StartNo_Location"];
  194. columnEndNo_Location = base.Columns["EndNo_Location"];
  195. columnStartNo_Product = base.Columns["StartNo_Product"];
  196. columnEndNo_Product = base.Columns["EndNo_Product"];
  197. columnStartType_Product = base.Columns["StartType_Product"];
  198. columnEndType_Product = base.Columns["EndType_Product"];
  199. columnCompany = base.Columns["Company"];
  200. columnName_Create = base.Columns["Name_Create"];
  201. columnCombine = base.Columns["Combine"];
  202. columnStartZone_Customer = base.Columns["StartZone_Customer"];
  203. columnEndZone_Customer = base.Columns["EndZone_Customer"];
  204. }
  205. [DebuggerNonUserCode]
  206. private void InitClass()
  207. {
  208. columnStartDate = new DataColumn("StartDate", typeof(DateTime), null, MappingType.Element);
  209. base.Columns.Add(columnStartDate);
  210. columnEndDate = new DataColumn("EndDate", typeof(DateTime), null, MappingType.Element);
  211. base.Columns.Add(columnEndDate);
  212. columnStartNo_SaleBill = new DataColumn("StartNo_SaleBill", typeof(string), null, MappingType.Element);
  213. base.Columns.Add(columnStartNo_SaleBill);
  214. columnEndNo_SaleBill = new DataColumn("EndNo_SaleBill", typeof(string), null, MappingType.Element);
  215. base.Columns.Add(columnEndNo_SaleBill);
  216. columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element);
  217. base.Columns.Add(columnStartNo_Customer);
  218. columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element);
  219. base.Columns.Add(columnEndNo_Customer);
  220. columnStartNo_Principal = new DataColumn("StartNo_Principal", typeof(string), null, MappingType.Element);
  221. base.Columns.Add(columnStartNo_Principal);
  222. columnEndNo_Principal = new DataColumn("EndNo_Principal", typeof(string), null, MappingType.Element);
  223. base.Columns.Add(columnEndNo_Principal);
  224. columnStartNo_Location = new DataColumn("StartNo_Location", typeof(string), null, MappingType.Element);
  225. base.Columns.Add(columnStartNo_Location);
  226. columnEndNo_Location = new DataColumn("EndNo_Location", typeof(string), null, MappingType.Element);
  227. base.Columns.Add(columnEndNo_Location);
  228. columnStartNo_Product = new DataColumn("StartNo_Product", typeof(string), null, MappingType.Element);
  229. base.Columns.Add(columnStartNo_Product);
  230. columnEndNo_Product = new DataColumn("EndNo_Product", typeof(string), null, MappingType.Element);
  231. base.Columns.Add(columnEndNo_Product);
  232. columnStartType_Product = new DataColumn("StartType_Product", typeof(string), null, MappingType.Element);
  233. base.Columns.Add(columnStartType_Product);
  234. columnEndType_Product = new DataColumn("EndType_Product", typeof(string), null, MappingType.Element);
  235. base.Columns.Add(columnEndType_Product);
  236. columnCompany = new DataColumn("Company", typeof(string), null, MappingType.Element);
  237. base.Columns.Add(columnCompany);
  238. columnName_Create = new DataColumn("Name_Create", typeof(string), null, MappingType.Element);
  239. base.Columns.Add(columnName_Create);
  240. columnCombine = new DataColumn("Combine", typeof(bool), null, MappingType.Element);
  241. base.Columns.Add(columnCombine);
  242. columnStartZone_Customer = new DataColumn("StartZone_Customer", typeof(string), null, MappingType.Element);
  243. base.Columns.Add(columnStartZone_Customer);
  244. columnEndZone_Customer = new DataColumn("EndZone_Customer", typeof(string), null, MappingType.Element);
  245. base.Columns.Add(columnEndZone_Customer);
  246. columnCombine.AllowDBNull = false;
  247. columnStartZone_Customer.AllowDBNull = false;
  248. columnEndZone_Customer.AllowDBNull = false;
  249. }
  250. [DebuggerNonUserCode]
  251. public GetRow NewGetRow()
  252. {
  253. return (GetRow)NewRow();
  254. }
  255. [DebuggerNonUserCode]
  256. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  257. {
  258. return new GetRow(builder);
  259. }
  260. [DebuggerNonUserCode]
  261. protected override Type GetRowType()
  262. {
  263. return typeof(GetRow);
  264. }
  265. [DebuggerNonUserCode]
  266. protected override void OnRowChanged(DataRowChangeEventArgs e)
  267. {
  268. base.OnRowChanged(e);
  269. if (this.GetRowChanged != null)
  270. {
  271. this.GetRowChanged(this, new GetRowChangeEvent((GetRow)e.Row, e.Action));
  272. }
  273. }
  274. [DebuggerNonUserCode]
  275. protected override void OnRowChanging(DataRowChangeEventArgs e)
  276. {
  277. base.OnRowChanging(e);
  278. if (this.GetRowChanging != null)
  279. {
  280. this.GetRowChanging(this, new GetRowChangeEvent((GetRow)e.Row, e.Action));
  281. }
  282. }
  283. [DebuggerNonUserCode]
  284. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  285. {
  286. base.OnRowDeleted(e);
  287. if (this.GetRowDeleted != null)
  288. {
  289. this.GetRowDeleted(this, new GetRowChangeEvent((GetRow)e.Row, e.Action));
  290. }
  291. }
  292. [DebuggerNonUserCode]
  293. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  294. {
  295. base.OnRowDeleting(e);
  296. if (this.GetRowDeleting != null)
  297. {
  298. this.GetRowDeleting(this, new GetRowChangeEvent((GetRow)e.Row, e.Action));
  299. }
  300. }
  301. [DebuggerNonUserCode]
  302. public void RemoveGetRow(GetRow row)
  303. {
  304. base.Rows.Remove(row);
  305. }
  306. [DebuggerNonUserCode]
  307. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  308. {
  309. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  310. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  311. dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = new dsGetFrmSalesStatisticsCustomer();
  312. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  313. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  314. xmlSchemaAny.MinOccurs = 0m;
  315. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  316. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  317. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  318. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  319. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  320. xmlSchemaAny2.MinOccurs = 1m;
  321. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  322. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  323. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  324. xmlSchemaAttribute.Name = "namespace";
  325. xmlSchemaAttribute.FixedValue = dsGetFrmSalesStatisticsCustomer.Namespace;
  326. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  327. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  328. xmlSchemaAttribute2.Name = "tableTypeName";
  329. xmlSchemaAttribute2.FixedValue = "GetDataTable";
  330. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  331. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  332. XmlSchema schemaSerializable = dsGetFrmSalesStatisticsCustomer.GetSchemaSerializable();
  333. if (xs.Contains(schemaSerializable.TargetNamespace))
  334. {
  335. MemoryStream memoryStream = new MemoryStream();
  336. MemoryStream memoryStream2 = new MemoryStream();
  337. try
  338. {
  339. XmlSchema xmlSchema = null;
  340. schemaSerializable.Write(memoryStream);
  341. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  342. while (enumerator.MoveNext())
  343. {
  344. xmlSchema = (XmlSchema)enumerator.Current;
  345. memoryStream2.SetLength(0L);
  346. xmlSchema.Write(memoryStream2);
  347. if (memoryStream.Length == memoryStream2.Length)
  348. {
  349. memoryStream.Position = 0L;
  350. memoryStream2.Position = 0L;
  351. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  352. {
  353. }
  354. if (memoryStream.Position == memoryStream.Length)
  355. {
  356. return xmlSchemaComplexType;
  357. }
  358. }
  359. }
  360. }
  361. finally
  362. {
  363. memoryStream?.Close();
  364. memoryStream2?.Close();
  365. }
  366. }
  367. xs.Add(schemaSerializable);
  368. return xmlSchemaComplexType;
  369. }
  370. }
  371. [Serializable]
  372. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  373. [XmlSchemaProvider("GetTypedTableSchema")]
  374. public class FrmSalesStatisticsCustomerDataTable : DataTable, IEnumerable
  375. {
  376. private DataColumn columnNo_Customer;
  377. private DataColumn columnShortName_Customer;
  378. private DataColumn columnPrincipal;
  379. private DataColumn columnCurrency;
  380. private DataColumn columnTaxCurrency;
  381. private DataColumn columnNo;
  382. private DataColumn columnAmount;
  383. private DataColumn columnGoodsAmount;
  384. private DataColumn columnTaxAmount;
  385. private DataColumn columnLocalAmount;
  386. private DataColumn columnType_Customer;
  387. private DataColumn columnZone_Customer;
  388. [DebuggerNonUserCode]
  389. public DataColumn No_CustomerColumn => columnNo_Customer;
  390. [DebuggerNonUserCode]
  391. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  392. [DebuggerNonUserCode]
  393. public DataColumn PrincipalColumn => columnPrincipal;
  394. [DebuggerNonUserCode]
  395. public DataColumn CurrencyColumn => columnCurrency;
  396. [DebuggerNonUserCode]
  397. public DataColumn TaxCurrencyColumn => columnTaxCurrency;
  398. [DebuggerNonUserCode]
  399. public DataColumn NoColumn => columnNo;
  400. [DebuggerNonUserCode]
  401. public DataColumn AmountColumn => columnAmount;
  402. [DebuggerNonUserCode]
  403. public DataColumn GoodsAmountColumn => columnGoodsAmount;
  404. [DebuggerNonUserCode]
  405. public DataColumn TaxAmountColumn => columnTaxAmount;
  406. [DebuggerNonUserCode]
  407. public DataColumn LocalAmountColumn => columnLocalAmount;
  408. [DebuggerNonUserCode]
  409. public DataColumn Type_CustomerColumn => columnType_Customer;
  410. [DebuggerNonUserCode]
  411. public DataColumn Zone_CustomerColumn => columnZone_Customer;
  412. [Browsable(false)]
  413. [DebuggerNonUserCode]
  414. public int Count => base.Rows.Count;
  415. [DebuggerNonUserCode]
  416. public FrmSalesStatisticsCustomerRow this[int index] => (FrmSalesStatisticsCustomerRow)base.Rows[index];
  417. public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowChanging;
  418. public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowChanged;
  419. public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowDeleting;
  420. public event FrmSalesStatisticsCustomerRowChangeEventHandler FrmSalesStatisticsCustomerRowDeleted;
  421. [DebuggerNonUserCode]
  422. public FrmSalesStatisticsCustomerDataTable()
  423. {
  424. base.TableName = "FrmSalesStatisticsCustomer";
  425. BeginInit();
  426. InitClass();
  427. EndInit();
  428. }
  429. [DebuggerNonUserCode]
  430. internal FrmSalesStatisticsCustomerDataTable(DataTable table)
  431. {
  432. base.TableName = table.TableName;
  433. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  434. {
  435. base.CaseSensitive = table.CaseSensitive;
  436. }
  437. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  438. {
  439. base.Locale = table.Locale;
  440. }
  441. if (table.Namespace != table.DataSet.Namespace)
  442. {
  443. base.Namespace = table.Namespace;
  444. }
  445. base.Prefix = table.Prefix;
  446. base.MinimumCapacity = table.MinimumCapacity;
  447. }
  448. [DebuggerNonUserCode]
  449. protected FrmSalesStatisticsCustomerDataTable(SerializationInfo info, StreamingContext context)
  450. : base(info, context)
  451. {
  452. InitVars();
  453. }
  454. [DebuggerNonUserCode]
  455. public void AddFrmSalesStatisticsCustomerRow(FrmSalesStatisticsCustomerRow row)
  456. {
  457. base.Rows.Add(row);
  458. }
  459. [DebuggerNonUserCode]
  460. 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)
  461. {
  462. FrmSalesStatisticsCustomerRow frmSalesStatisticsCustomerRow = (FrmSalesStatisticsCustomerRow)NewRow();
  463. object[] array2 = frmSalesStatisticsCustomerRow.ItemArray = new object[12]
  464. {
  465. No_Customer,
  466. ShortName_Customer,
  467. Principal,
  468. Currency,
  469. TaxCurrency,
  470. No,
  471. Amount,
  472. GoodsAmount,
  473. TaxAmount,
  474. LocalAmount,
  475. Type_Customer,
  476. Zone_Customer
  477. };
  478. base.Rows.Add(frmSalesStatisticsCustomerRow);
  479. return frmSalesStatisticsCustomerRow;
  480. }
  481. [DebuggerNonUserCode]
  482. public virtual IEnumerator GetEnumerator()
  483. {
  484. return base.Rows.GetEnumerator();
  485. }
  486. [DebuggerNonUserCode]
  487. public override DataTable Clone()
  488. {
  489. FrmSalesStatisticsCustomerDataTable frmSalesStatisticsCustomerDataTable = (FrmSalesStatisticsCustomerDataTable)base.Clone();
  490. frmSalesStatisticsCustomerDataTable.InitVars();
  491. return frmSalesStatisticsCustomerDataTable;
  492. }
  493. [DebuggerNonUserCode]
  494. protected override DataTable CreateInstance()
  495. {
  496. return new FrmSalesStatisticsCustomerDataTable();
  497. }
  498. [DebuggerNonUserCode]
  499. internal void InitVars()
  500. {
  501. columnNo_Customer = base.Columns["No_Customer"];
  502. columnShortName_Customer = base.Columns["ShortName_Customer"];
  503. columnPrincipal = base.Columns["Principal"];
  504. columnCurrency = base.Columns["Currency"];
  505. columnTaxCurrency = base.Columns["TaxCurrency"];
  506. columnNo = base.Columns["No"];
  507. columnAmount = base.Columns["Amount"];
  508. columnGoodsAmount = base.Columns["GoodsAmount"];
  509. columnTaxAmount = base.Columns["TaxAmount"];
  510. columnLocalAmount = base.Columns["LocalAmount"];
  511. columnType_Customer = base.Columns["Type_Customer"];
  512. columnZone_Customer = base.Columns["Zone_Customer"];
  513. }
  514. [DebuggerNonUserCode]
  515. private void InitClass()
  516. {
  517. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  518. base.Columns.Add(columnNo_Customer);
  519. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  520. base.Columns.Add(columnShortName_Customer);
  521. columnPrincipal = new DataColumn("Principal", typeof(string), null, MappingType.Element);
  522. base.Columns.Add(columnPrincipal);
  523. columnCurrency = new DataColumn("Currency", typeof(string), null, MappingType.Element);
  524. base.Columns.Add(columnCurrency);
  525. columnTaxCurrency = new DataColumn("TaxCurrency", typeof(string), null, MappingType.Element);
  526. base.Columns.Add(columnTaxCurrency);
  527. columnNo = new DataColumn("No", typeof(string), null, MappingType.Element);
  528. base.Columns.Add(columnNo);
  529. columnAmount = new DataColumn("Amount", typeof(decimal), null, MappingType.Element);
  530. base.Columns.Add(columnAmount);
  531. columnGoodsAmount = new DataColumn("GoodsAmount", typeof(decimal), null, MappingType.Element);
  532. base.Columns.Add(columnGoodsAmount);
  533. columnTaxAmount = new DataColumn("TaxAmount", typeof(decimal), null, MappingType.Element);
  534. base.Columns.Add(columnTaxAmount);
  535. columnLocalAmount = new DataColumn("LocalAmount", typeof(decimal), null, MappingType.Element);
  536. base.Columns.Add(columnLocalAmount);
  537. columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element);
  538. base.Columns.Add(columnType_Customer);
  539. columnZone_Customer = new DataColumn("Zone_Customer", typeof(string), null, MappingType.Element);
  540. base.Columns.Add(columnZone_Customer);
  541. columnType_Customer.AllowDBNull = false;
  542. columnZone_Customer.AllowDBNull = false;
  543. }
  544. [DebuggerNonUserCode]
  545. public FrmSalesStatisticsCustomerRow NewFrmSalesStatisticsCustomerRow()
  546. {
  547. return (FrmSalesStatisticsCustomerRow)NewRow();
  548. }
  549. [DebuggerNonUserCode]
  550. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  551. {
  552. return new FrmSalesStatisticsCustomerRow(builder);
  553. }
  554. [DebuggerNonUserCode]
  555. protected override Type GetRowType()
  556. {
  557. return typeof(FrmSalesStatisticsCustomerRow);
  558. }
  559. [DebuggerNonUserCode]
  560. protected override void OnRowChanged(DataRowChangeEventArgs e)
  561. {
  562. base.OnRowChanged(e);
  563. if (this.FrmSalesStatisticsCustomerRowChanged != null)
  564. {
  565. this.FrmSalesStatisticsCustomerRowChanged(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action));
  566. }
  567. }
  568. [DebuggerNonUserCode]
  569. protected override void OnRowChanging(DataRowChangeEventArgs e)
  570. {
  571. base.OnRowChanging(e);
  572. if (this.FrmSalesStatisticsCustomerRowChanging != null)
  573. {
  574. this.FrmSalesStatisticsCustomerRowChanging(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action));
  575. }
  576. }
  577. [DebuggerNonUserCode]
  578. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  579. {
  580. base.OnRowDeleted(e);
  581. if (this.FrmSalesStatisticsCustomerRowDeleted != null)
  582. {
  583. this.FrmSalesStatisticsCustomerRowDeleted(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action));
  584. }
  585. }
  586. [DebuggerNonUserCode]
  587. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  588. {
  589. base.OnRowDeleting(e);
  590. if (this.FrmSalesStatisticsCustomerRowDeleting != null)
  591. {
  592. this.FrmSalesStatisticsCustomerRowDeleting(this, new FrmSalesStatisticsCustomerRowChangeEvent((FrmSalesStatisticsCustomerRow)e.Row, e.Action));
  593. }
  594. }
  595. [DebuggerNonUserCode]
  596. public void RemoveFrmSalesStatisticsCustomerRow(FrmSalesStatisticsCustomerRow row)
  597. {
  598. base.Rows.Remove(row);
  599. }
  600. [DebuggerNonUserCode]
  601. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  602. {
  603. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  604. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  605. dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = new dsGetFrmSalesStatisticsCustomer();
  606. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  607. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  608. xmlSchemaAny.MinOccurs = 0m;
  609. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  610. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  611. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  612. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  613. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  614. xmlSchemaAny2.MinOccurs = 1m;
  615. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  616. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  617. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  618. xmlSchemaAttribute.Name = "namespace";
  619. xmlSchemaAttribute.FixedValue = dsGetFrmSalesStatisticsCustomer.Namespace;
  620. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  621. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  622. xmlSchemaAttribute2.Name = "tableTypeName";
  623. xmlSchemaAttribute2.FixedValue = "FrmSalesStatisticsCustomerDataTable";
  624. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  625. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  626. XmlSchema schemaSerializable = dsGetFrmSalesStatisticsCustomer.GetSchemaSerializable();
  627. if (xs.Contains(schemaSerializable.TargetNamespace))
  628. {
  629. MemoryStream memoryStream = new MemoryStream();
  630. MemoryStream memoryStream2 = new MemoryStream();
  631. try
  632. {
  633. XmlSchema xmlSchema = null;
  634. schemaSerializable.Write(memoryStream);
  635. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  636. while (enumerator.MoveNext())
  637. {
  638. xmlSchema = (XmlSchema)enumerator.Current;
  639. memoryStream2.SetLength(0L);
  640. xmlSchema.Write(memoryStream2);
  641. if (memoryStream.Length == memoryStream2.Length)
  642. {
  643. memoryStream.Position = 0L;
  644. memoryStream2.Position = 0L;
  645. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  646. {
  647. }
  648. if (memoryStream.Position == memoryStream.Length)
  649. {
  650. return xmlSchemaComplexType;
  651. }
  652. }
  653. }
  654. }
  655. finally
  656. {
  657. memoryStream?.Close();
  658. memoryStream2?.Close();
  659. }
  660. }
  661. xs.Add(schemaSerializable);
  662. return xmlSchemaComplexType;
  663. }
  664. }
  665. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  666. public class GetRow : DataRow
  667. {
  668. private GetDataTable tableGet;
  669. [DebuggerNonUserCode]
  670. public DateTime StartDate
  671. {
  672. get
  673. {
  674. try
  675. {
  676. return (DateTime)base[tableGet.StartDateColumn];
  677. }
  678. catch (InvalidCastException innerException)
  679. {
  680. throw new StrongTypingException("The value for column 'StartDate' in table 'Get' is DBNull.", innerException);
  681. }
  682. }
  683. set
  684. {
  685. base[tableGet.StartDateColumn] = value;
  686. }
  687. }
  688. [DebuggerNonUserCode]
  689. public DateTime EndDate
  690. {
  691. get
  692. {
  693. try
  694. {
  695. return (DateTime)base[tableGet.EndDateColumn];
  696. }
  697. catch (InvalidCastException innerException)
  698. {
  699. throw new StrongTypingException("The value for column 'EndDate' in table 'Get' is DBNull.", innerException);
  700. }
  701. }
  702. set
  703. {
  704. base[tableGet.EndDateColumn] = value;
  705. }
  706. }
  707. [DebuggerNonUserCode]
  708. public string StartNo_SaleBill
  709. {
  710. get
  711. {
  712. try
  713. {
  714. return (string)base[tableGet.StartNo_SaleBillColumn];
  715. }
  716. catch (InvalidCastException innerException)
  717. {
  718. throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'Get' is DBNull.", innerException);
  719. }
  720. }
  721. set
  722. {
  723. base[tableGet.StartNo_SaleBillColumn] = value;
  724. }
  725. }
  726. [DebuggerNonUserCode]
  727. public string EndNo_SaleBill
  728. {
  729. get
  730. {
  731. try
  732. {
  733. return (string)base[tableGet.EndNo_SaleBillColumn];
  734. }
  735. catch (InvalidCastException innerException)
  736. {
  737. throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'Get' is DBNull.", innerException);
  738. }
  739. }
  740. set
  741. {
  742. base[tableGet.EndNo_SaleBillColumn] = value;
  743. }
  744. }
  745. [DebuggerNonUserCode]
  746. public string StartNo_Customer
  747. {
  748. get
  749. {
  750. try
  751. {
  752. return (string)base[tableGet.StartNo_CustomerColumn];
  753. }
  754. catch (InvalidCastException innerException)
  755. {
  756. throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'Get' is DBNull.", innerException);
  757. }
  758. }
  759. set
  760. {
  761. base[tableGet.StartNo_CustomerColumn] = value;
  762. }
  763. }
  764. [DebuggerNonUserCode]
  765. public string EndNo_Customer
  766. {
  767. get
  768. {
  769. try
  770. {
  771. return (string)base[tableGet.EndNo_CustomerColumn];
  772. }
  773. catch (InvalidCastException innerException)
  774. {
  775. throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'Get' is DBNull.", innerException);
  776. }
  777. }
  778. set
  779. {
  780. base[tableGet.EndNo_CustomerColumn] = value;
  781. }
  782. }
  783. [DebuggerNonUserCode]
  784. public string StartNo_Principal
  785. {
  786. get
  787. {
  788. try
  789. {
  790. return (string)base[tableGet.StartNo_PrincipalColumn];
  791. }
  792. catch (InvalidCastException innerException)
  793. {
  794. throw new StrongTypingException("The value for column 'StartNo_Principal' in table 'Get' is DBNull.", innerException);
  795. }
  796. }
  797. set
  798. {
  799. base[tableGet.StartNo_PrincipalColumn] = value;
  800. }
  801. }
  802. [DebuggerNonUserCode]
  803. public string EndNo_Principal
  804. {
  805. get
  806. {
  807. try
  808. {
  809. return (string)base[tableGet.EndNo_PrincipalColumn];
  810. }
  811. catch (InvalidCastException innerException)
  812. {
  813. throw new StrongTypingException("The value for column 'EndNo_Principal' in table 'Get' is DBNull.", innerException);
  814. }
  815. }
  816. set
  817. {
  818. base[tableGet.EndNo_PrincipalColumn] = value;
  819. }
  820. }
  821. [DebuggerNonUserCode]
  822. public string StartNo_Location
  823. {
  824. get
  825. {
  826. try
  827. {
  828. return (string)base[tableGet.StartNo_LocationColumn];
  829. }
  830. catch (InvalidCastException innerException)
  831. {
  832. throw new StrongTypingException("The value for column 'StartNo_Location' in table 'Get' is DBNull.", innerException);
  833. }
  834. }
  835. set
  836. {
  837. base[tableGet.StartNo_LocationColumn] = value;
  838. }
  839. }
  840. [DebuggerNonUserCode]
  841. public string EndNo_Location
  842. {
  843. get
  844. {
  845. try
  846. {
  847. return (string)base[tableGet.EndNo_LocationColumn];
  848. }
  849. catch (InvalidCastException innerException)
  850. {
  851. throw new StrongTypingException("The value for column 'EndNo_Location' in table 'Get' is DBNull.", innerException);
  852. }
  853. }
  854. set
  855. {
  856. base[tableGet.EndNo_LocationColumn] = value;
  857. }
  858. }
  859. [DebuggerNonUserCode]
  860. public string StartNo_Product
  861. {
  862. get
  863. {
  864. try
  865. {
  866. return (string)base[tableGet.StartNo_ProductColumn];
  867. }
  868. catch (InvalidCastException innerException)
  869. {
  870. throw new StrongTypingException("The value for column 'StartNo_Product' in table 'Get' is DBNull.", innerException);
  871. }
  872. }
  873. set
  874. {
  875. base[tableGet.StartNo_ProductColumn] = value;
  876. }
  877. }
  878. [DebuggerNonUserCode]
  879. public string EndNo_Product
  880. {
  881. get
  882. {
  883. try
  884. {
  885. return (string)base[tableGet.EndNo_ProductColumn];
  886. }
  887. catch (InvalidCastException innerException)
  888. {
  889. throw new StrongTypingException("The value for column 'EndNo_Product' in table 'Get' is DBNull.", innerException);
  890. }
  891. }
  892. set
  893. {
  894. base[tableGet.EndNo_ProductColumn] = value;
  895. }
  896. }
  897. [DebuggerNonUserCode]
  898. public string StartType_Product
  899. {
  900. get
  901. {
  902. try
  903. {
  904. return (string)base[tableGet.StartType_ProductColumn];
  905. }
  906. catch (InvalidCastException innerException)
  907. {
  908. throw new StrongTypingException("The value for column 'StartType_Product' in table 'Get' is DBNull.", innerException);
  909. }
  910. }
  911. set
  912. {
  913. base[tableGet.StartType_ProductColumn] = value;
  914. }
  915. }
  916. [DebuggerNonUserCode]
  917. public string EndType_Product
  918. {
  919. get
  920. {
  921. try
  922. {
  923. return (string)base[tableGet.EndType_ProductColumn];
  924. }
  925. catch (InvalidCastException innerException)
  926. {
  927. throw new StrongTypingException("The value for column 'EndType_Product' in table 'Get' is DBNull.", innerException);
  928. }
  929. }
  930. set
  931. {
  932. base[tableGet.EndType_ProductColumn] = value;
  933. }
  934. }
  935. [DebuggerNonUserCode]
  936. public string Company
  937. {
  938. get
  939. {
  940. try
  941. {
  942. return (string)base[tableGet.CompanyColumn];
  943. }
  944. catch (InvalidCastException innerException)
  945. {
  946. throw new StrongTypingException("The value for column 'Company' in table 'Get' is DBNull.", innerException);
  947. }
  948. }
  949. set
  950. {
  951. base[tableGet.CompanyColumn] = value;
  952. }
  953. }
  954. [DebuggerNonUserCode]
  955. public string Name_Create
  956. {
  957. get
  958. {
  959. try
  960. {
  961. return (string)base[tableGet.Name_CreateColumn];
  962. }
  963. catch (InvalidCastException innerException)
  964. {
  965. throw new StrongTypingException("The value for column 'Name_Create' in table 'Get' is DBNull.", innerException);
  966. }
  967. }
  968. set
  969. {
  970. base[tableGet.Name_CreateColumn] = value;
  971. }
  972. }
  973. [DebuggerNonUserCode]
  974. public bool Combine
  975. {
  976. get
  977. {
  978. return (bool)base[tableGet.CombineColumn];
  979. }
  980. set
  981. {
  982. base[tableGet.CombineColumn] = value;
  983. }
  984. }
  985. [DebuggerNonUserCode]
  986. public string StartZone_Customer
  987. {
  988. get
  989. {
  990. return (string)base[tableGet.StartZone_CustomerColumn];
  991. }
  992. set
  993. {
  994. base[tableGet.StartZone_CustomerColumn] = value;
  995. }
  996. }
  997. [DebuggerNonUserCode]
  998. public string EndZone_Customer
  999. {
  1000. get
  1001. {
  1002. return (string)base[tableGet.EndZone_CustomerColumn];
  1003. }
  1004. set
  1005. {
  1006. base[tableGet.EndZone_CustomerColumn] = value;
  1007. }
  1008. }
  1009. [DebuggerNonUserCode]
  1010. internal GetRow(DataRowBuilder rb)
  1011. : base(rb)
  1012. {
  1013. tableGet = (GetDataTable)base.Table;
  1014. }
  1015. [DebuggerNonUserCode]
  1016. public bool IsStartDateNull()
  1017. {
  1018. return IsNull(tableGet.StartDateColumn);
  1019. }
  1020. [DebuggerNonUserCode]
  1021. public void SetStartDateNull()
  1022. {
  1023. base[tableGet.StartDateColumn] = Convert.DBNull;
  1024. }
  1025. [DebuggerNonUserCode]
  1026. public bool IsEndDateNull()
  1027. {
  1028. return IsNull(tableGet.EndDateColumn);
  1029. }
  1030. [DebuggerNonUserCode]
  1031. public void SetEndDateNull()
  1032. {
  1033. base[tableGet.EndDateColumn] = Convert.DBNull;
  1034. }
  1035. [DebuggerNonUserCode]
  1036. public bool IsStartNo_SaleBillNull()
  1037. {
  1038. return IsNull(tableGet.StartNo_SaleBillColumn);
  1039. }
  1040. [DebuggerNonUserCode]
  1041. public void SetStartNo_SaleBillNull()
  1042. {
  1043. base[tableGet.StartNo_SaleBillColumn] = Convert.DBNull;
  1044. }
  1045. [DebuggerNonUserCode]
  1046. public bool IsEndNo_SaleBillNull()
  1047. {
  1048. return IsNull(tableGet.EndNo_SaleBillColumn);
  1049. }
  1050. [DebuggerNonUserCode]
  1051. public void SetEndNo_SaleBillNull()
  1052. {
  1053. base[tableGet.EndNo_SaleBillColumn] = Convert.DBNull;
  1054. }
  1055. [DebuggerNonUserCode]
  1056. public bool IsStartNo_CustomerNull()
  1057. {
  1058. return IsNull(tableGet.StartNo_CustomerColumn);
  1059. }
  1060. [DebuggerNonUserCode]
  1061. public void SetStartNo_CustomerNull()
  1062. {
  1063. base[tableGet.StartNo_CustomerColumn] = Convert.DBNull;
  1064. }
  1065. [DebuggerNonUserCode]
  1066. public bool IsEndNo_CustomerNull()
  1067. {
  1068. return IsNull(tableGet.EndNo_CustomerColumn);
  1069. }
  1070. [DebuggerNonUserCode]
  1071. public void SetEndNo_CustomerNull()
  1072. {
  1073. base[tableGet.EndNo_CustomerColumn] = Convert.DBNull;
  1074. }
  1075. [DebuggerNonUserCode]
  1076. public bool IsStartNo_PrincipalNull()
  1077. {
  1078. return IsNull(tableGet.StartNo_PrincipalColumn);
  1079. }
  1080. [DebuggerNonUserCode]
  1081. public void SetStartNo_PrincipalNull()
  1082. {
  1083. base[tableGet.StartNo_PrincipalColumn] = Convert.DBNull;
  1084. }
  1085. [DebuggerNonUserCode]
  1086. public bool IsEndNo_PrincipalNull()
  1087. {
  1088. return IsNull(tableGet.EndNo_PrincipalColumn);
  1089. }
  1090. [DebuggerNonUserCode]
  1091. public void SetEndNo_PrincipalNull()
  1092. {
  1093. base[tableGet.EndNo_PrincipalColumn] = Convert.DBNull;
  1094. }
  1095. [DebuggerNonUserCode]
  1096. public bool IsStartNo_LocationNull()
  1097. {
  1098. return IsNull(tableGet.StartNo_LocationColumn);
  1099. }
  1100. [DebuggerNonUserCode]
  1101. public void SetStartNo_LocationNull()
  1102. {
  1103. base[tableGet.StartNo_LocationColumn] = Convert.DBNull;
  1104. }
  1105. [DebuggerNonUserCode]
  1106. public bool IsEndNo_LocationNull()
  1107. {
  1108. return IsNull(tableGet.EndNo_LocationColumn);
  1109. }
  1110. [DebuggerNonUserCode]
  1111. public void SetEndNo_LocationNull()
  1112. {
  1113. base[tableGet.EndNo_LocationColumn] = Convert.DBNull;
  1114. }
  1115. [DebuggerNonUserCode]
  1116. public bool IsStartNo_ProductNull()
  1117. {
  1118. return IsNull(tableGet.StartNo_ProductColumn);
  1119. }
  1120. [DebuggerNonUserCode]
  1121. public void SetStartNo_ProductNull()
  1122. {
  1123. base[tableGet.StartNo_ProductColumn] = Convert.DBNull;
  1124. }
  1125. [DebuggerNonUserCode]
  1126. public bool IsEndNo_ProductNull()
  1127. {
  1128. return IsNull(tableGet.EndNo_ProductColumn);
  1129. }
  1130. [DebuggerNonUserCode]
  1131. public void SetEndNo_ProductNull()
  1132. {
  1133. base[tableGet.EndNo_ProductColumn] = Convert.DBNull;
  1134. }
  1135. [DebuggerNonUserCode]
  1136. public bool IsStartType_ProductNull()
  1137. {
  1138. return IsNull(tableGet.StartType_ProductColumn);
  1139. }
  1140. [DebuggerNonUserCode]
  1141. public void SetStartType_ProductNull()
  1142. {
  1143. base[tableGet.StartType_ProductColumn] = Convert.DBNull;
  1144. }
  1145. [DebuggerNonUserCode]
  1146. public bool IsEndType_ProductNull()
  1147. {
  1148. return IsNull(tableGet.EndType_ProductColumn);
  1149. }
  1150. [DebuggerNonUserCode]
  1151. public void SetEndType_ProductNull()
  1152. {
  1153. base[tableGet.EndType_ProductColumn] = Convert.DBNull;
  1154. }
  1155. [DebuggerNonUserCode]
  1156. public bool IsCompanyNull()
  1157. {
  1158. return IsNull(tableGet.CompanyColumn);
  1159. }
  1160. [DebuggerNonUserCode]
  1161. public void SetCompanyNull()
  1162. {
  1163. base[tableGet.CompanyColumn] = Convert.DBNull;
  1164. }
  1165. [DebuggerNonUserCode]
  1166. public bool IsName_CreateNull()
  1167. {
  1168. return IsNull(tableGet.Name_CreateColumn);
  1169. }
  1170. [DebuggerNonUserCode]
  1171. public void SetName_CreateNull()
  1172. {
  1173. base[tableGet.Name_CreateColumn] = Convert.DBNull;
  1174. }
  1175. }
  1176. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1177. public class FrmSalesStatisticsCustomerRow : DataRow
  1178. {
  1179. private FrmSalesStatisticsCustomerDataTable tableFrmSalesStatisticsCustomer;
  1180. [DebuggerNonUserCode]
  1181. public string No_Customer
  1182. {
  1183. get
  1184. {
  1185. try
  1186. {
  1187. return (string)base[tableFrmSalesStatisticsCustomer.No_CustomerColumn];
  1188. }
  1189. catch (InvalidCastException innerException)
  1190. {
  1191. throw new StrongTypingException("The value for column 'No_Customer' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1192. }
  1193. }
  1194. set
  1195. {
  1196. base[tableFrmSalesStatisticsCustomer.No_CustomerColumn] = value;
  1197. }
  1198. }
  1199. [DebuggerNonUserCode]
  1200. public string ShortName_Customer
  1201. {
  1202. get
  1203. {
  1204. try
  1205. {
  1206. return (string)base[tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn];
  1207. }
  1208. catch (InvalidCastException innerException)
  1209. {
  1210. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1211. }
  1212. }
  1213. set
  1214. {
  1215. base[tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn] = value;
  1216. }
  1217. }
  1218. [DebuggerNonUserCode]
  1219. public string Principal
  1220. {
  1221. get
  1222. {
  1223. try
  1224. {
  1225. return (string)base[tableFrmSalesStatisticsCustomer.PrincipalColumn];
  1226. }
  1227. catch (InvalidCastException innerException)
  1228. {
  1229. throw new StrongTypingException("The value for column 'Principal' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1230. }
  1231. }
  1232. set
  1233. {
  1234. base[tableFrmSalesStatisticsCustomer.PrincipalColumn] = value;
  1235. }
  1236. }
  1237. [DebuggerNonUserCode]
  1238. public string Currency
  1239. {
  1240. get
  1241. {
  1242. try
  1243. {
  1244. return (string)base[tableFrmSalesStatisticsCustomer.CurrencyColumn];
  1245. }
  1246. catch (InvalidCastException innerException)
  1247. {
  1248. throw new StrongTypingException("The value for column 'Currency' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1249. }
  1250. }
  1251. set
  1252. {
  1253. base[tableFrmSalesStatisticsCustomer.CurrencyColumn] = value;
  1254. }
  1255. }
  1256. [DebuggerNonUserCode]
  1257. public string TaxCurrency
  1258. {
  1259. get
  1260. {
  1261. try
  1262. {
  1263. return (string)base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn];
  1264. }
  1265. catch (InvalidCastException innerException)
  1266. {
  1267. throw new StrongTypingException("The value for column 'TaxCurrency' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1268. }
  1269. }
  1270. set
  1271. {
  1272. base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn] = value;
  1273. }
  1274. }
  1275. [DebuggerNonUserCode]
  1276. public string No
  1277. {
  1278. get
  1279. {
  1280. try
  1281. {
  1282. return (string)base[tableFrmSalesStatisticsCustomer.NoColumn];
  1283. }
  1284. catch (InvalidCastException innerException)
  1285. {
  1286. throw new StrongTypingException("The value for column 'No' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1287. }
  1288. }
  1289. set
  1290. {
  1291. base[tableFrmSalesStatisticsCustomer.NoColumn] = value;
  1292. }
  1293. }
  1294. [DebuggerNonUserCode]
  1295. public decimal Amount
  1296. {
  1297. get
  1298. {
  1299. try
  1300. {
  1301. return (decimal)base[tableFrmSalesStatisticsCustomer.AmountColumn];
  1302. }
  1303. catch (InvalidCastException innerException)
  1304. {
  1305. throw new StrongTypingException("The value for column 'Amount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1306. }
  1307. }
  1308. set
  1309. {
  1310. base[tableFrmSalesStatisticsCustomer.AmountColumn] = value;
  1311. }
  1312. }
  1313. [DebuggerNonUserCode]
  1314. public decimal GoodsAmount
  1315. {
  1316. get
  1317. {
  1318. try
  1319. {
  1320. return (decimal)base[tableFrmSalesStatisticsCustomer.GoodsAmountColumn];
  1321. }
  1322. catch (InvalidCastException innerException)
  1323. {
  1324. throw new StrongTypingException("The value for column 'GoodsAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1325. }
  1326. }
  1327. set
  1328. {
  1329. base[tableFrmSalesStatisticsCustomer.GoodsAmountColumn] = value;
  1330. }
  1331. }
  1332. [DebuggerNonUserCode]
  1333. public decimal TaxAmount
  1334. {
  1335. get
  1336. {
  1337. try
  1338. {
  1339. return (decimal)base[tableFrmSalesStatisticsCustomer.TaxAmountColumn];
  1340. }
  1341. catch (InvalidCastException innerException)
  1342. {
  1343. throw new StrongTypingException("The value for column 'TaxAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1344. }
  1345. }
  1346. set
  1347. {
  1348. base[tableFrmSalesStatisticsCustomer.TaxAmountColumn] = value;
  1349. }
  1350. }
  1351. [DebuggerNonUserCode]
  1352. public decimal LocalAmount
  1353. {
  1354. get
  1355. {
  1356. try
  1357. {
  1358. return (decimal)base[tableFrmSalesStatisticsCustomer.LocalAmountColumn];
  1359. }
  1360. catch (InvalidCastException innerException)
  1361. {
  1362. throw new StrongTypingException("The value for column 'LocalAmount' in table 'FrmSalesStatisticsCustomer' is DBNull.", innerException);
  1363. }
  1364. }
  1365. set
  1366. {
  1367. base[tableFrmSalesStatisticsCustomer.LocalAmountColumn] = value;
  1368. }
  1369. }
  1370. [DebuggerNonUserCode]
  1371. public string Type_Customer
  1372. {
  1373. get
  1374. {
  1375. return (string)base[tableFrmSalesStatisticsCustomer.Type_CustomerColumn];
  1376. }
  1377. set
  1378. {
  1379. base[tableFrmSalesStatisticsCustomer.Type_CustomerColumn] = value;
  1380. }
  1381. }
  1382. [DebuggerNonUserCode]
  1383. public string Zone_Customer
  1384. {
  1385. get
  1386. {
  1387. return (string)base[tableFrmSalesStatisticsCustomer.Zone_CustomerColumn];
  1388. }
  1389. set
  1390. {
  1391. base[tableFrmSalesStatisticsCustomer.Zone_CustomerColumn] = value;
  1392. }
  1393. }
  1394. [DebuggerNonUserCode]
  1395. internal FrmSalesStatisticsCustomerRow(DataRowBuilder rb)
  1396. : base(rb)
  1397. {
  1398. tableFrmSalesStatisticsCustomer = (FrmSalesStatisticsCustomerDataTable)base.Table;
  1399. }
  1400. [DebuggerNonUserCode]
  1401. public bool IsNo_CustomerNull()
  1402. {
  1403. return IsNull(tableFrmSalesStatisticsCustomer.No_CustomerColumn);
  1404. }
  1405. [DebuggerNonUserCode]
  1406. public void SetNo_CustomerNull()
  1407. {
  1408. base[tableFrmSalesStatisticsCustomer.No_CustomerColumn] = Convert.DBNull;
  1409. }
  1410. [DebuggerNonUserCode]
  1411. public bool IsShortName_CustomerNull()
  1412. {
  1413. return IsNull(tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn);
  1414. }
  1415. [DebuggerNonUserCode]
  1416. public void SetShortName_CustomerNull()
  1417. {
  1418. base[tableFrmSalesStatisticsCustomer.ShortName_CustomerColumn] = Convert.DBNull;
  1419. }
  1420. [DebuggerNonUserCode]
  1421. public bool IsPrincipalNull()
  1422. {
  1423. return IsNull(tableFrmSalesStatisticsCustomer.PrincipalColumn);
  1424. }
  1425. [DebuggerNonUserCode]
  1426. public void SetPrincipalNull()
  1427. {
  1428. base[tableFrmSalesStatisticsCustomer.PrincipalColumn] = Convert.DBNull;
  1429. }
  1430. [DebuggerNonUserCode]
  1431. public bool IsCurrencyNull()
  1432. {
  1433. return IsNull(tableFrmSalesStatisticsCustomer.CurrencyColumn);
  1434. }
  1435. [DebuggerNonUserCode]
  1436. public void SetCurrencyNull()
  1437. {
  1438. base[tableFrmSalesStatisticsCustomer.CurrencyColumn] = Convert.DBNull;
  1439. }
  1440. [DebuggerNonUserCode]
  1441. public bool IsTaxCurrencyNull()
  1442. {
  1443. return IsNull(tableFrmSalesStatisticsCustomer.TaxCurrencyColumn);
  1444. }
  1445. [DebuggerNonUserCode]
  1446. public void SetTaxCurrencyNull()
  1447. {
  1448. base[tableFrmSalesStatisticsCustomer.TaxCurrencyColumn] = Convert.DBNull;
  1449. }
  1450. [DebuggerNonUserCode]
  1451. public bool IsNoNull()
  1452. {
  1453. return IsNull(tableFrmSalesStatisticsCustomer.NoColumn);
  1454. }
  1455. [DebuggerNonUserCode]
  1456. public void SetNoNull()
  1457. {
  1458. base[tableFrmSalesStatisticsCustomer.NoColumn] = Convert.DBNull;
  1459. }
  1460. [DebuggerNonUserCode]
  1461. public bool IsAmountNull()
  1462. {
  1463. return IsNull(tableFrmSalesStatisticsCustomer.AmountColumn);
  1464. }
  1465. [DebuggerNonUserCode]
  1466. public void SetAmountNull()
  1467. {
  1468. base[tableFrmSalesStatisticsCustomer.AmountColumn] = Convert.DBNull;
  1469. }
  1470. [DebuggerNonUserCode]
  1471. public bool IsGoodsAmountNull()
  1472. {
  1473. return IsNull(tableFrmSalesStatisticsCustomer.GoodsAmountColumn);
  1474. }
  1475. [DebuggerNonUserCode]
  1476. public void SetGoodsAmountNull()
  1477. {
  1478. base[tableFrmSalesStatisticsCustomer.GoodsAmountColumn] = Convert.DBNull;
  1479. }
  1480. [DebuggerNonUserCode]
  1481. public bool IsTaxAmountNull()
  1482. {
  1483. return IsNull(tableFrmSalesStatisticsCustomer.TaxAmountColumn);
  1484. }
  1485. [DebuggerNonUserCode]
  1486. public void SetTaxAmountNull()
  1487. {
  1488. base[tableFrmSalesStatisticsCustomer.TaxAmountColumn] = Convert.DBNull;
  1489. }
  1490. [DebuggerNonUserCode]
  1491. public bool IsLocalAmountNull()
  1492. {
  1493. return IsNull(tableFrmSalesStatisticsCustomer.LocalAmountColumn);
  1494. }
  1495. [DebuggerNonUserCode]
  1496. public void SetLocalAmountNull()
  1497. {
  1498. base[tableFrmSalesStatisticsCustomer.LocalAmountColumn] = Convert.DBNull;
  1499. }
  1500. }
  1501. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1502. public class GetRowChangeEvent : EventArgs
  1503. {
  1504. private GetRow eventRow;
  1505. private DataRowAction eventAction;
  1506. [DebuggerNonUserCode]
  1507. public GetRow Row => eventRow;
  1508. [DebuggerNonUserCode]
  1509. public DataRowAction Action => eventAction;
  1510. [DebuggerNonUserCode]
  1511. public GetRowChangeEvent(GetRow row, DataRowAction action)
  1512. {
  1513. eventRow = row;
  1514. eventAction = action;
  1515. }
  1516. }
  1517. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1518. public class FrmSalesStatisticsCustomerRowChangeEvent : EventArgs
  1519. {
  1520. private FrmSalesStatisticsCustomerRow eventRow;
  1521. private DataRowAction eventAction;
  1522. [DebuggerNonUserCode]
  1523. public FrmSalesStatisticsCustomerRow Row => eventRow;
  1524. [DebuggerNonUserCode]
  1525. public DataRowAction Action => eventAction;
  1526. [DebuggerNonUserCode]
  1527. public FrmSalesStatisticsCustomerRowChangeEvent(FrmSalesStatisticsCustomerRow row, DataRowAction action)
  1528. {
  1529. eventRow = row;
  1530. eventAction = action;
  1531. }
  1532. }
  1533. private GetDataTable tableGet;
  1534. private FrmSalesStatisticsCustomerDataTable tableFrmSalesStatisticsCustomer;
  1535. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1536. [DebuggerNonUserCode]
  1537. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  1538. [Browsable(false)]
  1539. public GetDataTable Get => tableGet;
  1540. [DebuggerNonUserCode]
  1541. [Browsable(false)]
  1542. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  1543. public FrmSalesStatisticsCustomerDataTable FrmSalesStatisticsCustomer => tableFrmSalesStatisticsCustomer;
  1544. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  1545. [Browsable(true)]
  1546. [DebuggerNonUserCode]
  1547. public override SchemaSerializationMode SchemaSerializationMode
  1548. {
  1549. get
  1550. {
  1551. return _schemaSerializationMode;
  1552. }
  1553. set
  1554. {
  1555. _schemaSerializationMode = value;
  1556. }
  1557. }
  1558. [DebuggerNonUserCode]
  1559. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  1560. public new DataTableCollection Tables => base.Tables;
  1561. [DebuggerNonUserCode]
  1562. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  1563. public new DataRelationCollection Relations => base.Relations;
  1564. [DebuggerNonUserCode]
  1565. public dsGetFrmSalesStatisticsCustomer()
  1566. {
  1567. BeginInit();
  1568. InitClass();
  1569. CollectionChangeEventHandler value = SchemaChanged;
  1570. base.Tables.CollectionChanged += value;
  1571. base.Relations.CollectionChanged += value;
  1572. EndInit();
  1573. }
  1574. [DebuggerNonUserCode]
  1575. protected dsGetFrmSalesStatisticsCustomer(SerializationInfo info, StreamingContext context)
  1576. : base(info, context, ConstructSchema: false)
  1577. {
  1578. if (IsBinarySerialized(info, context))
  1579. {
  1580. InitVars(initTable: false);
  1581. CollectionChangeEventHandler value = SchemaChanged;
  1582. Tables.CollectionChanged += value;
  1583. Relations.CollectionChanged += value;
  1584. return;
  1585. }
  1586. string s = (string)info.GetValue("XmlSchema", typeof(string));
  1587. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  1588. {
  1589. DataSet dataSet = new DataSet();
  1590. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1591. if (dataSet.Tables["Get"] != null)
  1592. {
  1593. base.Tables.Add(new GetDataTable(dataSet.Tables["Get"]));
  1594. }
  1595. if (dataSet.Tables["FrmSalesStatisticsCustomer"] != null)
  1596. {
  1597. base.Tables.Add(new FrmSalesStatisticsCustomerDataTable(dataSet.Tables["FrmSalesStatisticsCustomer"]));
  1598. }
  1599. base.DataSetName = dataSet.DataSetName;
  1600. base.Prefix = dataSet.Prefix;
  1601. base.Namespace = dataSet.Namespace;
  1602. base.Locale = dataSet.Locale;
  1603. base.CaseSensitive = dataSet.CaseSensitive;
  1604. base.EnforceConstraints = dataSet.EnforceConstraints;
  1605. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1606. InitVars();
  1607. }
  1608. else
  1609. {
  1610. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1611. }
  1612. GetSerializationData(info, context);
  1613. CollectionChangeEventHandler value2 = SchemaChanged;
  1614. base.Tables.CollectionChanged += value2;
  1615. Relations.CollectionChanged += value2;
  1616. }
  1617. [DebuggerNonUserCode]
  1618. protected override void InitializeDerivedDataSet()
  1619. {
  1620. BeginInit();
  1621. InitClass();
  1622. EndInit();
  1623. }
  1624. [DebuggerNonUserCode]
  1625. public override DataSet Clone()
  1626. {
  1627. dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = (dsGetFrmSalesStatisticsCustomer)base.Clone();
  1628. dsGetFrmSalesStatisticsCustomer.InitVars();
  1629. dsGetFrmSalesStatisticsCustomer.SchemaSerializationMode = SchemaSerializationMode;
  1630. return dsGetFrmSalesStatisticsCustomer;
  1631. }
  1632. [DebuggerNonUserCode]
  1633. protected override bool ShouldSerializeTables()
  1634. {
  1635. return false;
  1636. }
  1637. [DebuggerNonUserCode]
  1638. protected override bool ShouldSerializeRelations()
  1639. {
  1640. return false;
  1641. }
  1642. [DebuggerNonUserCode]
  1643. protected override void ReadXmlSerializable(XmlReader reader)
  1644. {
  1645. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  1646. {
  1647. Reset();
  1648. DataSet dataSet = new DataSet();
  1649. dataSet.ReadXml(reader);
  1650. if (dataSet.Tables["Get"] != null)
  1651. {
  1652. base.Tables.Add(new GetDataTable(dataSet.Tables["Get"]));
  1653. }
  1654. if (dataSet.Tables["FrmSalesStatisticsCustomer"] != null)
  1655. {
  1656. base.Tables.Add(new FrmSalesStatisticsCustomerDataTable(dataSet.Tables["FrmSalesStatisticsCustomer"]));
  1657. }
  1658. base.DataSetName = dataSet.DataSetName;
  1659. base.Prefix = dataSet.Prefix;
  1660. base.Namespace = dataSet.Namespace;
  1661. base.Locale = dataSet.Locale;
  1662. base.CaseSensitive = dataSet.CaseSensitive;
  1663. base.EnforceConstraints = dataSet.EnforceConstraints;
  1664. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1665. InitVars();
  1666. }
  1667. else
  1668. {
  1669. ReadXml(reader);
  1670. InitVars();
  1671. }
  1672. }
  1673. [DebuggerNonUserCode]
  1674. protected override XmlSchema GetSchemaSerializable()
  1675. {
  1676. MemoryStream memoryStream = new MemoryStream();
  1677. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  1678. memoryStream.Position = 0L;
  1679. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  1680. }
  1681. [DebuggerNonUserCode]
  1682. internal void InitVars()
  1683. {
  1684. InitVars(initTable: true);
  1685. }
  1686. [DebuggerNonUserCode]
  1687. internal void InitVars(bool initTable)
  1688. {
  1689. tableGet = (GetDataTable)base.Tables["Get"];
  1690. if (initTable && tableGet != null)
  1691. {
  1692. tableGet.InitVars();
  1693. }
  1694. tableFrmSalesStatisticsCustomer = (FrmSalesStatisticsCustomerDataTable)base.Tables["FrmSalesStatisticsCustomer"];
  1695. if (initTable && tableFrmSalesStatisticsCustomer != null)
  1696. {
  1697. tableFrmSalesStatisticsCustomer.InitVars();
  1698. }
  1699. }
  1700. [DebuggerNonUserCode]
  1701. private void InitClass()
  1702. {
  1703. base.DataSetName = "dsGetFrmSalesStatisticsCustomer";
  1704. base.Prefix = "";
  1705. base.Namespace = "http://tempuri.org/dsGetFrmSalesStatisticsCustomer.xsd";
  1706. base.Locale = new CultureInfo("");
  1707. base.EnforceConstraints = true;
  1708. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1709. tableGet = new GetDataTable();
  1710. base.Tables.Add(tableGet);
  1711. tableFrmSalesStatisticsCustomer = new FrmSalesStatisticsCustomerDataTable();
  1712. base.Tables.Add(tableFrmSalesStatisticsCustomer);
  1713. }
  1714. [DebuggerNonUserCode]
  1715. private bool ShouldSerializeGet()
  1716. {
  1717. return false;
  1718. }
  1719. [DebuggerNonUserCode]
  1720. private bool ShouldSerializeFrmSalesStatisticsCustomer()
  1721. {
  1722. return false;
  1723. }
  1724. [DebuggerNonUserCode]
  1725. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  1726. {
  1727. if (e.Action == CollectionChangeAction.Remove)
  1728. {
  1729. InitVars();
  1730. }
  1731. }
  1732. [DebuggerNonUserCode]
  1733. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  1734. {
  1735. dsGetFrmSalesStatisticsCustomer dsGetFrmSalesStatisticsCustomer = new dsGetFrmSalesStatisticsCustomer();
  1736. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1737. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1738. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1739. xmlSchemaAny.Namespace = dsGetFrmSalesStatisticsCustomer.Namespace;
  1740. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1741. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1742. XmlSchema schemaSerializable = dsGetFrmSalesStatisticsCustomer.GetSchemaSerializable();
  1743. if (xs.Contains(schemaSerializable.TargetNamespace))
  1744. {
  1745. MemoryStream memoryStream = new MemoryStream();
  1746. MemoryStream memoryStream2 = new MemoryStream();
  1747. try
  1748. {
  1749. XmlSchema xmlSchema = null;
  1750. schemaSerializable.Write(memoryStream);
  1751. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  1752. while (enumerator.MoveNext())
  1753. {
  1754. xmlSchema = (XmlSchema)enumerator.Current;
  1755. memoryStream2.SetLength(0L);
  1756. xmlSchema.Write(memoryStream2);
  1757. if (memoryStream.Length == memoryStream2.Length)
  1758. {
  1759. memoryStream.Position = 0L;
  1760. memoryStream2.Position = 0L;
  1761. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  1762. {
  1763. }
  1764. if (memoryStream.Position == memoryStream.Length)
  1765. {
  1766. return xmlSchemaComplexType;
  1767. }
  1768. }
  1769. }
  1770. }
  1771. finally
  1772. {
  1773. memoryStream?.Close();
  1774. memoryStream2?.Close();
  1775. }
  1776. }
  1777. xs.Add(schemaSerializable);
  1778. return xmlSchemaComplexType;
  1779. }
  1780. }
  1781. }