dsFrmPurchaseQueryBill.cs 93 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.ComponentModel.Design;
  6. using System.Data;
  7. using System.Diagnostics;
  8. using System.IO;
  9. using System.Runtime.Serialization;
  10. using System.Xml;
  11. using System.Xml.Schema;
  12. using System.Xml.Serialization;
  13. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  14. {
  15. [Serializable]
  16. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  17. [HelpKeyword("vs.data.DataSet")]
  18. [XmlSchemaProvider("GetTypedDataSetSchema")]
  19. [ToolboxItem(true)]
  20. [XmlRoot("dsFrmPurchaseQueryBill")]
  21. [DesignerCategory("code")]
  22. public class dsFrmPurchaseQueryBill : DataSet
  23. {
  24. public delegate void PurchaseQueryBillRowChangeEventHandler(object sender, PurchaseQueryBillRowChangeEvent e);
  25. public delegate void PurchaseQueryBillProductRowChangeEventHandler(object sender, PurchaseQueryBillProductRowChangeEvent e);
  26. public delegate void BillCommentRowChangeEventHandler(object sender, BillCommentRowChangeEvent e);
  27. public delegate void ReportCommentRowChangeEventHandler(object sender, ReportCommentRowChangeEvent e);
  28. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  29. [Serializable]
  30. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  31. [XmlSchemaProvider("GetTypedTableSchema")]
  32. public class PurchaseQueryBillDataTable : DataTable, IEnumerable
  33. {
  34. private DataColumn columnNo_PurchaseQueryBill;
  35. private DataColumn columnDate_PurchaseQueryBill;
  36. private DataColumn columnResponseDate_PurchaseQueryBill;
  37. private DataColumn columnValidDate_PurchaseQueryBill;
  38. private DataColumn columnTaxCurrency_PurchaseQueryBill;
  39. private DataColumn columnCurrency_PurchaseQueryBill;
  40. private DataColumn columnName_Principal;
  41. private DataColumn columnName_Linkman;
  42. private DataColumn columnName_Telephone;
  43. private DataColumn columnFax_Telephone;
  44. private DataColumn columnAssessDate_PurchaseQueryBill;
  45. private DataColumn columnCreateDate_PurchaseQueryBill;
  46. private DataColumn columnLastModDate_PurchaseQueryBill;
  47. private DataColumn columnCreator;
  48. private DataColumn columnAssessor;
  49. private DataColumn columnLastModUser;
  50. private DataColumn columnNo_Supplier;
  51. private DataColumn columnName_Supplier;
  52. private DataColumn columnShortName_Supplier;
  53. private DataColumn columnRegistedAddress_Supplier;
  54. private DataColumn columnPostalCode_Supplier;
  55. private DataColumn columnNo_Employee;
  56. private DataColumn columnNo_Linkman;
  57. private DataColumn columnGoodsAmount_PurchaseQueryBill;
  58. private DataColumn columnTaxAmount_PurchaseQueryBill;
  59. private DataColumn columnAmount_PurchaseQueryBill;
  60. [DebuggerNonUserCode]
  61. public DataColumn No_PurchaseQueryBillColumn => columnNo_PurchaseQueryBill;
  62. [DebuggerNonUserCode]
  63. public DataColumn Date_PurchaseQueryBillColumn => columnDate_PurchaseQueryBill;
  64. [DebuggerNonUserCode]
  65. public DataColumn ResponseDate_PurchaseQueryBillColumn => columnResponseDate_PurchaseQueryBill;
  66. [DebuggerNonUserCode]
  67. public DataColumn ValidDate_PurchaseQueryBillColumn => columnValidDate_PurchaseQueryBill;
  68. [DebuggerNonUserCode]
  69. public DataColumn TaxCurrency_PurchaseQueryBillColumn => columnTaxCurrency_PurchaseQueryBill;
  70. [DebuggerNonUserCode]
  71. public DataColumn Currency_PurchaseQueryBillColumn => columnCurrency_PurchaseQueryBill;
  72. [DebuggerNonUserCode]
  73. public DataColumn Name_PrincipalColumn => columnName_Principal;
  74. [DebuggerNonUserCode]
  75. public DataColumn Name_LinkmanColumn => columnName_Linkman;
  76. [DebuggerNonUserCode]
  77. public DataColumn Name_TelephoneColumn => columnName_Telephone;
  78. [DebuggerNonUserCode]
  79. public DataColumn Fax_TelephoneColumn => columnFax_Telephone;
  80. [DebuggerNonUserCode]
  81. public DataColumn AssessDate_PurchaseQueryBillColumn => columnAssessDate_PurchaseQueryBill;
  82. [DebuggerNonUserCode]
  83. public DataColumn CreateDate_PurchaseQueryBillColumn => columnCreateDate_PurchaseQueryBill;
  84. [DebuggerNonUserCode]
  85. public DataColumn LastModDate_PurchaseQueryBillColumn => columnLastModDate_PurchaseQueryBill;
  86. [DebuggerNonUserCode]
  87. public DataColumn CreatorColumn => columnCreator;
  88. [DebuggerNonUserCode]
  89. public DataColumn AssessorColumn => columnAssessor;
  90. [DebuggerNonUserCode]
  91. public DataColumn LastModUserColumn => columnLastModUser;
  92. [DebuggerNonUserCode]
  93. public DataColumn No_SupplierColumn => columnNo_Supplier;
  94. [DebuggerNonUserCode]
  95. public DataColumn Name_SupplierColumn => columnName_Supplier;
  96. [DebuggerNonUserCode]
  97. public DataColumn ShortName_SupplierColumn => columnShortName_Supplier;
  98. [DebuggerNonUserCode]
  99. public DataColumn RegistedAddress_SupplierColumn => columnRegistedAddress_Supplier;
  100. [DebuggerNonUserCode]
  101. public DataColumn PostalCode_SupplierColumn => columnPostalCode_Supplier;
  102. [DebuggerNonUserCode]
  103. public DataColumn No_EmployeeColumn => columnNo_Employee;
  104. [DebuggerNonUserCode]
  105. public DataColumn No_LinkmanColumn => columnNo_Linkman;
  106. [DebuggerNonUserCode]
  107. public DataColumn GoodsAmount_PurchaseQueryBillColumn => columnGoodsAmount_PurchaseQueryBill;
  108. [DebuggerNonUserCode]
  109. public DataColumn TaxAmount_PurchaseQueryBillColumn => columnTaxAmount_PurchaseQueryBill;
  110. [DebuggerNonUserCode]
  111. public DataColumn Amount_PurchaseQueryBillColumn => columnAmount_PurchaseQueryBill;
  112. [DebuggerNonUserCode]
  113. [Browsable(false)]
  114. public int Count => base.Rows.Count;
  115. [DebuggerNonUserCode]
  116. public PurchaseQueryBillRow this[int index] => (PurchaseQueryBillRow)base.Rows[index];
  117. public event PurchaseQueryBillRowChangeEventHandler PurchaseQueryBillRowChanging;
  118. public event PurchaseQueryBillRowChangeEventHandler PurchaseQueryBillRowChanged;
  119. public event PurchaseQueryBillRowChangeEventHandler PurchaseQueryBillRowDeleting;
  120. public event PurchaseQueryBillRowChangeEventHandler PurchaseQueryBillRowDeleted;
  121. [DebuggerNonUserCode]
  122. public PurchaseQueryBillDataTable()
  123. {
  124. base.TableName = "PurchaseQueryBill";
  125. BeginInit();
  126. InitClass();
  127. EndInit();
  128. }
  129. [DebuggerNonUserCode]
  130. internal PurchaseQueryBillDataTable(DataTable table)
  131. {
  132. base.TableName = table.TableName;
  133. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  134. {
  135. base.CaseSensitive = table.CaseSensitive;
  136. }
  137. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  138. {
  139. base.Locale = table.Locale;
  140. }
  141. if (table.Namespace != table.DataSet.Namespace)
  142. {
  143. base.Namespace = table.Namespace;
  144. }
  145. base.Prefix = table.Prefix;
  146. base.MinimumCapacity = table.MinimumCapacity;
  147. }
  148. [DebuggerNonUserCode]
  149. protected PurchaseQueryBillDataTable(SerializationInfo info, StreamingContext context)
  150. : base(info, context)
  151. {
  152. InitVars();
  153. }
  154. [DebuggerNonUserCode]
  155. public void AddPurchaseQueryBillRow(PurchaseQueryBillRow row)
  156. {
  157. base.Rows.Add(row);
  158. }
  159. [DebuggerNonUserCode]
  160. public PurchaseQueryBillRow AddPurchaseQueryBillRow(string No_PurchaseQueryBill, DateTime Date_PurchaseQueryBill, DateTime ResponseDate_PurchaseQueryBill, DateTime ValidDate_PurchaseQueryBill, string TaxCurrency_PurchaseQueryBill, string Currency_PurchaseQueryBill, string Name_Principal, string Name_Linkman, string Name_Telephone, string Fax_Telephone, DateTime AssessDate_PurchaseQueryBill, DateTime CreateDate_PurchaseQueryBill, DateTime LastModDate_PurchaseQueryBill, string Creator, string Assessor, string LastModUser, string No_Supplier, string Name_Supplier, string ShortName_Supplier, string RegistedAddress_Supplier, string PostalCode_Supplier, string No_Employee, string No_Linkman, decimal GoodsAmount_PurchaseQueryBill, decimal TaxAmount_PurchaseQueryBill, decimal Amount_PurchaseQueryBill)
  161. {
  162. PurchaseQueryBillRow purchaseQueryBillRow = (PurchaseQueryBillRow)NewRow();
  163. purchaseQueryBillRow.ItemArray = new object[26]
  164. {
  165. No_PurchaseQueryBill,
  166. Date_PurchaseQueryBill,
  167. ResponseDate_PurchaseQueryBill,
  168. ValidDate_PurchaseQueryBill,
  169. TaxCurrency_PurchaseQueryBill,
  170. Currency_PurchaseQueryBill,
  171. Name_Principal,
  172. Name_Linkman,
  173. Name_Telephone,
  174. Fax_Telephone,
  175. AssessDate_PurchaseQueryBill,
  176. CreateDate_PurchaseQueryBill,
  177. LastModDate_PurchaseQueryBill,
  178. Creator,
  179. Assessor,
  180. LastModUser,
  181. No_Supplier,
  182. Name_Supplier,
  183. ShortName_Supplier,
  184. RegistedAddress_Supplier,
  185. PostalCode_Supplier,
  186. No_Employee,
  187. No_Linkman,
  188. GoodsAmount_PurchaseQueryBill,
  189. TaxAmount_PurchaseQueryBill,
  190. Amount_PurchaseQueryBill
  191. };
  192. base.Rows.Add(purchaseQueryBillRow);
  193. return purchaseQueryBillRow;
  194. }
  195. [DebuggerNonUserCode]
  196. public virtual IEnumerator GetEnumerator()
  197. {
  198. return base.Rows.GetEnumerator();
  199. }
  200. [DebuggerNonUserCode]
  201. public override DataTable Clone()
  202. {
  203. PurchaseQueryBillDataTable purchaseQueryBillDataTable = (PurchaseQueryBillDataTable)base.Clone();
  204. purchaseQueryBillDataTable.InitVars();
  205. return purchaseQueryBillDataTable;
  206. }
  207. [DebuggerNonUserCode]
  208. protected override DataTable CreateInstance()
  209. {
  210. return new PurchaseQueryBillDataTable();
  211. }
  212. [DebuggerNonUserCode]
  213. internal void InitVars()
  214. {
  215. columnNo_PurchaseQueryBill = base.Columns["No_PurchaseQueryBill"];
  216. columnDate_PurchaseQueryBill = base.Columns["Date_PurchaseQueryBill"];
  217. columnResponseDate_PurchaseQueryBill = base.Columns["ResponseDate_PurchaseQueryBill"];
  218. columnValidDate_PurchaseQueryBill = base.Columns["ValidDate_PurchaseQueryBill"];
  219. columnTaxCurrency_PurchaseQueryBill = base.Columns["TaxCurrency_PurchaseQueryBill"];
  220. columnCurrency_PurchaseQueryBill = base.Columns["Currency_PurchaseQueryBill"];
  221. columnName_Principal = base.Columns["Name_Principal"];
  222. columnName_Linkman = base.Columns["Name_Linkman"];
  223. columnName_Telephone = base.Columns["Name_Telephone"];
  224. columnFax_Telephone = base.Columns["Fax_Telephone"];
  225. columnAssessDate_PurchaseQueryBill = base.Columns["AssessDate_PurchaseQueryBill"];
  226. columnCreateDate_PurchaseQueryBill = base.Columns["CreateDate_PurchaseQueryBill"];
  227. columnLastModDate_PurchaseQueryBill = base.Columns["LastModDate_PurchaseQueryBill"];
  228. columnCreator = base.Columns["Creator"];
  229. columnAssessor = base.Columns["Assessor"];
  230. columnLastModUser = base.Columns["LastModUser"];
  231. columnNo_Supplier = base.Columns["No_Supplier"];
  232. columnName_Supplier = base.Columns["Name_Supplier"];
  233. columnShortName_Supplier = base.Columns["ShortName_Supplier"];
  234. columnRegistedAddress_Supplier = base.Columns["RegistedAddress_Supplier"];
  235. columnPostalCode_Supplier = base.Columns["PostalCode_Supplier"];
  236. columnNo_Employee = base.Columns["No_Employee"];
  237. columnNo_Linkman = base.Columns["No_Linkman"];
  238. columnGoodsAmount_PurchaseQueryBill = base.Columns["GoodsAmount_PurchaseQueryBill"];
  239. columnTaxAmount_PurchaseQueryBill = base.Columns["TaxAmount_PurchaseQueryBill"];
  240. columnAmount_PurchaseQueryBill = base.Columns["Amount_PurchaseQueryBill"];
  241. }
  242. [DebuggerNonUserCode]
  243. private void InitClass()
  244. {
  245. columnNo_PurchaseQueryBill = new DataColumn("No_PurchaseQueryBill", typeof(string), null, MappingType.Element);
  246. base.Columns.Add(columnNo_PurchaseQueryBill);
  247. columnDate_PurchaseQueryBill = new DataColumn("Date_PurchaseQueryBill", typeof(DateTime), null, MappingType.Element);
  248. base.Columns.Add(columnDate_PurchaseQueryBill);
  249. columnResponseDate_PurchaseQueryBill = new DataColumn("ResponseDate_PurchaseQueryBill", typeof(DateTime), null, MappingType.Element);
  250. base.Columns.Add(columnResponseDate_PurchaseQueryBill);
  251. columnValidDate_PurchaseQueryBill = new DataColumn("ValidDate_PurchaseQueryBill", typeof(DateTime), null, MappingType.Element);
  252. base.Columns.Add(columnValidDate_PurchaseQueryBill);
  253. columnTaxCurrency_PurchaseQueryBill = new DataColumn("TaxCurrency_PurchaseQueryBill", typeof(string), null, MappingType.Element);
  254. base.Columns.Add(columnTaxCurrency_PurchaseQueryBill);
  255. columnCurrency_PurchaseQueryBill = new DataColumn("Currency_PurchaseQueryBill", typeof(string), null, MappingType.Element);
  256. base.Columns.Add(columnCurrency_PurchaseQueryBill);
  257. columnName_Principal = new DataColumn("Name_Principal", typeof(string), null, MappingType.Element);
  258. base.Columns.Add(columnName_Principal);
  259. columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element);
  260. base.Columns.Add(columnName_Linkman);
  261. columnName_Telephone = new DataColumn("Name_Telephone", typeof(string), null, MappingType.Element);
  262. base.Columns.Add(columnName_Telephone);
  263. columnFax_Telephone = new DataColumn("Fax_Telephone", typeof(string), null, MappingType.Element);
  264. base.Columns.Add(columnFax_Telephone);
  265. columnAssessDate_PurchaseQueryBill = new DataColumn("AssessDate_PurchaseQueryBill", typeof(DateTime), null, MappingType.Element);
  266. base.Columns.Add(columnAssessDate_PurchaseQueryBill);
  267. columnCreateDate_PurchaseQueryBill = new DataColumn("CreateDate_PurchaseQueryBill", typeof(DateTime), null, MappingType.Element);
  268. base.Columns.Add(columnCreateDate_PurchaseQueryBill);
  269. columnLastModDate_PurchaseQueryBill = new DataColumn("LastModDate_PurchaseQueryBill", typeof(DateTime), null, MappingType.Element);
  270. base.Columns.Add(columnLastModDate_PurchaseQueryBill);
  271. columnCreator = new DataColumn("Creator", typeof(string), null, MappingType.Element);
  272. base.Columns.Add(columnCreator);
  273. columnAssessor = new DataColumn("Assessor", typeof(string), null, MappingType.Element);
  274. base.Columns.Add(columnAssessor);
  275. columnLastModUser = new DataColumn("LastModUser", typeof(string), null, MappingType.Element);
  276. base.Columns.Add(columnLastModUser);
  277. columnNo_Supplier = new DataColumn("No_Supplier", typeof(string), null, MappingType.Element);
  278. base.Columns.Add(columnNo_Supplier);
  279. columnName_Supplier = new DataColumn("Name_Supplier", typeof(string), null, MappingType.Element);
  280. base.Columns.Add(columnName_Supplier);
  281. columnShortName_Supplier = new DataColumn("ShortName_Supplier", typeof(string), null, MappingType.Element);
  282. base.Columns.Add(columnShortName_Supplier);
  283. columnRegistedAddress_Supplier = new DataColumn("RegistedAddress_Supplier", typeof(string), null, MappingType.Element);
  284. base.Columns.Add(columnRegistedAddress_Supplier);
  285. columnPostalCode_Supplier = new DataColumn("PostalCode_Supplier", typeof(string), null, MappingType.Element);
  286. base.Columns.Add(columnPostalCode_Supplier);
  287. columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
  288. base.Columns.Add(columnNo_Employee);
  289. columnNo_Linkman = new DataColumn("No_Linkman", typeof(string), null, MappingType.Element);
  290. base.Columns.Add(columnNo_Linkman);
  291. columnGoodsAmount_PurchaseQueryBill = new DataColumn("GoodsAmount_PurchaseQueryBill", typeof(decimal), null, MappingType.Element);
  292. base.Columns.Add(columnGoodsAmount_PurchaseQueryBill);
  293. columnTaxAmount_PurchaseQueryBill = new DataColumn("TaxAmount_PurchaseQueryBill", typeof(decimal), null, MappingType.Element);
  294. base.Columns.Add(columnTaxAmount_PurchaseQueryBill);
  295. columnAmount_PurchaseQueryBill = new DataColumn("Amount_PurchaseQueryBill", typeof(decimal), null, MappingType.Element);
  296. base.Columns.Add(columnAmount_PurchaseQueryBill);
  297. }
  298. [DebuggerNonUserCode]
  299. public PurchaseQueryBillRow NewPurchaseQueryBillRow()
  300. {
  301. return (PurchaseQueryBillRow)NewRow();
  302. }
  303. [DebuggerNonUserCode]
  304. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  305. {
  306. return new PurchaseQueryBillRow(builder);
  307. }
  308. [DebuggerNonUserCode]
  309. protected override Type GetRowType()
  310. {
  311. return typeof(PurchaseQueryBillRow);
  312. }
  313. [DebuggerNonUserCode]
  314. protected override void OnRowChanged(DataRowChangeEventArgs e)
  315. {
  316. base.OnRowChanged(e);
  317. if (this.PurchaseQueryBillRowChanged != null)
  318. {
  319. this.PurchaseQueryBillRowChanged(this, new PurchaseQueryBillRowChangeEvent((PurchaseQueryBillRow)e.Row, e.Action));
  320. }
  321. }
  322. [DebuggerNonUserCode]
  323. protected override void OnRowChanging(DataRowChangeEventArgs e)
  324. {
  325. base.OnRowChanging(e);
  326. if (this.PurchaseQueryBillRowChanging != null)
  327. {
  328. this.PurchaseQueryBillRowChanging(this, new PurchaseQueryBillRowChangeEvent((PurchaseQueryBillRow)e.Row, e.Action));
  329. }
  330. }
  331. [DebuggerNonUserCode]
  332. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  333. {
  334. base.OnRowDeleted(e);
  335. if (this.PurchaseQueryBillRowDeleted != null)
  336. {
  337. this.PurchaseQueryBillRowDeleted(this, new PurchaseQueryBillRowChangeEvent((PurchaseQueryBillRow)e.Row, e.Action));
  338. }
  339. }
  340. [DebuggerNonUserCode]
  341. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  342. {
  343. base.OnRowDeleting(e);
  344. if (this.PurchaseQueryBillRowDeleting != null)
  345. {
  346. this.PurchaseQueryBillRowDeleting(this, new PurchaseQueryBillRowChangeEvent((PurchaseQueryBillRow)e.Row, e.Action));
  347. }
  348. }
  349. [DebuggerNonUserCode]
  350. public void RemovePurchaseQueryBillRow(PurchaseQueryBillRow row)
  351. {
  352. base.Rows.Remove(row);
  353. }
  354. [DebuggerNonUserCode]
  355. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  356. {
  357. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  358. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  359. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = new dsFrmPurchaseQueryBill();
  360. xs.Add(dsFrmPurchaseQueryBill.GetSchemaSerializable());
  361. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  362. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  363. xmlSchemaAny.MinOccurs = 0m;
  364. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  365. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  366. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  367. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  368. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  369. xmlSchemaAny2.MinOccurs = 1m;
  370. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  371. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  372. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  373. xmlSchemaAttribute.Name = "namespace";
  374. xmlSchemaAttribute.FixedValue = dsFrmPurchaseQueryBill.Namespace;
  375. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  376. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  377. xmlSchemaAttribute2.Name = "tableTypeName";
  378. xmlSchemaAttribute2.FixedValue = "PurchaseQueryBillDataTable";
  379. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  380. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  381. return xmlSchemaComplexType;
  382. }
  383. }
  384. [Serializable]
  385. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  386. [XmlSchemaProvider("GetTypedTableSchema")]
  387. public class PurchaseQueryBillProductDataTable : DataTable, IEnumerable
  388. {
  389. private DataColumn columnNo_PurchaseQueryBillProduct;
  390. private DataColumn columnQuantity_PurchaseQueryBillProduct;
  391. private DataColumn columnUnitPrice_PurchaseQueryBillProduct;
  392. private DataColumn columnComment_PurchaseQueryBillProduct;
  393. private DataColumn columnNo_Product;
  394. private DataColumn columnName_Product;
  395. private DataColumn columnUnit_Product;
  396. private DataColumn columnMoney;
  397. private DataColumn columnNo_PurchaseQueryBill;
  398. [DebuggerNonUserCode]
  399. public DataColumn No_PurchaseQueryBillProductColumn => columnNo_PurchaseQueryBillProduct;
  400. [DebuggerNonUserCode]
  401. public DataColumn Quantity_PurchaseQueryBillProductColumn => columnQuantity_PurchaseQueryBillProduct;
  402. [DebuggerNonUserCode]
  403. public DataColumn UnitPrice_PurchaseQueryBillProductColumn => columnUnitPrice_PurchaseQueryBillProduct;
  404. [DebuggerNonUserCode]
  405. public DataColumn Comment_PurchaseQueryBillProductColumn => columnComment_PurchaseQueryBillProduct;
  406. [DebuggerNonUserCode]
  407. public DataColumn No_ProductColumn => columnNo_Product;
  408. [DebuggerNonUserCode]
  409. public DataColumn Name_ProductColumn => columnName_Product;
  410. [DebuggerNonUserCode]
  411. public DataColumn Unit_ProductColumn => columnUnit_Product;
  412. [DebuggerNonUserCode]
  413. public DataColumn MoneyColumn => columnMoney;
  414. [DebuggerNonUserCode]
  415. public DataColumn No_PurchaseQueryBillColumn => columnNo_PurchaseQueryBill;
  416. [DebuggerNonUserCode]
  417. [Browsable(false)]
  418. public int Count => base.Rows.Count;
  419. [DebuggerNonUserCode]
  420. public PurchaseQueryBillProductRow this[int index] => (PurchaseQueryBillProductRow)base.Rows[index];
  421. public event PurchaseQueryBillProductRowChangeEventHandler PurchaseQueryBillProductRowChanging;
  422. public event PurchaseQueryBillProductRowChangeEventHandler PurchaseQueryBillProductRowChanged;
  423. public event PurchaseQueryBillProductRowChangeEventHandler PurchaseQueryBillProductRowDeleting;
  424. public event PurchaseQueryBillProductRowChangeEventHandler PurchaseQueryBillProductRowDeleted;
  425. [DebuggerNonUserCode]
  426. public PurchaseQueryBillProductDataTable()
  427. {
  428. base.TableName = "PurchaseQueryBillProduct";
  429. BeginInit();
  430. InitClass();
  431. EndInit();
  432. }
  433. [DebuggerNonUserCode]
  434. internal PurchaseQueryBillProductDataTable(DataTable table)
  435. {
  436. base.TableName = table.TableName;
  437. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  438. {
  439. base.CaseSensitive = table.CaseSensitive;
  440. }
  441. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  442. {
  443. base.Locale = table.Locale;
  444. }
  445. if (table.Namespace != table.DataSet.Namespace)
  446. {
  447. base.Namespace = table.Namespace;
  448. }
  449. base.Prefix = table.Prefix;
  450. base.MinimumCapacity = table.MinimumCapacity;
  451. }
  452. [DebuggerNonUserCode]
  453. protected PurchaseQueryBillProductDataTable(SerializationInfo info, StreamingContext context)
  454. : base(info, context)
  455. {
  456. InitVars();
  457. }
  458. [DebuggerNonUserCode]
  459. public void AddPurchaseQueryBillProductRow(PurchaseQueryBillProductRow row)
  460. {
  461. base.Rows.Add(row);
  462. }
  463. [DebuggerNonUserCode]
  464. public PurchaseQueryBillProductRow AddPurchaseQueryBillProductRow(string No_PurchaseQueryBillProduct, decimal Quantity_PurchaseQueryBillProduct, decimal UnitPrice_PurchaseQueryBillProduct, string Comment_PurchaseQueryBillProduct, string No_Product, string Name_Product, string Unit_Product, decimal Money, string No_PurchaseQueryBill)
  465. {
  466. PurchaseQueryBillProductRow purchaseQueryBillProductRow = (PurchaseQueryBillProductRow)NewRow();
  467. purchaseQueryBillProductRow.ItemArray = new object[9]
  468. {
  469. No_PurchaseQueryBillProduct,
  470. Quantity_PurchaseQueryBillProduct,
  471. UnitPrice_PurchaseQueryBillProduct,
  472. Comment_PurchaseQueryBillProduct,
  473. No_Product,
  474. Name_Product,
  475. Unit_Product,
  476. Money,
  477. No_PurchaseQueryBill
  478. };
  479. base.Rows.Add(purchaseQueryBillProductRow);
  480. return purchaseQueryBillProductRow;
  481. }
  482. [DebuggerNonUserCode]
  483. public virtual IEnumerator GetEnumerator()
  484. {
  485. return base.Rows.GetEnumerator();
  486. }
  487. [DebuggerNonUserCode]
  488. public override DataTable Clone()
  489. {
  490. PurchaseQueryBillProductDataTable purchaseQueryBillProductDataTable = (PurchaseQueryBillProductDataTable)base.Clone();
  491. purchaseQueryBillProductDataTable.InitVars();
  492. return purchaseQueryBillProductDataTable;
  493. }
  494. [DebuggerNonUserCode]
  495. protected override DataTable CreateInstance()
  496. {
  497. return new PurchaseQueryBillProductDataTable();
  498. }
  499. [DebuggerNonUserCode]
  500. internal void InitVars()
  501. {
  502. columnNo_PurchaseQueryBillProduct = base.Columns["No_PurchaseQueryBillProduct"];
  503. columnQuantity_PurchaseQueryBillProduct = base.Columns["Quantity_PurchaseQueryBillProduct"];
  504. columnUnitPrice_PurchaseQueryBillProduct = base.Columns["UnitPrice_PurchaseQueryBillProduct"];
  505. columnComment_PurchaseQueryBillProduct = base.Columns["Comment_PurchaseQueryBillProduct"];
  506. columnNo_Product = base.Columns["No_Product"];
  507. columnName_Product = base.Columns["Name_Product"];
  508. columnUnit_Product = base.Columns["Unit_Product"];
  509. columnMoney = base.Columns["Money"];
  510. columnNo_PurchaseQueryBill = base.Columns["No_PurchaseQueryBill"];
  511. }
  512. [DebuggerNonUserCode]
  513. private void InitClass()
  514. {
  515. columnNo_PurchaseQueryBillProduct = new DataColumn("No_PurchaseQueryBillProduct", typeof(string), null, MappingType.Element);
  516. base.Columns.Add(columnNo_PurchaseQueryBillProduct);
  517. columnQuantity_PurchaseQueryBillProduct = new DataColumn("Quantity_PurchaseQueryBillProduct", typeof(decimal), null, MappingType.Element);
  518. base.Columns.Add(columnQuantity_PurchaseQueryBillProduct);
  519. columnUnitPrice_PurchaseQueryBillProduct = new DataColumn("UnitPrice_PurchaseQueryBillProduct", typeof(decimal), null, MappingType.Element);
  520. base.Columns.Add(columnUnitPrice_PurchaseQueryBillProduct);
  521. columnComment_PurchaseQueryBillProduct = new DataColumn("Comment_PurchaseQueryBillProduct", typeof(string), null, MappingType.Element);
  522. base.Columns.Add(columnComment_PurchaseQueryBillProduct);
  523. columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
  524. base.Columns.Add(columnNo_Product);
  525. columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
  526. base.Columns.Add(columnName_Product);
  527. columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element);
  528. base.Columns.Add(columnUnit_Product);
  529. columnMoney = new DataColumn("Money", typeof(decimal), null, MappingType.Element);
  530. base.Columns.Add(columnMoney);
  531. columnNo_PurchaseQueryBill = new DataColumn("No_PurchaseQueryBill", typeof(string), null, MappingType.Element);
  532. base.Columns.Add(columnNo_PurchaseQueryBill);
  533. }
  534. [DebuggerNonUserCode]
  535. public PurchaseQueryBillProductRow NewPurchaseQueryBillProductRow()
  536. {
  537. return (PurchaseQueryBillProductRow)NewRow();
  538. }
  539. [DebuggerNonUserCode]
  540. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  541. {
  542. return new PurchaseQueryBillProductRow(builder);
  543. }
  544. [DebuggerNonUserCode]
  545. protected override Type GetRowType()
  546. {
  547. return typeof(PurchaseQueryBillProductRow);
  548. }
  549. [DebuggerNonUserCode]
  550. protected override void OnRowChanged(DataRowChangeEventArgs e)
  551. {
  552. base.OnRowChanged(e);
  553. if (this.PurchaseQueryBillProductRowChanged != null)
  554. {
  555. this.PurchaseQueryBillProductRowChanged(this, new PurchaseQueryBillProductRowChangeEvent((PurchaseQueryBillProductRow)e.Row, e.Action));
  556. }
  557. }
  558. [DebuggerNonUserCode]
  559. protected override void OnRowChanging(DataRowChangeEventArgs e)
  560. {
  561. base.OnRowChanging(e);
  562. if (this.PurchaseQueryBillProductRowChanging != null)
  563. {
  564. this.PurchaseQueryBillProductRowChanging(this, new PurchaseQueryBillProductRowChangeEvent((PurchaseQueryBillProductRow)e.Row, e.Action));
  565. }
  566. }
  567. [DebuggerNonUserCode]
  568. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  569. {
  570. base.OnRowDeleted(e);
  571. if (this.PurchaseQueryBillProductRowDeleted != null)
  572. {
  573. this.PurchaseQueryBillProductRowDeleted(this, new PurchaseQueryBillProductRowChangeEvent((PurchaseQueryBillProductRow)e.Row, e.Action));
  574. }
  575. }
  576. [DebuggerNonUserCode]
  577. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  578. {
  579. base.OnRowDeleting(e);
  580. if (this.PurchaseQueryBillProductRowDeleting != null)
  581. {
  582. this.PurchaseQueryBillProductRowDeleting(this, new PurchaseQueryBillProductRowChangeEvent((PurchaseQueryBillProductRow)e.Row, e.Action));
  583. }
  584. }
  585. [DebuggerNonUserCode]
  586. public void RemovePurchaseQueryBillProductRow(PurchaseQueryBillProductRow row)
  587. {
  588. base.Rows.Remove(row);
  589. }
  590. [DebuggerNonUserCode]
  591. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  592. {
  593. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  594. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  595. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = new dsFrmPurchaseQueryBill();
  596. xs.Add(dsFrmPurchaseQueryBill.GetSchemaSerializable());
  597. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  598. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  599. xmlSchemaAny.MinOccurs = 0m;
  600. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  601. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  602. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  603. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  604. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  605. xmlSchemaAny2.MinOccurs = 1m;
  606. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  607. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  608. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  609. xmlSchemaAttribute.Name = "namespace";
  610. xmlSchemaAttribute.FixedValue = dsFrmPurchaseQueryBill.Namespace;
  611. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  612. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  613. xmlSchemaAttribute2.Name = "tableTypeName";
  614. xmlSchemaAttribute2.FixedValue = "PurchaseQueryBillProductDataTable";
  615. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  616. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  617. return xmlSchemaComplexType;
  618. }
  619. }
  620. [Serializable]
  621. [XmlSchemaProvider("GetTypedTableSchema")]
  622. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  623. public class BillCommentDataTable : DataTable, IEnumerable
  624. {
  625. private DataColumn columnComment_BillComment;
  626. [DebuggerNonUserCode]
  627. public DataColumn Comment_BillCommentColumn => columnComment_BillComment;
  628. [Browsable(false)]
  629. [DebuggerNonUserCode]
  630. public int Count => base.Rows.Count;
  631. [DebuggerNonUserCode]
  632. public BillCommentRow this[int index] => (BillCommentRow)base.Rows[index];
  633. public event BillCommentRowChangeEventHandler BillCommentRowChanging;
  634. public event BillCommentRowChangeEventHandler BillCommentRowChanged;
  635. public event BillCommentRowChangeEventHandler BillCommentRowDeleting;
  636. public event BillCommentRowChangeEventHandler BillCommentRowDeleted;
  637. [DebuggerNonUserCode]
  638. public BillCommentDataTable()
  639. {
  640. base.TableName = "BillComment";
  641. BeginInit();
  642. InitClass();
  643. EndInit();
  644. }
  645. [DebuggerNonUserCode]
  646. internal BillCommentDataTable(DataTable table)
  647. {
  648. base.TableName = table.TableName;
  649. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  650. {
  651. base.CaseSensitive = table.CaseSensitive;
  652. }
  653. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  654. {
  655. base.Locale = table.Locale;
  656. }
  657. if (table.Namespace != table.DataSet.Namespace)
  658. {
  659. base.Namespace = table.Namespace;
  660. }
  661. base.Prefix = table.Prefix;
  662. base.MinimumCapacity = table.MinimumCapacity;
  663. }
  664. [DebuggerNonUserCode]
  665. protected BillCommentDataTable(SerializationInfo info, StreamingContext context)
  666. : base(info, context)
  667. {
  668. InitVars();
  669. }
  670. [DebuggerNonUserCode]
  671. public void AddBillCommentRow(BillCommentRow row)
  672. {
  673. base.Rows.Add(row);
  674. }
  675. [DebuggerNonUserCode]
  676. public BillCommentRow AddBillCommentRow(string Comment_BillComment)
  677. {
  678. BillCommentRow billCommentRow = (BillCommentRow)NewRow();
  679. billCommentRow.ItemArray = new object[1]
  680. {
  681. Comment_BillComment
  682. };
  683. base.Rows.Add(billCommentRow);
  684. return billCommentRow;
  685. }
  686. [DebuggerNonUserCode]
  687. public virtual IEnumerator GetEnumerator()
  688. {
  689. return base.Rows.GetEnumerator();
  690. }
  691. [DebuggerNonUserCode]
  692. public override DataTable Clone()
  693. {
  694. BillCommentDataTable billCommentDataTable = (BillCommentDataTable)base.Clone();
  695. billCommentDataTable.InitVars();
  696. return billCommentDataTable;
  697. }
  698. [DebuggerNonUserCode]
  699. protected override DataTable CreateInstance()
  700. {
  701. return new BillCommentDataTable();
  702. }
  703. [DebuggerNonUserCode]
  704. internal void InitVars()
  705. {
  706. columnComment_BillComment = base.Columns["Comment_BillComment"];
  707. }
  708. [DebuggerNonUserCode]
  709. private void InitClass()
  710. {
  711. columnComment_BillComment = new DataColumn("Comment_BillComment", typeof(string), null, MappingType.Element);
  712. base.Columns.Add(columnComment_BillComment);
  713. }
  714. [DebuggerNonUserCode]
  715. public BillCommentRow NewBillCommentRow()
  716. {
  717. return (BillCommentRow)NewRow();
  718. }
  719. [DebuggerNonUserCode]
  720. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  721. {
  722. return new BillCommentRow(builder);
  723. }
  724. [DebuggerNonUserCode]
  725. protected override Type GetRowType()
  726. {
  727. return typeof(BillCommentRow);
  728. }
  729. [DebuggerNonUserCode]
  730. protected override void OnRowChanged(DataRowChangeEventArgs e)
  731. {
  732. base.OnRowChanged(e);
  733. if (this.BillCommentRowChanged != null)
  734. {
  735. this.BillCommentRowChanged(this, new BillCommentRowChangeEvent((BillCommentRow)e.Row, e.Action));
  736. }
  737. }
  738. [DebuggerNonUserCode]
  739. protected override void OnRowChanging(DataRowChangeEventArgs e)
  740. {
  741. base.OnRowChanging(e);
  742. if (this.BillCommentRowChanging != null)
  743. {
  744. this.BillCommentRowChanging(this, new BillCommentRowChangeEvent((BillCommentRow)e.Row, e.Action));
  745. }
  746. }
  747. [DebuggerNonUserCode]
  748. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  749. {
  750. base.OnRowDeleted(e);
  751. if (this.BillCommentRowDeleted != null)
  752. {
  753. this.BillCommentRowDeleted(this, new BillCommentRowChangeEvent((BillCommentRow)e.Row, e.Action));
  754. }
  755. }
  756. [DebuggerNonUserCode]
  757. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  758. {
  759. base.OnRowDeleting(e);
  760. if (this.BillCommentRowDeleting != null)
  761. {
  762. this.BillCommentRowDeleting(this, new BillCommentRowChangeEvent((BillCommentRow)e.Row, e.Action));
  763. }
  764. }
  765. [DebuggerNonUserCode]
  766. public void RemoveBillCommentRow(BillCommentRow row)
  767. {
  768. base.Rows.Remove(row);
  769. }
  770. [DebuggerNonUserCode]
  771. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  772. {
  773. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  774. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  775. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = new dsFrmPurchaseQueryBill();
  776. xs.Add(dsFrmPurchaseQueryBill.GetSchemaSerializable());
  777. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  778. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  779. xmlSchemaAny.MinOccurs = 0m;
  780. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  781. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  782. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  783. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  784. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  785. xmlSchemaAny2.MinOccurs = 1m;
  786. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  787. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  788. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  789. xmlSchemaAttribute.Name = "namespace";
  790. xmlSchemaAttribute.FixedValue = dsFrmPurchaseQueryBill.Namespace;
  791. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  792. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  793. xmlSchemaAttribute2.Name = "tableTypeName";
  794. xmlSchemaAttribute2.FixedValue = "BillCommentDataTable";
  795. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  796. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  797. return xmlSchemaComplexType;
  798. }
  799. }
  800. [Serializable]
  801. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  802. [XmlSchemaProvider("GetTypedTableSchema")]
  803. public class ReportCommentDataTable : DataTable, IEnumerable
  804. {
  805. private DataColumn columnComment_ReportComment;
  806. private DataColumn columnNo_PurchaseQueryBill;
  807. [DebuggerNonUserCode]
  808. public DataColumn Comment_ReportCommentColumn => columnComment_ReportComment;
  809. [DebuggerNonUserCode]
  810. public DataColumn No_PurchaseQueryBillColumn => columnNo_PurchaseQueryBill;
  811. [DebuggerNonUserCode]
  812. [Browsable(false)]
  813. public int Count => base.Rows.Count;
  814. [DebuggerNonUserCode]
  815. public ReportCommentRow this[int index] => (ReportCommentRow)base.Rows[index];
  816. public event ReportCommentRowChangeEventHandler ReportCommentRowChanging;
  817. public event ReportCommentRowChangeEventHandler ReportCommentRowChanged;
  818. public event ReportCommentRowChangeEventHandler ReportCommentRowDeleting;
  819. public event ReportCommentRowChangeEventHandler ReportCommentRowDeleted;
  820. [DebuggerNonUserCode]
  821. public ReportCommentDataTable()
  822. {
  823. base.TableName = "ReportComment";
  824. BeginInit();
  825. InitClass();
  826. EndInit();
  827. }
  828. [DebuggerNonUserCode]
  829. internal ReportCommentDataTable(DataTable table)
  830. {
  831. base.TableName = table.TableName;
  832. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  833. {
  834. base.CaseSensitive = table.CaseSensitive;
  835. }
  836. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  837. {
  838. base.Locale = table.Locale;
  839. }
  840. if (table.Namespace != table.DataSet.Namespace)
  841. {
  842. base.Namespace = table.Namespace;
  843. }
  844. base.Prefix = table.Prefix;
  845. base.MinimumCapacity = table.MinimumCapacity;
  846. }
  847. [DebuggerNonUserCode]
  848. protected ReportCommentDataTable(SerializationInfo info, StreamingContext context)
  849. : base(info, context)
  850. {
  851. InitVars();
  852. }
  853. [DebuggerNonUserCode]
  854. public void AddReportCommentRow(ReportCommentRow row)
  855. {
  856. base.Rows.Add(row);
  857. }
  858. [DebuggerNonUserCode]
  859. public ReportCommentRow AddReportCommentRow(string Comment_ReportComment, string No_PurchaseQueryBill)
  860. {
  861. ReportCommentRow reportCommentRow = (ReportCommentRow)NewRow();
  862. reportCommentRow.ItemArray = new object[2]
  863. {
  864. Comment_ReportComment,
  865. No_PurchaseQueryBill
  866. };
  867. base.Rows.Add(reportCommentRow);
  868. return reportCommentRow;
  869. }
  870. [DebuggerNonUserCode]
  871. public virtual IEnumerator GetEnumerator()
  872. {
  873. return base.Rows.GetEnumerator();
  874. }
  875. [DebuggerNonUserCode]
  876. public override DataTable Clone()
  877. {
  878. ReportCommentDataTable reportCommentDataTable = (ReportCommentDataTable)base.Clone();
  879. reportCommentDataTable.InitVars();
  880. return reportCommentDataTable;
  881. }
  882. [DebuggerNonUserCode]
  883. protected override DataTable CreateInstance()
  884. {
  885. return new ReportCommentDataTable();
  886. }
  887. [DebuggerNonUserCode]
  888. internal void InitVars()
  889. {
  890. columnComment_ReportComment = base.Columns["Comment_ReportComment"];
  891. columnNo_PurchaseQueryBill = base.Columns["No_PurchaseQueryBill"];
  892. }
  893. [DebuggerNonUserCode]
  894. private void InitClass()
  895. {
  896. columnComment_ReportComment = new DataColumn("Comment_ReportComment", typeof(string), null, MappingType.Element);
  897. base.Columns.Add(columnComment_ReportComment);
  898. columnNo_PurchaseQueryBill = new DataColumn("No_PurchaseQueryBill", typeof(string), null, MappingType.Element);
  899. base.Columns.Add(columnNo_PurchaseQueryBill);
  900. }
  901. [DebuggerNonUserCode]
  902. public ReportCommentRow NewReportCommentRow()
  903. {
  904. return (ReportCommentRow)NewRow();
  905. }
  906. [DebuggerNonUserCode]
  907. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  908. {
  909. return new ReportCommentRow(builder);
  910. }
  911. [DebuggerNonUserCode]
  912. protected override Type GetRowType()
  913. {
  914. return typeof(ReportCommentRow);
  915. }
  916. [DebuggerNonUserCode]
  917. protected override void OnRowChanged(DataRowChangeEventArgs e)
  918. {
  919. base.OnRowChanged(e);
  920. if (this.ReportCommentRowChanged != null)
  921. {
  922. this.ReportCommentRowChanged(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  923. }
  924. }
  925. [DebuggerNonUserCode]
  926. protected override void OnRowChanging(DataRowChangeEventArgs e)
  927. {
  928. base.OnRowChanging(e);
  929. if (this.ReportCommentRowChanging != null)
  930. {
  931. this.ReportCommentRowChanging(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  932. }
  933. }
  934. [DebuggerNonUserCode]
  935. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  936. {
  937. base.OnRowDeleted(e);
  938. if (this.ReportCommentRowDeleted != null)
  939. {
  940. this.ReportCommentRowDeleted(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  941. }
  942. }
  943. [DebuggerNonUserCode]
  944. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  945. {
  946. base.OnRowDeleting(e);
  947. if (this.ReportCommentRowDeleting != null)
  948. {
  949. this.ReportCommentRowDeleting(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  950. }
  951. }
  952. [DebuggerNonUserCode]
  953. public void RemoveReportCommentRow(ReportCommentRow row)
  954. {
  955. base.Rows.Remove(row);
  956. }
  957. [DebuggerNonUserCode]
  958. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  959. {
  960. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  961. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  962. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = new dsFrmPurchaseQueryBill();
  963. xs.Add(dsFrmPurchaseQueryBill.GetSchemaSerializable());
  964. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  965. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  966. xmlSchemaAny.MinOccurs = 0m;
  967. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  968. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  969. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  970. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  971. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  972. xmlSchemaAny2.MinOccurs = 1m;
  973. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  974. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  975. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  976. xmlSchemaAttribute.Name = "namespace";
  977. xmlSchemaAttribute.FixedValue = dsFrmPurchaseQueryBill.Namespace;
  978. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  979. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  980. xmlSchemaAttribute2.Name = "tableTypeName";
  981. xmlSchemaAttribute2.FixedValue = "ReportCommentDataTable";
  982. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  983. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  984. return xmlSchemaComplexType;
  985. }
  986. }
  987. [Serializable]
  988. [XmlSchemaProvider("GetTypedTableSchema")]
  989. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  990. public class AppendInfoDataTable : DataTable, IEnumerable
  991. {
  992. private DataColumn columnCurrentCompany;
  993. private DataColumn columnCurrentUser;
  994. [DebuggerNonUserCode]
  995. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  996. [DebuggerNonUserCode]
  997. public DataColumn CurrentUserColumn => columnCurrentUser;
  998. [Browsable(false)]
  999. [DebuggerNonUserCode]
  1000. public int Count => base.Rows.Count;
  1001. [DebuggerNonUserCode]
  1002. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  1003. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  1004. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  1005. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  1006. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  1007. [DebuggerNonUserCode]
  1008. public AppendInfoDataTable()
  1009. {
  1010. base.TableName = "AppendInfo";
  1011. BeginInit();
  1012. InitClass();
  1013. EndInit();
  1014. }
  1015. [DebuggerNonUserCode]
  1016. internal AppendInfoDataTable(DataTable table)
  1017. {
  1018. base.TableName = table.TableName;
  1019. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1020. {
  1021. base.CaseSensitive = table.CaseSensitive;
  1022. }
  1023. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1024. {
  1025. base.Locale = table.Locale;
  1026. }
  1027. if (table.Namespace != table.DataSet.Namespace)
  1028. {
  1029. base.Namespace = table.Namespace;
  1030. }
  1031. base.Prefix = table.Prefix;
  1032. base.MinimumCapacity = table.MinimumCapacity;
  1033. }
  1034. [DebuggerNonUserCode]
  1035. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  1036. : base(info, context)
  1037. {
  1038. InitVars();
  1039. }
  1040. [DebuggerNonUserCode]
  1041. public void AddAppendInfoRow(AppendInfoRow row)
  1042. {
  1043. base.Rows.Add(row);
  1044. }
  1045. [DebuggerNonUserCode]
  1046. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  1047. {
  1048. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  1049. appendInfoRow.ItemArray = new object[2]
  1050. {
  1051. CurrentCompany,
  1052. CurrentUser
  1053. };
  1054. base.Rows.Add(appendInfoRow);
  1055. return appendInfoRow;
  1056. }
  1057. [DebuggerNonUserCode]
  1058. public virtual IEnumerator GetEnumerator()
  1059. {
  1060. return base.Rows.GetEnumerator();
  1061. }
  1062. [DebuggerNonUserCode]
  1063. public override DataTable Clone()
  1064. {
  1065. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  1066. appendInfoDataTable.InitVars();
  1067. return appendInfoDataTable;
  1068. }
  1069. [DebuggerNonUserCode]
  1070. protected override DataTable CreateInstance()
  1071. {
  1072. return new AppendInfoDataTable();
  1073. }
  1074. [DebuggerNonUserCode]
  1075. internal void InitVars()
  1076. {
  1077. columnCurrentCompany = base.Columns["CurrentCompany"];
  1078. columnCurrentUser = base.Columns["CurrentUser"];
  1079. }
  1080. [DebuggerNonUserCode]
  1081. private void InitClass()
  1082. {
  1083. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  1084. base.Columns.Add(columnCurrentCompany);
  1085. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  1086. base.Columns.Add(columnCurrentUser);
  1087. }
  1088. [DebuggerNonUserCode]
  1089. public AppendInfoRow NewAppendInfoRow()
  1090. {
  1091. return (AppendInfoRow)NewRow();
  1092. }
  1093. [DebuggerNonUserCode]
  1094. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1095. {
  1096. return new AppendInfoRow(builder);
  1097. }
  1098. [DebuggerNonUserCode]
  1099. protected override Type GetRowType()
  1100. {
  1101. return typeof(AppendInfoRow);
  1102. }
  1103. [DebuggerNonUserCode]
  1104. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1105. {
  1106. base.OnRowChanged(e);
  1107. if (this.AppendInfoRowChanged != null)
  1108. {
  1109. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1110. }
  1111. }
  1112. [DebuggerNonUserCode]
  1113. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1114. {
  1115. base.OnRowChanging(e);
  1116. if (this.AppendInfoRowChanging != null)
  1117. {
  1118. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1119. }
  1120. }
  1121. [DebuggerNonUserCode]
  1122. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1123. {
  1124. base.OnRowDeleted(e);
  1125. if (this.AppendInfoRowDeleted != null)
  1126. {
  1127. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1128. }
  1129. }
  1130. [DebuggerNonUserCode]
  1131. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1132. {
  1133. base.OnRowDeleting(e);
  1134. if (this.AppendInfoRowDeleting != null)
  1135. {
  1136. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1137. }
  1138. }
  1139. [DebuggerNonUserCode]
  1140. public void RemoveAppendInfoRow(AppendInfoRow row)
  1141. {
  1142. base.Rows.Remove(row);
  1143. }
  1144. [DebuggerNonUserCode]
  1145. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1146. {
  1147. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1148. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1149. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = new dsFrmPurchaseQueryBill();
  1150. xs.Add(dsFrmPurchaseQueryBill.GetSchemaSerializable());
  1151. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1152. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1153. xmlSchemaAny.MinOccurs = 0m;
  1154. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1155. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1156. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1157. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1158. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1159. xmlSchemaAny2.MinOccurs = 1m;
  1160. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1161. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1162. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1163. xmlSchemaAttribute.Name = "namespace";
  1164. xmlSchemaAttribute.FixedValue = dsFrmPurchaseQueryBill.Namespace;
  1165. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1166. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1167. xmlSchemaAttribute2.Name = "tableTypeName";
  1168. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  1169. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1170. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1171. return xmlSchemaComplexType;
  1172. }
  1173. }
  1174. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1175. public class PurchaseQueryBillRow : DataRow
  1176. {
  1177. private PurchaseQueryBillDataTable tablePurchaseQueryBill;
  1178. [DebuggerNonUserCode]
  1179. public string No_PurchaseQueryBill
  1180. {
  1181. get
  1182. {
  1183. try
  1184. {
  1185. return (string)base[tablePurchaseQueryBill.No_PurchaseQueryBillColumn];
  1186. }
  1187. catch (InvalidCastException innerException)
  1188. {
  1189. throw new StrongTypingException("The value for column 'No_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1190. }
  1191. }
  1192. set
  1193. {
  1194. base[tablePurchaseQueryBill.No_PurchaseQueryBillColumn] = value;
  1195. }
  1196. }
  1197. [DebuggerNonUserCode]
  1198. public DateTime Date_PurchaseQueryBill
  1199. {
  1200. get
  1201. {
  1202. try
  1203. {
  1204. return (DateTime)base[tablePurchaseQueryBill.Date_PurchaseQueryBillColumn];
  1205. }
  1206. catch (InvalidCastException innerException)
  1207. {
  1208. throw new StrongTypingException("The value for column 'Date_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1209. }
  1210. }
  1211. set
  1212. {
  1213. base[tablePurchaseQueryBill.Date_PurchaseQueryBillColumn] = value;
  1214. }
  1215. }
  1216. [DebuggerNonUserCode]
  1217. public DateTime ResponseDate_PurchaseQueryBill
  1218. {
  1219. get
  1220. {
  1221. try
  1222. {
  1223. return (DateTime)base[tablePurchaseQueryBill.ResponseDate_PurchaseQueryBillColumn];
  1224. }
  1225. catch (InvalidCastException innerException)
  1226. {
  1227. throw new StrongTypingException("The value for column 'ResponseDate_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1228. }
  1229. }
  1230. set
  1231. {
  1232. base[tablePurchaseQueryBill.ResponseDate_PurchaseQueryBillColumn] = value;
  1233. }
  1234. }
  1235. [DebuggerNonUserCode]
  1236. public DateTime ValidDate_PurchaseQueryBill
  1237. {
  1238. get
  1239. {
  1240. try
  1241. {
  1242. return (DateTime)base[tablePurchaseQueryBill.ValidDate_PurchaseQueryBillColumn];
  1243. }
  1244. catch (InvalidCastException innerException)
  1245. {
  1246. throw new StrongTypingException("The value for column 'ValidDate_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1247. }
  1248. }
  1249. set
  1250. {
  1251. base[tablePurchaseQueryBill.ValidDate_PurchaseQueryBillColumn] = value;
  1252. }
  1253. }
  1254. [DebuggerNonUserCode]
  1255. public string TaxCurrency_PurchaseQueryBill
  1256. {
  1257. get
  1258. {
  1259. try
  1260. {
  1261. return (string)base[tablePurchaseQueryBill.TaxCurrency_PurchaseQueryBillColumn];
  1262. }
  1263. catch (InvalidCastException innerException)
  1264. {
  1265. throw new StrongTypingException("The value for column 'TaxCurrency_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1266. }
  1267. }
  1268. set
  1269. {
  1270. base[tablePurchaseQueryBill.TaxCurrency_PurchaseQueryBillColumn] = value;
  1271. }
  1272. }
  1273. [DebuggerNonUserCode]
  1274. public string Currency_PurchaseQueryBill
  1275. {
  1276. get
  1277. {
  1278. try
  1279. {
  1280. return (string)base[tablePurchaseQueryBill.Currency_PurchaseQueryBillColumn];
  1281. }
  1282. catch (InvalidCastException innerException)
  1283. {
  1284. throw new StrongTypingException("The value for column 'Currency_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1285. }
  1286. }
  1287. set
  1288. {
  1289. base[tablePurchaseQueryBill.Currency_PurchaseQueryBillColumn] = value;
  1290. }
  1291. }
  1292. [DebuggerNonUserCode]
  1293. public string Name_Principal
  1294. {
  1295. get
  1296. {
  1297. try
  1298. {
  1299. return (string)base[tablePurchaseQueryBill.Name_PrincipalColumn];
  1300. }
  1301. catch (InvalidCastException innerException)
  1302. {
  1303. throw new StrongTypingException("The value for column 'Name_Principal' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1304. }
  1305. }
  1306. set
  1307. {
  1308. base[tablePurchaseQueryBill.Name_PrincipalColumn] = value;
  1309. }
  1310. }
  1311. [DebuggerNonUserCode]
  1312. public string Name_Linkman
  1313. {
  1314. get
  1315. {
  1316. try
  1317. {
  1318. return (string)base[tablePurchaseQueryBill.Name_LinkmanColumn];
  1319. }
  1320. catch (InvalidCastException innerException)
  1321. {
  1322. throw new StrongTypingException("The value for column 'Name_Linkman' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1323. }
  1324. }
  1325. set
  1326. {
  1327. base[tablePurchaseQueryBill.Name_LinkmanColumn] = value;
  1328. }
  1329. }
  1330. [DebuggerNonUserCode]
  1331. public string Name_Telephone
  1332. {
  1333. get
  1334. {
  1335. try
  1336. {
  1337. return (string)base[tablePurchaseQueryBill.Name_TelephoneColumn];
  1338. }
  1339. catch (InvalidCastException innerException)
  1340. {
  1341. throw new StrongTypingException("The value for column 'Name_Telephone' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1342. }
  1343. }
  1344. set
  1345. {
  1346. base[tablePurchaseQueryBill.Name_TelephoneColumn] = value;
  1347. }
  1348. }
  1349. [DebuggerNonUserCode]
  1350. public string Fax_Telephone
  1351. {
  1352. get
  1353. {
  1354. try
  1355. {
  1356. return (string)base[tablePurchaseQueryBill.Fax_TelephoneColumn];
  1357. }
  1358. catch (InvalidCastException innerException)
  1359. {
  1360. throw new StrongTypingException("The value for column 'Fax_Telephone' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1361. }
  1362. }
  1363. set
  1364. {
  1365. base[tablePurchaseQueryBill.Fax_TelephoneColumn] = value;
  1366. }
  1367. }
  1368. [DebuggerNonUserCode]
  1369. public DateTime AssessDate_PurchaseQueryBill
  1370. {
  1371. get
  1372. {
  1373. try
  1374. {
  1375. return (DateTime)base[tablePurchaseQueryBill.AssessDate_PurchaseQueryBillColumn];
  1376. }
  1377. catch (InvalidCastException innerException)
  1378. {
  1379. throw new StrongTypingException("The value for column 'AssessDate_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1380. }
  1381. }
  1382. set
  1383. {
  1384. base[tablePurchaseQueryBill.AssessDate_PurchaseQueryBillColumn] = value;
  1385. }
  1386. }
  1387. [DebuggerNonUserCode]
  1388. public DateTime CreateDate_PurchaseQueryBill
  1389. {
  1390. get
  1391. {
  1392. try
  1393. {
  1394. return (DateTime)base[tablePurchaseQueryBill.CreateDate_PurchaseQueryBillColumn];
  1395. }
  1396. catch (InvalidCastException innerException)
  1397. {
  1398. throw new StrongTypingException("The value for column 'CreateDate_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1399. }
  1400. }
  1401. set
  1402. {
  1403. base[tablePurchaseQueryBill.CreateDate_PurchaseQueryBillColumn] = value;
  1404. }
  1405. }
  1406. [DebuggerNonUserCode]
  1407. public DateTime LastModDate_PurchaseQueryBill
  1408. {
  1409. get
  1410. {
  1411. try
  1412. {
  1413. return (DateTime)base[tablePurchaseQueryBill.LastModDate_PurchaseQueryBillColumn];
  1414. }
  1415. catch (InvalidCastException innerException)
  1416. {
  1417. throw new StrongTypingException("The value for column 'LastModDate_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1418. }
  1419. }
  1420. set
  1421. {
  1422. base[tablePurchaseQueryBill.LastModDate_PurchaseQueryBillColumn] = value;
  1423. }
  1424. }
  1425. [DebuggerNonUserCode]
  1426. public string Creator
  1427. {
  1428. get
  1429. {
  1430. try
  1431. {
  1432. return (string)base[tablePurchaseQueryBill.CreatorColumn];
  1433. }
  1434. catch (InvalidCastException innerException)
  1435. {
  1436. throw new StrongTypingException("The value for column 'Creator' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1437. }
  1438. }
  1439. set
  1440. {
  1441. base[tablePurchaseQueryBill.CreatorColumn] = value;
  1442. }
  1443. }
  1444. [DebuggerNonUserCode]
  1445. public string Assessor
  1446. {
  1447. get
  1448. {
  1449. try
  1450. {
  1451. return (string)base[tablePurchaseQueryBill.AssessorColumn];
  1452. }
  1453. catch (InvalidCastException innerException)
  1454. {
  1455. throw new StrongTypingException("The value for column 'Assessor' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1456. }
  1457. }
  1458. set
  1459. {
  1460. base[tablePurchaseQueryBill.AssessorColumn] = value;
  1461. }
  1462. }
  1463. [DebuggerNonUserCode]
  1464. public string LastModUser
  1465. {
  1466. get
  1467. {
  1468. try
  1469. {
  1470. return (string)base[tablePurchaseQueryBill.LastModUserColumn];
  1471. }
  1472. catch (InvalidCastException innerException)
  1473. {
  1474. throw new StrongTypingException("The value for column 'LastModUser' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1475. }
  1476. }
  1477. set
  1478. {
  1479. base[tablePurchaseQueryBill.LastModUserColumn] = value;
  1480. }
  1481. }
  1482. [DebuggerNonUserCode]
  1483. public string No_Supplier
  1484. {
  1485. get
  1486. {
  1487. try
  1488. {
  1489. return (string)base[tablePurchaseQueryBill.No_SupplierColumn];
  1490. }
  1491. catch (InvalidCastException innerException)
  1492. {
  1493. throw new StrongTypingException("The value for column 'No_Supplier' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1494. }
  1495. }
  1496. set
  1497. {
  1498. base[tablePurchaseQueryBill.No_SupplierColumn] = value;
  1499. }
  1500. }
  1501. [DebuggerNonUserCode]
  1502. public string Name_Supplier
  1503. {
  1504. get
  1505. {
  1506. try
  1507. {
  1508. return (string)base[tablePurchaseQueryBill.Name_SupplierColumn];
  1509. }
  1510. catch (InvalidCastException innerException)
  1511. {
  1512. throw new StrongTypingException("The value for column 'Name_Supplier' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1513. }
  1514. }
  1515. set
  1516. {
  1517. base[tablePurchaseQueryBill.Name_SupplierColumn] = value;
  1518. }
  1519. }
  1520. [DebuggerNonUserCode]
  1521. public string ShortName_Supplier
  1522. {
  1523. get
  1524. {
  1525. try
  1526. {
  1527. return (string)base[tablePurchaseQueryBill.ShortName_SupplierColumn];
  1528. }
  1529. catch (InvalidCastException innerException)
  1530. {
  1531. throw new StrongTypingException("The value for column 'ShortName_Supplier' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1532. }
  1533. }
  1534. set
  1535. {
  1536. base[tablePurchaseQueryBill.ShortName_SupplierColumn] = value;
  1537. }
  1538. }
  1539. [DebuggerNonUserCode]
  1540. public string RegistedAddress_Supplier
  1541. {
  1542. get
  1543. {
  1544. try
  1545. {
  1546. return (string)base[tablePurchaseQueryBill.RegistedAddress_SupplierColumn];
  1547. }
  1548. catch (InvalidCastException innerException)
  1549. {
  1550. throw new StrongTypingException("The value for column 'RegistedAddress_Supplier' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1551. }
  1552. }
  1553. set
  1554. {
  1555. base[tablePurchaseQueryBill.RegistedAddress_SupplierColumn] = value;
  1556. }
  1557. }
  1558. [DebuggerNonUserCode]
  1559. public string PostalCode_Supplier
  1560. {
  1561. get
  1562. {
  1563. try
  1564. {
  1565. return (string)base[tablePurchaseQueryBill.PostalCode_SupplierColumn];
  1566. }
  1567. catch (InvalidCastException innerException)
  1568. {
  1569. throw new StrongTypingException("The value for column 'PostalCode_Supplier' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1570. }
  1571. }
  1572. set
  1573. {
  1574. base[tablePurchaseQueryBill.PostalCode_SupplierColumn] = value;
  1575. }
  1576. }
  1577. [DebuggerNonUserCode]
  1578. public string No_Employee
  1579. {
  1580. get
  1581. {
  1582. try
  1583. {
  1584. return (string)base[tablePurchaseQueryBill.No_EmployeeColumn];
  1585. }
  1586. catch (InvalidCastException innerException)
  1587. {
  1588. throw new StrongTypingException("The value for column 'No_Employee' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1589. }
  1590. }
  1591. set
  1592. {
  1593. base[tablePurchaseQueryBill.No_EmployeeColumn] = value;
  1594. }
  1595. }
  1596. [DebuggerNonUserCode]
  1597. public string No_Linkman
  1598. {
  1599. get
  1600. {
  1601. try
  1602. {
  1603. return (string)base[tablePurchaseQueryBill.No_LinkmanColumn];
  1604. }
  1605. catch (InvalidCastException innerException)
  1606. {
  1607. throw new StrongTypingException("The value for column 'No_Linkman' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1608. }
  1609. }
  1610. set
  1611. {
  1612. base[tablePurchaseQueryBill.No_LinkmanColumn] = value;
  1613. }
  1614. }
  1615. [DebuggerNonUserCode]
  1616. public decimal GoodsAmount_PurchaseQueryBill
  1617. {
  1618. get
  1619. {
  1620. try
  1621. {
  1622. return (decimal)base[tablePurchaseQueryBill.GoodsAmount_PurchaseQueryBillColumn];
  1623. }
  1624. catch (InvalidCastException innerException)
  1625. {
  1626. throw new StrongTypingException("The value for column 'GoodsAmount_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1627. }
  1628. }
  1629. set
  1630. {
  1631. base[tablePurchaseQueryBill.GoodsAmount_PurchaseQueryBillColumn] = value;
  1632. }
  1633. }
  1634. [DebuggerNonUserCode]
  1635. public decimal TaxAmount_PurchaseQueryBill
  1636. {
  1637. get
  1638. {
  1639. try
  1640. {
  1641. return (decimal)base[tablePurchaseQueryBill.TaxAmount_PurchaseQueryBillColumn];
  1642. }
  1643. catch (InvalidCastException innerException)
  1644. {
  1645. throw new StrongTypingException("The value for column 'TaxAmount_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1646. }
  1647. }
  1648. set
  1649. {
  1650. base[tablePurchaseQueryBill.TaxAmount_PurchaseQueryBillColumn] = value;
  1651. }
  1652. }
  1653. [DebuggerNonUserCode]
  1654. public decimal Amount_PurchaseQueryBill
  1655. {
  1656. get
  1657. {
  1658. try
  1659. {
  1660. return (decimal)base[tablePurchaseQueryBill.Amount_PurchaseQueryBillColumn];
  1661. }
  1662. catch (InvalidCastException innerException)
  1663. {
  1664. throw new StrongTypingException("The value for column 'Amount_PurchaseQueryBill' in table 'PurchaseQueryBill' is DBNull.", innerException);
  1665. }
  1666. }
  1667. set
  1668. {
  1669. base[tablePurchaseQueryBill.Amount_PurchaseQueryBillColumn] = value;
  1670. }
  1671. }
  1672. [DebuggerNonUserCode]
  1673. internal PurchaseQueryBillRow(DataRowBuilder rb)
  1674. : base(rb)
  1675. {
  1676. tablePurchaseQueryBill = (PurchaseQueryBillDataTable)base.Table;
  1677. }
  1678. [DebuggerNonUserCode]
  1679. public bool IsNo_PurchaseQueryBillNull()
  1680. {
  1681. return IsNull(tablePurchaseQueryBill.No_PurchaseQueryBillColumn);
  1682. }
  1683. [DebuggerNonUserCode]
  1684. public void SetNo_PurchaseQueryBillNull()
  1685. {
  1686. base[tablePurchaseQueryBill.No_PurchaseQueryBillColumn] = Convert.DBNull;
  1687. }
  1688. [DebuggerNonUserCode]
  1689. public bool IsDate_PurchaseQueryBillNull()
  1690. {
  1691. return IsNull(tablePurchaseQueryBill.Date_PurchaseQueryBillColumn);
  1692. }
  1693. [DebuggerNonUserCode]
  1694. public void SetDate_PurchaseQueryBillNull()
  1695. {
  1696. base[tablePurchaseQueryBill.Date_PurchaseQueryBillColumn] = Convert.DBNull;
  1697. }
  1698. [DebuggerNonUserCode]
  1699. public bool IsResponseDate_PurchaseQueryBillNull()
  1700. {
  1701. return IsNull(tablePurchaseQueryBill.ResponseDate_PurchaseQueryBillColumn);
  1702. }
  1703. [DebuggerNonUserCode]
  1704. public void SetResponseDate_PurchaseQueryBillNull()
  1705. {
  1706. base[tablePurchaseQueryBill.ResponseDate_PurchaseQueryBillColumn] = Convert.DBNull;
  1707. }
  1708. [DebuggerNonUserCode]
  1709. public bool IsValidDate_PurchaseQueryBillNull()
  1710. {
  1711. return IsNull(tablePurchaseQueryBill.ValidDate_PurchaseQueryBillColumn);
  1712. }
  1713. [DebuggerNonUserCode]
  1714. public void SetValidDate_PurchaseQueryBillNull()
  1715. {
  1716. base[tablePurchaseQueryBill.ValidDate_PurchaseQueryBillColumn] = Convert.DBNull;
  1717. }
  1718. [DebuggerNonUserCode]
  1719. public bool IsTaxCurrency_PurchaseQueryBillNull()
  1720. {
  1721. return IsNull(tablePurchaseQueryBill.TaxCurrency_PurchaseQueryBillColumn);
  1722. }
  1723. [DebuggerNonUserCode]
  1724. public void SetTaxCurrency_PurchaseQueryBillNull()
  1725. {
  1726. base[tablePurchaseQueryBill.TaxCurrency_PurchaseQueryBillColumn] = Convert.DBNull;
  1727. }
  1728. [DebuggerNonUserCode]
  1729. public bool IsCurrency_PurchaseQueryBillNull()
  1730. {
  1731. return IsNull(tablePurchaseQueryBill.Currency_PurchaseQueryBillColumn);
  1732. }
  1733. [DebuggerNonUserCode]
  1734. public void SetCurrency_PurchaseQueryBillNull()
  1735. {
  1736. base[tablePurchaseQueryBill.Currency_PurchaseQueryBillColumn] = Convert.DBNull;
  1737. }
  1738. [DebuggerNonUserCode]
  1739. public bool IsName_PrincipalNull()
  1740. {
  1741. return IsNull(tablePurchaseQueryBill.Name_PrincipalColumn);
  1742. }
  1743. [DebuggerNonUserCode]
  1744. public void SetName_PrincipalNull()
  1745. {
  1746. base[tablePurchaseQueryBill.Name_PrincipalColumn] = Convert.DBNull;
  1747. }
  1748. [DebuggerNonUserCode]
  1749. public bool IsName_LinkmanNull()
  1750. {
  1751. return IsNull(tablePurchaseQueryBill.Name_LinkmanColumn);
  1752. }
  1753. [DebuggerNonUserCode]
  1754. public void SetName_LinkmanNull()
  1755. {
  1756. base[tablePurchaseQueryBill.Name_LinkmanColumn] = Convert.DBNull;
  1757. }
  1758. [DebuggerNonUserCode]
  1759. public bool IsName_TelephoneNull()
  1760. {
  1761. return IsNull(tablePurchaseQueryBill.Name_TelephoneColumn);
  1762. }
  1763. [DebuggerNonUserCode]
  1764. public void SetName_TelephoneNull()
  1765. {
  1766. base[tablePurchaseQueryBill.Name_TelephoneColumn] = Convert.DBNull;
  1767. }
  1768. [DebuggerNonUserCode]
  1769. public bool IsFax_TelephoneNull()
  1770. {
  1771. return IsNull(tablePurchaseQueryBill.Fax_TelephoneColumn);
  1772. }
  1773. [DebuggerNonUserCode]
  1774. public void SetFax_TelephoneNull()
  1775. {
  1776. base[tablePurchaseQueryBill.Fax_TelephoneColumn] = Convert.DBNull;
  1777. }
  1778. [DebuggerNonUserCode]
  1779. public bool IsAssessDate_PurchaseQueryBillNull()
  1780. {
  1781. return IsNull(tablePurchaseQueryBill.AssessDate_PurchaseQueryBillColumn);
  1782. }
  1783. [DebuggerNonUserCode]
  1784. public void SetAssessDate_PurchaseQueryBillNull()
  1785. {
  1786. base[tablePurchaseQueryBill.AssessDate_PurchaseQueryBillColumn] = Convert.DBNull;
  1787. }
  1788. [DebuggerNonUserCode]
  1789. public bool IsCreateDate_PurchaseQueryBillNull()
  1790. {
  1791. return IsNull(tablePurchaseQueryBill.CreateDate_PurchaseQueryBillColumn);
  1792. }
  1793. [DebuggerNonUserCode]
  1794. public void SetCreateDate_PurchaseQueryBillNull()
  1795. {
  1796. base[tablePurchaseQueryBill.CreateDate_PurchaseQueryBillColumn] = Convert.DBNull;
  1797. }
  1798. [DebuggerNonUserCode]
  1799. public bool IsLastModDate_PurchaseQueryBillNull()
  1800. {
  1801. return IsNull(tablePurchaseQueryBill.LastModDate_PurchaseQueryBillColumn);
  1802. }
  1803. [DebuggerNonUserCode]
  1804. public void SetLastModDate_PurchaseQueryBillNull()
  1805. {
  1806. base[tablePurchaseQueryBill.LastModDate_PurchaseQueryBillColumn] = Convert.DBNull;
  1807. }
  1808. [DebuggerNonUserCode]
  1809. public bool IsCreatorNull()
  1810. {
  1811. return IsNull(tablePurchaseQueryBill.CreatorColumn);
  1812. }
  1813. [DebuggerNonUserCode]
  1814. public void SetCreatorNull()
  1815. {
  1816. base[tablePurchaseQueryBill.CreatorColumn] = Convert.DBNull;
  1817. }
  1818. [DebuggerNonUserCode]
  1819. public bool IsAssessorNull()
  1820. {
  1821. return IsNull(tablePurchaseQueryBill.AssessorColumn);
  1822. }
  1823. [DebuggerNonUserCode]
  1824. public void SetAssessorNull()
  1825. {
  1826. base[tablePurchaseQueryBill.AssessorColumn] = Convert.DBNull;
  1827. }
  1828. [DebuggerNonUserCode]
  1829. public bool IsLastModUserNull()
  1830. {
  1831. return IsNull(tablePurchaseQueryBill.LastModUserColumn);
  1832. }
  1833. [DebuggerNonUserCode]
  1834. public void SetLastModUserNull()
  1835. {
  1836. base[tablePurchaseQueryBill.LastModUserColumn] = Convert.DBNull;
  1837. }
  1838. [DebuggerNonUserCode]
  1839. public bool IsNo_SupplierNull()
  1840. {
  1841. return IsNull(tablePurchaseQueryBill.No_SupplierColumn);
  1842. }
  1843. [DebuggerNonUserCode]
  1844. public void SetNo_SupplierNull()
  1845. {
  1846. base[tablePurchaseQueryBill.No_SupplierColumn] = Convert.DBNull;
  1847. }
  1848. [DebuggerNonUserCode]
  1849. public bool IsName_SupplierNull()
  1850. {
  1851. return IsNull(tablePurchaseQueryBill.Name_SupplierColumn);
  1852. }
  1853. [DebuggerNonUserCode]
  1854. public void SetName_SupplierNull()
  1855. {
  1856. base[tablePurchaseQueryBill.Name_SupplierColumn] = Convert.DBNull;
  1857. }
  1858. [DebuggerNonUserCode]
  1859. public bool IsShortName_SupplierNull()
  1860. {
  1861. return IsNull(tablePurchaseQueryBill.ShortName_SupplierColumn);
  1862. }
  1863. [DebuggerNonUserCode]
  1864. public void SetShortName_SupplierNull()
  1865. {
  1866. base[tablePurchaseQueryBill.ShortName_SupplierColumn] = Convert.DBNull;
  1867. }
  1868. [DebuggerNonUserCode]
  1869. public bool IsRegistedAddress_SupplierNull()
  1870. {
  1871. return IsNull(tablePurchaseQueryBill.RegistedAddress_SupplierColumn);
  1872. }
  1873. [DebuggerNonUserCode]
  1874. public void SetRegistedAddress_SupplierNull()
  1875. {
  1876. base[tablePurchaseQueryBill.RegistedAddress_SupplierColumn] = Convert.DBNull;
  1877. }
  1878. [DebuggerNonUserCode]
  1879. public bool IsPostalCode_SupplierNull()
  1880. {
  1881. return IsNull(tablePurchaseQueryBill.PostalCode_SupplierColumn);
  1882. }
  1883. [DebuggerNonUserCode]
  1884. public void SetPostalCode_SupplierNull()
  1885. {
  1886. base[tablePurchaseQueryBill.PostalCode_SupplierColumn] = Convert.DBNull;
  1887. }
  1888. [DebuggerNonUserCode]
  1889. public bool IsNo_EmployeeNull()
  1890. {
  1891. return IsNull(tablePurchaseQueryBill.No_EmployeeColumn);
  1892. }
  1893. [DebuggerNonUserCode]
  1894. public void SetNo_EmployeeNull()
  1895. {
  1896. base[tablePurchaseQueryBill.No_EmployeeColumn] = Convert.DBNull;
  1897. }
  1898. [DebuggerNonUserCode]
  1899. public bool IsNo_LinkmanNull()
  1900. {
  1901. return IsNull(tablePurchaseQueryBill.No_LinkmanColumn);
  1902. }
  1903. [DebuggerNonUserCode]
  1904. public void SetNo_LinkmanNull()
  1905. {
  1906. base[tablePurchaseQueryBill.No_LinkmanColumn] = Convert.DBNull;
  1907. }
  1908. [DebuggerNonUserCode]
  1909. public bool IsGoodsAmount_PurchaseQueryBillNull()
  1910. {
  1911. return IsNull(tablePurchaseQueryBill.GoodsAmount_PurchaseQueryBillColumn);
  1912. }
  1913. [DebuggerNonUserCode]
  1914. public void SetGoodsAmount_PurchaseQueryBillNull()
  1915. {
  1916. base[tablePurchaseQueryBill.GoodsAmount_PurchaseQueryBillColumn] = Convert.DBNull;
  1917. }
  1918. [DebuggerNonUserCode]
  1919. public bool IsTaxAmount_PurchaseQueryBillNull()
  1920. {
  1921. return IsNull(tablePurchaseQueryBill.TaxAmount_PurchaseQueryBillColumn);
  1922. }
  1923. [DebuggerNonUserCode]
  1924. public void SetTaxAmount_PurchaseQueryBillNull()
  1925. {
  1926. base[tablePurchaseQueryBill.TaxAmount_PurchaseQueryBillColumn] = Convert.DBNull;
  1927. }
  1928. [DebuggerNonUserCode]
  1929. public bool IsAmount_PurchaseQueryBillNull()
  1930. {
  1931. return IsNull(tablePurchaseQueryBill.Amount_PurchaseQueryBillColumn);
  1932. }
  1933. [DebuggerNonUserCode]
  1934. public void SetAmount_PurchaseQueryBillNull()
  1935. {
  1936. base[tablePurchaseQueryBill.Amount_PurchaseQueryBillColumn] = Convert.DBNull;
  1937. }
  1938. }
  1939. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1940. public class PurchaseQueryBillProductRow : DataRow
  1941. {
  1942. private PurchaseQueryBillProductDataTable tablePurchaseQueryBillProduct;
  1943. [DebuggerNonUserCode]
  1944. public string No_PurchaseQueryBillProduct
  1945. {
  1946. get
  1947. {
  1948. try
  1949. {
  1950. return (string)base[tablePurchaseQueryBillProduct.No_PurchaseQueryBillProductColumn];
  1951. }
  1952. catch (InvalidCastException innerException)
  1953. {
  1954. throw new StrongTypingException("The value for column 'No_PurchaseQueryBillProduct' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  1955. }
  1956. }
  1957. set
  1958. {
  1959. base[tablePurchaseQueryBillProduct.No_PurchaseQueryBillProductColumn] = value;
  1960. }
  1961. }
  1962. [DebuggerNonUserCode]
  1963. public decimal Quantity_PurchaseQueryBillProduct
  1964. {
  1965. get
  1966. {
  1967. try
  1968. {
  1969. return (decimal)base[tablePurchaseQueryBillProduct.Quantity_PurchaseQueryBillProductColumn];
  1970. }
  1971. catch (InvalidCastException innerException)
  1972. {
  1973. throw new StrongTypingException("The value for column 'Quantity_PurchaseQueryBillProduct' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  1974. }
  1975. }
  1976. set
  1977. {
  1978. base[tablePurchaseQueryBillProduct.Quantity_PurchaseQueryBillProductColumn] = value;
  1979. }
  1980. }
  1981. [DebuggerNonUserCode]
  1982. public decimal UnitPrice_PurchaseQueryBillProduct
  1983. {
  1984. get
  1985. {
  1986. try
  1987. {
  1988. return (decimal)base[tablePurchaseQueryBillProduct.UnitPrice_PurchaseQueryBillProductColumn];
  1989. }
  1990. catch (InvalidCastException innerException)
  1991. {
  1992. throw new StrongTypingException("The value for column 'UnitPrice_PurchaseQueryBillProduct' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  1993. }
  1994. }
  1995. set
  1996. {
  1997. base[tablePurchaseQueryBillProduct.UnitPrice_PurchaseQueryBillProductColumn] = value;
  1998. }
  1999. }
  2000. [DebuggerNonUserCode]
  2001. public string Comment_PurchaseQueryBillProduct
  2002. {
  2003. get
  2004. {
  2005. try
  2006. {
  2007. return (string)base[tablePurchaseQueryBillProduct.Comment_PurchaseQueryBillProductColumn];
  2008. }
  2009. catch (InvalidCastException innerException)
  2010. {
  2011. throw new StrongTypingException("The value for column 'Comment_PurchaseQueryBillProduct' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  2012. }
  2013. }
  2014. set
  2015. {
  2016. base[tablePurchaseQueryBillProduct.Comment_PurchaseQueryBillProductColumn] = value;
  2017. }
  2018. }
  2019. [DebuggerNonUserCode]
  2020. public string No_Product
  2021. {
  2022. get
  2023. {
  2024. try
  2025. {
  2026. return (string)base[tablePurchaseQueryBillProduct.No_ProductColumn];
  2027. }
  2028. catch (InvalidCastException innerException)
  2029. {
  2030. throw new StrongTypingException("The value for column 'No_Product' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  2031. }
  2032. }
  2033. set
  2034. {
  2035. base[tablePurchaseQueryBillProduct.No_ProductColumn] = value;
  2036. }
  2037. }
  2038. [DebuggerNonUserCode]
  2039. public string Name_Product
  2040. {
  2041. get
  2042. {
  2043. try
  2044. {
  2045. return (string)base[tablePurchaseQueryBillProduct.Name_ProductColumn];
  2046. }
  2047. catch (InvalidCastException innerException)
  2048. {
  2049. throw new StrongTypingException("The value for column 'Name_Product' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  2050. }
  2051. }
  2052. set
  2053. {
  2054. base[tablePurchaseQueryBillProduct.Name_ProductColumn] = value;
  2055. }
  2056. }
  2057. [DebuggerNonUserCode]
  2058. public string Unit_Product
  2059. {
  2060. get
  2061. {
  2062. try
  2063. {
  2064. return (string)base[tablePurchaseQueryBillProduct.Unit_ProductColumn];
  2065. }
  2066. catch (InvalidCastException innerException)
  2067. {
  2068. throw new StrongTypingException("The value for column 'Unit_Product' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  2069. }
  2070. }
  2071. set
  2072. {
  2073. base[tablePurchaseQueryBillProduct.Unit_ProductColumn] = value;
  2074. }
  2075. }
  2076. [DebuggerNonUserCode]
  2077. public decimal Money
  2078. {
  2079. get
  2080. {
  2081. try
  2082. {
  2083. return (decimal)base[tablePurchaseQueryBillProduct.MoneyColumn];
  2084. }
  2085. catch (InvalidCastException innerException)
  2086. {
  2087. throw new StrongTypingException("The value for column 'Money' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  2088. }
  2089. }
  2090. set
  2091. {
  2092. base[tablePurchaseQueryBillProduct.MoneyColumn] = value;
  2093. }
  2094. }
  2095. [DebuggerNonUserCode]
  2096. public string No_PurchaseQueryBill
  2097. {
  2098. get
  2099. {
  2100. try
  2101. {
  2102. return (string)base[tablePurchaseQueryBillProduct.No_PurchaseQueryBillColumn];
  2103. }
  2104. catch (InvalidCastException innerException)
  2105. {
  2106. throw new StrongTypingException("The value for column 'No_PurchaseQueryBill' in table 'PurchaseQueryBillProduct' is DBNull.", innerException);
  2107. }
  2108. }
  2109. set
  2110. {
  2111. base[tablePurchaseQueryBillProduct.No_PurchaseQueryBillColumn] = value;
  2112. }
  2113. }
  2114. [DebuggerNonUserCode]
  2115. internal PurchaseQueryBillProductRow(DataRowBuilder rb)
  2116. : base(rb)
  2117. {
  2118. tablePurchaseQueryBillProduct = (PurchaseQueryBillProductDataTable)base.Table;
  2119. }
  2120. [DebuggerNonUserCode]
  2121. public bool IsNo_PurchaseQueryBillProductNull()
  2122. {
  2123. return IsNull(tablePurchaseQueryBillProduct.No_PurchaseQueryBillProductColumn);
  2124. }
  2125. [DebuggerNonUserCode]
  2126. public void SetNo_PurchaseQueryBillProductNull()
  2127. {
  2128. base[tablePurchaseQueryBillProduct.No_PurchaseQueryBillProductColumn] = Convert.DBNull;
  2129. }
  2130. [DebuggerNonUserCode]
  2131. public bool IsQuantity_PurchaseQueryBillProductNull()
  2132. {
  2133. return IsNull(tablePurchaseQueryBillProduct.Quantity_PurchaseQueryBillProductColumn);
  2134. }
  2135. [DebuggerNonUserCode]
  2136. public void SetQuantity_PurchaseQueryBillProductNull()
  2137. {
  2138. base[tablePurchaseQueryBillProduct.Quantity_PurchaseQueryBillProductColumn] = Convert.DBNull;
  2139. }
  2140. [DebuggerNonUserCode]
  2141. public bool IsUnitPrice_PurchaseQueryBillProductNull()
  2142. {
  2143. return IsNull(tablePurchaseQueryBillProduct.UnitPrice_PurchaseQueryBillProductColumn);
  2144. }
  2145. [DebuggerNonUserCode]
  2146. public void SetUnitPrice_PurchaseQueryBillProductNull()
  2147. {
  2148. base[tablePurchaseQueryBillProduct.UnitPrice_PurchaseQueryBillProductColumn] = Convert.DBNull;
  2149. }
  2150. [DebuggerNonUserCode]
  2151. public bool IsComment_PurchaseQueryBillProductNull()
  2152. {
  2153. return IsNull(tablePurchaseQueryBillProduct.Comment_PurchaseQueryBillProductColumn);
  2154. }
  2155. [DebuggerNonUserCode]
  2156. public void SetComment_PurchaseQueryBillProductNull()
  2157. {
  2158. base[tablePurchaseQueryBillProduct.Comment_PurchaseQueryBillProductColumn] = Convert.DBNull;
  2159. }
  2160. [DebuggerNonUserCode]
  2161. public bool IsNo_ProductNull()
  2162. {
  2163. return IsNull(tablePurchaseQueryBillProduct.No_ProductColumn);
  2164. }
  2165. [DebuggerNonUserCode]
  2166. public void SetNo_ProductNull()
  2167. {
  2168. base[tablePurchaseQueryBillProduct.No_ProductColumn] = Convert.DBNull;
  2169. }
  2170. [DebuggerNonUserCode]
  2171. public bool IsName_ProductNull()
  2172. {
  2173. return IsNull(tablePurchaseQueryBillProduct.Name_ProductColumn);
  2174. }
  2175. [DebuggerNonUserCode]
  2176. public void SetName_ProductNull()
  2177. {
  2178. base[tablePurchaseQueryBillProduct.Name_ProductColumn] = Convert.DBNull;
  2179. }
  2180. [DebuggerNonUserCode]
  2181. public bool IsUnit_ProductNull()
  2182. {
  2183. return IsNull(tablePurchaseQueryBillProduct.Unit_ProductColumn);
  2184. }
  2185. [DebuggerNonUserCode]
  2186. public void SetUnit_ProductNull()
  2187. {
  2188. base[tablePurchaseQueryBillProduct.Unit_ProductColumn] = Convert.DBNull;
  2189. }
  2190. [DebuggerNonUserCode]
  2191. public bool IsMoneyNull()
  2192. {
  2193. return IsNull(tablePurchaseQueryBillProduct.MoneyColumn);
  2194. }
  2195. [DebuggerNonUserCode]
  2196. public void SetMoneyNull()
  2197. {
  2198. base[tablePurchaseQueryBillProduct.MoneyColumn] = Convert.DBNull;
  2199. }
  2200. [DebuggerNonUserCode]
  2201. public bool IsNo_PurchaseQueryBillNull()
  2202. {
  2203. return IsNull(tablePurchaseQueryBillProduct.No_PurchaseQueryBillColumn);
  2204. }
  2205. [DebuggerNonUserCode]
  2206. public void SetNo_PurchaseQueryBillNull()
  2207. {
  2208. base[tablePurchaseQueryBillProduct.No_PurchaseQueryBillColumn] = Convert.DBNull;
  2209. }
  2210. }
  2211. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2212. public class BillCommentRow : DataRow
  2213. {
  2214. private BillCommentDataTable tableBillComment;
  2215. [DebuggerNonUserCode]
  2216. public string Comment_BillComment
  2217. {
  2218. get
  2219. {
  2220. try
  2221. {
  2222. return (string)base[tableBillComment.Comment_BillCommentColumn];
  2223. }
  2224. catch (InvalidCastException innerException)
  2225. {
  2226. throw new StrongTypingException("The value for column 'Comment_BillComment' in table 'BillComment' is DBNull.", innerException);
  2227. }
  2228. }
  2229. set
  2230. {
  2231. base[tableBillComment.Comment_BillCommentColumn] = value;
  2232. }
  2233. }
  2234. [DebuggerNonUserCode]
  2235. internal BillCommentRow(DataRowBuilder rb)
  2236. : base(rb)
  2237. {
  2238. tableBillComment = (BillCommentDataTable)base.Table;
  2239. }
  2240. [DebuggerNonUserCode]
  2241. public bool IsComment_BillCommentNull()
  2242. {
  2243. return IsNull(tableBillComment.Comment_BillCommentColumn);
  2244. }
  2245. [DebuggerNonUserCode]
  2246. public void SetComment_BillCommentNull()
  2247. {
  2248. base[tableBillComment.Comment_BillCommentColumn] = Convert.DBNull;
  2249. }
  2250. }
  2251. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2252. public class ReportCommentRow : DataRow
  2253. {
  2254. private ReportCommentDataTable tableReportComment;
  2255. [DebuggerNonUserCode]
  2256. public string Comment_ReportComment
  2257. {
  2258. get
  2259. {
  2260. try
  2261. {
  2262. return (string)base[tableReportComment.Comment_ReportCommentColumn];
  2263. }
  2264. catch (InvalidCastException innerException)
  2265. {
  2266. throw new StrongTypingException("The value for column 'Comment_ReportComment' in table 'ReportComment' is DBNull.", innerException);
  2267. }
  2268. }
  2269. set
  2270. {
  2271. base[tableReportComment.Comment_ReportCommentColumn] = value;
  2272. }
  2273. }
  2274. [DebuggerNonUserCode]
  2275. public string No_PurchaseQueryBill
  2276. {
  2277. get
  2278. {
  2279. try
  2280. {
  2281. return (string)base[tableReportComment.No_PurchaseQueryBillColumn];
  2282. }
  2283. catch (InvalidCastException innerException)
  2284. {
  2285. throw new StrongTypingException("The value for column 'No_PurchaseQueryBill' in table 'ReportComment' is DBNull.", innerException);
  2286. }
  2287. }
  2288. set
  2289. {
  2290. base[tableReportComment.No_PurchaseQueryBillColumn] = value;
  2291. }
  2292. }
  2293. [DebuggerNonUserCode]
  2294. internal ReportCommentRow(DataRowBuilder rb)
  2295. : base(rb)
  2296. {
  2297. tableReportComment = (ReportCommentDataTable)base.Table;
  2298. }
  2299. [DebuggerNonUserCode]
  2300. public bool IsComment_ReportCommentNull()
  2301. {
  2302. return IsNull(tableReportComment.Comment_ReportCommentColumn);
  2303. }
  2304. [DebuggerNonUserCode]
  2305. public void SetComment_ReportCommentNull()
  2306. {
  2307. base[tableReportComment.Comment_ReportCommentColumn] = Convert.DBNull;
  2308. }
  2309. [DebuggerNonUserCode]
  2310. public bool IsNo_PurchaseQueryBillNull()
  2311. {
  2312. return IsNull(tableReportComment.No_PurchaseQueryBillColumn);
  2313. }
  2314. [DebuggerNonUserCode]
  2315. public void SetNo_PurchaseQueryBillNull()
  2316. {
  2317. base[tableReportComment.No_PurchaseQueryBillColumn] = Convert.DBNull;
  2318. }
  2319. }
  2320. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2321. public class AppendInfoRow : DataRow
  2322. {
  2323. private AppendInfoDataTable tableAppendInfo;
  2324. [DebuggerNonUserCode]
  2325. public string CurrentCompany
  2326. {
  2327. get
  2328. {
  2329. try
  2330. {
  2331. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  2332. }
  2333. catch (InvalidCastException innerException)
  2334. {
  2335. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  2336. }
  2337. }
  2338. set
  2339. {
  2340. base[tableAppendInfo.CurrentCompanyColumn] = value;
  2341. }
  2342. }
  2343. [DebuggerNonUserCode]
  2344. public string CurrentUser
  2345. {
  2346. get
  2347. {
  2348. try
  2349. {
  2350. return (string)base[tableAppendInfo.CurrentUserColumn];
  2351. }
  2352. catch (InvalidCastException innerException)
  2353. {
  2354. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  2355. }
  2356. }
  2357. set
  2358. {
  2359. base[tableAppendInfo.CurrentUserColumn] = value;
  2360. }
  2361. }
  2362. [DebuggerNonUserCode]
  2363. internal AppendInfoRow(DataRowBuilder rb)
  2364. : base(rb)
  2365. {
  2366. tableAppendInfo = (AppendInfoDataTable)base.Table;
  2367. }
  2368. [DebuggerNonUserCode]
  2369. public bool IsCurrentCompanyNull()
  2370. {
  2371. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  2372. }
  2373. [DebuggerNonUserCode]
  2374. public void SetCurrentCompanyNull()
  2375. {
  2376. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  2377. }
  2378. [DebuggerNonUserCode]
  2379. public bool IsCurrentUserNull()
  2380. {
  2381. return IsNull(tableAppendInfo.CurrentUserColumn);
  2382. }
  2383. [DebuggerNonUserCode]
  2384. public void SetCurrentUserNull()
  2385. {
  2386. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  2387. }
  2388. }
  2389. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2390. public class PurchaseQueryBillRowChangeEvent : EventArgs
  2391. {
  2392. private PurchaseQueryBillRow eventRow;
  2393. private DataRowAction eventAction;
  2394. [DebuggerNonUserCode]
  2395. public PurchaseQueryBillRow Row => eventRow;
  2396. [DebuggerNonUserCode]
  2397. public DataRowAction Action => eventAction;
  2398. [DebuggerNonUserCode]
  2399. public PurchaseQueryBillRowChangeEvent(PurchaseQueryBillRow row, DataRowAction action)
  2400. {
  2401. eventRow = row;
  2402. eventAction = action;
  2403. }
  2404. }
  2405. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2406. public class PurchaseQueryBillProductRowChangeEvent : EventArgs
  2407. {
  2408. private PurchaseQueryBillProductRow eventRow;
  2409. private DataRowAction eventAction;
  2410. [DebuggerNonUserCode]
  2411. public PurchaseQueryBillProductRow Row => eventRow;
  2412. [DebuggerNonUserCode]
  2413. public DataRowAction Action => eventAction;
  2414. [DebuggerNonUserCode]
  2415. public PurchaseQueryBillProductRowChangeEvent(PurchaseQueryBillProductRow row, DataRowAction action)
  2416. {
  2417. eventRow = row;
  2418. eventAction = action;
  2419. }
  2420. }
  2421. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2422. public class BillCommentRowChangeEvent : EventArgs
  2423. {
  2424. private BillCommentRow eventRow;
  2425. private DataRowAction eventAction;
  2426. [DebuggerNonUserCode]
  2427. public BillCommentRow Row => eventRow;
  2428. [DebuggerNonUserCode]
  2429. public DataRowAction Action => eventAction;
  2430. [DebuggerNonUserCode]
  2431. public BillCommentRowChangeEvent(BillCommentRow row, DataRowAction action)
  2432. {
  2433. eventRow = row;
  2434. eventAction = action;
  2435. }
  2436. }
  2437. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2438. public class ReportCommentRowChangeEvent : EventArgs
  2439. {
  2440. private ReportCommentRow eventRow;
  2441. private DataRowAction eventAction;
  2442. [DebuggerNonUserCode]
  2443. public ReportCommentRow Row => eventRow;
  2444. [DebuggerNonUserCode]
  2445. public DataRowAction Action => eventAction;
  2446. [DebuggerNonUserCode]
  2447. public ReportCommentRowChangeEvent(ReportCommentRow row, DataRowAction action)
  2448. {
  2449. eventRow = row;
  2450. eventAction = action;
  2451. }
  2452. }
  2453. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2454. public class AppendInfoRowChangeEvent : EventArgs
  2455. {
  2456. private AppendInfoRow eventRow;
  2457. private DataRowAction eventAction;
  2458. [DebuggerNonUserCode]
  2459. public AppendInfoRow Row => eventRow;
  2460. [DebuggerNonUserCode]
  2461. public DataRowAction Action => eventAction;
  2462. [DebuggerNonUserCode]
  2463. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  2464. {
  2465. eventRow = row;
  2466. eventAction = action;
  2467. }
  2468. }
  2469. private PurchaseQueryBillDataTable tablePurchaseQueryBill;
  2470. private PurchaseQueryBillProductDataTable tablePurchaseQueryBillProduct;
  2471. private BillCommentDataTable tableBillComment;
  2472. private ReportCommentDataTable tableReportComment;
  2473. private AppendInfoDataTable tableAppendInfo;
  2474. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  2475. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2476. [DebuggerNonUserCode]
  2477. [Browsable(false)]
  2478. public PurchaseQueryBillDataTable PurchaseQueryBill => tablePurchaseQueryBill;
  2479. [DebuggerNonUserCode]
  2480. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2481. [Browsable(false)]
  2482. public PurchaseQueryBillProductDataTable PurchaseQueryBillProduct => tablePurchaseQueryBillProduct;
  2483. [DebuggerNonUserCode]
  2484. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2485. [Browsable(false)]
  2486. public BillCommentDataTable BillComment => tableBillComment;
  2487. [Browsable(false)]
  2488. [DebuggerNonUserCode]
  2489. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2490. public ReportCommentDataTable ReportComment => tableReportComment;
  2491. [Browsable(false)]
  2492. [DebuggerNonUserCode]
  2493. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2494. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  2495. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  2496. [DebuggerNonUserCode]
  2497. [Browsable(true)]
  2498. public override SchemaSerializationMode SchemaSerializationMode
  2499. {
  2500. get
  2501. {
  2502. return _schemaSerializationMode;
  2503. }
  2504. set
  2505. {
  2506. _schemaSerializationMode = value;
  2507. }
  2508. }
  2509. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  2510. [DebuggerNonUserCode]
  2511. public new DataTableCollection Tables => base.Tables;
  2512. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  2513. [DebuggerNonUserCode]
  2514. public new DataRelationCollection Relations => base.Relations;
  2515. [DebuggerNonUserCode]
  2516. public dsFrmPurchaseQueryBill()
  2517. {
  2518. BeginInit();
  2519. InitClass();
  2520. CollectionChangeEventHandler value = SchemaChanged;
  2521. base.Tables.CollectionChanged += value;
  2522. base.Relations.CollectionChanged += value;
  2523. EndInit();
  2524. }
  2525. [DebuggerNonUserCode]
  2526. protected dsFrmPurchaseQueryBill(SerializationInfo info, StreamingContext context)
  2527. : base(info, context, ConstructSchema: false)
  2528. {
  2529. if (IsBinarySerialized(info, context))
  2530. {
  2531. InitVars(initTable: false);
  2532. CollectionChangeEventHandler value = SchemaChanged;
  2533. Tables.CollectionChanged += value;
  2534. Relations.CollectionChanged += value;
  2535. return;
  2536. }
  2537. string s = (string)info.GetValue("XmlSchema", typeof(string));
  2538. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  2539. {
  2540. DataSet dataSet = new DataSet();
  2541. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  2542. if (dataSet.Tables["PurchaseQueryBill"] != null)
  2543. {
  2544. base.Tables.Add(new PurchaseQueryBillDataTable(dataSet.Tables["PurchaseQueryBill"]));
  2545. }
  2546. if (dataSet.Tables["PurchaseQueryBillProduct"] != null)
  2547. {
  2548. base.Tables.Add(new PurchaseQueryBillProductDataTable(dataSet.Tables["PurchaseQueryBillProduct"]));
  2549. }
  2550. if (dataSet.Tables["BillComment"] != null)
  2551. {
  2552. base.Tables.Add(new BillCommentDataTable(dataSet.Tables["BillComment"]));
  2553. }
  2554. if (dataSet.Tables["ReportComment"] != null)
  2555. {
  2556. base.Tables.Add(new ReportCommentDataTable(dataSet.Tables["ReportComment"]));
  2557. }
  2558. if (dataSet.Tables["AppendInfo"] != null)
  2559. {
  2560. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  2561. }
  2562. base.DataSetName = dataSet.DataSetName;
  2563. base.Prefix = dataSet.Prefix;
  2564. base.Namespace = dataSet.Namespace;
  2565. base.Locale = dataSet.Locale;
  2566. base.CaseSensitive = dataSet.CaseSensitive;
  2567. base.EnforceConstraints = dataSet.EnforceConstraints;
  2568. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  2569. InitVars();
  2570. }
  2571. else
  2572. {
  2573. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  2574. }
  2575. GetSerializationData(info, context);
  2576. CollectionChangeEventHandler value2 = SchemaChanged;
  2577. base.Tables.CollectionChanged += value2;
  2578. Relations.CollectionChanged += value2;
  2579. }
  2580. [DebuggerNonUserCode]
  2581. protected override void InitializeDerivedDataSet()
  2582. {
  2583. BeginInit();
  2584. InitClass();
  2585. EndInit();
  2586. }
  2587. [DebuggerNonUserCode]
  2588. public override DataSet Clone()
  2589. {
  2590. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = (dsFrmPurchaseQueryBill)base.Clone();
  2591. dsFrmPurchaseQueryBill.InitVars();
  2592. dsFrmPurchaseQueryBill.SchemaSerializationMode = SchemaSerializationMode;
  2593. return dsFrmPurchaseQueryBill;
  2594. }
  2595. [DebuggerNonUserCode]
  2596. protected override bool ShouldSerializeTables()
  2597. {
  2598. return false;
  2599. }
  2600. [DebuggerNonUserCode]
  2601. protected override bool ShouldSerializeRelations()
  2602. {
  2603. return false;
  2604. }
  2605. [DebuggerNonUserCode]
  2606. protected override void ReadXmlSerializable(XmlReader reader)
  2607. {
  2608. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  2609. {
  2610. Reset();
  2611. DataSet dataSet = new DataSet();
  2612. dataSet.ReadXml(reader);
  2613. if (dataSet.Tables["PurchaseQueryBill"] != null)
  2614. {
  2615. base.Tables.Add(new PurchaseQueryBillDataTable(dataSet.Tables["PurchaseQueryBill"]));
  2616. }
  2617. if (dataSet.Tables["PurchaseQueryBillProduct"] != null)
  2618. {
  2619. base.Tables.Add(new PurchaseQueryBillProductDataTable(dataSet.Tables["PurchaseQueryBillProduct"]));
  2620. }
  2621. if (dataSet.Tables["BillComment"] != null)
  2622. {
  2623. base.Tables.Add(new BillCommentDataTable(dataSet.Tables["BillComment"]));
  2624. }
  2625. if (dataSet.Tables["ReportComment"] != null)
  2626. {
  2627. base.Tables.Add(new ReportCommentDataTable(dataSet.Tables["ReportComment"]));
  2628. }
  2629. if (dataSet.Tables["AppendInfo"] != null)
  2630. {
  2631. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  2632. }
  2633. base.DataSetName = dataSet.DataSetName;
  2634. base.Prefix = dataSet.Prefix;
  2635. base.Namespace = dataSet.Namespace;
  2636. base.Locale = dataSet.Locale;
  2637. base.CaseSensitive = dataSet.CaseSensitive;
  2638. base.EnforceConstraints = dataSet.EnforceConstraints;
  2639. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  2640. InitVars();
  2641. }
  2642. else
  2643. {
  2644. ReadXml(reader);
  2645. InitVars();
  2646. }
  2647. }
  2648. [DebuggerNonUserCode]
  2649. protected override XmlSchema GetSchemaSerializable()
  2650. {
  2651. MemoryStream memoryStream = new MemoryStream();
  2652. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  2653. memoryStream.Position = 0L;
  2654. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  2655. }
  2656. [DebuggerNonUserCode]
  2657. internal void InitVars()
  2658. {
  2659. InitVars(initTable: true);
  2660. }
  2661. [DebuggerNonUserCode]
  2662. internal void InitVars(bool initTable)
  2663. {
  2664. tablePurchaseQueryBill = (PurchaseQueryBillDataTable)base.Tables["PurchaseQueryBill"];
  2665. if (initTable && tablePurchaseQueryBill != null)
  2666. {
  2667. tablePurchaseQueryBill.InitVars();
  2668. }
  2669. tablePurchaseQueryBillProduct = (PurchaseQueryBillProductDataTable)base.Tables["PurchaseQueryBillProduct"];
  2670. if (initTable && tablePurchaseQueryBillProduct != null)
  2671. {
  2672. tablePurchaseQueryBillProduct.InitVars();
  2673. }
  2674. tableBillComment = (BillCommentDataTable)base.Tables["BillComment"];
  2675. if (initTable && tableBillComment != null)
  2676. {
  2677. tableBillComment.InitVars();
  2678. }
  2679. tableReportComment = (ReportCommentDataTable)base.Tables["ReportComment"];
  2680. if (initTable && tableReportComment != null)
  2681. {
  2682. tableReportComment.InitVars();
  2683. }
  2684. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  2685. if (initTable && tableAppendInfo != null)
  2686. {
  2687. tableAppendInfo.InitVars();
  2688. }
  2689. }
  2690. [DebuggerNonUserCode]
  2691. private void InitClass()
  2692. {
  2693. base.DataSetName = "dsFrmPurchaseQueryBill";
  2694. base.Prefix = "";
  2695. base.Namespace = "http://tempuri.org/dsFrmPurchaseQueryBill.xsd";
  2696. base.EnforceConstraints = true;
  2697. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  2698. tablePurchaseQueryBill = new PurchaseQueryBillDataTable();
  2699. base.Tables.Add(tablePurchaseQueryBill);
  2700. tablePurchaseQueryBillProduct = new PurchaseQueryBillProductDataTable();
  2701. base.Tables.Add(tablePurchaseQueryBillProduct);
  2702. tableBillComment = new BillCommentDataTable();
  2703. base.Tables.Add(tableBillComment);
  2704. tableReportComment = new ReportCommentDataTable();
  2705. base.Tables.Add(tableReportComment);
  2706. tableAppendInfo = new AppendInfoDataTable();
  2707. base.Tables.Add(tableAppendInfo);
  2708. }
  2709. [DebuggerNonUserCode]
  2710. private bool ShouldSerializePurchaseQueryBill()
  2711. {
  2712. return false;
  2713. }
  2714. [DebuggerNonUserCode]
  2715. private bool ShouldSerializePurchaseQueryBillProduct()
  2716. {
  2717. return false;
  2718. }
  2719. [DebuggerNonUserCode]
  2720. private bool ShouldSerializeBillComment()
  2721. {
  2722. return false;
  2723. }
  2724. [DebuggerNonUserCode]
  2725. private bool ShouldSerializeReportComment()
  2726. {
  2727. return false;
  2728. }
  2729. [DebuggerNonUserCode]
  2730. private bool ShouldSerializeAppendInfo()
  2731. {
  2732. return false;
  2733. }
  2734. [DebuggerNonUserCode]
  2735. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  2736. {
  2737. if (e.Action == CollectionChangeAction.Remove)
  2738. {
  2739. InitVars();
  2740. }
  2741. }
  2742. [DebuggerNonUserCode]
  2743. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  2744. {
  2745. dsFrmPurchaseQueryBill dsFrmPurchaseQueryBill = new dsFrmPurchaseQueryBill();
  2746. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  2747. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  2748. xs.Add(dsFrmPurchaseQueryBill.GetSchemaSerializable());
  2749. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  2750. xmlSchemaAny.Namespace = dsFrmPurchaseQueryBill.Namespace;
  2751. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  2752. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  2753. return xmlSchemaComplexType;
  2754. }
  2755. }
  2756. }