dsGetFrmSaleRtnStatisticsCustomer.cs 53 KB

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