dsFrmPurchaseNoInDepot.cs 35 KB

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