dsGetFrmSalesStatisticsPrincipal.cs 59 KB

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