dsFrmCustomerRegInfoSearch.cs 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835
  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. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  17. [HelpKeyword("vs.data.DataSet")]
  18. [DesignerCategory("code")]
  19. [ToolboxItem(true)]
  20. [XmlRoot("dsFrmCustomerRegInfoSearch")]
  21. [XmlSchemaProvider("GetTypedDataSetSchema")]
  22. public class dsFrmCustomerRegInfoSearch : DataSet
  23. {
  24. public delegate void TotalRowChangeEventHandler(object sender, TotalRowChangeEvent e);
  25. [Serializable]
  26. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  27. [XmlSchemaProvider("GetTypedTableSchema")]
  28. public class TotalDataTable : DataTable, IEnumerable
  29. {
  30. private DataColumn columnNo_CustomerReqProduct;
  31. private DataColumn columnName_CustomerReqProduct;
  32. private DataColumn columnQuantity_CustomerReqProduct;
  33. private DataColumn columnPrice_CustomerReqProduct;
  34. private DataColumn columnUnit_CustomerReqProduct;
  35. private DataColumn columnShortName_Customer;
  36. private DataColumn columnNo_CustomerReqInfo;
  37. private DataColumn columnCreateDate_CustomerReqInfo;
  38. private DataColumn columnComment_CustomerReqInfo;
  39. [DebuggerNonUserCode]
  40. public DataColumn No_CustomerReqProductColumn => columnNo_CustomerReqProduct;
  41. [DebuggerNonUserCode]
  42. public DataColumn Name_CustomerReqProductColumn => columnName_CustomerReqProduct;
  43. [DebuggerNonUserCode]
  44. public DataColumn Quantity_CustomerReqProductColumn => columnQuantity_CustomerReqProduct;
  45. [DebuggerNonUserCode]
  46. public DataColumn Price_CustomerReqProductColumn => columnPrice_CustomerReqProduct;
  47. [DebuggerNonUserCode]
  48. public DataColumn Unit_CustomerReqProductColumn => columnUnit_CustomerReqProduct;
  49. [DebuggerNonUserCode]
  50. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  51. [DebuggerNonUserCode]
  52. public DataColumn No_CustomerReqInfoColumn => columnNo_CustomerReqInfo;
  53. [DebuggerNonUserCode]
  54. public DataColumn CreateDate_CustomerReqInfoColumn => columnCreateDate_CustomerReqInfo;
  55. [DebuggerNonUserCode]
  56. public DataColumn Comment_CustomerReqInfoColumn => columnComment_CustomerReqInfo;
  57. [DebuggerNonUserCode]
  58. [Browsable(false)]
  59. public int Count => base.Rows.Count;
  60. [DebuggerNonUserCode]
  61. public TotalRow this[int index] => (TotalRow)base.Rows[index];
  62. public event TotalRowChangeEventHandler TotalRowChanging;
  63. public event TotalRowChangeEventHandler TotalRowChanged;
  64. public event TotalRowChangeEventHandler TotalRowDeleting;
  65. public event TotalRowChangeEventHandler TotalRowDeleted;
  66. [DebuggerNonUserCode]
  67. public TotalDataTable()
  68. {
  69. base.TableName = "Total";
  70. BeginInit();
  71. InitClass();
  72. EndInit();
  73. }
  74. [DebuggerNonUserCode]
  75. internal TotalDataTable(DataTable table)
  76. {
  77. base.TableName = table.TableName;
  78. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  79. {
  80. base.CaseSensitive = table.CaseSensitive;
  81. }
  82. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  83. {
  84. base.Locale = table.Locale;
  85. }
  86. if (table.Namespace != table.DataSet.Namespace)
  87. {
  88. base.Namespace = table.Namespace;
  89. }
  90. base.Prefix = table.Prefix;
  91. base.MinimumCapacity = table.MinimumCapacity;
  92. }
  93. [DebuggerNonUserCode]
  94. protected TotalDataTable(SerializationInfo info, StreamingContext context)
  95. : base(info, context)
  96. {
  97. InitVars();
  98. }
  99. [DebuggerNonUserCode]
  100. public void AddTotalRow(TotalRow row)
  101. {
  102. base.Rows.Add(row);
  103. }
  104. [DebuggerNonUserCode]
  105. public TotalRow AddTotalRow(string No_CustomerReqProduct, string Name_CustomerReqProduct, decimal Quantity_CustomerReqProduct, decimal Price_CustomerReqProduct, string Unit_CustomerReqProduct, string ShortName_Customer, string No_CustomerReqInfo, DateTime CreateDate_CustomerReqInfo, string Comment_CustomerReqInfo)
  106. {
  107. TotalRow totalRow = (TotalRow)NewRow();
  108. totalRow.ItemArray = new object[9]
  109. {
  110. No_CustomerReqProduct,
  111. Name_CustomerReqProduct,
  112. Quantity_CustomerReqProduct,
  113. Price_CustomerReqProduct,
  114. Unit_CustomerReqProduct,
  115. ShortName_Customer,
  116. No_CustomerReqInfo,
  117. CreateDate_CustomerReqInfo,
  118. Comment_CustomerReqInfo
  119. };
  120. base.Rows.Add(totalRow);
  121. return totalRow;
  122. }
  123. [DebuggerNonUserCode]
  124. public virtual IEnumerator GetEnumerator()
  125. {
  126. return base.Rows.GetEnumerator();
  127. }
  128. [DebuggerNonUserCode]
  129. public override DataTable Clone()
  130. {
  131. TotalDataTable totalDataTable = (TotalDataTable)base.Clone();
  132. totalDataTable.InitVars();
  133. return totalDataTable;
  134. }
  135. [DebuggerNonUserCode]
  136. protected override DataTable CreateInstance()
  137. {
  138. return new TotalDataTable();
  139. }
  140. [DebuggerNonUserCode]
  141. internal void InitVars()
  142. {
  143. columnNo_CustomerReqProduct = base.Columns["No_CustomerReqProduct"];
  144. columnName_CustomerReqProduct = base.Columns["Name_CustomerReqProduct"];
  145. columnQuantity_CustomerReqProduct = base.Columns["Quantity_CustomerReqProduct"];
  146. columnPrice_CustomerReqProduct = base.Columns["Price_CustomerReqProduct"];
  147. columnUnit_CustomerReqProduct = base.Columns["Unit_CustomerReqProduct"];
  148. columnShortName_Customer = base.Columns["ShortName_Customer"];
  149. columnNo_CustomerReqInfo = base.Columns["No_CustomerReqInfo"];
  150. columnCreateDate_CustomerReqInfo = base.Columns["CreateDate_CustomerReqInfo"];
  151. columnComment_CustomerReqInfo = base.Columns["Comment_CustomerReqInfo"];
  152. }
  153. [DebuggerNonUserCode]
  154. private void InitClass()
  155. {
  156. columnNo_CustomerReqProduct = new DataColumn("No_CustomerReqProduct", typeof(string), null, MappingType.Element);
  157. base.Columns.Add(columnNo_CustomerReqProduct);
  158. columnName_CustomerReqProduct = new DataColumn("Name_CustomerReqProduct", typeof(string), null, MappingType.Element);
  159. base.Columns.Add(columnName_CustomerReqProduct);
  160. columnQuantity_CustomerReqProduct = new DataColumn("Quantity_CustomerReqProduct", typeof(decimal), null, MappingType.Element);
  161. base.Columns.Add(columnQuantity_CustomerReqProduct);
  162. columnPrice_CustomerReqProduct = new DataColumn("Price_CustomerReqProduct", typeof(decimal), null, MappingType.Element);
  163. base.Columns.Add(columnPrice_CustomerReqProduct);
  164. columnUnit_CustomerReqProduct = new DataColumn("Unit_CustomerReqProduct", typeof(string), null, MappingType.Element);
  165. base.Columns.Add(columnUnit_CustomerReqProduct);
  166. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  167. base.Columns.Add(columnShortName_Customer);
  168. columnNo_CustomerReqInfo = new DataColumn("No_CustomerReqInfo", typeof(string), null, MappingType.Element);
  169. base.Columns.Add(columnNo_CustomerReqInfo);
  170. columnCreateDate_CustomerReqInfo = new DataColumn("CreateDate_CustomerReqInfo", typeof(DateTime), null, MappingType.Element);
  171. base.Columns.Add(columnCreateDate_CustomerReqInfo);
  172. columnComment_CustomerReqInfo = new DataColumn("Comment_CustomerReqInfo", typeof(string), null, MappingType.Element);
  173. base.Columns.Add(columnComment_CustomerReqInfo);
  174. }
  175. [DebuggerNonUserCode]
  176. public TotalRow NewTotalRow()
  177. {
  178. return (TotalRow)NewRow();
  179. }
  180. [DebuggerNonUserCode]
  181. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  182. {
  183. return new TotalRow(builder);
  184. }
  185. [DebuggerNonUserCode]
  186. protected override Type GetRowType()
  187. {
  188. return typeof(TotalRow);
  189. }
  190. [DebuggerNonUserCode]
  191. protected override void OnRowChanged(DataRowChangeEventArgs e)
  192. {
  193. base.OnRowChanged(e);
  194. if (this.TotalRowChanged != null)
  195. {
  196. this.TotalRowChanged(this, new TotalRowChangeEvent((TotalRow)e.Row, e.Action));
  197. }
  198. }
  199. [DebuggerNonUserCode]
  200. protected override void OnRowChanging(DataRowChangeEventArgs e)
  201. {
  202. base.OnRowChanging(e);
  203. if (this.TotalRowChanging != null)
  204. {
  205. this.TotalRowChanging(this, new TotalRowChangeEvent((TotalRow)e.Row, e.Action));
  206. }
  207. }
  208. [DebuggerNonUserCode]
  209. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  210. {
  211. base.OnRowDeleted(e);
  212. if (this.TotalRowDeleted != null)
  213. {
  214. this.TotalRowDeleted(this, new TotalRowChangeEvent((TotalRow)e.Row, e.Action));
  215. }
  216. }
  217. [DebuggerNonUserCode]
  218. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  219. {
  220. base.OnRowDeleting(e);
  221. if (this.TotalRowDeleting != null)
  222. {
  223. this.TotalRowDeleting(this, new TotalRowChangeEvent((TotalRow)e.Row, e.Action));
  224. }
  225. }
  226. [DebuggerNonUserCode]
  227. public void RemoveTotalRow(TotalRow row)
  228. {
  229. base.Rows.Remove(row);
  230. }
  231. [DebuggerNonUserCode]
  232. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  233. {
  234. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  235. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  236. dsFrmCustomerRegInfoSearch dsFrmCustomerRegInfoSearch = new dsFrmCustomerRegInfoSearch();
  237. xs.Add(dsFrmCustomerRegInfoSearch.GetSchemaSerializable());
  238. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  239. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  240. xmlSchemaAny.MinOccurs = 0m;
  241. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  242. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  243. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  244. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  245. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  246. xmlSchemaAny2.MinOccurs = 1m;
  247. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  248. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  249. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  250. xmlSchemaAttribute.Name = "namespace";
  251. xmlSchemaAttribute.FixedValue = dsFrmCustomerRegInfoSearch.Namespace;
  252. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  253. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  254. xmlSchemaAttribute2.Name = "tableTypeName";
  255. xmlSchemaAttribute2.FixedValue = "TotalDataTable";
  256. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  257. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  258. return xmlSchemaComplexType;
  259. }
  260. }
  261. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  262. public class TotalRow : DataRow
  263. {
  264. private TotalDataTable tableTotal;
  265. [DebuggerNonUserCode]
  266. public string No_CustomerReqProduct
  267. {
  268. get
  269. {
  270. try
  271. {
  272. return (string)base[tableTotal.No_CustomerReqProductColumn];
  273. }
  274. catch (InvalidCastException innerException)
  275. {
  276. throw new StrongTypingException("The value for column 'No_CustomerReqProduct' in table 'Total' is DBNull.", innerException);
  277. }
  278. }
  279. set
  280. {
  281. base[tableTotal.No_CustomerReqProductColumn] = value;
  282. }
  283. }
  284. [DebuggerNonUserCode]
  285. public string Name_CustomerReqProduct
  286. {
  287. get
  288. {
  289. try
  290. {
  291. return (string)base[tableTotal.Name_CustomerReqProductColumn];
  292. }
  293. catch (InvalidCastException innerException)
  294. {
  295. throw new StrongTypingException("The value for column 'Name_CustomerReqProduct' in table 'Total' is DBNull.", innerException);
  296. }
  297. }
  298. set
  299. {
  300. base[tableTotal.Name_CustomerReqProductColumn] = value;
  301. }
  302. }
  303. [DebuggerNonUserCode]
  304. public decimal Quantity_CustomerReqProduct
  305. {
  306. get
  307. {
  308. try
  309. {
  310. return (decimal)base[tableTotal.Quantity_CustomerReqProductColumn];
  311. }
  312. catch (InvalidCastException innerException)
  313. {
  314. throw new StrongTypingException("The value for column 'Quantity_CustomerReqProduct' in table 'Total' is DBNull.", innerException);
  315. }
  316. }
  317. set
  318. {
  319. base[tableTotal.Quantity_CustomerReqProductColumn] = value;
  320. }
  321. }
  322. [DebuggerNonUserCode]
  323. public decimal Price_CustomerReqProduct
  324. {
  325. get
  326. {
  327. try
  328. {
  329. return (decimal)base[tableTotal.Price_CustomerReqProductColumn];
  330. }
  331. catch (InvalidCastException innerException)
  332. {
  333. throw new StrongTypingException("The value for column 'Price_CustomerReqProduct' in table 'Total' is DBNull.", innerException);
  334. }
  335. }
  336. set
  337. {
  338. base[tableTotal.Price_CustomerReqProductColumn] = value;
  339. }
  340. }
  341. [DebuggerNonUserCode]
  342. public string Unit_CustomerReqProduct
  343. {
  344. get
  345. {
  346. try
  347. {
  348. return (string)base[tableTotal.Unit_CustomerReqProductColumn];
  349. }
  350. catch (InvalidCastException innerException)
  351. {
  352. throw new StrongTypingException("The value for column 'Unit_CustomerReqProduct' in table 'Total' is DBNull.", innerException);
  353. }
  354. }
  355. set
  356. {
  357. base[tableTotal.Unit_CustomerReqProductColumn] = value;
  358. }
  359. }
  360. [DebuggerNonUserCode]
  361. public string ShortName_Customer
  362. {
  363. get
  364. {
  365. try
  366. {
  367. return (string)base[tableTotal.ShortName_CustomerColumn];
  368. }
  369. catch (InvalidCastException innerException)
  370. {
  371. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'Total' is DBNull.", innerException);
  372. }
  373. }
  374. set
  375. {
  376. base[tableTotal.ShortName_CustomerColumn] = value;
  377. }
  378. }
  379. [DebuggerNonUserCode]
  380. public string No_CustomerReqInfo
  381. {
  382. get
  383. {
  384. try
  385. {
  386. return (string)base[tableTotal.No_CustomerReqInfoColumn];
  387. }
  388. catch (InvalidCastException innerException)
  389. {
  390. throw new StrongTypingException("The value for column 'No_CustomerReqInfo' in table 'Total' is DBNull.", innerException);
  391. }
  392. }
  393. set
  394. {
  395. base[tableTotal.No_CustomerReqInfoColumn] = value;
  396. }
  397. }
  398. [DebuggerNonUserCode]
  399. public DateTime CreateDate_CustomerReqInfo
  400. {
  401. get
  402. {
  403. try
  404. {
  405. return (DateTime)base[tableTotal.CreateDate_CustomerReqInfoColumn];
  406. }
  407. catch (InvalidCastException innerException)
  408. {
  409. throw new StrongTypingException("The value for column 'CreateDate_CustomerReqInfo' in table 'Total' is DBNull.", innerException);
  410. }
  411. }
  412. set
  413. {
  414. base[tableTotal.CreateDate_CustomerReqInfoColumn] = value;
  415. }
  416. }
  417. [DebuggerNonUserCode]
  418. public string Comment_CustomerReqInfo
  419. {
  420. get
  421. {
  422. try
  423. {
  424. return (string)base[tableTotal.Comment_CustomerReqInfoColumn];
  425. }
  426. catch (InvalidCastException innerException)
  427. {
  428. throw new StrongTypingException("The value for column 'Comment_CustomerReqInfo' in table 'Total' is DBNull.", innerException);
  429. }
  430. }
  431. set
  432. {
  433. base[tableTotal.Comment_CustomerReqInfoColumn] = value;
  434. }
  435. }
  436. [DebuggerNonUserCode]
  437. internal TotalRow(DataRowBuilder rb)
  438. : base(rb)
  439. {
  440. tableTotal = (TotalDataTable)base.Table;
  441. }
  442. [DebuggerNonUserCode]
  443. public bool IsNo_CustomerReqProductNull()
  444. {
  445. return IsNull(tableTotal.No_CustomerReqProductColumn);
  446. }
  447. [DebuggerNonUserCode]
  448. public void SetNo_CustomerReqProductNull()
  449. {
  450. base[tableTotal.No_CustomerReqProductColumn] = Convert.DBNull;
  451. }
  452. [DebuggerNonUserCode]
  453. public bool IsName_CustomerReqProductNull()
  454. {
  455. return IsNull(tableTotal.Name_CustomerReqProductColumn);
  456. }
  457. [DebuggerNonUserCode]
  458. public void SetName_CustomerReqProductNull()
  459. {
  460. base[tableTotal.Name_CustomerReqProductColumn] = Convert.DBNull;
  461. }
  462. [DebuggerNonUserCode]
  463. public bool IsQuantity_CustomerReqProductNull()
  464. {
  465. return IsNull(tableTotal.Quantity_CustomerReqProductColumn);
  466. }
  467. [DebuggerNonUserCode]
  468. public void SetQuantity_CustomerReqProductNull()
  469. {
  470. base[tableTotal.Quantity_CustomerReqProductColumn] = Convert.DBNull;
  471. }
  472. [DebuggerNonUserCode]
  473. public bool IsPrice_CustomerReqProductNull()
  474. {
  475. return IsNull(tableTotal.Price_CustomerReqProductColumn);
  476. }
  477. [DebuggerNonUserCode]
  478. public void SetPrice_CustomerReqProductNull()
  479. {
  480. base[tableTotal.Price_CustomerReqProductColumn] = Convert.DBNull;
  481. }
  482. [DebuggerNonUserCode]
  483. public bool IsUnit_CustomerReqProductNull()
  484. {
  485. return IsNull(tableTotal.Unit_CustomerReqProductColumn);
  486. }
  487. [DebuggerNonUserCode]
  488. public void SetUnit_CustomerReqProductNull()
  489. {
  490. base[tableTotal.Unit_CustomerReqProductColumn] = Convert.DBNull;
  491. }
  492. [DebuggerNonUserCode]
  493. public bool IsShortName_CustomerNull()
  494. {
  495. return IsNull(tableTotal.ShortName_CustomerColumn);
  496. }
  497. [DebuggerNonUserCode]
  498. public void SetShortName_CustomerNull()
  499. {
  500. base[tableTotal.ShortName_CustomerColumn] = Convert.DBNull;
  501. }
  502. [DebuggerNonUserCode]
  503. public bool IsNo_CustomerReqInfoNull()
  504. {
  505. return IsNull(tableTotal.No_CustomerReqInfoColumn);
  506. }
  507. [DebuggerNonUserCode]
  508. public void SetNo_CustomerReqInfoNull()
  509. {
  510. base[tableTotal.No_CustomerReqInfoColumn] = Convert.DBNull;
  511. }
  512. [DebuggerNonUserCode]
  513. public bool IsCreateDate_CustomerReqInfoNull()
  514. {
  515. return IsNull(tableTotal.CreateDate_CustomerReqInfoColumn);
  516. }
  517. [DebuggerNonUserCode]
  518. public void SetCreateDate_CustomerReqInfoNull()
  519. {
  520. base[tableTotal.CreateDate_CustomerReqInfoColumn] = Convert.DBNull;
  521. }
  522. [DebuggerNonUserCode]
  523. public bool IsComment_CustomerReqInfoNull()
  524. {
  525. return IsNull(tableTotal.Comment_CustomerReqInfoColumn);
  526. }
  527. [DebuggerNonUserCode]
  528. public void SetComment_CustomerReqInfoNull()
  529. {
  530. base[tableTotal.Comment_CustomerReqInfoColumn] = Convert.DBNull;
  531. }
  532. }
  533. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  534. public class TotalRowChangeEvent : EventArgs
  535. {
  536. private TotalRow eventRow;
  537. private DataRowAction eventAction;
  538. [DebuggerNonUserCode]
  539. public TotalRow Row => eventRow;
  540. [DebuggerNonUserCode]
  541. public DataRowAction Action => eventAction;
  542. [DebuggerNonUserCode]
  543. public TotalRowChangeEvent(TotalRow row, DataRowAction action)
  544. {
  545. eventRow = row;
  546. eventAction = action;
  547. }
  548. }
  549. private TotalDataTable tableTotal;
  550. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  551. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  552. [Browsable(false)]
  553. [DebuggerNonUserCode]
  554. public TotalDataTable Total => tableTotal;
  555. [DebuggerNonUserCode]
  556. [Browsable(true)]
  557. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  558. public override SchemaSerializationMode SchemaSerializationMode
  559. {
  560. get
  561. {
  562. return _schemaSerializationMode;
  563. }
  564. set
  565. {
  566. _schemaSerializationMode = value;
  567. }
  568. }
  569. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  570. [DebuggerNonUserCode]
  571. public new DataTableCollection Tables => base.Tables;
  572. [DebuggerNonUserCode]
  573. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  574. public new DataRelationCollection Relations => base.Relations;
  575. [DebuggerNonUserCode]
  576. public dsFrmCustomerRegInfoSearch()
  577. {
  578. BeginInit();
  579. InitClass();
  580. CollectionChangeEventHandler value = SchemaChanged;
  581. base.Tables.CollectionChanged += value;
  582. base.Relations.CollectionChanged += value;
  583. EndInit();
  584. }
  585. [DebuggerNonUserCode]
  586. protected dsFrmCustomerRegInfoSearch(SerializationInfo info, StreamingContext context)
  587. : base(info, context, ConstructSchema: false)
  588. {
  589. if (IsBinarySerialized(info, context))
  590. {
  591. InitVars(initTable: false);
  592. CollectionChangeEventHandler value = SchemaChanged;
  593. Tables.CollectionChanged += value;
  594. Relations.CollectionChanged += value;
  595. return;
  596. }
  597. string s = (string)info.GetValue("XmlSchema", typeof(string));
  598. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  599. {
  600. DataSet dataSet = new DataSet();
  601. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  602. if (dataSet.Tables["Total"] != null)
  603. {
  604. base.Tables.Add(new TotalDataTable(dataSet.Tables["Total"]));
  605. }
  606. base.DataSetName = dataSet.DataSetName;
  607. base.Prefix = dataSet.Prefix;
  608. base.Namespace = dataSet.Namespace;
  609. base.Locale = dataSet.Locale;
  610. base.CaseSensitive = dataSet.CaseSensitive;
  611. base.EnforceConstraints = dataSet.EnforceConstraints;
  612. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  613. InitVars();
  614. }
  615. else
  616. {
  617. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  618. }
  619. GetSerializationData(info, context);
  620. CollectionChangeEventHandler value2 = SchemaChanged;
  621. base.Tables.CollectionChanged += value2;
  622. Relations.CollectionChanged += value2;
  623. }
  624. [DebuggerNonUserCode]
  625. protected override void InitializeDerivedDataSet()
  626. {
  627. BeginInit();
  628. InitClass();
  629. EndInit();
  630. }
  631. [DebuggerNonUserCode]
  632. public override DataSet Clone()
  633. {
  634. dsFrmCustomerRegInfoSearch dsFrmCustomerRegInfoSearch = (dsFrmCustomerRegInfoSearch)base.Clone();
  635. dsFrmCustomerRegInfoSearch.InitVars();
  636. dsFrmCustomerRegInfoSearch.SchemaSerializationMode = SchemaSerializationMode;
  637. return dsFrmCustomerRegInfoSearch;
  638. }
  639. [DebuggerNonUserCode]
  640. protected override bool ShouldSerializeTables()
  641. {
  642. return false;
  643. }
  644. [DebuggerNonUserCode]
  645. protected override bool ShouldSerializeRelations()
  646. {
  647. return false;
  648. }
  649. [DebuggerNonUserCode]
  650. protected override void ReadXmlSerializable(XmlReader reader)
  651. {
  652. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  653. {
  654. Reset();
  655. DataSet dataSet = new DataSet();
  656. dataSet.ReadXml(reader);
  657. if (dataSet.Tables["Total"] != null)
  658. {
  659. base.Tables.Add(new TotalDataTable(dataSet.Tables["Total"]));
  660. }
  661. base.DataSetName = dataSet.DataSetName;
  662. base.Prefix = dataSet.Prefix;
  663. base.Namespace = dataSet.Namespace;
  664. base.Locale = dataSet.Locale;
  665. base.CaseSensitive = dataSet.CaseSensitive;
  666. base.EnforceConstraints = dataSet.EnforceConstraints;
  667. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  668. InitVars();
  669. }
  670. else
  671. {
  672. ReadXml(reader);
  673. InitVars();
  674. }
  675. }
  676. [DebuggerNonUserCode]
  677. protected override XmlSchema GetSchemaSerializable()
  678. {
  679. MemoryStream memoryStream = new MemoryStream();
  680. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  681. memoryStream.Position = 0L;
  682. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  683. }
  684. [DebuggerNonUserCode]
  685. internal void InitVars()
  686. {
  687. InitVars(initTable: true);
  688. }
  689. [DebuggerNonUserCode]
  690. internal void InitVars(bool initTable)
  691. {
  692. tableTotal = (TotalDataTable)base.Tables["Total"];
  693. if (initTable && tableTotal != null)
  694. {
  695. tableTotal.InitVars();
  696. }
  697. }
  698. [DebuggerNonUserCode]
  699. private void InitClass()
  700. {
  701. base.DataSetName = "dsFrmCustomerRegInfoSearch";
  702. base.Prefix = "";
  703. base.Namespace = "http://tempuri.org/dsFrmCustomerRegInfoSearch.xsd";
  704. base.EnforceConstraints = true;
  705. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  706. tableTotal = new TotalDataTable();
  707. base.Tables.Add(tableTotal);
  708. }
  709. [DebuggerNonUserCode]
  710. private bool ShouldSerializeTotal()
  711. {
  712. return false;
  713. }
  714. [DebuggerNonUserCode]
  715. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  716. {
  717. if (e.Action == CollectionChangeAction.Remove)
  718. {
  719. InitVars();
  720. }
  721. }
  722. [DebuggerNonUserCode]
  723. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  724. {
  725. dsFrmCustomerRegInfoSearch dsFrmCustomerRegInfoSearch = new dsFrmCustomerRegInfoSearch();
  726. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  727. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  728. xs.Add(dsFrmCustomerRegInfoSearch.GetSchemaSerializable());
  729. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  730. xmlSchemaAny.Namespace = dsFrmCustomerRegInfoSearch.Namespace;
  731. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  732. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  733. return xmlSchemaComplexType;
  734. }
  735. }
  736. }