dsUIFrmSalesDailyByLocation.cs 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.ComponentModel.Design;
  6. using System.Data;
  7. using System.Diagnostics;
  8. using System.IO;
  9. using System.Runtime.Serialization;
  10. using System.Xml;
  11. using System.Xml.Schema;
  12. using System.Xml.Serialization;
  13. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  14. {
  15. [Serializable]
  16. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  17. [DesignerCategory("code")]
  18. [XmlSchemaProvider("GetTypedDataSetSchema")]
  19. [HelpKeyword("vs.data.DataSet")]
  20. [XmlRoot("dsUIFrmSalesDailyByLocation")]
  21. [ToolboxItem(true)]
  22. public class dsUIFrmSalesDailyByLocation : DataSet
  23. {
  24. public delegate void FrmSalesDailyByLocationRowChangeEventHandler(object sender, FrmSalesDailyByLocationRowChangeEvent e);
  25. public delegate void UIRowChangeEventHandler(object sender, UIRowChangeEvent e);
  26. [Serializable]
  27. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  28. [XmlSchemaProvider("GetTypedTableSchema")]
  29. public class FrmSalesDailyByLocationDataTable : DataTable, IEnumerable
  30. {
  31. private DataColumn columnPrincipal_SaleBill;
  32. private DataColumn columnType;
  33. private DataColumn columnNo_SaleBill;
  34. private DataColumn columnShortName_Customer;
  35. private DataColumn columnName_Location;
  36. private DataColumn columnCurrency_SaleBill;
  37. private DataColumn columnGoodsAmount_SaleBill;
  38. private DataColumn columnAmount_SaleBill;
  39. private DataColumn columnTaxAmount_SaleBill;
  40. private DataColumn columnTaxCurrency_SaleBill;
  41. private DataColumn columnDate_SaleBill;
  42. [DebuggerNonUserCode]
  43. public DataColumn Principal_SaleBillColumn => columnPrincipal_SaleBill;
  44. [DebuggerNonUserCode]
  45. public DataColumn TypeColumn => columnType;
  46. [DebuggerNonUserCode]
  47. public DataColumn No_SaleBillColumn => columnNo_SaleBill;
  48. [DebuggerNonUserCode]
  49. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  50. [DebuggerNonUserCode]
  51. public DataColumn Name_LocationColumn => columnName_Location;
  52. [DebuggerNonUserCode]
  53. public DataColumn Currency_SaleBillColumn => columnCurrency_SaleBill;
  54. [DebuggerNonUserCode]
  55. public DataColumn GoodsAmount_SaleBillColumn => columnGoodsAmount_SaleBill;
  56. [DebuggerNonUserCode]
  57. public DataColumn Amount_SaleBillColumn => columnAmount_SaleBill;
  58. [DebuggerNonUserCode]
  59. public DataColumn TaxAmount_SaleBillColumn => columnTaxAmount_SaleBill;
  60. [DebuggerNonUserCode]
  61. public DataColumn TaxCurrency_SaleBillColumn => columnTaxCurrency_SaleBill;
  62. [DebuggerNonUserCode]
  63. public DataColumn Date_SaleBillColumn => columnDate_SaleBill;
  64. [DebuggerNonUserCode]
  65. [Browsable(false)]
  66. public int Count => base.Rows.Count;
  67. [DebuggerNonUserCode]
  68. public FrmSalesDailyByLocationRow this[int index] => (FrmSalesDailyByLocationRow)base.Rows[index];
  69. public event FrmSalesDailyByLocationRowChangeEventHandler FrmSalesDailyByLocationRowChanging;
  70. public event FrmSalesDailyByLocationRowChangeEventHandler FrmSalesDailyByLocationRowChanged;
  71. public event FrmSalesDailyByLocationRowChangeEventHandler FrmSalesDailyByLocationRowDeleting;
  72. public event FrmSalesDailyByLocationRowChangeEventHandler FrmSalesDailyByLocationRowDeleted;
  73. [DebuggerNonUserCode]
  74. public FrmSalesDailyByLocationDataTable()
  75. {
  76. base.TableName = "FrmSalesDailyByLocation";
  77. BeginInit();
  78. InitClass();
  79. EndInit();
  80. }
  81. [DebuggerNonUserCode]
  82. internal FrmSalesDailyByLocationDataTable(DataTable table)
  83. {
  84. base.TableName = table.TableName;
  85. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  86. {
  87. base.CaseSensitive = table.CaseSensitive;
  88. }
  89. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  90. {
  91. base.Locale = table.Locale;
  92. }
  93. if (table.Namespace != table.DataSet.Namespace)
  94. {
  95. base.Namespace = table.Namespace;
  96. }
  97. base.Prefix = table.Prefix;
  98. base.MinimumCapacity = table.MinimumCapacity;
  99. }
  100. [DebuggerNonUserCode]
  101. protected FrmSalesDailyByLocationDataTable(SerializationInfo info, StreamingContext context)
  102. : base(info, context)
  103. {
  104. InitVars();
  105. }
  106. [DebuggerNonUserCode]
  107. public void AddFrmSalesDailyByLocationRow(FrmSalesDailyByLocationRow row)
  108. {
  109. base.Rows.Add(row);
  110. }
  111. [DebuggerNonUserCode]
  112. public FrmSalesDailyByLocationRow AddFrmSalesDailyByLocationRow(string Principal_SaleBill, string Type, string No_SaleBill, string ShortName_Customer, string Name_Location, string Currency_SaleBill, decimal GoodsAmount_SaleBill, decimal Amount_SaleBill, decimal TaxAmount_SaleBill, string TaxCurrency_SaleBill, DateTime Date_SaleBill)
  113. {
  114. FrmSalesDailyByLocationRow frmSalesDailyByLocationRow = (FrmSalesDailyByLocationRow)NewRow();
  115. frmSalesDailyByLocationRow.ItemArray = new object[11]
  116. {
  117. Principal_SaleBill,
  118. Type,
  119. No_SaleBill,
  120. ShortName_Customer,
  121. Name_Location,
  122. Currency_SaleBill,
  123. GoodsAmount_SaleBill,
  124. Amount_SaleBill,
  125. TaxAmount_SaleBill,
  126. TaxCurrency_SaleBill,
  127. Date_SaleBill
  128. };
  129. base.Rows.Add(frmSalesDailyByLocationRow);
  130. return frmSalesDailyByLocationRow;
  131. }
  132. [DebuggerNonUserCode]
  133. public virtual IEnumerator GetEnumerator()
  134. {
  135. return base.Rows.GetEnumerator();
  136. }
  137. [DebuggerNonUserCode]
  138. public override DataTable Clone()
  139. {
  140. FrmSalesDailyByLocationDataTable frmSalesDailyByLocationDataTable = (FrmSalesDailyByLocationDataTable)base.Clone();
  141. frmSalesDailyByLocationDataTable.InitVars();
  142. return frmSalesDailyByLocationDataTable;
  143. }
  144. [DebuggerNonUserCode]
  145. protected override DataTable CreateInstance()
  146. {
  147. return new FrmSalesDailyByLocationDataTable();
  148. }
  149. [DebuggerNonUserCode]
  150. internal void InitVars()
  151. {
  152. columnPrincipal_SaleBill = base.Columns["Principal_SaleBill"];
  153. columnType = base.Columns["Type"];
  154. columnNo_SaleBill = base.Columns["No_SaleBill"];
  155. columnShortName_Customer = base.Columns["ShortName_Customer"];
  156. columnName_Location = base.Columns["Name_Location"];
  157. columnCurrency_SaleBill = base.Columns["Currency_SaleBill"];
  158. columnGoodsAmount_SaleBill = base.Columns["GoodsAmount_SaleBill"];
  159. columnAmount_SaleBill = base.Columns["Amount_SaleBill"];
  160. columnTaxAmount_SaleBill = base.Columns["TaxAmount_SaleBill"];
  161. columnTaxCurrency_SaleBill = base.Columns["TaxCurrency_SaleBill"];
  162. columnDate_SaleBill = base.Columns["Date_SaleBill"];
  163. }
  164. [DebuggerNonUserCode]
  165. private void InitClass()
  166. {
  167. columnPrincipal_SaleBill = new DataColumn("Principal_SaleBill", typeof(string), null, MappingType.Element);
  168. base.Columns.Add(columnPrincipal_SaleBill);
  169. columnType = new DataColumn("Type", typeof(string), null, MappingType.Element);
  170. base.Columns.Add(columnType);
  171. columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
  172. base.Columns.Add(columnNo_SaleBill);
  173. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  174. base.Columns.Add(columnShortName_Customer);
  175. columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element);
  176. base.Columns.Add(columnName_Location);
  177. columnCurrency_SaleBill = new DataColumn("Currency_SaleBill", typeof(string), null, MappingType.Element);
  178. base.Columns.Add(columnCurrency_SaleBill);
  179. columnGoodsAmount_SaleBill = new DataColumn("GoodsAmount_SaleBill", typeof(decimal), null, MappingType.Element);
  180. base.Columns.Add(columnGoodsAmount_SaleBill);
  181. columnAmount_SaleBill = new DataColumn("Amount_SaleBill", typeof(decimal), null, MappingType.Element);
  182. base.Columns.Add(columnAmount_SaleBill);
  183. columnTaxAmount_SaleBill = new DataColumn("TaxAmount_SaleBill", typeof(decimal), null, MappingType.Element);
  184. base.Columns.Add(columnTaxAmount_SaleBill);
  185. columnTaxCurrency_SaleBill = new DataColumn("TaxCurrency_SaleBill", typeof(string), null, MappingType.Element);
  186. base.Columns.Add(columnTaxCurrency_SaleBill);
  187. columnDate_SaleBill = new DataColumn("Date_SaleBill", typeof(DateTime), null, MappingType.Element);
  188. base.Columns.Add(columnDate_SaleBill);
  189. }
  190. [DebuggerNonUserCode]
  191. public FrmSalesDailyByLocationRow NewFrmSalesDailyByLocationRow()
  192. {
  193. return (FrmSalesDailyByLocationRow)NewRow();
  194. }
  195. [DebuggerNonUserCode]
  196. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  197. {
  198. return new FrmSalesDailyByLocationRow(builder);
  199. }
  200. [DebuggerNonUserCode]
  201. protected override Type GetRowType()
  202. {
  203. return typeof(FrmSalesDailyByLocationRow);
  204. }
  205. [DebuggerNonUserCode]
  206. protected override void OnRowChanged(DataRowChangeEventArgs e)
  207. {
  208. base.OnRowChanged(e);
  209. if (this.FrmSalesDailyByLocationRowChanged != null)
  210. {
  211. this.FrmSalesDailyByLocationRowChanged(this, new FrmSalesDailyByLocationRowChangeEvent((FrmSalesDailyByLocationRow)e.Row, e.Action));
  212. }
  213. }
  214. [DebuggerNonUserCode]
  215. protected override void OnRowChanging(DataRowChangeEventArgs e)
  216. {
  217. base.OnRowChanging(e);
  218. if (this.FrmSalesDailyByLocationRowChanging != null)
  219. {
  220. this.FrmSalesDailyByLocationRowChanging(this, new FrmSalesDailyByLocationRowChangeEvent((FrmSalesDailyByLocationRow)e.Row, e.Action));
  221. }
  222. }
  223. [DebuggerNonUserCode]
  224. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  225. {
  226. base.OnRowDeleted(e);
  227. if (this.FrmSalesDailyByLocationRowDeleted != null)
  228. {
  229. this.FrmSalesDailyByLocationRowDeleted(this, new FrmSalesDailyByLocationRowChangeEvent((FrmSalesDailyByLocationRow)e.Row, e.Action));
  230. }
  231. }
  232. [DebuggerNonUserCode]
  233. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  234. {
  235. base.OnRowDeleting(e);
  236. if (this.FrmSalesDailyByLocationRowDeleting != null)
  237. {
  238. this.FrmSalesDailyByLocationRowDeleting(this, new FrmSalesDailyByLocationRowChangeEvent((FrmSalesDailyByLocationRow)e.Row, e.Action));
  239. }
  240. }
  241. [DebuggerNonUserCode]
  242. public void RemoveFrmSalesDailyByLocationRow(FrmSalesDailyByLocationRow row)
  243. {
  244. base.Rows.Remove(row);
  245. }
  246. [DebuggerNonUserCode]
  247. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  248. {
  249. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  250. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  251. dsUIFrmSalesDailyByLocation dsUIFrmSalesDailyByLocation = new dsUIFrmSalesDailyByLocation();
  252. xs.Add(dsUIFrmSalesDailyByLocation.GetSchemaSerializable());
  253. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  254. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  255. xmlSchemaAny.MinOccurs = 0m;
  256. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  257. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  258. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  259. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  260. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  261. xmlSchemaAny2.MinOccurs = 1m;
  262. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  263. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  264. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  265. xmlSchemaAttribute.Name = "namespace";
  266. xmlSchemaAttribute.FixedValue = dsUIFrmSalesDailyByLocation.Namespace;
  267. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  268. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  269. xmlSchemaAttribute2.Name = "tableTypeName";
  270. xmlSchemaAttribute2.FixedValue = "FrmSalesDailyByLocationDataTable";
  271. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  272. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  273. return xmlSchemaComplexType;
  274. }
  275. }
  276. [Serializable]
  277. [XmlSchemaProvider("GetTypedTableSchema")]
  278. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  279. public class UIDataTable : DataTable, IEnumerable
  280. {
  281. private DataColumn columnStartDate_SaleBill;
  282. private DataColumn columnEndDate_SaleBill;
  283. private DataColumn columnStartNo_SaleBill;
  284. private DataColumn columnEndNo_SaleBill;
  285. private DataColumn columnStartNo_Customer;
  286. private DataColumn columnEndNo_Customer;
  287. private DataColumn columnStartPrincipal_SaleBill;
  288. private DataColumn columnEndPrincipal_SaleBill;
  289. private DataColumn columnStartName_Location;
  290. private DataColumn columnEndName_Location;
  291. private DataColumn columnName_Creator;
  292. private DataColumn columnCreateDate;
  293. [DebuggerNonUserCode]
  294. public DataColumn StartDate_SaleBillColumn => columnStartDate_SaleBill;
  295. [DebuggerNonUserCode]
  296. public DataColumn EndDate_SaleBillColumn => columnEndDate_SaleBill;
  297. [DebuggerNonUserCode]
  298. public DataColumn StartNo_SaleBillColumn => columnStartNo_SaleBill;
  299. [DebuggerNonUserCode]
  300. public DataColumn EndNo_SaleBillColumn => columnEndNo_SaleBill;
  301. [DebuggerNonUserCode]
  302. public DataColumn StartNo_CustomerColumn => columnStartNo_Customer;
  303. [DebuggerNonUserCode]
  304. public DataColumn EndNo_CustomerColumn => columnEndNo_Customer;
  305. [DebuggerNonUserCode]
  306. public DataColumn StartPrincipal_SaleBillColumn => columnStartPrincipal_SaleBill;
  307. [DebuggerNonUserCode]
  308. public DataColumn EndPrincipal_SaleBillColumn => columnEndPrincipal_SaleBill;
  309. [DebuggerNonUserCode]
  310. public DataColumn StartName_LocationColumn => columnStartName_Location;
  311. [DebuggerNonUserCode]
  312. public DataColumn EndName_LocationColumn => columnEndName_Location;
  313. [DebuggerNonUserCode]
  314. public DataColumn Name_CreatorColumn => columnName_Creator;
  315. [DebuggerNonUserCode]
  316. public DataColumn CreateDateColumn => columnCreateDate;
  317. [DebuggerNonUserCode]
  318. [Browsable(false)]
  319. public int Count => base.Rows.Count;
  320. [DebuggerNonUserCode]
  321. public UIRow this[int index] => (UIRow)base.Rows[index];
  322. public event UIRowChangeEventHandler UIRowChanging;
  323. public event UIRowChangeEventHandler UIRowChanged;
  324. public event UIRowChangeEventHandler UIRowDeleting;
  325. public event UIRowChangeEventHandler UIRowDeleted;
  326. [DebuggerNonUserCode]
  327. public UIDataTable()
  328. {
  329. base.TableName = "UI";
  330. BeginInit();
  331. InitClass();
  332. EndInit();
  333. }
  334. [DebuggerNonUserCode]
  335. internal UIDataTable(DataTable table)
  336. {
  337. base.TableName = table.TableName;
  338. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  339. {
  340. base.CaseSensitive = table.CaseSensitive;
  341. }
  342. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  343. {
  344. base.Locale = table.Locale;
  345. }
  346. if (table.Namespace != table.DataSet.Namespace)
  347. {
  348. base.Namespace = table.Namespace;
  349. }
  350. base.Prefix = table.Prefix;
  351. base.MinimumCapacity = table.MinimumCapacity;
  352. }
  353. [DebuggerNonUserCode]
  354. protected UIDataTable(SerializationInfo info, StreamingContext context)
  355. : base(info, context)
  356. {
  357. InitVars();
  358. }
  359. [DebuggerNonUserCode]
  360. public void AddUIRow(UIRow row)
  361. {
  362. base.Rows.Add(row);
  363. }
  364. [DebuggerNonUserCode]
  365. public UIRow AddUIRow(DateTime StartDate_SaleBill, DateTime EndDate_SaleBill, string StartNo_SaleBill, string EndNo_SaleBill, string StartNo_Customer, string EndNo_Customer, string StartPrincipal_SaleBill, string EndPrincipal_SaleBill, string StartName_Location, string EndName_Location, string Name_Creator, DateTime CreateDate)
  366. {
  367. UIRow uIRow = (UIRow)NewRow();
  368. uIRow.ItemArray = new object[12]
  369. {
  370. StartDate_SaleBill,
  371. EndDate_SaleBill,
  372. StartNo_SaleBill,
  373. EndNo_SaleBill,
  374. StartNo_Customer,
  375. EndNo_Customer,
  376. StartPrincipal_SaleBill,
  377. EndPrincipal_SaleBill,
  378. StartName_Location,
  379. EndName_Location,
  380. Name_Creator,
  381. CreateDate
  382. };
  383. base.Rows.Add(uIRow);
  384. return uIRow;
  385. }
  386. [DebuggerNonUserCode]
  387. public virtual IEnumerator GetEnumerator()
  388. {
  389. return base.Rows.GetEnumerator();
  390. }
  391. [DebuggerNonUserCode]
  392. public override DataTable Clone()
  393. {
  394. UIDataTable uIDataTable = (UIDataTable)base.Clone();
  395. uIDataTable.InitVars();
  396. return uIDataTable;
  397. }
  398. [DebuggerNonUserCode]
  399. protected override DataTable CreateInstance()
  400. {
  401. return new UIDataTable();
  402. }
  403. [DebuggerNonUserCode]
  404. internal void InitVars()
  405. {
  406. columnStartDate_SaleBill = base.Columns["StartDate_SaleBill"];
  407. columnEndDate_SaleBill = base.Columns["EndDate_SaleBill"];
  408. columnStartNo_SaleBill = base.Columns["StartNo_SaleBill"];
  409. columnEndNo_SaleBill = base.Columns["EndNo_SaleBill"];
  410. columnStartNo_Customer = base.Columns["StartNo_Customer"];
  411. columnEndNo_Customer = base.Columns["EndNo_Customer"];
  412. columnStartPrincipal_SaleBill = base.Columns["StartPrincipal_SaleBill"];
  413. columnEndPrincipal_SaleBill = base.Columns["EndPrincipal_SaleBill"];
  414. columnStartName_Location = base.Columns["StartName_Location"];
  415. columnEndName_Location = base.Columns["EndName_Location"];
  416. columnName_Creator = base.Columns["Name_Creator"];
  417. columnCreateDate = base.Columns["CreateDate"];
  418. }
  419. [DebuggerNonUserCode]
  420. private void InitClass()
  421. {
  422. columnStartDate_SaleBill = new DataColumn("StartDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  423. base.Columns.Add(columnStartDate_SaleBill);
  424. columnEndDate_SaleBill = new DataColumn("EndDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  425. base.Columns.Add(columnEndDate_SaleBill);
  426. columnStartNo_SaleBill = new DataColumn("StartNo_SaleBill", typeof(string), null, MappingType.Element);
  427. base.Columns.Add(columnStartNo_SaleBill);
  428. columnEndNo_SaleBill = new DataColumn("EndNo_SaleBill", typeof(string), null, MappingType.Element);
  429. base.Columns.Add(columnEndNo_SaleBill);
  430. columnStartNo_Customer = new DataColumn("StartNo_Customer", typeof(string), null, MappingType.Element);
  431. base.Columns.Add(columnStartNo_Customer);
  432. columnEndNo_Customer = new DataColumn("EndNo_Customer", typeof(string), null, MappingType.Element);
  433. base.Columns.Add(columnEndNo_Customer);
  434. columnStartPrincipal_SaleBill = new DataColumn("StartPrincipal_SaleBill", typeof(string), null, MappingType.Element);
  435. base.Columns.Add(columnStartPrincipal_SaleBill);
  436. columnEndPrincipal_SaleBill = new DataColumn("EndPrincipal_SaleBill", typeof(string), null, MappingType.Element);
  437. base.Columns.Add(columnEndPrincipal_SaleBill);
  438. columnStartName_Location = new DataColumn("StartName_Location", typeof(string), null, MappingType.Element);
  439. base.Columns.Add(columnStartName_Location);
  440. columnEndName_Location = new DataColumn("EndName_Location", typeof(string), null, MappingType.Element);
  441. base.Columns.Add(columnEndName_Location);
  442. columnName_Creator = new DataColumn("Name_Creator", typeof(string), null, MappingType.Element);
  443. base.Columns.Add(columnName_Creator);
  444. columnCreateDate = new DataColumn("CreateDate", typeof(DateTime), null, MappingType.Element);
  445. base.Columns.Add(columnCreateDate);
  446. }
  447. [DebuggerNonUserCode]
  448. public UIRow NewUIRow()
  449. {
  450. return (UIRow)NewRow();
  451. }
  452. [DebuggerNonUserCode]
  453. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  454. {
  455. return new UIRow(builder);
  456. }
  457. [DebuggerNonUserCode]
  458. protected override Type GetRowType()
  459. {
  460. return typeof(UIRow);
  461. }
  462. [DebuggerNonUserCode]
  463. protected override void OnRowChanged(DataRowChangeEventArgs e)
  464. {
  465. base.OnRowChanged(e);
  466. if (this.UIRowChanged != null)
  467. {
  468. this.UIRowChanged(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  469. }
  470. }
  471. [DebuggerNonUserCode]
  472. protected override void OnRowChanging(DataRowChangeEventArgs e)
  473. {
  474. base.OnRowChanging(e);
  475. if (this.UIRowChanging != null)
  476. {
  477. this.UIRowChanging(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  478. }
  479. }
  480. [DebuggerNonUserCode]
  481. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  482. {
  483. base.OnRowDeleted(e);
  484. if (this.UIRowDeleted != null)
  485. {
  486. this.UIRowDeleted(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  487. }
  488. }
  489. [DebuggerNonUserCode]
  490. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  491. {
  492. base.OnRowDeleting(e);
  493. if (this.UIRowDeleting != null)
  494. {
  495. this.UIRowDeleting(this, new UIRowChangeEvent((UIRow)e.Row, e.Action));
  496. }
  497. }
  498. [DebuggerNonUserCode]
  499. public void RemoveUIRow(UIRow row)
  500. {
  501. base.Rows.Remove(row);
  502. }
  503. [DebuggerNonUserCode]
  504. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  505. {
  506. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  507. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  508. dsUIFrmSalesDailyByLocation dsUIFrmSalesDailyByLocation = new dsUIFrmSalesDailyByLocation();
  509. xs.Add(dsUIFrmSalesDailyByLocation.GetSchemaSerializable());
  510. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  511. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  512. xmlSchemaAny.MinOccurs = 0m;
  513. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  514. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  515. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  516. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  517. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  518. xmlSchemaAny2.MinOccurs = 1m;
  519. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  520. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  521. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  522. xmlSchemaAttribute.Name = "namespace";
  523. xmlSchemaAttribute.FixedValue = dsUIFrmSalesDailyByLocation.Namespace;
  524. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  525. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  526. xmlSchemaAttribute2.Name = "tableTypeName";
  527. xmlSchemaAttribute2.FixedValue = "UIDataTable";
  528. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  529. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  530. return xmlSchemaComplexType;
  531. }
  532. }
  533. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  534. public class FrmSalesDailyByLocationRow : DataRow
  535. {
  536. private FrmSalesDailyByLocationDataTable tableFrmSalesDailyByLocation;
  537. [DebuggerNonUserCode]
  538. public string Principal_SaleBill
  539. {
  540. get
  541. {
  542. try
  543. {
  544. return (string)base[tableFrmSalesDailyByLocation.Principal_SaleBillColumn];
  545. }
  546. catch (InvalidCastException innerException)
  547. {
  548. throw new StrongTypingException("The value for column 'Principal_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  549. }
  550. }
  551. set
  552. {
  553. base[tableFrmSalesDailyByLocation.Principal_SaleBillColumn] = value;
  554. }
  555. }
  556. [DebuggerNonUserCode]
  557. public string Type
  558. {
  559. get
  560. {
  561. try
  562. {
  563. return (string)base[tableFrmSalesDailyByLocation.TypeColumn];
  564. }
  565. catch (InvalidCastException innerException)
  566. {
  567. throw new StrongTypingException("The value for column 'Type' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  568. }
  569. }
  570. set
  571. {
  572. base[tableFrmSalesDailyByLocation.TypeColumn] = value;
  573. }
  574. }
  575. [DebuggerNonUserCode]
  576. public string No_SaleBill
  577. {
  578. get
  579. {
  580. try
  581. {
  582. return (string)base[tableFrmSalesDailyByLocation.No_SaleBillColumn];
  583. }
  584. catch (InvalidCastException innerException)
  585. {
  586. throw new StrongTypingException("The value for column 'No_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  587. }
  588. }
  589. set
  590. {
  591. base[tableFrmSalesDailyByLocation.No_SaleBillColumn] = value;
  592. }
  593. }
  594. [DebuggerNonUserCode]
  595. public string ShortName_Customer
  596. {
  597. get
  598. {
  599. try
  600. {
  601. return (string)base[tableFrmSalesDailyByLocation.ShortName_CustomerColumn];
  602. }
  603. catch (InvalidCastException innerException)
  604. {
  605. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  606. }
  607. }
  608. set
  609. {
  610. base[tableFrmSalesDailyByLocation.ShortName_CustomerColumn] = value;
  611. }
  612. }
  613. [DebuggerNonUserCode]
  614. public string Name_Location
  615. {
  616. get
  617. {
  618. try
  619. {
  620. return (string)base[tableFrmSalesDailyByLocation.Name_LocationColumn];
  621. }
  622. catch (InvalidCastException innerException)
  623. {
  624. throw new StrongTypingException("The value for column 'Name_Location' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  625. }
  626. }
  627. set
  628. {
  629. base[tableFrmSalesDailyByLocation.Name_LocationColumn] = value;
  630. }
  631. }
  632. [DebuggerNonUserCode]
  633. public string Currency_SaleBill
  634. {
  635. get
  636. {
  637. try
  638. {
  639. return (string)base[tableFrmSalesDailyByLocation.Currency_SaleBillColumn];
  640. }
  641. catch (InvalidCastException innerException)
  642. {
  643. throw new StrongTypingException("The value for column 'Currency_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  644. }
  645. }
  646. set
  647. {
  648. base[tableFrmSalesDailyByLocation.Currency_SaleBillColumn] = value;
  649. }
  650. }
  651. [DebuggerNonUserCode]
  652. public decimal GoodsAmount_SaleBill
  653. {
  654. get
  655. {
  656. try
  657. {
  658. return (decimal)base[tableFrmSalesDailyByLocation.GoodsAmount_SaleBillColumn];
  659. }
  660. catch (InvalidCastException innerException)
  661. {
  662. throw new StrongTypingException("The value for column 'GoodsAmount_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  663. }
  664. }
  665. set
  666. {
  667. base[tableFrmSalesDailyByLocation.GoodsAmount_SaleBillColumn] = value;
  668. }
  669. }
  670. [DebuggerNonUserCode]
  671. public decimal Amount_SaleBill
  672. {
  673. get
  674. {
  675. try
  676. {
  677. return (decimal)base[tableFrmSalesDailyByLocation.Amount_SaleBillColumn];
  678. }
  679. catch (InvalidCastException innerException)
  680. {
  681. throw new StrongTypingException("The value for column 'Amount_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  682. }
  683. }
  684. set
  685. {
  686. base[tableFrmSalesDailyByLocation.Amount_SaleBillColumn] = value;
  687. }
  688. }
  689. [DebuggerNonUserCode]
  690. public decimal TaxAmount_SaleBill
  691. {
  692. get
  693. {
  694. try
  695. {
  696. return (decimal)base[tableFrmSalesDailyByLocation.TaxAmount_SaleBillColumn];
  697. }
  698. catch (InvalidCastException innerException)
  699. {
  700. throw new StrongTypingException("The value for column 'TaxAmount_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  701. }
  702. }
  703. set
  704. {
  705. base[tableFrmSalesDailyByLocation.TaxAmount_SaleBillColumn] = value;
  706. }
  707. }
  708. [DebuggerNonUserCode]
  709. public string TaxCurrency_SaleBill
  710. {
  711. get
  712. {
  713. try
  714. {
  715. return (string)base[tableFrmSalesDailyByLocation.TaxCurrency_SaleBillColumn];
  716. }
  717. catch (InvalidCastException innerException)
  718. {
  719. throw new StrongTypingException("The value for column 'TaxCurrency_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  720. }
  721. }
  722. set
  723. {
  724. base[tableFrmSalesDailyByLocation.TaxCurrency_SaleBillColumn] = value;
  725. }
  726. }
  727. [DebuggerNonUserCode]
  728. public DateTime Date_SaleBill
  729. {
  730. get
  731. {
  732. try
  733. {
  734. return (DateTime)base[tableFrmSalesDailyByLocation.Date_SaleBillColumn];
  735. }
  736. catch (InvalidCastException innerException)
  737. {
  738. throw new StrongTypingException("The value for column 'Date_SaleBill' in table 'FrmSalesDailyByLocation' is DBNull.", innerException);
  739. }
  740. }
  741. set
  742. {
  743. base[tableFrmSalesDailyByLocation.Date_SaleBillColumn] = value;
  744. }
  745. }
  746. [DebuggerNonUserCode]
  747. internal FrmSalesDailyByLocationRow(DataRowBuilder rb)
  748. : base(rb)
  749. {
  750. tableFrmSalesDailyByLocation = (FrmSalesDailyByLocationDataTable)base.Table;
  751. }
  752. [DebuggerNonUserCode]
  753. public bool IsPrincipal_SaleBillNull()
  754. {
  755. return IsNull(tableFrmSalesDailyByLocation.Principal_SaleBillColumn);
  756. }
  757. [DebuggerNonUserCode]
  758. public void SetPrincipal_SaleBillNull()
  759. {
  760. base[tableFrmSalesDailyByLocation.Principal_SaleBillColumn] = Convert.DBNull;
  761. }
  762. [DebuggerNonUserCode]
  763. public bool IsTypeNull()
  764. {
  765. return IsNull(tableFrmSalesDailyByLocation.TypeColumn);
  766. }
  767. [DebuggerNonUserCode]
  768. public void SetTypeNull()
  769. {
  770. base[tableFrmSalesDailyByLocation.TypeColumn] = Convert.DBNull;
  771. }
  772. [DebuggerNonUserCode]
  773. public bool IsNo_SaleBillNull()
  774. {
  775. return IsNull(tableFrmSalesDailyByLocation.No_SaleBillColumn);
  776. }
  777. [DebuggerNonUserCode]
  778. public void SetNo_SaleBillNull()
  779. {
  780. base[tableFrmSalesDailyByLocation.No_SaleBillColumn] = Convert.DBNull;
  781. }
  782. [DebuggerNonUserCode]
  783. public bool IsShortName_CustomerNull()
  784. {
  785. return IsNull(tableFrmSalesDailyByLocation.ShortName_CustomerColumn);
  786. }
  787. [DebuggerNonUserCode]
  788. public void SetShortName_CustomerNull()
  789. {
  790. base[tableFrmSalesDailyByLocation.ShortName_CustomerColumn] = Convert.DBNull;
  791. }
  792. [DebuggerNonUserCode]
  793. public bool IsName_LocationNull()
  794. {
  795. return IsNull(tableFrmSalesDailyByLocation.Name_LocationColumn);
  796. }
  797. [DebuggerNonUserCode]
  798. public void SetName_LocationNull()
  799. {
  800. base[tableFrmSalesDailyByLocation.Name_LocationColumn] = Convert.DBNull;
  801. }
  802. [DebuggerNonUserCode]
  803. public bool IsCurrency_SaleBillNull()
  804. {
  805. return IsNull(tableFrmSalesDailyByLocation.Currency_SaleBillColumn);
  806. }
  807. [DebuggerNonUserCode]
  808. public void SetCurrency_SaleBillNull()
  809. {
  810. base[tableFrmSalesDailyByLocation.Currency_SaleBillColumn] = Convert.DBNull;
  811. }
  812. [DebuggerNonUserCode]
  813. public bool IsGoodsAmount_SaleBillNull()
  814. {
  815. return IsNull(tableFrmSalesDailyByLocation.GoodsAmount_SaleBillColumn);
  816. }
  817. [DebuggerNonUserCode]
  818. public void SetGoodsAmount_SaleBillNull()
  819. {
  820. base[tableFrmSalesDailyByLocation.GoodsAmount_SaleBillColumn] = Convert.DBNull;
  821. }
  822. [DebuggerNonUserCode]
  823. public bool IsAmount_SaleBillNull()
  824. {
  825. return IsNull(tableFrmSalesDailyByLocation.Amount_SaleBillColumn);
  826. }
  827. [DebuggerNonUserCode]
  828. public void SetAmount_SaleBillNull()
  829. {
  830. base[tableFrmSalesDailyByLocation.Amount_SaleBillColumn] = Convert.DBNull;
  831. }
  832. [DebuggerNonUserCode]
  833. public bool IsTaxAmount_SaleBillNull()
  834. {
  835. return IsNull(tableFrmSalesDailyByLocation.TaxAmount_SaleBillColumn);
  836. }
  837. [DebuggerNonUserCode]
  838. public void SetTaxAmount_SaleBillNull()
  839. {
  840. base[tableFrmSalesDailyByLocation.TaxAmount_SaleBillColumn] = Convert.DBNull;
  841. }
  842. [DebuggerNonUserCode]
  843. public bool IsTaxCurrency_SaleBillNull()
  844. {
  845. return IsNull(tableFrmSalesDailyByLocation.TaxCurrency_SaleBillColumn);
  846. }
  847. [DebuggerNonUserCode]
  848. public void SetTaxCurrency_SaleBillNull()
  849. {
  850. base[tableFrmSalesDailyByLocation.TaxCurrency_SaleBillColumn] = Convert.DBNull;
  851. }
  852. [DebuggerNonUserCode]
  853. public bool IsDate_SaleBillNull()
  854. {
  855. return IsNull(tableFrmSalesDailyByLocation.Date_SaleBillColumn);
  856. }
  857. [DebuggerNonUserCode]
  858. public void SetDate_SaleBillNull()
  859. {
  860. base[tableFrmSalesDailyByLocation.Date_SaleBillColumn] = Convert.DBNull;
  861. }
  862. }
  863. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  864. public class UIRow : DataRow
  865. {
  866. private UIDataTable tableUI;
  867. [DebuggerNonUserCode]
  868. public DateTime StartDate_SaleBill
  869. {
  870. get
  871. {
  872. try
  873. {
  874. return (DateTime)base[tableUI.StartDate_SaleBillColumn];
  875. }
  876. catch (InvalidCastException innerException)
  877. {
  878. throw new StrongTypingException("The value for column 'StartDate_SaleBill' in table 'UI' is DBNull.", innerException);
  879. }
  880. }
  881. set
  882. {
  883. base[tableUI.StartDate_SaleBillColumn] = value;
  884. }
  885. }
  886. [DebuggerNonUserCode]
  887. public DateTime EndDate_SaleBill
  888. {
  889. get
  890. {
  891. try
  892. {
  893. return (DateTime)base[tableUI.EndDate_SaleBillColumn];
  894. }
  895. catch (InvalidCastException innerException)
  896. {
  897. throw new StrongTypingException("The value for column 'EndDate_SaleBill' in table 'UI' is DBNull.", innerException);
  898. }
  899. }
  900. set
  901. {
  902. base[tableUI.EndDate_SaleBillColumn] = value;
  903. }
  904. }
  905. [DebuggerNonUserCode]
  906. public string StartNo_SaleBill
  907. {
  908. get
  909. {
  910. try
  911. {
  912. return (string)base[tableUI.StartNo_SaleBillColumn];
  913. }
  914. catch (InvalidCastException innerException)
  915. {
  916. throw new StrongTypingException("The value for column 'StartNo_SaleBill' in table 'UI' is DBNull.", innerException);
  917. }
  918. }
  919. set
  920. {
  921. base[tableUI.StartNo_SaleBillColumn] = value;
  922. }
  923. }
  924. [DebuggerNonUserCode]
  925. public string EndNo_SaleBill
  926. {
  927. get
  928. {
  929. try
  930. {
  931. return (string)base[tableUI.EndNo_SaleBillColumn];
  932. }
  933. catch (InvalidCastException innerException)
  934. {
  935. throw new StrongTypingException("The value for column 'EndNo_SaleBill' in table 'UI' is DBNull.", innerException);
  936. }
  937. }
  938. set
  939. {
  940. base[tableUI.EndNo_SaleBillColumn] = value;
  941. }
  942. }
  943. [DebuggerNonUserCode]
  944. public string StartNo_Customer
  945. {
  946. get
  947. {
  948. try
  949. {
  950. return (string)base[tableUI.StartNo_CustomerColumn];
  951. }
  952. catch (InvalidCastException innerException)
  953. {
  954. throw new StrongTypingException("The value for column 'StartNo_Customer' in table 'UI' is DBNull.", innerException);
  955. }
  956. }
  957. set
  958. {
  959. base[tableUI.StartNo_CustomerColumn] = value;
  960. }
  961. }
  962. [DebuggerNonUserCode]
  963. public string EndNo_Customer
  964. {
  965. get
  966. {
  967. try
  968. {
  969. return (string)base[tableUI.EndNo_CustomerColumn];
  970. }
  971. catch (InvalidCastException innerException)
  972. {
  973. throw new StrongTypingException("The value for column 'EndNo_Customer' in table 'UI' is DBNull.", innerException);
  974. }
  975. }
  976. set
  977. {
  978. base[tableUI.EndNo_CustomerColumn] = value;
  979. }
  980. }
  981. [DebuggerNonUserCode]
  982. public string StartPrincipal_SaleBill
  983. {
  984. get
  985. {
  986. try
  987. {
  988. return (string)base[tableUI.StartPrincipal_SaleBillColumn];
  989. }
  990. catch (InvalidCastException innerException)
  991. {
  992. throw new StrongTypingException("The value for column 'StartPrincipal_SaleBill' in table 'UI' is DBNull.", innerException);
  993. }
  994. }
  995. set
  996. {
  997. base[tableUI.StartPrincipal_SaleBillColumn] = value;
  998. }
  999. }
  1000. [DebuggerNonUserCode]
  1001. public string EndPrincipal_SaleBill
  1002. {
  1003. get
  1004. {
  1005. try
  1006. {
  1007. return (string)base[tableUI.EndPrincipal_SaleBillColumn];
  1008. }
  1009. catch (InvalidCastException innerException)
  1010. {
  1011. throw new StrongTypingException("The value for column 'EndPrincipal_SaleBill' in table 'UI' is DBNull.", innerException);
  1012. }
  1013. }
  1014. set
  1015. {
  1016. base[tableUI.EndPrincipal_SaleBillColumn] = value;
  1017. }
  1018. }
  1019. [DebuggerNonUserCode]
  1020. public string StartName_Location
  1021. {
  1022. get
  1023. {
  1024. try
  1025. {
  1026. return (string)base[tableUI.StartName_LocationColumn];
  1027. }
  1028. catch (InvalidCastException innerException)
  1029. {
  1030. throw new StrongTypingException("The value for column 'StartName_Location' in table 'UI' is DBNull.", innerException);
  1031. }
  1032. }
  1033. set
  1034. {
  1035. base[tableUI.StartName_LocationColumn] = value;
  1036. }
  1037. }
  1038. [DebuggerNonUserCode]
  1039. public string EndName_Location
  1040. {
  1041. get
  1042. {
  1043. try
  1044. {
  1045. return (string)base[tableUI.EndName_LocationColumn];
  1046. }
  1047. catch (InvalidCastException innerException)
  1048. {
  1049. throw new StrongTypingException("The value for column 'EndName_Location' in table 'UI' is DBNull.", innerException);
  1050. }
  1051. }
  1052. set
  1053. {
  1054. base[tableUI.EndName_LocationColumn] = value;
  1055. }
  1056. }
  1057. [DebuggerNonUserCode]
  1058. public string Name_Creator
  1059. {
  1060. get
  1061. {
  1062. try
  1063. {
  1064. return (string)base[tableUI.Name_CreatorColumn];
  1065. }
  1066. catch (InvalidCastException innerException)
  1067. {
  1068. throw new StrongTypingException("The value for column 'Name_Creator' in table 'UI' is DBNull.", innerException);
  1069. }
  1070. }
  1071. set
  1072. {
  1073. base[tableUI.Name_CreatorColumn] = value;
  1074. }
  1075. }
  1076. [DebuggerNonUserCode]
  1077. public DateTime CreateDate
  1078. {
  1079. get
  1080. {
  1081. try
  1082. {
  1083. return (DateTime)base[tableUI.CreateDateColumn];
  1084. }
  1085. catch (InvalidCastException innerException)
  1086. {
  1087. throw new StrongTypingException("The value for column 'CreateDate' in table 'UI' is DBNull.", innerException);
  1088. }
  1089. }
  1090. set
  1091. {
  1092. base[tableUI.CreateDateColumn] = value;
  1093. }
  1094. }
  1095. [DebuggerNonUserCode]
  1096. internal UIRow(DataRowBuilder rb)
  1097. : base(rb)
  1098. {
  1099. tableUI = (UIDataTable)base.Table;
  1100. }
  1101. [DebuggerNonUserCode]
  1102. public bool IsStartDate_SaleBillNull()
  1103. {
  1104. return IsNull(tableUI.StartDate_SaleBillColumn);
  1105. }
  1106. [DebuggerNonUserCode]
  1107. public void SetStartDate_SaleBillNull()
  1108. {
  1109. base[tableUI.StartDate_SaleBillColumn] = Convert.DBNull;
  1110. }
  1111. [DebuggerNonUserCode]
  1112. public bool IsEndDate_SaleBillNull()
  1113. {
  1114. return IsNull(tableUI.EndDate_SaleBillColumn);
  1115. }
  1116. [DebuggerNonUserCode]
  1117. public void SetEndDate_SaleBillNull()
  1118. {
  1119. base[tableUI.EndDate_SaleBillColumn] = Convert.DBNull;
  1120. }
  1121. [DebuggerNonUserCode]
  1122. public bool IsStartNo_SaleBillNull()
  1123. {
  1124. return IsNull(tableUI.StartNo_SaleBillColumn);
  1125. }
  1126. [DebuggerNonUserCode]
  1127. public void SetStartNo_SaleBillNull()
  1128. {
  1129. base[tableUI.StartNo_SaleBillColumn] = Convert.DBNull;
  1130. }
  1131. [DebuggerNonUserCode]
  1132. public bool IsEndNo_SaleBillNull()
  1133. {
  1134. return IsNull(tableUI.EndNo_SaleBillColumn);
  1135. }
  1136. [DebuggerNonUserCode]
  1137. public void SetEndNo_SaleBillNull()
  1138. {
  1139. base[tableUI.EndNo_SaleBillColumn] = Convert.DBNull;
  1140. }
  1141. [DebuggerNonUserCode]
  1142. public bool IsStartNo_CustomerNull()
  1143. {
  1144. return IsNull(tableUI.StartNo_CustomerColumn);
  1145. }
  1146. [DebuggerNonUserCode]
  1147. public void SetStartNo_CustomerNull()
  1148. {
  1149. base[tableUI.StartNo_CustomerColumn] = Convert.DBNull;
  1150. }
  1151. [DebuggerNonUserCode]
  1152. public bool IsEndNo_CustomerNull()
  1153. {
  1154. return IsNull(tableUI.EndNo_CustomerColumn);
  1155. }
  1156. [DebuggerNonUserCode]
  1157. public void SetEndNo_CustomerNull()
  1158. {
  1159. base[tableUI.EndNo_CustomerColumn] = Convert.DBNull;
  1160. }
  1161. [DebuggerNonUserCode]
  1162. public bool IsStartPrincipal_SaleBillNull()
  1163. {
  1164. return IsNull(tableUI.StartPrincipal_SaleBillColumn);
  1165. }
  1166. [DebuggerNonUserCode]
  1167. public void SetStartPrincipal_SaleBillNull()
  1168. {
  1169. base[tableUI.StartPrincipal_SaleBillColumn] = Convert.DBNull;
  1170. }
  1171. [DebuggerNonUserCode]
  1172. public bool IsEndPrincipal_SaleBillNull()
  1173. {
  1174. return IsNull(tableUI.EndPrincipal_SaleBillColumn);
  1175. }
  1176. [DebuggerNonUserCode]
  1177. public void SetEndPrincipal_SaleBillNull()
  1178. {
  1179. base[tableUI.EndPrincipal_SaleBillColumn] = Convert.DBNull;
  1180. }
  1181. [DebuggerNonUserCode]
  1182. public bool IsStartName_LocationNull()
  1183. {
  1184. return IsNull(tableUI.StartName_LocationColumn);
  1185. }
  1186. [DebuggerNonUserCode]
  1187. public void SetStartName_LocationNull()
  1188. {
  1189. base[tableUI.StartName_LocationColumn] = Convert.DBNull;
  1190. }
  1191. [DebuggerNonUserCode]
  1192. public bool IsEndName_LocationNull()
  1193. {
  1194. return IsNull(tableUI.EndName_LocationColumn);
  1195. }
  1196. [DebuggerNonUserCode]
  1197. public void SetEndName_LocationNull()
  1198. {
  1199. base[tableUI.EndName_LocationColumn] = Convert.DBNull;
  1200. }
  1201. [DebuggerNonUserCode]
  1202. public bool IsName_CreatorNull()
  1203. {
  1204. return IsNull(tableUI.Name_CreatorColumn);
  1205. }
  1206. [DebuggerNonUserCode]
  1207. public void SetName_CreatorNull()
  1208. {
  1209. base[tableUI.Name_CreatorColumn] = Convert.DBNull;
  1210. }
  1211. [DebuggerNonUserCode]
  1212. public bool IsCreateDateNull()
  1213. {
  1214. return IsNull(tableUI.CreateDateColumn);
  1215. }
  1216. [DebuggerNonUserCode]
  1217. public void SetCreateDateNull()
  1218. {
  1219. base[tableUI.CreateDateColumn] = Convert.DBNull;
  1220. }
  1221. }
  1222. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1223. public class FrmSalesDailyByLocationRowChangeEvent : EventArgs
  1224. {
  1225. private FrmSalesDailyByLocationRow eventRow;
  1226. private DataRowAction eventAction;
  1227. [DebuggerNonUserCode]
  1228. public FrmSalesDailyByLocationRow Row => eventRow;
  1229. [DebuggerNonUserCode]
  1230. public DataRowAction Action => eventAction;
  1231. [DebuggerNonUserCode]
  1232. public FrmSalesDailyByLocationRowChangeEvent(FrmSalesDailyByLocationRow row, DataRowAction action)
  1233. {
  1234. eventRow = row;
  1235. eventAction = action;
  1236. }
  1237. }
  1238. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1239. public class UIRowChangeEvent : EventArgs
  1240. {
  1241. private UIRow eventRow;
  1242. private DataRowAction eventAction;
  1243. [DebuggerNonUserCode]
  1244. public UIRow Row => eventRow;
  1245. [DebuggerNonUserCode]
  1246. public DataRowAction Action => eventAction;
  1247. [DebuggerNonUserCode]
  1248. public UIRowChangeEvent(UIRow row, DataRowAction action)
  1249. {
  1250. eventRow = row;
  1251. eventAction = action;
  1252. }
  1253. }
  1254. private FrmSalesDailyByLocationDataTable tableFrmSalesDailyByLocation;
  1255. private UIDataTable tableUI;
  1256. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1257. [DebuggerNonUserCode]
  1258. [Browsable(false)]
  1259. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  1260. public FrmSalesDailyByLocationDataTable FrmSalesDailyByLocation => tableFrmSalesDailyByLocation;
  1261. [Browsable(false)]
  1262. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  1263. [DebuggerNonUserCode]
  1264. public UIDataTable UI => tableUI;
  1265. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  1266. [Browsable(true)]
  1267. [DebuggerNonUserCode]
  1268. public override SchemaSerializationMode SchemaSerializationMode
  1269. {
  1270. get
  1271. {
  1272. return _schemaSerializationMode;
  1273. }
  1274. set
  1275. {
  1276. _schemaSerializationMode = value;
  1277. }
  1278. }
  1279. [DebuggerNonUserCode]
  1280. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  1281. public new DataTableCollection Tables => base.Tables;
  1282. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  1283. [DebuggerNonUserCode]
  1284. public new DataRelationCollection Relations => base.Relations;
  1285. [DebuggerNonUserCode]
  1286. public dsUIFrmSalesDailyByLocation()
  1287. {
  1288. BeginInit();
  1289. InitClass();
  1290. CollectionChangeEventHandler value = SchemaChanged;
  1291. base.Tables.CollectionChanged += value;
  1292. base.Relations.CollectionChanged += value;
  1293. EndInit();
  1294. }
  1295. [DebuggerNonUserCode]
  1296. protected dsUIFrmSalesDailyByLocation(SerializationInfo info, StreamingContext context)
  1297. : base(info, context, ConstructSchema: false)
  1298. {
  1299. if (IsBinarySerialized(info, context))
  1300. {
  1301. InitVars(initTable: false);
  1302. CollectionChangeEventHandler value = SchemaChanged;
  1303. Tables.CollectionChanged += value;
  1304. Relations.CollectionChanged += value;
  1305. return;
  1306. }
  1307. string s = (string)info.GetValue("XmlSchema", typeof(string));
  1308. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  1309. {
  1310. DataSet dataSet = new DataSet();
  1311. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1312. if (dataSet.Tables["FrmSalesDailyByLocation"] != null)
  1313. {
  1314. base.Tables.Add(new FrmSalesDailyByLocationDataTable(dataSet.Tables["FrmSalesDailyByLocation"]));
  1315. }
  1316. if (dataSet.Tables["UI"] != null)
  1317. {
  1318. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  1319. }
  1320. base.DataSetName = dataSet.DataSetName;
  1321. base.Prefix = dataSet.Prefix;
  1322. base.Namespace = dataSet.Namespace;
  1323. base.Locale = dataSet.Locale;
  1324. base.CaseSensitive = dataSet.CaseSensitive;
  1325. base.EnforceConstraints = dataSet.EnforceConstraints;
  1326. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1327. InitVars();
  1328. }
  1329. else
  1330. {
  1331. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  1332. }
  1333. GetSerializationData(info, context);
  1334. CollectionChangeEventHandler value2 = SchemaChanged;
  1335. base.Tables.CollectionChanged += value2;
  1336. Relations.CollectionChanged += value2;
  1337. }
  1338. [DebuggerNonUserCode]
  1339. protected override void InitializeDerivedDataSet()
  1340. {
  1341. BeginInit();
  1342. InitClass();
  1343. EndInit();
  1344. }
  1345. [DebuggerNonUserCode]
  1346. public override DataSet Clone()
  1347. {
  1348. dsUIFrmSalesDailyByLocation dsUIFrmSalesDailyByLocation = (dsUIFrmSalesDailyByLocation)base.Clone();
  1349. dsUIFrmSalesDailyByLocation.InitVars();
  1350. dsUIFrmSalesDailyByLocation.SchemaSerializationMode = SchemaSerializationMode;
  1351. return dsUIFrmSalesDailyByLocation;
  1352. }
  1353. [DebuggerNonUserCode]
  1354. protected override bool ShouldSerializeTables()
  1355. {
  1356. return false;
  1357. }
  1358. [DebuggerNonUserCode]
  1359. protected override bool ShouldSerializeRelations()
  1360. {
  1361. return false;
  1362. }
  1363. [DebuggerNonUserCode]
  1364. protected override void ReadXmlSerializable(XmlReader reader)
  1365. {
  1366. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  1367. {
  1368. Reset();
  1369. DataSet dataSet = new DataSet();
  1370. dataSet.ReadXml(reader);
  1371. if (dataSet.Tables["FrmSalesDailyByLocation"] != null)
  1372. {
  1373. base.Tables.Add(new FrmSalesDailyByLocationDataTable(dataSet.Tables["FrmSalesDailyByLocation"]));
  1374. }
  1375. if (dataSet.Tables["UI"] != null)
  1376. {
  1377. base.Tables.Add(new UIDataTable(dataSet.Tables["UI"]));
  1378. }
  1379. base.DataSetName = dataSet.DataSetName;
  1380. base.Prefix = dataSet.Prefix;
  1381. base.Namespace = dataSet.Namespace;
  1382. base.Locale = dataSet.Locale;
  1383. base.CaseSensitive = dataSet.CaseSensitive;
  1384. base.EnforceConstraints = dataSet.EnforceConstraints;
  1385. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  1386. InitVars();
  1387. }
  1388. else
  1389. {
  1390. ReadXml(reader);
  1391. InitVars();
  1392. }
  1393. }
  1394. [DebuggerNonUserCode]
  1395. protected override XmlSchema GetSchemaSerializable()
  1396. {
  1397. MemoryStream memoryStream = new MemoryStream();
  1398. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  1399. memoryStream.Position = 0L;
  1400. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  1401. }
  1402. [DebuggerNonUserCode]
  1403. internal void InitVars()
  1404. {
  1405. InitVars(initTable: true);
  1406. }
  1407. [DebuggerNonUserCode]
  1408. internal void InitVars(bool initTable)
  1409. {
  1410. tableFrmSalesDailyByLocation = (FrmSalesDailyByLocationDataTable)base.Tables["FrmSalesDailyByLocation"];
  1411. if (initTable && tableFrmSalesDailyByLocation != null)
  1412. {
  1413. tableFrmSalesDailyByLocation.InitVars();
  1414. }
  1415. tableUI = (UIDataTable)base.Tables["UI"];
  1416. if (initTable && tableUI != null)
  1417. {
  1418. tableUI.InitVars();
  1419. }
  1420. }
  1421. [DebuggerNonUserCode]
  1422. private void InitClass()
  1423. {
  1424. base.DataSetName = "dsUIFrmSalesDailyByLocation";
  1425. base.Prefix = "";
  1426. base.Namespace = "http://tempuri.org/dsUIFrmSalesDailyByLocation.xsd";
  1427. base.EnforceConstraints = true;
  1428. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  1429. tableFrmSalesDailyByLocation = new FrmSalesDailyByLocationDataTable();
  1430. base.Tables.Add(tableFrmSalesDailyByLocation);
  1431. tableUI = new UIDataTable();
  1432. base.Tables.Add(tableUI);
  1433. }
  1434. [DebuggerNonUserCode]
  1435. private bool ShouldSerializeFrmSalesDailyByLocation()
  1436. {
  1437. return false;
  1438. }
  1439. [DebuggerNonUserCode]
  1440. private bool ShouldSerializeUI()
  1441. {
  1442. return false;
  1443. }
  1444. [DebuggerNonUserCode]
  1445. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  1446. {
  1447. if (e.Action == CollectionChangeAction.Remove)
  1448. {
  1449. InitVars();
  1450. }
  1451. }
  1452. [DebuggerNonUserCode]
  1453. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  1454. {
  1455. dsUIFrmSalesDailyByLocation dsUIFrmSalesDailyByLocation = new dsUIFrmSalesDailyByLocation();
  1456. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1457. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1458. xs.Add(dsUIFrmSalesDailyByLocation.GetSchemaSerializable());
  1459. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1460. xmlSchemaAny.Namespace = dsUIFrmSalesDailyByLocation.Namespace;
  1461. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1462. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1463. return xmlSchemaComplexType;
  1464. }
  1465. }
  1466. }