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