dsUIFrmOverallSearchStatistics.cs 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304
  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.IO;
  9. using System.Runtime.Serialization;
  10. using System.Xml;
  11. using System.Xml.Schema;
  12. using System.Xml.Serialization;
  13. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  14. {
  15. [Serializable]
  16. [XmlRoot("dsUIFrmOverallSearchStatistics")]
  17. [HelpKeyword("vs.data.DataSet")]
  18. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  19. [DesignerCategory("code")]
  20. [ToolboxItem(true)]
  21. [XmlSchemaProvider("GetTypedDataSetSchema")]
  22. public class dsUIFrmOverallSearchStatistics : DataSet
  23. {
  24. public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
  25. public delegate void OverallSearchStatisticsRowChangeEventHandler(object sender, OverallSearchStatisticsRowChangeEvent e);
  26. [Serializable]
  27. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  28. [XmlSchemaProvider("GetTypedTableSchema")]
  29. public class UIDataTable : DataTable, IEnumerable
  30. {
  31. private DataColumn columnStartNo_Product;
  32. private DataColumn columnEndNo_Product;
  33. private DataColumn columnName_Creator;
  34. private DataColumn columnCreateDate;
  35. [DebuggerNonUserCode]
  36. public DataColumn StartNo_ProductColumn => columnStartNo_Product;
  37. [DebuggerNonUserCode]
  38. public DataColumn EndNo_ProductColumn => columnEndNo_Product;
  39. [DebuggerNonUserCode]
  40. public DataColumn Name_CreatorColumn => columnName_Creator;
  41. [DebuggerNonUserCode]
  42. public DataColumn CreateDateColumn => columnCreateDate;
  43. [Browsable(false)]
  44. [DebuggerNonUserCode]
  45. public int Count => base.Rows.Count;
  46. [DebuggerNonUserCode]
  47. public UIRow this[int index] => (UIRow)base.Rows[index];
  48. public event UIRowChangeEventHandler UIRowChanging;
  49. public event UIRowChangeEventHandler UIRowChanged;
  50. public event UIRowChangeEventHandler UIRowDeleting;
  51. public event UIRowChangeEventHandler UIRowDeleted;
  52. [DebuggerNonUserCode]
  53. public UIDataTable()
  54. {
  55. base.TableName = "UI";
  56. BeginInit();
  57. InitClass();
  58. EndInit();
  59. }
  60. [DebuggerNonUserCode]
  61. internal UIDataTable(DataTable table)
  62. {
  63. base.TableName = table.TableName;
  64. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  65. {
  66. base.CaseSensitive = table.CaseSensitive;
  67. }
  68. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  69. {
  70. base.Locale = table.Locale;
  71. }
  72. if (table.Namespace != table.DataSet.Namespace)
  73. {
  74. base.Namespace = table.Namespace;
  75. }
  76. base.Prefix = table.Prefix;
  77. base.MinimumCapacity = table.MinimumCapacity;
  78. }
  79. [DebuggerNonUserCode]
  80. protected UIDataTable(SerializationInfo info, StreamingContext context)
  81. : base(info, context)
  82. {
  83. InitVars();
  84. }
  85. [DebuggerNonUserCode]
  86. public void AddUIRow(UIRow row)
  87. {
  88. base.Rows.Add(row);
  89. }
  90. [DebuggerNonUserCode]
  91. public UIRow AddUIRow(string StartNo_Product, string EndNo_Product, string Name_Creator, DateTime CreateDate)
  92. {
  93. UIRow uIRow = (UIRow)NewRow();
  94. uIRow.ItemArray = new object[4]
  95. {
  96. StartNo_Product,
  97. EndNo_Product,
  98. Name_Creator,
  99. CreateDate
  100. };
  101. base.Rows.Add(uIRow);
  102. return uIRow;
  103. }
  104. [DebuggerNonUserCode]
  105. public virtual IEnumerator GetEnumerator()
  106. {
  107. return base.Rows.GetEnumerator();
  108. }
  109. [DebuggerNonUserCode]
  110. public override DataTable Clone()
  111. {
  112. UIDataTable uIDataTable = (UIDataTable)base.Clone();
  113. uIDataTable.InitVars();
  114. return uIDataTable;
  115. }
  116. [DebuggerNonUserCode]
  117. protected override DataTable CreateInstance()
  118. {
  119. return new UIDataTable();
  120. }
  121. [DebuggerNonUserCode]
  122. internal void InitVars()
  123. {
  124. columnStartNo_Product = base.Columns["StartNo_Product"];
  125. columnEndNo_Product = base.Columns["EndNo_Product"];
  126. columnName_Creator = base.Columns["Name_Creator"];
  127. columnCreateDate = base.Columns["CreateDate"];
  128. }
  129. [DebuggerNonUserCode]
  130. private void InitClass()
  131. {
  132. columnStartNo_Product = new DataColumn("StartNo_Product", typeof(string), null, MappingType.Element);
  133. base.Columns.Add(columnStartNo_Product);
  134. columnEndNo_Product = new DataColumn("EndNo_Product", typeof(string), null, MappingType.Element);
  135. base.Columns.Add(columnEndNo_Product);
  136. columnName_Creator = new DataColumn("Name_Creator", typeof(string), null, MappingType.Element);
  137. base.Columns.Add(columnName_Creator);
  138. columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
  139. base.Columns.Add(columnCreateDate);
  140. columnStartNo_Product.Caption = "StartNo_Customer";
  141. columnEndNo_Product.Caption = "EndNo_Customer";
  142. }
  143. [DebuggerNonUserCode]
  144. public UIRow NewUIRow()
  145. {
  146. return (UIRow)NewRow();
  147. }
  148. [DebuggerNonUserCode]
  149. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  150. {
  151. return new UIRow(builder);
  152. }
  153. [DebuggerNonUserCode]
  154. protected override Type GetRowType()
  155. {
  156. return typeof(UIRow);
  157. }
  158. [DebuggerNonUserCode]
  159. protected override void OnRowChanged(DataRowChangeEventArgs e)
  160. {
  161. base.OnRowChanged(e);
  162. if (this.UIRowChanged != null)
  163. {
  164. this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  165. }
  166. }
  167. [DebuggerNonUserCode]
  168. protected override void OnRowChanging(DataRowChangeEventArgs e)
  169. {
  170. base.OnRowChanging(e);
  171. if (this.UIRowChanging != null)
  172. {
  173. this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  174. }
  175. }
  176. [DebuggerNonUserCode]
  177. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  178. {
  179. base.OnRowDeleted(e);
  180. if (this.UIRowDeleted != null)
  181. {
  182. this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  183. }
  184. }
  185. [DebuggerNonUserCode]
  186. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  187. {
  188. base.OnRowDeleting(e);
  189. if (this.UIRowDeleting != null)
  190. {
  191. this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  192. }
  193. }
  194. [DebuggerNonUserCode]
  195. public void RemoveUIRow(UIRow row)
  196. {
  197. base.Rows.Remove(row);
  198. }
  199. [DebuggerNonUserCode]
  200. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  201. {
  202. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  203. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  204. dsUIFrmOverallSearchStatistics dsUIFrmOverallSearchStatistics = new dsUIFrmOverallSearchStatistics();
  205. xs.Add(dsUIFrmOverallSearchStatistics.GetSchemaSerializable());
  206. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  207. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  208. xmlSchemaAny.MinOccurs = 0m;
  209. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  210. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  211. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  212. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  213. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  214. xmlSchemaAny2.MinOccurs = 1m;
  215. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  216. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  217. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  218. xmlSchemaAttribute.Name = "namespace";
  219. xmlSchemaAttribute.FixedValue = dsUIFrmOverallSearchStatistics.Namespace;
  220. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  221. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  222. xmlSchemaAttribute2.Name = "tableTypeName";
  223. xmlSchemaAttribute2.FixedValue = "UIDataTable";
  224. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  225. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  226. return xmlSchemaComplexType;
  227. }
  228. }
  229. [Serializable]
  230. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  231. [XmlSchemaProvider("GetTypedTableSchema")]
  232. public class OverallSearchStatisticsDataTable : DataTable, IEnumerable
  233. {
  234. private DataColumn columnNo_Product;
  235. private DataColumn columnName_Product;
  236. private DataColumn columnOpeningStockQty_ProductStocks;
  237. private DataColumn columnPDay;
  238. private DataColumn columnQuantity_PurchaseInDepotBillProduct;
  239. private DataColumn columnMon;
  240. private DataColumn columnQuantity_SaleOutDepotBillProduct;
  241. private DataColumn columnInQuantity_ModifyDepotBillProduct;
  242. private DataColumn columnOutQuantity_ModifyDepotBillProduct;
  243. private DataColumn columnStockQty_ProductStocks;
  244. [DebuggerNonUserCode]
  245. public DataColumn No_ProductColumn => columnNo_Product;
  246. [DebuggerNonUserCode]
  247. public DataColumn Name_ProductColumn => columnName_Product;
  248. [DebuggerNonUserCode]
  249. public DataColumn OpeningStockQty_ProductStocksColumn => columnOpeningStockQty_ProductStocks;
  250. [DebuggerNonUserCode]
  251. public DataColumn PDayColumn => columnPDay;
  252. [DebuggerNonUserCode]
  253. public DataColumn Quantity_PurchaseInDepotBillProductColumn => columnQuantity_PurchaseInDepotBillProduct;
  254. [DebuggerNonUserCode]
  255. public DataColumn MonColumn => columnMon;
  256. [DebuggerNonUserCode]
  257. public DataColumn Quantity_SaleOutDepotBillProductColumn => columnQuantity_SaleOutDepotBillProduct;
  258. [DebuggerNonUserCode]
  259. public DataColumn InQuantity_ModifyDepotBillProductColumn => columnInQuantity_ModifyDepotBillProduct;
  260. [DebuggerNonUserCode]
  261. public DataColumn OutQuantity_ModifyDepotBillProductColumn => columnOutQuantity_ModifyDepotBillProduct;
  262. [DebuggerNonUserCode]
  263. public DataColumn StockQty_ProductStocksColumn => columnStockQty_ProductStocks;
  264. [DebuggerNonUserCode]
  265. [Browsable(false)]
  266. public int Count => base.Rows.Count;
  267. [DebuggerNonUserCode]
  268. public OverallSearchStatisticsRow this[int index] => (OverallSearchStatisticsRow)base.Rows[index];
  269. public event OverallSearchStatisticsRowChangeEventHandler OverallSearchStatisticsRowChanging;
  270. public event OverallSearchStatisticsRowChangeEventHandler OverallSearchStatisticsRowChanged;
  271. public event OverallSearchStatisticsRowChangeEventHandler OverallSearchStatisticsRowDeleting;
  272. public event OverallSearchStatisticsRowChangeEventHandler OverallSearchStatisticsRowDeleted;
  273. [DebuggerNonUserCode]
  274. public OverallSearchStatisticsDataTable()
  275. {
  276. base.TableName = "OverallSearchStatistics";
  277. BeginInit();
  278. InitClass();
  279. EndInit();
  280. }
  281. [DebuggerNonUserCode]
  282. internal OverallSearchStatisticsDataTable(DataTable table)
  283. {
  284. base.TableName = table.TableName;
  285. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  286. {
  287. base.CaseSensitive = table.CaseSensitive;
  288. }
  289. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  290. {
  291. base.Locale = table.Locale;
  292. }
  293. if (table.Namespace != table.DataSet.Namespace)
  294. {
  295. base.Namespace = table.Namespace;
  296. }
  297. base.Prefix = table.Prefix;
  298. base.MinimumCapacity = table.MinimumCapacity;
  299. }
  300. [DebuggerNonUserCode]
  301. protected OverallSearchStatisticsDataTable(SerializationInfo info, StreamingContext context)
  302. : base(info, context)
  303. {
  304. InitVars();
  305. }
  306. [DebuggerNonUserCode]
  307. public void AddOverallSearchStatisticsRow(OverallSearchStatisticsRow row)
  308. {
  309. base.Rows.Add(row);
  310. }
  311. [DebuggerNonUserCode]
  312. public OverallSearchStatisticsRow AddOverallSearchStatisticsRow(string No_Product, string Name_Product, decimal OpeningStockQty_ProductStocks, string PDay, decimal Quantity_PurchaseInDepotBillProduct, string Mon, decimal Quantity_SaleOutDepotBillProduct, decimal InQuantity_ModifyDepotBillProduct, decimal OutQuantity_ModifyDepotBillProduct, decimal StockQty_ProductStocks)
  313. {
  314. OverallSearchStatisticsRow overallSearchStatisticsRow = (OverallSearchStatisticsRow)NewRow();
  315. overallSearchStatisticsRow.ItemArray = new object[10]
  316. {
  317. No_Product,
  318. Name_Product,
  319. OpeningStockQty_ProductStocks,
  320. PDay,
  321. Quantity_PurchaseInDepotBillProduct,
  322. Mon,
  323. Quantity_SaleOutDepotBillProduct,
  324. InQuantity_ModifyDepotBillProduct,
  325. OutQuantity_ModifyDepotBillProduct,
  326. StockQty_ProductStocks
  327. };
  328. base.Rows.Add(overallSearchStatisticsRow);
  329. return overallSearchStatisticsRow;
  330. }
  331. [DebuggerNonUserCode]
  332. public virtual IEnumerator GetEnumerator()
  333. {
  334. return base.Rows.GetEnumerator();
  335. }
  336. [DebuggerNonUserCode]
  337. public override DataTable Clone()
  338. {
  339. OverallSearchStatisticsDataTable overallSearchStatisticsDataTable = (OverallSearchStatisticsDataTable)base.Clone();
  340. overallSearchStatisticsDataTable.InitVars();
  341. return overallSearchStatisticsDataTable;
  342. }
  343. [DebuggerNonUserCode]
  344. protected override DataTable CreateInstance()
  345. {
  346. return new OverallSearchStatisticsDataTable();
  347. }
  348. [DebuggerNonUserCode]
  349. internal void InitVars()
  350. {
  351. columnNo_Product = base.Columns["No_Product"];
  352. columnName_Product = base.Columns["Name_Product"];
  353. columnOpeningStockQty_ProductStocks = base.Columns["OpeningStockQty_ProductStocks"];
  354. columnPDay = base.Columns["PDay"];
  355. columnQuantity_PurchaseInDepotBillProduct = base.Columns["Quantity_PurchaseInDepotBillProduct"];
  356. columnMon = base.Columns["Mon"];
  357. columnQuantity_SaleOutDepotBillProduct = base.Columns["Quantity_SaleOutDepotBillProduct"];
  358. columnInQuantity_ModifyDepotBillProduct = base.Columns["InQuantity_ModifyDepotBillProduct"];
  359. columnOutQuantity_ModifyDepotBillProduct = base.Columns["OutQuantity_ModifyDepotBillProduct"];
  360. columnStockQty_ProductStocks = base.Columns["StockQty_ProductStocks"];
  361. }
  362. [DebuggerNonUserCode]
  363. private void InitClass()
  364. {
  365. columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
  366. base.Columns.Add(columnNo_Product);
  367. columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
  368. base.Columns.Add(columnName_Product);
  369. columnOpeningStockQty_ProductStocks = new DataColumn("OpeningStockQty_ProductStocks", typeof(decimal), null, MappingType.Element);
  370. base.Columns.Add(columnOpeningStockQty_ProductStocks);
  371. columnPDay = new DataColumn("PDay", typeof(string), null, MappingType.Element);
  372. base.Columns.Add(columnPDay);
  373. columnQuantity_PurchaseInDepotBillProduct = new DataColumn("Quantity_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element);
  374. base.Columns.Add(columnQuantity_PurchaseInDepotBillProduct);
  375. columnMon = new DataColumn("Mon", typeof(string), null, MappingType.Element);
  376. base.Columns.Add(columnMon);
  377. columnQuantity_SaleOutDepotBillProduct = new DataColumn("Quantity_SaleOutDepotBillProduct", typeof(decimal), null, MappingType.Element);
  378. base.Columns.Add(columnQuantity_SaleOutDepotBillProduct);
  379. columnInQuantity_ModifyDepotBillProduct = new DataColumn("InQuantity_ModifyDepotBillProduct", typeof(decimal), null, MappingType.Element);
  380. base.Columns.Add(columnInQuantity_ModifyDepotBillProduct);
  381. columnOutQuantity_ModifyDepotBillProduct = new DataColumn("OutQuantity_ModifyDepotBillProduct", typeof(decimal), null, MappingType.Element);
  382. base.Columns.Add(columnOutQuantity_ModifyDepotBillProduct);
  383. columnStockQty_ProductStocks = new DataColumn("StockQty_ProductStocks", typeof(decimal), null, MappingType.Element);
  384. base.Columns.Add(columnStockQty_ProductStocks);
  385. }
  386. [DebuggerNonUserCode]
  387. public OverallSearchStatisticsRow NewOverallSearchStatisticsRow()
  388. {
  389. return (OverallSearchStatisticsRow)NewRow();
  390. }
  391. [DebuggerNonUserCode]
  392. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  393. {
  394. return new OverallSearchStatisticsRow(builder);
  395. }
  396. [DebuggerNonUserCode]
  397. protected override Type GetRowType()
  398. {
  399. return typeof(OverallSearchStatisticsRow);
  400. }
  401. [DebuggerNonUserCode]
  402. protected override void OnRowChanged(DataRowChangeEventArgs e)
  403. {
  404. base.OnRowChanged(e);
  405. if (this.OverallSearchStatisticsRowChanged != null)
  406. {
  407. this.OverallSearchStatisticsRowChanged(this, new OverallSearchStatisticsRowChangeEvent((OverallSearchStatisticsRow)e.Row, e.Action));
  408. }
  409. }
  410. [DebuggerNonUserCode]
  411. protected override void OnRowChanging(DataRowChangeEventArgs e)
  412. {
  413. base.OnRowChanging(e);
  414. if (this.OverallSearchStatisticsRowChanging != null)
  415. {
  416. this.OverallSearchStatisticsRowChanging(this, new OverallSearchStatisticsRowChangeEvent((OverallSearchStatisticsRow)e.Row, e.Action));
  417. }
  418. }
  419. [DebuggerNonUserCode]
  420. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  421. {
  422. base.OnRowDeleted(e);
  423. if (this.OverallSearchStatisticsRowDeleted != null)
  424. {
  425. this.OverallSearchStatisticsRowDeleted(this, new OverallSearchStatisticsRowChangeEvent((OverallSearchStatisticsRow)e.Row, e.Action));
  426. }
  427. }
  428. [DebuggerNonUserCode]
  429. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  430. {
  431. base.OnRowDeleting(e);
  432. if (this.OverallSearchStatisticsRowDeleting != null)
  433. {
  434. this.OverallSearchStatisticsRowDeleting(this, new OverallSearchStatisticsRowChangeEvent((OverallSearchStatisticsRow)e.Row, e.Action));
  435. }
  436. }
  437. [DebuggerNonUserCode]
  438. public void RemoveOverallSearchStatisticsRow(OverallSearchStatisticsRow row)
  439. {
  440. base.Rows.Remove(row);
  441. }
  442. [DebuggerNonUserCode]
  443. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  444. {
  445. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  446. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  447. dsUIFrmOverallSearchStatistics dsUIFrmOverallSearchStatistics = new dsUIFrmOverallSearchStatistics();
  448. xs.Add(dsUIFrmOverallSearchStatistics.GetSchemaSerializable());
  449. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  450. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  451. xmlSchemaAny.MinOccurs = 0m;
  452. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  453. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  454. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  455. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  456. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  457. xmlSchemaAny2.MinOccurs = 1m;
  458. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  459. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  460. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  461. xmlSchemaAttribute.Name = "namespace";
  462. xmlSchemaAttribute.FixedValue = dsUIFrmOverallSearchStatistics.Namespace;
  463. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  464. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  465. xmlSchemaAttribute2.Name = "tableTypeName";
  466. xmlSchemaAttribute2.FixedValue = "OverallSearchStatisticsDataTable";
  467. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  468. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  469. return xmlSchemaComplexType;
  470. }
  471. }
  472. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  473. public class UIRow : DataRow
  474. {
  475. private UIDataTable tableUI;
  476. [DebuggerNonUserCode]
  477. public string StartNo_Product
  478. {
  479. get
  480. {
  481. try
  482. {
  483. return (string)base[tableUI.StartNo_ProductColumn];
  484. }
  485. catch (InvalidCastException innerException)
  486. {
  487. throw new StrongTypingException("The value for column 'StartNo_Product' in table 'UI' is DBNull.", innerException);
  488. }
  489. }
  490. set
  491. {
  492. base[tableUI.StartNo_ProductColumn] = value;
  493. }
  494. }
  495. [DebuggerNonUserCode]
  496. public string EndNo_Product
  497. {
  498. get
  499. {
  500. try
  501. {
  502. return (string)base[tableUI.EndNo_ProductColumn];
  503. }
  504. catch (InvalidCastException innerException)
  505. {
  506. throw new StrongTypingException("The value for column 'EndNo_Product' in table 'UI' is DBNull.", innerException);
  507. }
  508. }
  509. set
  510. {
  511. base[tableUI.EndNo_ProductColumn] = value;
  512. }
  513. }
  514. [DebuggerNonUserCode]
  515. public string Name_Creator
  516. {
  517. get
  518. {
  519. try
  520. {
  521. return (string)base[tableUI.Name_CreatorColumn];
  522. }
  523. catch (InvalidCastException innerException)
  524. {
  525. throw new StrongTypingException("The value for column 'Name_Creator' in table 'UI' is DBNull.", innerException);
  526. }
  527. }
  528. set
  529. {
  530. base[tableUI.Name_CreatorColumn] = value;
  531. }
  532. }
  533. [DebuggerNonUserCode]
  534. public DateTime CreateDate
  535. {
  536. get
  537. {
  538. try
  539. {
  540. return (DateTime)base[tableUI.CreateDateColumn];
  541. }
  542. catch (InvalidCastException innerException)
  543. {
  544. throw new StrongTypingException("The value for column 'CreateDate' in table 'UI' is DBNull.", innerException);
  545. }
  546. }
  547. set
  548. {
  549. base[tableUI.CreateDateColumn] = value;
  550. }
  551. }
  552. [DebuggerNonUserCode]
  553. internal UIRow(DataRowBuilder rb)
  554. : base(rb)
  555. {
  556. tableUI = (UIDataTable)base.Table;
  557. }
  558. [DebuggerNonUserCode]
  559. public bool IsStartNo_ProductNull()
  560. {
  561. return IsNull(tableUI.StartNo_ProductColumn);
  562. }
  563. [DebuggerNonUserCode]
  564. public void SetStartNo_ProductNull()
  565. {
  566. base[tableUI.StartNo_ProductColumn] = Convert.DBNull;
  567. }
  568. [DebuggerNonUserCode]
  569. public bool IsEndNo_ProductNull()
  570. {
  571. return IsNull(tableUI.EndNo_ProductColumn);
  572. }
  573. [DebuggerNonUserCode]
  574. public void SetEndNo_ProductNull()
  575. {
  576. base[tableUI.EndNo_ProductColumn] = Convert.DBNull;
  577. }
  578. [DebuggerNonUserCode]
  579. public bool IsName_CreatorNull()
  580. {
  581. return IsNull(tableUI.Name_CreatorColumn);
  582. }
  583. [DebuggerNonUserCode]
  584. public void SetName_CreatorNull()
  585. {
  586. base[tableUI.Name_CreatorColumn] = Convert.DBNull;
  587. }
  588. [DebuggerNonUserCode]
  589. public bool IsCreateDateNull()
  590. {
  591. return IsNull(tableUI.CreateDateColumn);
  592. }
  593. [DebuggerNonUserCode]
  594. public void SetCreateDateNull()
  595. {
  596. base[tableUI.CreateDateColumn] = Convert.DBNull;
  597. }
  598. }
  599. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  600. public class OverallSearchStatisticsRow : DataRow
  601. {
  602. private OverallSearchStatisticsDataTable tableOverallSearchStatistics;
  603. [DebuggerNonUserCode]
  604. public string No_Product
  605. {
  606. get
  607. {
  608. try
  609. {
  610. return (string)base[tableOverallSearchStatistics.No_ProductColumn];
  611. }
  612. catch (InvalidCastException innerException)
  613. {
  614. throw new StrongTypingException("The value for column 'No_Product' in table 'OverallSearchStatistics' is DBNull.", innerException);
  615. }
  616. }
  617. set
  618. {
  619. base[tableOverallSearchStatistics.No_ProductColumn] = value;
  620. }
  621. }
  622. [DebuggerNonUserCode]
  623. public string Name_Product
  624. {
  625. get
  626. {
  627. try
  628. {
  629. return (string)base[tableOverallSearchStatistics.Name_ProductColumn];
  630. }
  631. catch (InvalidCastException innerException)
  632. {
  633. throw new StrongTypingException("The value for column 'Name_Product' in table 'OverallSearchStatistics' is DBNull.", innerException);
  634. }
  635. }
  636. set
  637. {
  638. base[tableOverallSearchStatistics.Name_ProductColumn] = value;
  639. }
  640. }
  641. [DebuggerNonUserCode]
  642. public decimal OpeningStockQty_ProductStocks
  643. {
  644. get
  645. {
  646. try
  647. {
  648. return (decimal)base[tableOverallSearchStatistics.OpeningStockQty_ProductStocksColumn];
  649. }
  650. catch (InvalidCastException innerException)
  651. {
  652. throw new StrongTypingException("The value for column 'OpeningStockQty_ProductStocks' in table 'OverallSearchStatistics' is DBNull.", innerException);
  653. }
  654. }
  655. set
  656. {
  657. base[tableOverallSearchStatistics.OpeningStockQty_ProductStocksColumn] = value;
  658. }
  659. }
  660. [DebuggerNonUserCode]
  661. public string PDay
  662. {
  663. get
  664. {
  665. try
  666. {
  667. return (string)base[tableOverallSearchStatistics.PDayColumn];
  668. }
  669. catch (InvalidCastException innerException)
  670. {
  671. throw new StrongTypingException("The value for column 'PDay' in table 'OverallSearchStatistics' is DBNull.", innerException);
  672. }
  673. }
  674. set
  675. {
  676. base[tableOverallSearchStatistics.PDayColumn] = value;
  677. }
  678. }
  679. [DebuggerNonUserCode]
  680. public decimal Quantity_PurchaseInDepotBillProduct
  681. {
  682. get
  683. {
  684. try
  685. {
  686. return (decimal)base[tableOverallSearchStatistics.Quantity_PurchaseInDepotBillProductColumn];
  687. }
  688. catch (InvalidCastException innerException)
  689. {
  690. throw new StrongTypingException("The value for column 'Quantity_PurchaseInDepotBillProduct' in table 'OverallSearchStatistics' is DBNull.", innerException);
  691. }
  692. }
  693. set
  694. {
  695. base[tableOverallSearchStatistics.Quantity_PurchaseInDepotBillProductColumn] = value;
  696. }
  697. }
  698. [DebuggerNonUserCode]
  699. public string Mon
  700. {
  701. get
  702. {
  703. try
  704. {
  705. return (string)base[tableOverallSearchStatistics.MonColumn];
  706. }
  707. catch (InvalidCastException innerException)
  708. {
  709. throw new StrongTypingException("The value for column 'Mon' in table 'OverallSearchStatistics' is DBNull.", innerException);
  710. }
  711. }
  712. set
  713. {
  714. base[tableOverallSearchStatistics.MonColumn] = value;
  715. }
  716. }
  717. [DebuggerNonUserCode]
  718. public decimal Quantity_SaleOutDepotBillProduct
  719. {
  720. get
  721. {
  722. try
  723. {
  724. return (decimal)base[tableOverallSearchStatistics.Quantity_SaleOutDepotBillProductColumn];
  725. }
  726. catch (InvalidCastException innerException)
  727. {
  728. throw new StrongTypingException("The value for column 'Quantity_SaleOutDepotBillProduct' in table 'OverallSearchStatistics' is DBNull.", innerException);
  729. }
  730. }
  731. set
  732. {
  733. base[tableOverallSearchStatistics.Quantity_SaleOutDepotBillProductColumn] = value;
  734. }
  735. }
  736. [DebuggerNonUserCode]
  737. public decimal InQuantity_ModifyDepotBillProduct
  738. {
  739. get
  740. {
  741. try
  742. {
  743. return (decimal)base[tableOverallSearchStatistics.InQuantity_ModifyDepotBillProductColumn];
  744. }
  745. catch (InvalidCastException innerException)
  746. {
  747. throw new StrongTypingException("The value for column 'InQuantity_ModifyDepotBillProduct' in table 'OverallSearchStatistics' is DBNull.", innerException);
  748. }
  749. }
  750. set
  751. {
  752. base[tableOverallSearchStatistics.InQuantity_ModifyDepotBillProductColumn] = value;
  753. }
  754. }
  755. [DebuggerNonUserCode]
  756. public decimal OutQuantity_ModifyDepotBillProduct
  757. {
  758. get
  759. {
  760. try
  761. {
  762. return (decimal)base[tableOverallSearchStatistics.OutQuantity_ModifyDepotBillProductColumn];
  763. }
  764. catch (InvalidCastException innerException)
  765. {
  766. throw new StrongTypingException("The value for column 'OutQuantity_ModifyDepotBillProduct' in table 'OverallSearchStatistics' is DBNull.", innerException);
  767. }
  768. }
  769. set
  770. {
  771. base[tableOverallSearchStatistics.OutQuantity_ModifyDepotBillProductColumn] = value;
  772. }
  773. }
  774. [DebuggerNonUserCode]
  775. public decimal StockQty_ProductStocks
  776. {
  777. get
  778. {
  779. try
  780. {
  781. return (decimal)base[tableOverallSearchStatistics.StockQty_ProductStocksColumn];
  782. }
  783. catch (InvalidCastException innerException)
  784. {
  785. throw new StrongTypingException("The value for column 'StockQty_ProductStocks' in table 'OverallSearchStatistics' is DBNull.", innerException);
  786. }
  787. }
  788. set
  789. {
  790. base[tableOverallSearchStatistics.StockQty_ProductStocksColumn] = value;
  791. }
  792. }
  793. [DebuggerNonUserCode]
  794. internal OverallSearchStatisticsRow(DataRowBuilder rb)
  795. : base(rb)
  796. {
  797. tableOverallSearchStatistics = (OverallSearchStatisticsDataTable)base.Table;
  798. }
  799. [DebuggerNonUserCode]
  800. public bool IsNo_ProductNull()
  801. {
  802. return IsNull(tableOverallSearchStatistics.No_ProductColumn);
  803. }
  804. [DebuggerNonUserCode]
  805. public void SetNo_ProductNull()
  806. {
  807. base[tableOverallSearchStatistics.No_ProductColumn] = Convert.DBNull;
  808. }
  809. [DebuggerNonUserCode]
  810. public bool IsName_ProductNull()
  811. {
  812. return IsNull(tableOverallSearchStatistics.Name_ProductColumn);
  813. }
  814. [DebuggerNonUserCode]
  815. public void SetName_ProductNull()
  816. {
  817. base[tableOverallSearchStatistics.Name_ProductColumn] = Convert.DBNull;
  818. }
  819. [DebuggerNonUserCode]
  820. public bool IsOpeningStockQty_ProductStocksNull()
  821. {
  822. return IsNull(tableOverallSearchStatistics.OpeningStockQty_ProductStocksColumn);
  823. }
  824. [DebuggerNonUserCode]
  825. public void SetOpeningStockQty_ProductStocksNull()
  826. {
  827. base[tableOverallSearchStatistics.OpeningStockQty_ProductStocksColumn] = Convert.DBNull;
  828. }
  829. [DebuggerNonUserCode]
  830. public bool IsPDayNull()
  831. {
  832. return IsNull(tableOverallSearchStatistics.PDayColumn);
  833. }
  834. [DebuggerNonUserCode]
  835. public void SetPDayNull()
  836. {
  837. base[tableOverallSearchStatistics.PDayColumn] = Convert.DBNull;
  838. }
  839. [DebuggerNonUserCode]
  840. public bool IsQuantity_PurchaseInDepotBillProductNull()
  841. {
  842. return IsNull(tableOverallSearchStatistics.Quantity_PurchaseInDepotBillProductColumn);
  843. }
  844. [DebuggerNonUserCode]
  845. public void SetQuantity_PurchaseInDepotBillProductNull()
  846. {
  847. base[tableOverallSearchStatistics.Quantity_PurchaseInDepotBillProductColumn] = Convert.DBNull;
  848. }
  849. [DebuggerNonUserCode]
  850. public bool IsMonNull()
  851. {
  852. return IsNull(tableOverallSearchStatistics.MonColumn);
  853. }
  854. [DebuggerNonUserCode]
  855. public void SetMonNull()
  856. {
  857. base[tableOverallSearchStatistics.MonColumn] = Convert.DBNull;
  858. }
  859. [DebuggerNonUserCode]
  860. public bool IsQuantity_SaleOutDepotBillProductNull()
  861. {
  862. return IsNull(tableOverallSearchStatistics.Quantity_SaleOutDepotBillProductColumn);
  863. }
  864. [DebuggerNonUserCode]
  865. public void SetQuantity_SaleOutDepotBillProductNull()
  866. {
  867. base[tableOverallSearchStatistics.Quantity_SaleOutDepotBillProductColumn] = Convert.DBNull;
  868. }
  869. [DebuggerNonUserCode]
  870. public bool IsInQuantity_ModifyDepotBillProductNull()
  871. {
  872. return IsNull(tableOverallSearchStatistics.InQuantity_ModifyDepotBillProductColumn);
  873. }
  874. [DebuggerNonUserCode]
  875. public void SetInQuantity_ModifyDepotBillProductNull()
  876. {
  877. base[tableOverallSearchStatistics.InQuantity_ModifyDepotBillProductColumn] = Convert.DBNull;
  878. }
  879. [DebuggerNonUserCode]
  880. public bool IsOutQuantity_ModifyDepotBillProductNull()
  881. {
  882. return IsNull(tableOverallSearchStatistics.OutQuantity_ModifyDepotBillProductColumn);
  883. }
  884. [DebuggerNonUserCode]
  885. public void SetOutQuantity_ModifyDepotBillProductNull()
  886. {
  887. base[tableOverallSearchStatistics.OutQuantity_ModifyDepotBillProductColumn] = Convert.DBNull;
  888. }
  889. [DebuggerNonUserCode]
  890. public bool IsStockQty_ProductStocksNull()
  891. {
  892. return IsNull(tableOverallSearchStatistics.StockQty_ProductStocksColumn);
  893. }
  894. [DebuggerNonUserCode]
  895. public void SetStockQty_ProductStocksNull()
  896. {
  897. base[tableOverallSearchStatistics.StockQty_ProductStocksColumn] = Convert.DBNull;
  898. }
  899. }
  900. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  901. public class UIRowChangeEvent : EventArgs
  902. {
  903. private UIRow eventRow;
  904. private DataRowAction eventAction;
  905. [DebuggerNonUserCode]
  906. public UIRow Row => eventRow;
  907. [DebuggerNonUserCode]
  908. public DataRowAction Action => eventAction;
  909. [DebuggerNonUserCode]
  910. public UIRowChangeEvent(UIRow row, DataRowAction action)
  911. {
  912. eventRow = row;
  913. eventAction = action;
  914. }
  915. }
  916. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  917. public class OverallSearchStatisticsRowChangeEvent : EventArgs
  918. {
  919. private OverallSearchStatisticsRow eventRow;
  920. private DataRowAction eventAction;
  921. [DebuggerNonUserCode]
  922. public OverallSearchStatisticsRow Row => eventRow;
  923. [DebuggerNonUserCode]
  924. public DataRowAction Action => eventAction;
  925. [DebuggerNonUserCode]
  926. public OverallSearchStatisticsRowChangeEvent(OverallSearchStatisticsRow row, DataRowAction action)
  927. {
  928. eventRow = row;
  929. eventAction = action;
  930. }
  931. }
  932. private UIDataTable tableUI;
  933. private OverallSearchStatisticsDataTable tableOverallSearchStatistics;
  934. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  935. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  936. [Browsable(false)]
  937. [DebuggerNonUserCode]
  938. public UIDataTable UI => tableUI;
  939. [Browsable(false)]
  940. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  941. [DebuggerNonUserCode]
  942. public OverallSearchStatisticsDataTable OverallSearchStatistics => tableOverallSearchStatistics;
  943. [Browsable(true)]
  944. [DebuggerNonUserCode]
  945. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  946. public override SchemaSerializationMode SchemaSerializationMode
  947. {
  948. get
  949. {
  950. return _schemaSerializationMode;
  951. }
  952. set
  953. {
  954. _schemaSerializationMode = value;
  955. }
  956. }
  957. [DebuggerNonUserCode]
  958. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  959. public new DataTableCollection Tables => base.Tables;
  960. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  961. [DebuggerNonUserCode]
  962. public new DataRelationCollection Relations => base.Relations;
  963. [DebuggerNonUserCode]
  964. public dsUIFrmOverallSearchStatistics()
  965. {
  966. BeginInit();
  967. InitClass();
  968. CollectionChangeEventHandler value = SchemaChanged;
  969. base.Tables.CollectionChanged += value;
  970. base.Relations.CollectionChanged += value;
  971. EndInit();
  972. }
  973. [DebuggerNonUserCode]
  974. protected dsUIFrmOverallSearchStatistics(SerializationInfo info, StreamingContext context)
  975. : base(info, context, ConstructSchema: false)
  976. {
  977. if (IsBinarySerialized(info, context))
  978. {
  979. InitVars(initTable: false);
  980. CollectionChangeEventHandler value = SchemaChanged;
  981. Tables.CollectionChanged += value;
  982. Relations.CollectionChanged += value;
  983. return;
  984. }
  985. string s = (string)info.GetValue("XmlSchema", typeof(string));
  986. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  987. {
  988. DataSet dataSet = new DataSet();
  989. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  990. if (dataSet.Tables["UI"] != null)
  991. {
  992. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  993. }
  994. if (dataSet.Tables["OverallSearchStatistics"] != null)
  995. {
  996. base.Tables.Add(new OverallSearchStatisticsDataTable(dataSet.Tables["OverallSearchStatistics"]));
  997. }
  998. base.DataSetName = dataSet.DataSetName;
  999. base.Prefix = dataSet.Prefix;
  1000. base.Namespace = dataSet.Namespace;
  1001. base.Locale = dataSet.Locale;
  1002. base.CaseSensitive = dataSet.CaseSensitive;
  1003. base.EnforceConstraints = dataSet.EnforceConstraints;
  1004. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1005. InitVars();
  1006. }
  1007. else
  1008. {
  1009. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1010. }
  1011. GetSerializationData(info, context);
  1012. CollectionChangeEventHandler value2 = SchemaChanged;
  1013. base.Tables.CollectionChanged += value2;
  1014. Relations.CollectionChanged += value2;
  1015. }
  1016. [DebuggerNonUserCode]
  1017. protected override void InitializeDerivedDataSet()
  1018. {
  1019. BeginInit();
  1020. InitClass();
  1021. EndInit();
  1022. }
  1023. [DebuggerNonUserCode]
  1024. public override DataSet Clone()
  1025. {
  1026. dsUIFrmOverallSearchStatistics dsUIFrmOverallSearchStatistics = (dsUIFrmOverallSearchStatistics)base.Clone();
  1027. dsUIFrmOverallSearchStatistics.InitVars();
  1028. dsUIFrmOverallSearchStatistics.SchemaSerializationMode = SchemaSerializationMode;
  1029. return dsUIFrmOverallSearchStatistics;
  1030. }
  1031. [DebuggerNonUserCode]
  1032. protected override bool ShouldSerializeTables()
  1033. {
  1034. return false;
  1035. }
  1036. [DebuggerNonUserCode]
  1037. protected override bool ShouldSerializeRelations()
  1038. {
  1039. return false;
  1040. }
  1041. [DebuggerNonUserCode]
  1042. protected override void ReadXmlSerializable(XmlReader reader)
  1043. {
  1044. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  1045. {
  1046. Reset();
  1047. DataSet dataSet = new DataSet();
  1048. dataSet.ReadXml(reader);
  1049. if (dataSet.Tables["UI"] != null)
  1050. {
  1051. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  1052. }
  1053. if (dataSet.Tables["OverallSearchStatistics"] != null)
  1054. {
  1055. base.Tables.Add(new OverallSearchStatisticsDataTable(dataSet.Tables["OverallSearchStatistics"]));
  1056. }
  1057. base.DataSetName = dataSet.DataSetName;
  1058. base.Prefix = dataSet.Prefix;
  1059. base.Namespace = dataSet.Namespace;
  1060. base.Locale = dataSet.Locale;
  1061. base.CaseSensitive = dataSet.CaseSensitive;
  1062. base.EnforceConstraints = dataSet.EnforceConstraints;
  1063. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1064. InitVars();
  1065. }
  1066. else
  1067. {
  1068. ReadXml(reader);
  1069. InitVars();
  1070. }
  1071. }
  1072. [DebuggerNonUserCode]
  1073. protected override XmlSchema GetSchemaSerializable()
  1074. {
  1075. MemoryStream memoryStream = new MemoryStream();
  1076. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  1077. memoryStream.Position = 0L;
  1078. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  1079. }
  1080. [DebuggerNonUserCode]
  1081. internal void InitVars()
  1082. {
  1083. InitVars(initTable: true);
  1084. }
  1085. [DebuggerNonUserCode]
  1086. internal void InitVars(bool initTable)
  1087. {
  1088. tableUI = (UIDataTable)base.Tables["UI"];
  1089. if (initTable && tableUI != null)
  1090. {
  1091. tableUI.InitVars();
  1092. }
  1093. tableOverallSearchStatistics = (OverallSearchStatisticsDataTable)base.Tables["OverallSearchStatistics"];
  1094. if (initTable && tableOverallSearchStatistics != null)
  1095. {
  1096. tableOverallSearchStatistics.InitVars();
  1097. }
  1098. }
  1099. [DebuggerNonUserCode]
  1100. private void InitClass()
  1101. {
  1102. base.DataSetName = "dsUIFrmOverallSearchStatistics";
  1103. base.Prefix = "";
  1104. base.Namespace = "http://tempuri.org/dsUIFrmOverallSearchStatistics.xsd";
  1105. base.EnforceConstraints = true;
  1106. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1107. tableUI = new UIDataTable();
  1108. base.Tables.Add(tableUI);
  1109. tableOverallSearchStatistics = new OverallSearchStatisticsDataTable();
  1110. base.Tables.Add(tableOverallSearchStatistics);
  1111. }
  1112. [DebuggerNonUserCode]
  1113. private bool ShouldSerializeUI()
  1114. {
  1115. return false;
  1116. }
  1117. [DebuggerNonUserCode]
  1118. private bool ShouldSerializeOverallSearchStatistics()
  1119. {
  1120. return false;
  1121. }
  1122. [DebuggerNonUserCode]
  1123. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  1124. {
  1125. if (e.Action == CollectionChangeAction.Remove)
  1126. {
  1127. InitVars();
  1128. }
  1129. }
  1130. [DebuggerNonUserCode]
  1131. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  1132. {
  1133. dsUIFrmOverallSearchStatistics dsUIFrmOverallSearchStatistics = new dsUIFrmOverallSearchStatistics();
  1134. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1135. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1136. xs.Add(dsUIFrmOverallSearchStatistics.GetSchemaSerializable());
  1137. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1138. xmlSchemaAny.Namespace = dsUIFrmOverallSearchStatistics.Namespace;
  1139. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1140. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1141. return xmlSchemaComplexType;
  1142. }
  1143. }
  1144. }