dsFrmSaleBill.cs 104 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794
  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. [XmlSchemaProvider("GetTypedDataSetSchema")]
  18. [XmlRoot("dsFrmSaleBill")]
  19. [ToolboxItem(true)]
  20. [HelpKeyword("vs.data.DataSet")]
  21. [DesignerCategory("code")]
  22. public class dsFrmSaleBill : DataSet
  23. {
  24. public delegate void SaleBillRowChangeEventHandler(object sender, SaleBillRowChangeEvent e);
  25. public delegate void SaleBillProductRowChangeEventHandler(object sender, SaleBillProductRowChangeEvent e);
  26. public delegate void ReportCommentRowChangeEventHandler(object sender, ReportCommentRowChangeEvent e);
  27. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  28. [Serializable]
  29. [XmlSchemaProvider("GetTypedTableSchema")]
  30. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  31. public class SaleBillDataTable : DataTable, IEnumerable
  32. {
  33. private DataColumn columnNo_SaleBill;
  34. private DataColumn columnDate_SaleBill;
  35. private DataColumn columnNo_OrderBill;
  36. private DataColumn columnGetMethod_SaleBill;
  37. private DataColumn columnToGet_SaleBill;
  38. private DataColumn columnName_Linkman;
  39. private DataColumn columnTel_SaleBill;
  40. private DataColumn columnFax_SaleBill;
  41. private DataColumn columnSendAddr_SaleBill;
  42. private DataColumn columnInvoiceAddress_Company;
  43. private DataColumn columnInvoiceTitle_Company;
  44. private DataColumn columnTaxCurrency_SaleBill;
  45. private DataColumn columnCurrency_SaleBill;
  46. private DataColumn columnPrincipal_SaleBill;
  47. private DataColumn columnAssessDate_SaleBill;
  48. private DataColumn columnAssess_SaleBill;
  49. private DataColumn columnDisable_SaleBill;
  50. private DataColumn columnCreateDate_SaleBill;
  51. private DataColumn columnLastModDate_SaleBill;
  52. private DataColumn columnTransBack_SaleBill;
  53. private DataColumn columnTransBackDate_SaleBill;
  54. private DataColumn columnAmount_SaleBill;
  55. private DataColumn columnRespite_SaleBill;
  56. private DataColumn columnGoodsAmount_SaleBill;
  57. private DataColumn columnTaxAmount_SaleBill;
  58. private DataColumn columnStrikedGoodsAmount_SaleBill;
  59. private DataColumn columnStrikedTaxAmount_SaleBill;
  60. private DataColumn columnNo_Customer;
  61. private DataColumn columnName_Customer;
  62. private DataColumn columnShortName_Customer;
  63. private DataColumn columnType_Customer;
  64. private DataColumn columnLastDiscount_Customer;
  65. private DataColumn columnPostalCode_Customer;
  66. private DataColumn columnName_Creator;
  67. private DataColumn columnName_Assessor;
  68. private DataColumn columnLastModUserName;
  69. private DataColumn columnNo_Location;
  70. private DataColumn columnName_Location;
  71. private DataColumn columnNumSum;
  72. private DataColumn columnMoneySum;
  73. private DataColumn columnTaxSum;
  74. private DataColumn columnNo_Principal;
  75. private DataColumn columnRegistedAddress_Customer;
  76. [DebuggerNonUserCode]
  77. public DataColumn No_SaleBillColumn => columnNo_SaleBill;
  78. [DebuggerNonUserCode]
  79. public DataColumn Date_SaleBillColumn => columnDate_SaleBill;
  80. [DebuggerNonUserCode]
  81. public DataColumn No_OrderBillColumn => columnNo_OrderBill;
  82. [DebuggerNonUserCode]
  83. public DataColumn GetMethod_SaleBillColumn => columnGetMethod_SaleBill;
  84. [DebuggerNonUserCode]
  85. public DataColumn ToGet_SaleBillColumn => columnToGet_SaleBill;
  86. [DebuggerNonUserCode]
  87. public DataColumn Name_LinkmanColumn => columnName_Linkman;
  88. [DebuggerNonUserCode]
  89. public DataColumn Tel_SaleBillColumn => columnTel_SaleBill;
  90. [DebuggerNonUserCode]
  91. public DataColumn Fax_SaleBillColumn => columnFax_SaleBill;
  92. [DebuggerNonUserCode]
  93. public DataColumn SendAddr_SaleBillColumn => columnSendAddr_SaleBill;
  94. [DebuggerNonUserCode]
  95. public DataColumn InvoiceAddress_CompanyColumn => columnInvoiceAddress_Company;
  96. [DebuggerNonUserCode]
  97. public DataColumn InvoiceTitle_CompanyColumn => columnInvoiceTitle_Company;
  98. [DebuggerNonUserCode]
  99. public DataColumn TaxCurrency_SaleBillColumn => columnTaxCurrency_SaleBill;
  100. [DebuggerNonUserCode]
  101. public DataColumn Currency_SaleBillColumn => columnCurrency_SaleBill;
  102. [DebuggerNonUserCode]
  103. public DataColumn Principal_SaleBillColumn => columnPrincipal_SaleBill;
  104. [DebuggerNonUserCode]
  105. public DataColumn AssessDate_SaleBillColumn => columnAssessDate_SaleBill;
  106. [DebuggerNonUserCode]
  107. public DataColumn Assess_SaleBillColumn => columnAssess_SaleBill;
  108. [DebuggerNonUserCode]
  109. public DataColumn Disable_SaleBillColumn => columnDisable_SaleBill;
  110. [DebuggerNonUserCode]
  111. public DataColumn CreateDate_SaleBillColumn => columnCreateDate_SaleBill;
  112. [DebuggerNonUserCode]
  113. public DataColumn LastModDate_SaleBillColumn => columnLastModDate_SaleBill;
  114. [DebuggerNonUserCode]
  115. public DataColumn TransBack_SaleBillColumn => columnTransBack_SaleBill;
  116. [DebuggerNonUserCode]
  117. public DataColumn TransBackDate_SaleBillColumn => columnTransBackDate_SaleBill;
  118. [DebuggerNonUserCode]
  119. public DataColumn Amount_SaleBillColumn => columnAmount_SaleBill;
  120. [DebuggerNonUserCode]
  121. public DataColumn Respite_SaleBillColumn => columnRespite_SaleBill;
  122. [DebuggerNonUserCode]
  123. public DataColumn GoodsAmount_SaleBillColumn => columnGoodsAmount_SaleBill;
  124. [DebuggerNonUserCode]
  125. public DataColumn TaxAmount_SaleBillColumn => columnTaxAmount_SaleBill;
  126. [DebuggerNonUserCode]
  127. public DataColumn StrikedGoodsAmount_SaleBillColumn => columnStrikedGoodsAmount_SaleBill;
  128. [DebuggerNonUserCode]
  129. public DataColumn StrikedTaxAmount_SaleBillColumn => columnStrikedTaxAmount_SaleBill;
  130. [DebuggerNonUserCode]
  131. public DataColumn No_CustomerColumn => columnNo_Customer;
  132. [DebuggerNonUserCode]
  133. public DataColumn Name_CustomerColumn => columnName_Customer;
  134. [DebuggerNonUserCode]
  135. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  136. [DebuggerNonUserCode]
  137. public DataColumn Type_CustomerColumn => columnType_Customer;
  138. [DebuggerNonUserCode]
  139. public DataColumn LastDiscount_CustomerColumn => columnLastDiscount_Customer;
  140. [DebuggerNonUserCode]
  141. public DataColumn PostalCode_CustomerColumn => columnPostalCode_Customer;
  142. [DebuggerNonUserCode]
  143. public DataColumn Name_CreatorColumn => columnName_Creator;
  144. [DebuggerNonUserCode]
  145. public DataColumn Name_AssessorColumn => columnName_Assessor;
  146. [DebuggerNonUserCode]
  147. public DataColumn LastModUserNameColumn => columnLastModUserName;
  148. [DebuggerNonUserCode]
  149. public DataColumn No_LocationColumn => columnNo_Location;
  150. [DebuggerNonUserCode]
  151. public DataColumn Name_LocationColumn => columnName_Location;
  152. [DebuggerNonUserCode]
  153. public DataColumn NumSumColumn => columnNumSum;
  154. [DebuggerNonUserCode]
  155. public DataColumn MoneySumColumn => columnMoneySum;
  156. [DebuggerNonUserCode]
  157. public DataColumn TaxSumColumn => columnTaxSum;
  158. [DebuggerNonUserCode]
  159. public DataColumn No_PrincipalColumn => columnNo_Principal;
  160. [DebuggerNonUserCode]
  161. public DataColumn RegistedAddress_CustomerColumn => columnRegistedAddress_Customer;
  162. [DebuggerNonUserCode]
  163. [Browsable(false)]
  164. public int Count => base.Rows.Count;
  165. [DebuggerNonUserCode]
  166. public SaleBillRow this[int index] => (SaleBillRow)base.Rows[index];
  167. public event SaleBillRowChangeEventHandler SaleBillRowChanging;
  168. public event SaleBillRowChangeEventHandler SaleBillRowChanged;
  169. public event SaleBillRowChangeEventHandler SaleBillRowDeleting;
  170. public event SaleBillRowChangeEventHandler SaleBillRowDeleted;
  171. [DebuggerNonUserCode]
  172. public SaleBillDataTable()
  173. {
  174. base.TableName = "SaleBill";
  175. BeginInit();
  176. InitClass();
  177. EndInit();
  178. }
  179. [DebuggerNonUserCode]
  180. internal SaleBillDataTable(DataTable table)
  181. {
  182. base.TableName = table.TableName;
  183. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  184. {
  185. base.CaseSensitive = table.CaseSensitive;
  186. }
  187. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  188. {
  189. base.Locale = table.Locale;
  190. }
  191. if (table.Namespace != table.DataSet.Namespace)
  192. {
  193. base.Namespace = table.Namespace;
  194. }
  195. base.Prefix = table.Prefix;
  196. base.MinimumCapacity = table.MinimumCapacity;
  197. }
  198. [DebuggerNonUserCode]
  199. protected SaleBillDataTable(SerializationInfo info, StreamingContext context)
  200. : base(info, context)
  201. {
  202. InitVars();
  203. }
  204. [DebuggerNonUserCode]
  205. public void AddSaleBillRow(SaleBillRow row)
  206. {
  207. base.Rows.Add(row);
  208. }
  209. [DebuggerNonUserCode]
  210. public SaleBillRow AddSaleBillRow(string No_SaleBill, DateTime Date_SaleBill, string No_OrderBill, string GetMethod_SaleBill, decimal ToGet_SaleBill, string Name_Linkman, string Tel_SaleBill, string Fax_SaleBill, string SendAddr_SaleBill, string InvoiceAddress_Company, string InvoiceTitle_Company, string TaxCurrency_SaleBill, string Currency_SaleBill, string Principal_SaleBill, DateTime AssessDate_SaleBill, bool Assess_SaleBill, bool Disable_SaleBill, DateTime CreateDate_SaleBill, DateTime LastModDate_SaleBill, bool TransBack_SaleBill, DateTime TransBackDate_SaleBill, decimal Amount_SaleBill, bool Respite_SaleBill, decimal GoodsAmount_SaleBill, decimal TaxAmount_SaleBill, decimal StrikedGoodsAmount_SaleBill, decimal StrikedTaxAmount_SaleBill, string No_Customer, string Name_Customer, string ShortName_Customer, string Type_Customer, decimal LastDiscount_Customer, string PostalCode_Customer, string Name_Creator, string Name_Assessor, string LastModUserName, string No_Location, string Name_Location, decimal NumSum, decimal MoneySum, decimal TaxSum, string No_Principal, string RegistedAddress_Customer)
  211. {
  212. SaleBillRow saleBillRow = (SaleBillRow)NewRow();
  213. saleBillRow.ItemArray = new object[43]
  214. {
  215. No_SaleBill,
  216. Date_SaleBill,
  217. No_OrderBill,
  218. GetMethod_SaleBill,
  219. ToGet_SaleBill,
  220. Name_Linkman,
  221. Tel_SaleBill,
  222. Fax_SaleBill,
  223. SendAddr_SaleBill,
  224. InvoiceAddress_Company,
  225. InvoiceTitle_Company,
  226. TaxCurrency_SaleBill,
  227. Currency_SaleBill,
  228. Principal_SaleBill,
  229. AssessDate_SaleBill,
  230. Assess_SaleBill,
  231. Disable_SaleBill,
  232. CreateDate_SaleBill,
  233. LastModDate_SaleBill,
  234. TransBack_SaleBill,
  235. TransBackDate_SaleBill,
  236. Amount_SaleBill,
  237. Respite_SaleBill,
  238. GoodsAmount_SaleBill,
  239. TaxAmount_SaleBill,
  240. StrikedGoodsAmount_SaleBill,
  241. StrikedTaxAmount_SaleBill,
  242. No_Customer,
  243. Name_Customer,
  244. ShortName_Customer,
  245. Type_Customer,
  246. LastDiscount_Customer,
  247. PostalCode_Customer,
  248. Name_Creator,
  249. Name_Assessor,
  250. LastModUserName,
  251. No_Location,
  252. Name_Location,
  253. NumSum,
  254. MoneySum,
  255. TaxSum,
  256. No_Principal,
  257. RegistedAddress_Customer
  258. };
  259. base.Rows.Add(saleBillRow);
  260. return saleBillRow;
  261. }
  262. [DebuggerNonUserCode]
  263. public virtual IEnumerator GetEnumerator()
  264. {
  265. return base.Rows.GetEnumerator();
  266. }
  267. [DebuggerNonUserCode]
  268. public override DataTable Clone()
  269. {
  270. SaleBillDataTable saleBillDataTable = (SaleBillDataTable)base.Clone();
  271. saleBillDataTable.InitVars();
  272. return saleBillDataTable;
  273. }
  274. [DebuggerNonUserCode]
  275. protected override DataTable CreateInstance()
  276. {
  277. return new SaleBillDataTable();
  278. }
  279. [DebuggerNonUserCode]
  280. internal void InitVars()
  281. {
  282. columnNo_SaleBill = base.Columns["No_SaleBill"];
  283. columnDate_SaleBill = base.Columns["Date_SaleBill"];
  284. columnNo_OrderBill = base.Columns["No_OrderBill"];
  285. columnGetMethod_SaleBill = base.Columns["GetMethod_SaleBill"];
  286. columnToGet_SaleBill = base.Columns["ToGet_SaleBill"];
  287. columnName_Linkman = base.Columns["Name_Linkman"];
  288. columnTel_SaleBill = base.Columns["Tel_SaleBill"];
  289. columnFax_SaleBill = base.Columns["Fax_SaleBill"];
  290. columnSendAddr_SaleBill = base.Columns["SendAddr_SaleBill"];
  291. columnInvoiceAddress_Company = base.Columns["InvoiceAddress_Company"];
  292. columnInvoiceTitle_Company = base.Columns["InvoiceTitle_Company"];
  293. columnTaxCurrency_SaleBill = base.Columns["TaxCurrency_SaleBill"];
  294. columnCurrency_SaleBill = base.Columns["Currency_SaleBill"];
  295. columnPrincipal_SaleBill = base.Columns["Principal_SaleBill"];
  296. columnAssessDate_SaleBill = base.Columns["AssessDate_SaleBill"];
  297. columnAssess_SaleBill = base.Columns["Assess_SaleBill"];
  298. columnDisable_SaleBill = base.Columns["Disable_SaleBill"];
  299. columnCreateDate_SaleBill = base.Columns["CreateDate_SaleBill"];
  300. columnLastModDate_SaleBill = base.Columns["LastModDate_SaleBill"];
  301. columnTransBack_SaleBill = base.Columns["TransBack_SaleBill"];
  302. columnTransBackDate_SaleBill = base.Columns["TransBackDate_SaleBill"];
  303. columnAmount_SaleBill = base.Columns["Amount_SaleBill"];
  304. columnRespite_SaleBill = base.Columns["Respite_SaleBill"];
  305. columnGoodsAmount_SaleBill = base.Columns["GoodsAmount_SaleBill"];
  306. columnTaxAmount_SaleBill = base.Columns["TaxAmount_SaleBill"];
  307. columnStrikedGoodsAmount_SaleBill = base.Columns["StrikedGoodsAmount_SaleBill"];
  308. columnStrikedTaxAmount_SaleBill = base.Columns["StrikedTaxAmount_SaleBill"];
  309. columnNo_Customer = base.Columns["No_Customer"];
  310. columnName_Customer = base.Columns["Name_Customer"];
  311. columnShortName_Customer = base.Columns["ShortName_Customer"];
  312. columnType_Customer = base.Columns["Type_Customer"];
  313. columnLastDiscount_Customer = base.Columns["LastDiscount_Customer"];
  314. columnPostalCode_Customer = base.Columns["PostalCode_Customer"];
  315. columnName_Creator = base.Columns["Name_Creator"];
  316. columnName_Assessor = base.Columns["Name_Assessor"];
  317. columnLastModUserName = base.Columns["LastModUserName"];
  318. columnNo_Location = base.Columns["No_Location"];
  319. columnName_Location = base.Columns["Name_Location"];
  320. columnNumSum = base.Columns["NumSum"];
  321. columnMoneySum = base.Columns["MoneySum"];
  322. columnTaxSum = base.Columns["TaxSum"];
  323. columnNo_Principal = base.Columns["No_Principal"];
  324. columnRegistedAddress_Customer = base.Columns["RegistedAddress_Customer"];
  325. }
  326. [DebuggerNonUserCode]
  327. private void InitClass()
  328. {
  329. columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
  330. base.Columns.Add(columnNo_SaleBill);
  331. columnDate_SaleBill = new DataColumn("Date_SaleBill", typeof(DateTime), null, MappingType.Element);
  332. base.Columns.Add(columnDate_SaleBill);
  333. columnNo_OrderBill = new DataColumn("No_OrderBill", typeof(string), null, MappingType.Element);
  334. base.Columns.Add(columnNo_OrderBill);
  335. columnGetMethod_SaleBill = new DataColumn("GetMethod_SaleBill", typeof(string), null, MappingType.Element);
  336. base.Columns.Add(columnGetMethod_SaleBill);
  337. columnToGet_SaleBill = new DataColumn("ToGet_SaleBill", typeof(decimal), null, MappingType.Element);
  338. base.Columns.Add(columnToGet_SaleBill);
  339. columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element);
  340. base.Columns.Add(columnName_Linkman);
  341. columnTel_SaleBill = new DataColumn("Tel_SaleBill", typeof(string), null, MappingType.Element);
  342. base.Columns.Add(columnTel_SaleBill);
  343. columnFax_SaleBill = new DataColumn("Fax_SaleBill", typeof(string), null, MappingType.Element);
  344. base.Columns.Add(columnFax_SaleBill);
  345. columnSendAddr_SaleBill = new DataColumn("SendAddr_SaleBill", typeof(string), null, MappingType.Element);
  346. base.Columns.Add(columnSendAddr_SaleBill);
  347. columnInvoiceAddress_Company = new DataColumn("InvoiceAddress_Company", typeof(string), null, MappingType.Element);
  348. base.Columns.Add(columnInvoiceAddress_Company);
  349. columnInvoiceTitle_Company = new DataColumn("InvoiceTitle_Company", typeof(string), null, MappingType.Element);
  350. base.Columns.Add(columnInvoiceTitle_Company);
  351. columnTaxCurrency_SaleBill = new DataColumn("TaxCurrency_SaleBill", typeof(string), null, MappingType.Element);
  352. base.Columns.Add(columnTaxCurrency_SaleBill);
  353. columnCurrency_SaleBill = new DataColumn("Currency_SaleBill", typeof(string), null, MappingType.Element);
  354. base.Columns.Add(columnCurrency_SaleBill);
  355. columnPrincipal_SaleBill = new DataColumn("Principal_SaleBill", typeof(string), null, MappingType.Element);
  356. base.Columns.Add(columnPrincipal_SaleBill);
  357. columnAssessDate_SaleBill = new DataColumn("AssessDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  358. base.Columns.Add(columnAssessDate_SaleBill);
  359. columnAssess_SaleBill = new DataColumn("Assess_SaleBill", typeof(bool), null, MappingType.Element);
  360. base.Columns.Add(columnAssess_SaleBill);
  361. columnDisable_SaleBill = new DataColumn("Disable_SaleBill", typeof(bool), null, MappingType.Element);
  362. base.Columns.Add(columnDisable_SaleBill);
  363. columnCreateDate_SaleBill = new DataColumn("CreateDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  364. base.Columns.Add(columnCreateDate_SaleBill);
  365. columnLastModDate_SaleBill = new DataColumn("LastModDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  366. base.Columns.Add(columnLastModDate_SaleBill);
  367. columnTransBack_SaleBill = new DataColumn("TransBack_SaleBill", typeof(bool), null, MappingType.Element);
  368. base.Columns.Add(columnTransBack_SaleBill);
  369. columnTransBackDate_SaleBill = new DataColumn("TransBackDate_SaleBill", typeof(DateTime), null, MappingType.Element);
  370. base.Columns.Add(columnTransBackDate_SaleBill);
  371. columnAmount_SaleBill = new DataColumn("Amount_SaleBill", typeof(decimal), null, MappingType.Element);
  372. base.Columns.Add(columnAmount_SaleBill);
  373. columnRespite_SaleBill = new DataColumn("Respite_SaleBill", typeof(bool), null, MappingType.Element);
  374. base.Columns.Add(columnRespite_SaleBill);
  375. columnGoodsAmount_SaleBill = new DataColumn("GoodsAmount_SaleBill", typeof(decimal), null, MappingType.Element);
  376. base.Columns.Add(columnGoodsAmount_SaleBill);
  377. columnTaxAmount_SaleBill = new DataColumn("TaxAmount_SaleBill", typeof(decimal), null, MappingType.Element);
  378. base.Columns.Add(columnTaxAmount_SaleBill);
  379. columnStrikedGoodsAmount_SaleBill = new DataColumn("StrikedGoodsAmount_SaleBill", typeof(decimal), null, MappingType.Element);
  380. base.Columns.Add(columnStrikedGoodsAmount_SaleBill);
  381. columnStrikedTaxAmount_SaleBill = new DataColumn("StrikedTaxAmount_SaleBill", typeof(decimal), null, MappingType.Element);
  382. base.Columns.Add(columnStrikedTaxAmount_SaleBill);
  383. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  384. base.Columns.Add(columnNo_Customer);
  385. columnName_Customer = new DataColumn("Name_Customer", typeof(string), null, MappingType.Element);
  386. base.Columns.Add(columnName_Customer);
  387. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  388. base.Columns.Add(columnShortName_Customer);
  389. columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element);
  390. base.Columns.Add(columnType_Customer);
  391. columnLastDiscount_Customer = new DataColumn("LastDiscount_Customer", typeof(decimal), null, MappingType.Element);
  392. base.Columns.Add(columnLastDiscount_Customer);
  393. columnPostalCode_Customer = new DataColumn("PostalCode_Customer", typeof(string), null, MappingType.Element);
  394. base.Columns.Add(columnPostalCode_Customer);
  395. columnName_Creator = new DataColumn("Name_Creator", typeof(string), null, MappingType.Element);
  396. base.Columns.Add(columnName_Creator);
  397. columnName_Assessor = new DataColumn("Name_Assessor", typeof(string), null, MappingType.Element);
  398. base.Columns.Add(columnName_Assessor);
  399. columnLastModUserName = new DataColumn("LastModUserName", typeof(string), null, MappingType.Element);
  400. base.Columns.Add(columnLastModUserName);
  401. columnNo_Location = new DataColumn("No_Location", typeof(string), null, MappingType.Element);
  402. base.Columns.Add(columnNo_Location);
  403. columnName_Location = new DataColumn("Name_Location", typeof(string), null, MappingType.Element);
  404. base.Columns.Add(columnName_Location);
  405. columnNumSum = new DataColumn("NumSum", typeof(decimal), null, MappingType.Element);
  406. base.Columns.Add(columnNumSum);
  407. columnMoneySum = new DataColumn("MoneySum", typeof(decimal), null, MappingType.Element);
  408. base.Columns.Add(columnMoneySum);
  409. columnTaxSum = new DataColumn("TaxSum", typeof(decimal), null, MappingType.Element);
  410. base.Columns.Add(columnTaxSum);
  411. columnNo_Principal = new DataColumn("No_Principal", typeof(string), null, MappingType.Element);
  412. base.Columns.Add(columnNo_Principal);
  413. columnRegistedAddress_Customer = new DataColumn("RegistedAddress_Customer", typeof(string), null, MappingType.Element);
  414. base.Columns.Add(columnRegistedAddress_Customer);
  415. }
  416. [DebuggerNonUserCode]
  417. public SaleBillRow NewSaleBillRow()
  418. {
  419. return (SaleBillRow)NewRow();
  420. }
  421. [DebuggerNonUserCode]
  422. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  423. {
  424. return new SaleBillRow(builder);
  425. }
  426. [DebuggerNonUserCode]
  427. protected override Type GetRowType()
  428. {
  429. return typeof(SaleBillRow);
  430. }
  431. [DebuggerNonUserCode]
  432. protected override void OnRowChanged(DataRowChangeEventArgs e)
  433. {
  434. base.OnRowChanged(e);
  435. if (this.SaleBillRowChanged != null)
  436. {
  437. this.SaleBillRowChanged(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action));
  438. }
  439. }
  440. [DebuggerNonUserCode]
  441. protected override void OnRowChanging(DataRowChangeEventArgs e)
  442. {
  443. base.OnRowChanging(e);
  444. if (this.SaleBillRowChanging != null)
  445. {
  446. this.SaleBillRowChanging(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action));
  447. }
  448. }
  449. [DebuggerNonUserCode]
  450. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  451. {
  452. base.OnRowDeleted(e);
  453. if (this.SaleBillRowDeleted != null)
  454. {
  455. this.SaleBillRowDeleted(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action));
  456. }
  457. }
  458. [DebuggerNonUserCode]
  459. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  460. {
  461. base.OnRowDeleting(e);
  462. if (this.SaleBillRowDeleting != null)
  463. {
  464. this.SaleBillRowDeleting(this, new SaleBillRowChangeEvent((SaleBillRow)e.Row, e.Action));
  465. }
  466. }
  467. [DebuggerNonUserCode]
  468. public void RemoveSaleBillRow(SaleBillRow row)
  469. {
  470. base.Rows.Remove(row);
  471. }
  472. [DebuggerNonUserCode]
  473. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  474. {
  475. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  476. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  477. dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill();
  478. xs.Add(dsFrmSaleBill.GetSchemaSerializable());
  479. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  480. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  481. xmlSchemaAny.MinOccurs = 0m;
  482. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  483. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  484. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  485. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  486. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  487. xmlSchemaAny2.MinOccurs = 1m;
  488. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  489. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  490. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  491. xmlSchemaAttribute.Name = "namespace";
  492. xmlSchemaAttribute.FixedValue = dsFrmSaleBill.Namespace;
  493. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  494. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  495. xmlSchemaAttribute2.Name = "tableTypeName";
  496. xmlSchemaAttribute2.FixedValue = "SaleBillDataTable";
  497. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  498. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  499. return xmlSchemaComplexType;
  500. }
  501. }
  502. [Serializable]
  503. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  504. [XmlSchemaProvider("GetTypedTableSchema")]
  505. public class SaleBillProductDataTable : DataTable, IEnumerable
  506. {
  507. private DataColumn columnNo_SaleBillProduct;
  508. private DataColumn columnType_FromBill;
  509. private DataColumn columnNo_FromBill;
  510. private DataColumn columnNo_FromBillProduct;
  511. private DataColumn columnQuantity_SaleBillProduct;
  512. private DataColumn columnUnitPrice_SaleBillProduct;
  513. private DataColumn columnDiscount_SaleBillProduct;
  514. private DataColumn columnComment_SaleBillProduct;
  515. private DataColumn columnNo_Product;
  516. private DataColumn columnName_Product;
  517. private DataColumn columnUnit_Product;
  518. private DataColumn columnLowSalePrice_Product;
  519. private DataColumn columnAmount_SaleBillProduct;
  520. private DataColumn columnName_BillType;
  521. private DataColumn columnNo_SaleBill;
  522. [DebuggerNonUserCode]
  523. public DataColumn No_SaleBillProductColumn => columnNo_SaleBillProduct;
  524. [DebuggerNonUserCode]
  525. public DataColumn Type_FromBillColumn => columnType_FromBill;
  526. [DebuggerNonUserCode]
  527. public DataColumn No_FromBillColumn => columnNo_FromBill;
  528. [DebuggerNonUserCode]
  529. public DataColumn No_FromBillProductColumn => columnNo_FromBillProduct;
  530. [DebuggerNonUserCode]
  531. public DataColumn Quantity_SaleBillProductColumn => columnQuantity_SaleBillProduct;
  532. [DebuggerNonUserCode]
  533. public DataColumn UnitPrice_SaleBillProductColumn => columnUnitPrice_SaleBillProduct;
  534. [DebuggerNonUserCode]
  535. public DataColumn Discount_SaleBillProductColumn => columnDiscount_SaleBillProduct;
  536. [DebuggerNonUserCode]
  537. public DataColumn Comment_SaleBillProductColumn => columnComment_SaleBillProduct;
  538. [DebuggerNonUserCode]
  539. public DataColumn No_ProductColumn => columnNo_Product;
  540. [DebuggerNonUserCode]
  541. public DataColumn Name_ProductColumn => columnName_Product;
  542. [DebuggerNonUserCode]
  543. public DataColumn Unit_ProductColumn => columnUnit_Product;
  544. [DebuggerNonUserCode]
  545. public DataColumn LowSalePrice_ProductColumn => columnLowSalePrice_Product;
  546. [DebuggerNonUserCode]
  547. public DataColumn Amount_SaleBillProductColumn => columnAmount_SaleBillProduct;
  548. [DebuggerNonUserCode]
  549. public DataColumn Name_BillTypeColumn => columnName_BillType;
  550. [DebuggerNonUserCode]
  551. public DataColumn No_SaleBillColumn => columnNo_SaleBill;
  552. [Browsable(false)]
  553. [DebuggerNonUserCode]
  554. public int Count => base.Rows.Count;
  555. [DebuggerNonUserCode]
  556. public SaleBillProductRow this[int index] => (SaleBillProductRow)base.Rows[index];
  557. public event SaleBillProductRowChangeEventHandler SaleBillProductRowChanging;
  558. public event SaleBillProductRowChangeEventHandler SaleBillProductRowChanged;
  559. public event SaleBillProductRowChangeEventHandler SaleBillProductRowDeleting;
  560. public event SaleBillProductRowChangeEventHandler SaleBillProductRowDeleted;
  561. [DebuggerNonUserCode]
  562. public SaleBillProductDataTable()
  563. {
  564. base.TableName = "SaleBillProduct";
  565. BeginInit();
  566. InitClass();
  567. EndInit();
  568. }
  569. [DebuggerNonUserCode]
  570. internal SaleBillProductDataTable(DataTable table)
  571. {
  572. base.TableName = table.TableName;
  573. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  574. {
  575. base.CaseSensitive = table.CaseSensitive;
  576. }
  577. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  578. {
  579. base.Locale = table.Locale;
  580. }
  581. if (table.Namespace != table.DataSet.Namespace)
  582. {
  583. base.Namespace = table.Namespace;
  584. }
  585. base.Prefix = table.Prefix;
  586. base.MinimumCapacity = table.MinimumCapacity;
  587. }
  588. [DebuggerNonUserCode]
  589. protected SaleBillProductDataTable(SerializationInfo info, StreamingContext context)
  590. : base(info, context)
  591. {
  592. InitVars();
  593. }
  594. [DebuggerNonUserCode]
  595. public void AddSaleBillProductRow(SaleBillProductRow row)
  596. {
  597. base.Rows.Add(row);
  598. }
  599. [DebuggerNonUserCode]
  600. public SaleBillProductRow AddSaleBillProductRow(string No_SaleBillProduct, int Type_FromBill, string No_FromBill, string No_FromBillProduct, decimal Quantity_SaleBillProduct, decimal UnitPrice_SaleBillProduct, decimal Discount_SaleBillProduct, string Comment_SaleBillProduct, string No_Product, string Name_Product, string Unit_Product, decimal LowSalePrice_Product, decimal Amount_SaleBillProduct, string Name_BillType, string No_SaleBill)
  601. {
  602. SaleBillProductRow saleBillProductRow = (SaleBillProductRow)NewRow();
  603. saleBillProductRow.ItemArray = new object[15]
  604. {
  605. No_SaleBillProduct,
  606. Type_FromBill,
  607. No_FromBill,
  608. No_FromBillProduct,
  609. Quantity_SaleBillProduct,
  610. UnitPrice_SaleBillProduct,
  611. Discount_SaleBillProduct,
  612. Comment_SaleBillProduct,
  613. No_Product,
  614. Name_Product,
  615. Unit_Product,
  616. LowSalePrice_Product,
  617. Amount_SaleBillProduct,
  618. Name_BillType,
  619. No_SaleBill
  620. };
  621. base.Rows.Add(saleBillProductRow);
  622. return saleBillProductRow;
  623. }
  624. [DebuggerNonUserCode]
  625. public virtual IEnumerator GetEnumerator()
  626. {
  627. return base.Rows.GetEnumerator();
  628. }
  629. [DebuggerNonUserCode]
  630. public override DataTable Clone()
  631. {
  632. SaleBillProductDataTable saleBillProductDataTable = (SaleBillProductDataTable)base.Clone();
  633. saleBillProductDataTable.InitVars();
  634. return saleBillProductDataTable;
  635. }
  636. [DebuggerNonUserCode]
  637. protected override DataTable CreateInstance()
  638. {
  639. return new SaleBillProductDataTable();
  640. }
  641. [DebuggerNonUserCode]
  642. internal void InitVars()
  643. {
  644. columnNo_SaleBillProduct = base.Columns["No_SaleBillProduct"];
  645. columnType_FromBill = base.Columns["Type_FromBill"];
  646. columnNo_FromBill = base.Columns["No_FromBill"];
  647. columnNo_FromBillProduct = base.Columns["No_FromBillProduct"];
  648. columnQuantity_SaleBillProduct = base.Columns["Quantity_SaleBillProduct"];
  649. columnUnitPrice_SaleBillProduct = base.Columns["UnitPrice_SaleBillProduct"];
  650. columnDiscount_SaleBillProduct = base.Columns["Discount_SaleBillProduct"];
  651. columnComment_SaleBillProduct = base.Columns["Comment_SaleBillProduct"];
  652. columnNo_Product = base.Columns["No_Product"];
  653. columnName_Product = base.Columns["Name_Product"];
  654. columnUnit_Product = base.Columns["Unit_Product"];
  655. columnLowSalePrice_Product = base.Columns["LowSalePrice_Product"];
  656. columnAmount_SaleBillProduct = base.Columns["Amount_SaleBillProduct"];
  657. columnName_BillType = base.Columns["Name_BillType"];
  658. columnNo_SaleBill = base.Columns["No_SaleBill"];
  659. }
  660. [DebuggerNonUserCode]
  661. private void InitClass()
  662. {
  663. columnNo_SaleBillProduct = new DataColumn("No_SaleBillProduct", typeof(string), null, MappingType.Element);
  664. base.Columns.Add(columnNo_SaleBillProduct);
  665. columnType_FromBill = new DataColumn("Type_FromBill", typeof(int), null, MappingType.Element);
  666. base.Columns.Add(columnType_FromBill);
  667. columnNo_FromBill = new DataColumn("No_FromBill", typeof(string), null, MappingType.Element);
  668. base.Columns.Add(columnNo_FromBill);
  669. columnNo_FromBillProduct = new DataColumn("No_FromBillProduct", typeof(string), null, MappingType.Element);
  670. base.Columns.Add(columnNo_FromBillProduct);
  671. columnQuantity_SaleBillProduct = new DataColumn("Quantity_SaleBillProduct", typeof(decimal), null, MappingType.Element);
  672. base.Columns.Add(columnQuantity_SaleBillProduct);
  673. columnUnitPrice_SaleBillProduct = new DataColumn("UnitPrice_SaleBillProduct", typeof(decimal), null, MappingType.Element);
  674. base.Columns.Add(columnUnitPrice_SaleBillProduct);
  675. columnDiscount_SaleBillProduct = new DataColumn("Discount_SaleBillProduct", typeof(decimal), null, MappingType.Element);
  676. base.Columns.Add(columnDiscount_SaleBillProduct);
  677. columnComment_SaleBillProduct = new DataColumn("Comment_SaleBillProduct", typeof(string), null, MappingType.Element);
  678. base.Columns.Add(columnComment_SaleBillProduct);
  679. columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
  680. base.Columns.Add(columnNo_Product);
  681. columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
  682. base.Columns.Add(columnName_Product);
  683. columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element);
  684. base.Columns.Add(columnUnit_Product);
  685. columnLowSalePrice_Product = new DataColumn("LowSalePrice_Product", typeof(decimal), null, MappingType.Element);
  686. base.Columns.Add(columnLowSalePrice_Product);
  687. columnAmount_SaleBillProduct = new DataColumn("Amount_SaleBillProduct", typeof(decimal), null, MappingType.Element);
  688. base.Columns.Add(columnAmount_SaleBillProduct);
  689. columnName_BillType = new DataColumn("Name_BillType", typeof(string), null, MappingType.Element);
  690. base.Columns.Add(columnName_BillType);
  691. columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
  692. base.Columns.Add(columnNo_SaleBill);
  693. }
  694. [DebuggerNonUserCode]
  695. public SaleBillProductRow NewSaleBillProductRow()
  696. {
  697. return (SaleBillProductRow)NewRow();
  698. }
  699. [DebuggerNonUserCode]
  700. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  701. {
  702. return new SaleBillProductRow(builder);
  703. }
  704. [DebuggerNonUserCode]
  705. protected override Type GetRowType()
  706. {
  707. return typeof(SaleBillProductRow);
  708. }
  709. [DebuggerNonUserCode]
  710. protected override void OnRowChanged(DataRowChangeEventArgs e)
  711. {
  712. base.OnRowChanged(e);
  713. if (this.SaleBillProductRowChanged != null)
  714. {
  715. this.SaleBillProductRowChanged(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action));
  716. }
  717. }
  718. [DebuggerNonUserCode]
  719. protected override void OnRowChanging(DataRowChangeEventArgs e)
  720. {
  721. base.OnRowChanging(e);
  722. if (this.SaleBillProductRowChanging != null)
  723. {
  724. this.SaleBillProductRowChanging(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action));
  725. }
  726. }
  727. [DebuggerNonUserCode]
  728. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  729. {
  730. base.OnRowDeleted(e);
  731. if (this.SaleBillProductRowDeleted != null)
  732. {
  733. this.SaleBillProductRowDeleted(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action));
  734. }
  735. }
  736. [DebuggerNonUserCode]
  737. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  738. {
  739. base.OnRowDeleting(e);
  740. if (this.SaleBillProductRowDeleting != null)
  741. {
  742. this.SaleBillProductRowDeleting(this, new SaleBillProductRowChangeEvent((SaleBillProductRow)e.Row, e.Action));
  743. }
  744. }
  745. [DebuggerNonUserCode]
  746. public void RemoveSaleBillProductRow(SaleBillProductRow row)
  747. {
  748. base.Rows.Remove(row);
  749. }
  750. [DebuggerNonUserCode]
  751. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  752. {
  753. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  754. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  755. dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill();
  756. xs.Add(dsFrmSaleBill.GetSchemaSerializable());
  757. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  758. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  759. xmlSchemaAny.MinOccurs = 0m;
  760. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  761. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  762. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  763. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  764. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  765. xmlSchemaAny2.MinOccurs = 1m;
  766. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  767. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  768. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  769. xmlSchemaAttribute.Name = "namespace";
  770. xmlSchemaAttribute.FixedValue = dsFrmSaleBill.Namespace;
  771. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  772. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  773. xmlSchemaAttribute2.Name = "tableTypeName";
  774. xmlSchemaAttribute2.FixedValue = "SaleBillProductDataTable";
  775. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  776. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  777. return xmlSchemaComplexType;
  778. }
  779. }
  780. [Serializable]
  781. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  782. [XmlSchemaProvider("GetTypedTableSchema")]
  783. public class ReportCommentDataTable : DataTable, IEnumerable
  784. {
  785. private DataColumn columnComment_ReportComment;
  786. private DataColumn columnNo_SaleBill;
  787. [DebuggerNonUserCode]
  788. public DataColumn Comment_ReportCommentColumn => columnComment_ReportComment;
  789. [DebuggerNonUserCode]
  790. public DataColumn No_SaleBillColumn => columnNo_SaleBill;
  791. [DebuggerNonUserCode]
  792. [Browsable(false)]
  793. public int Count => base.Rows.Count;
  794. [DebuggerNonUserCode]
  795. public ReportCommentRow this[int index] => (ReportCommentRow)base.Rows[index];
  796. public event ReportCommentRowChangeEventHandler ReportCommentRowChanging;
  797. public event ReportCommentRowChangeEventHandler ReportCommentRowChanged;
  798. public event ReportCommentRowChangeEventHandler ReportCommentRowDeleting;
  799. public event ReportCommentRowChangeEventHandler ReportCommentRowDeleted;
  800. [DebuggerNonUserCode]
  801. public ReportCommentDataTable()
  802. {
  803. base.TableName = "ReportComment";
  804. BeginInit();
  805. InitClass();
  806. EndInit();
  807. }
  808. [DebuggerNonUserCode]
  809. internal ReportCommentDataTable(DataTable table)
  810. {
  811. base.TableName = table.TableName;
  812. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  813. {
  814. base.CaseSensitive = table.CaseSensitive;
  815. }
  816. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  817. {
  818. base.Locale = table.Locale;
  819. }
  820. if (table.Namespace != table.DataSet.Namespace)
  821. {
  822. base.Namespace = table.Namespace;
  823. }
  824. base.Prefix = table.Prefix;
  825. base.MinimumCapacity = table.MinimumCapacity;
  826. }
  827. [DebuggerNonUserCode]
  828. protected ReportCommentDataTable(SerializationInfo info, StreamingContext context)
  829. : base(info, context)
  830. {
  831. InitVars();
  832. }
  833. [DebuggerNonUserCode]
  834. public void AddReportCommentRow(ReportCommentRow row)
  835. {
  836. base.Rows.Add(row);
  837. }
  838. [DebuggerNonUserCode]
  839. public ReportCommentRow AddReportCommentRow(string Comment_ReportComment, string No_SaleBill)
  840. {
  841. ReportCommentRow reportCommentRow = (ReportCommentRow)NewRow();
  842. reportCommentRow.ItemArray = new object[2]
  843. {
  844. Comment_ReportComment,
  845. No_SaleBill
  846. };
  847. base.Rows.Add(reportCommentRow);
  848. return reportCommentRow;
  849. }
  850. [DebuggerNonUserCode]
  851. public virtual IEnumerator GetEnumerator()
  852. {
  853. return base.Rows.GetEnumerator();
  854. }
  855. [DebuggerNonUserCode]
  856. public override DataTable Clone()
  857. {
  858. ReportCommentDataTable reportCommentDataTable = (ReportCommentDataTable)base.Clone();
  859. reportCommentDataTable.InitVars();
  860. return reportCommentDataTable;
  861. }
  862. [DebuggerNonUserCode]
  863. protected override DataTable CreateInstance()
  864. {
  865. return new ReportCommentDataTable();
  866. }
  867. [DebuggerNonUserCode]
  868. internal void InitVars()
  869. {
  870. columnComment_ReportComment = base.Columns["Comment_ReportComment"];
  871. columnNo_SaleBill = base.Columns["No_SaleBill"];
  872. }
  873. [DebuggerNonUserCode]
  874. private void InitClass()
  875. {
  876. columnComment_ReportComment = new DataColumn("Comment_ReportComment", typeof(string), null, MappingType.Element);
  877. base.Columns.Add(columnComment_ReportComment);
  878. columnNo_SaleBill = new DataColumn("No_SaleBill", typeof(string), null, MappingType.Element);
  879. base.Columns.Add(columnNo_SaleBill);
  880. }
  881. [DebuggerNonUserCode]
  882. public ReportCommentRow NewReportCommentRow()
  883. {
  884. return (ReportCommentRow)NewRow();
  885. }
  886. [DebuggerNonUserCode]
  887. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  888. {
  889. return new ReportCommentRow(builder);
  890. }
  891. [DebuggerNonUserCode]
  892. protected override Type GetRowType()
  893. {
  894. return typeof(ReportCommentRow);
  895. }
  896. [DebuggerNonUserCode]
  897. protected override void OnRowChanged(DataRowChangeEventArgs e)
  898. {
  899. base.OnRowChanged(e);
  900. if (this.ReportCommentRowChanged != null)
  901. {
  902. this.ReportCommentRowChanged(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  903. }
  904. }
  905. [DebuggerNonUserCode]
  906. protected override void OnRowChanging(DataRowChangeEventArgs e)
  907. {
  908. base.OnRowChanging(e);
  909. if (this.ReportCommentRowChanging != null)
  910. {
  911. this.ReportCommentRowChanging(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  912. }
  913. }
  914. [DebuggerNonUserCode]
  915. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  916. {
  917. base.OnRowDeleted(e);
  918. if (this.ReportCommentRowDeleted != null)
  919. {
  920. this.ReportCommentRowDeleted(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  921. }
  922. }
  923. [DebuggerNonUserCode]
  924. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  925. {
  926. base.OnRowDeleting(e);
  927. if (this.ReportCommentRowDeleting != null)
  928. {
  929. this.ReportCommentRowDeleting(this, new ReportCommentRowChangeEvent((ReportCommentRow)e.Row, e.Action));
  930. }
  931. }
  932. [DebuggerNonUserCode]
  933. public void RemoveReportCommentRow(ReportCommentRow row)
  934. {
  935. base.Rows.Remove(row);
  936. }
  937. [DebuggerNonUserCode]
  938. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  939. {
  940. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  941. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  942. dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill();
  943. xs.Add(dsFrmSaleBill.GetSchemaSerializable());
  944. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  945. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  946. xmlSchemaAny.MinOccurs = 0m;
  947. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  948. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  949. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  950. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  951. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  952. xmlSchemaAny2.MinOccurs = 1m;
  953. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  954. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  955. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  956. xmlSchemaAttribute.Name = "namespace";
  957. xmlSchemaAttribute.FixedValue = dsFrmSaleBill.Namespace;
  958. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  959. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  960. xmlSchemaAttribute2.Name = "tableTypeName";
  961. xmlSchemaAttribute2.FixedValue = "ReportCommentDataTable";
  962. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  963. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  964. return xmlSchemaComplexType;
  965. }
  966. }
  967. [Serializable]
  968. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  969. [XmlSchemaProvider("GetTypedTableSchema")]
  970. public class AppendInfoDataTable : DataTable, IEnumerable
  971. {
  972. private DataColumn columnCurrentCompany;
  973. private DataColumn columnCurrentUser;
  974. [DebuggerNonUserCode]
  975. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  976. [DebuggerNonUserCode]
  977. public DataColumn CurrentUserColumn => columnCurrentUser;
  978. [Browsable(false)]
  979. [DebuggerNonUserCode]
  980. public int Count => base.Rows.Count;
  981. [DebuggerNonUserCode]
  982. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  983. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  984. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  985. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  986. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  987. [DebuggerNonUserCode]
  988. public AppendInfoDataTable()
  989. {
  990. base.TableName = "AppendInfo";
  991. BeginInit();
  992. InitClass();
  993. EndInit();
  994. }
  995. [DebuggerNonUserCode]
  996. internal AppendInfoDataTable(DataTable table)
  997. {
  998. base.TableName = table.TableName;
  999. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1000. {
  1001. base.CaseSensitive = table.CaseSensitive;
  1002. }
  1003. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1004. {
  1005. base.Locale = table.Locale;
  1006. }
  1007. if (table.Namespace != table.DataSet.Namespace)
  1008. {
  1009. base.Namespace = table.Namespace;
  1010. }
  1011. base.Prefix = table.Prefix;
  1012. base.MinimumCapacity = table.MinimumCapacity;
  1013. }
  1014. [DebuggerNonUserCode]
  1015. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  1016. : base(info, context)
  1017. {
  1018. InitVars();
  1019. }
  1020. [DebuggerNonUserCode]
  1021. public void AddAppendInfoRow(AppendInfoRow row)
  1022. {
  1023. base.Rows.Add(row);
  1024. }
  1025. [DebuggerNonUserCode]
  1026. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  1027. {
  1028. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  1029. appendInfoRow.ItemArray = new object[2]
  1030. {
  1031. CurrentCompany,
  1032. CurrentUser
  1033. };
  1034. base.Rows.Add(appendInfoRow);
  1035. return appendInfoRow;
  1036. }
  1037. [DebuggerNonUserCode]
  1038. public virtual IEnumerator GetEnumerator()
  1039. {
  1040. return base.Rows.GetEnumerator();
  1041. }
  1042. [DebuggerNonUserCode]
  1043. public override DataTable Clone()
  1044. {
  1045. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  1046. appendInfoDataTable.InitVars();
  1047. return appendInfoDataTable;
  1048. }
  1049. [DebuggerNonUserCode]
  1050. protected override DataTable CreateInstance()
  1051. {
  1052. return new AppendInfoDataTable();
  1053. }
  1054. [DebuggerNonUserCode]
  1055. internal void InitVars()
  1056. {
  1057. columnCurrentCompany = base.Columns["CurrentCompany"];
  1058. columnCurrentUser = base.Columns["CurrentUser"];
  1059. }
  1060. [DebuggerNonUserCode]
  1061. private void InitClass()
  1062. {
  1063. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  1064. base.Columns.Add(columnCurrentCompany);
  1065. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  1066. base.Columns.Add(columnCurrentUser);
  1067. }
  1068. [DebuggerNonUserCode]
  1069. public AppendInfoRow NewAppendInfoRow()
  1070. {
  1071. return (AppendInfoRow)NewRow();
  1072. }
  1073. [DebuggerNonUserCode]
  1074. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1075. {
  1076. return new AppendInfoRow(builder);
  1077. }
  1078. [DebuggerNonUserCode]
  1079. protected override Type GetRowType()
  1080. {
  1081. return typeof(AppendInfoRow);
  1082. }
  1083. [DebuggerNonUserCode]
  1084. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1085. {
  1086. base.OnRowChanged(e);
  1087. if (this.AppendInfoRowChanged != null)
  1088. {
  1089. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1090. }
  1091. }
  1092. [DebuggerNonUserCode]
  1093. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1094. {
  1095. base.OnRowChanging(e);
  1096. if (this.AppendInfoRowChanging != null)
  1097. {
  1098. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1099. }
  1100. }
  1101. [DebuggerNonUserCode]
  1102. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1103. {
  1104. base.OnRowDeleted(e);
  1105. if (this.AppendInfoRowDeleted != null)
  1106. {
  1107. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1108. }
  1109. }
  1110. [DebuggerNonUserCode]
  1111. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1112. {
  1113. base.OnRowDeleting(e);
  1114. if (this.AppendInfoRowDeleting != null)
  1115. {
  1116. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1117. }
  1118. }
  1119. [DebuggerNonUserCode]
  1120. public void RemoveAppendInfoRow(AppendInfoRow row)
  1121. {
  1122. base.Rows.Remove(row);
  1123. }
  1124. [DebuggerNonUserCode]
  1125. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1126. {
  1127. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1128. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1129. dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill();
  1130. xs.Add(dsFrmSaleBill.GetSchemaSerializable());
  1131. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1132. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1133. xmlSchemaAny.MinOccurs = 0m;
  1134. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1135. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1136. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1137. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1138. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1139. xmlSchemaAny2.MinOccurs = 1m;
  1140. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1141. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1142. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1143. xmlSchemaAttribute.Name = "namespace";
  1144. xmlSchemaAttribute.FixedValue = dsFrmSaleBill.Namespace;
  1145. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1146. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1147. xmlSchemaAttribute2.Name = "tableTypeName";
  1148. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  1149. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1150. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1151. return xmlSchemaComplexType;
  1152. }
  1153. }
  1154. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1155. public class SaleBillRow : DataRow
  1156. {
  1157. private SaleBillDataTable tableSaleBill;
  1158. [DebuggerNonUserCode]
  1159. public string No_SaleBill
  1160. {
  1161. get
  1162. {
  1163. try
  1164. {
  1165. return (string)base[tableSaleBill.No_SaleBillColumn];
  1166. }
  1167. catch (InvalidCastException innerException)
  1168. {
  1169. throw new StrongTypingException("The value for column 'No_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1170. }
  1171. }
  1172. set
  1173. {
  1174. base[tableSaleBill.No_SaleBillColumn] = value;
  1175. }
  1176. }
  1177. [DebuggerNonUserCode]
  1178. public DateTime Date_SaleBill
  1179. {
  1180. get
  1181. {
  1182. try
  1183. {
  1184. return (DateTime)base[tableSaleBill.Date_SaleBillColumn];
  1185. }
  1186. catch (InvalidCastException innerException)
  1187. {
  1188. throw new StrongTypingException("The value for column 'Date_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1189. }
  1190. }
  1191. set
  1192. {
  1193. base[tableSaleBill.Date_SaleBillColumn] = value;
  1194. }
  1195. }
  1196. [DebuggerNonUserCode]
  1197. public string No_OrderBill
  1198. {
  1199. get
  1200. {
  1201. try
  1202. {
  1203. return (string)base[tableSaleBill.No_OrderBillColumn];
  1204. }
  1205. catch (InvalidCastException innerException)
  1206. {
  1207. throw new StrongTypingException("The value for column 'No_OrderBill' in table 'SaleBill' is DBNull.", innerException);
  1208. }
  1209. }
  1210. set
  1211. {
  1212. base[tableSaleBill.No_OrderBillColumn] = value;
  1213. }
  1214. }
  1215. [DebuggerNonUserCode]
  1216. public string GetMethod_SaleBill
  1217. {
  1218. get
  1219. {
  1220. try
  1221. {
  1222. return (string)base[tableSaleBill.GetMethod_SaleBillColumn];
  1223. }
  1224. catch (InvalidCastException innerException)
  1225. {
  1226. throw new StrongTypingException("The value for column 'GetMethod_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1227. }
  1228. }
  1229. set
  1230. {
  1231. base[tableSaleBill.GetMethod_SaleBillColumn] = value;
  1232. }
  1233. }
  1234. [DebuggerNonUserCode]
  1235. public decimal ToGet_SaleBill
  1236. {
  1237. get
  1238. {
  1239. try
  1240. {
  1241. return (decimal)base[tableSaleBill.ToGet_SaleBillColumn];
  1242. }
  1243. catch (InvalidCastException innerException)
  1244. {
  1245. throw new StrongTypingException("The value for column 'ToGet_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1246. }
  1247. }
  1248. set
  1249. {
  1250. base[tableSaleBill.ToGet_SaleBillColumn] = value;
  1251. }
  1252. }
  1253. [DebuggerNonUserCode]
  1254. public string Name_Linkman
  1255. {
  1256. get
  1257. {
  1258. try
  1259. {
  1260. return (string)base[tableSaleBill.Name_LinkmanColumn];
  1261. }
  1262. catch (InvalidCastException innerException)
  1263. {
  1264. throw new StrongTypingException("The value for column 'Name_Linkman' in table 'SaleBill' is DBNull.", innerException);
  1265. }
  1266. }
  1267. set
  1268. {
  1269. base[tableSaleBill.Name_LinkmanColumn] = value;
  1270. }
  1271. }
  1272. [DebuggerNonUserCode]
  1273. public string Tel_SaleBill
  1274. {
  1275. get
  1276. {
  1277. try
  1278. {
  1279. return (string)base[tableSaleBill.Tel_SaleBillColumn];
  1280. }
  1281. catch (InvalidCastException innerException)
  1282. {
  1283. throw new StrongTypingException("The value for column 'Tel_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1284. }
  1285. }
  1286. set
  1287. {
  1288. base[tableSaleBill.Tel_SaleBillColumn] = value;
  1289. }
  1290. }
  1291. [DebuggerNonUserCode]
  1292. public string Fax_SaleBill
  1293. {
  1294. get
  1295. {
  1296. try
  1297. {
  1298. return (string)base[tableSaleBill.Fax_SaleBillColumn];
  1299. }
  1300. catch (InvalidCastException innerException)
  1301. {
  1302. throw new StrongTypingException("The value for column 'Fax_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1303. }
  1304. }
  1305. set
  1306. {
  1307. base[tableSaleBill.Fax_SaleBillColumn] = value;
  1308. }
  1309. }
  1310. [DebuggerNonUserCode]
  1311. public string SendAddr_SaleBill
  1312. {
  1313. get
  1314. {
  1315. try
  1316. {
  1317. return (string)base[tableSaleBill.SendAddr_SaleBillColumn];
  1318. }
  1319. catch (InvalidCastException innerException)
  1320. {
  1321. throw new StrongTypingException("The value for column 'SendAddr_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1322. }
  1323. }
  1324. set
  1325. {
  1326. base[tableSaleBill.SendAddr_SaleBillColumn] = value;
  1327. }
  1328. }
  1329. [DebuggerNonUserCode]
  1330. public string InvoiceAddress_Company
  1331. {
  1332. get
  1333. {
  1334. try
  1335. {
  1336. return (string)base[tableSaleBill.InvoiceAddress_CompanyColumn];
  1337. }
  1338. catch (InvalidCastException innerException)
  1339. {
  1340. throw new StrongTypingException("The value for column 'InvoiceAddress_Company' in table 'SaleBill' is DBNull.", innerException);
  1341. }
  1342. }
  1343. set
  1344. {
  1345. base[tableSaleBill.InvoiceAddress_CompanyColumn] = value;
  1346. }
  1347. }
  1348. [DebuggerNonUserCode]
  1349. public string InvoiceTitle_Company
  1350. {
  1351. get
  1352. {
  1353. try
  1354. {
  1355. return (string)base[tableSaleBill.InvoiceTitle_CompanyColumn];
  1356. }
  1357. catch (InvalidCastException innerException)
  1358. {
  1359. throw new StrongTypingException("The value for column 'InvoiceTitle_Company' in table 'SaleBill' is DBNull.", innerException);
  1360. }
  1361. }
  1362. set
  1363. {
  1364. base[tableSaleBill.InvoiceTitle_CompanyColumn] = value;
  1365. }
  1366. }
  1367. [DebuggerNonUserCode]
  1368. public string TaxCurrency_SaleBill
  1369. {
  1370. get
  1371. {
  1372. try
  1373. {
  1374. return (string)base[tableSaleBill.TaxCurrency_SaleBillColumn];
  1375. }
  1376. catch (InvalidCastException innerException)
  1377. {
  1378. throw new StrongTypingException("The value for column 'TaxCurrency_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1379. }
  1380. }
  1381. set
  1382. {
  1383. base[tableSaleBill.TaxCurrency_SaleBillColumn] = value;
  1384. }
  1385. }
  1386. [DebuggerNonUserCode]
  1387. public string Currency_SaleBill
  1388. {
  1389. get
  1390. {
  1391. try
  1392. {
  1393. return (string)base[tableSaleBill.Currency_SaleBillColumn];
  1394. }
  1395. catch (InvalidCastException innerException)
  1396. {
  1397. throw new StrongTypingException("The value for column 'Currency_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1398. }
  1399. }
  1400. set
  1401. {
  1402. base[tableSaleBill.Currency_SaleBillColumn] = value;
  1403. }
  1404. }
  1405. [DebuggerNonUserCode]
  1406. public string Principal_SaleBill
  1407. {
  1408. get
  1409. {
  1410. try
  1411. {
  1412. return (string)base[tableSaleBill.Principal_SaleBillColumn];
  1413. }
  1414. catch (InvalidCastException innerException)
  1415. {
  1416. throw new StrongTypingException("The value for column 'Principal_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1417. }
  1418. }
  1419. set
  1420. {
  1421. base[tableSaleBill.Principal_SaleBillColumn] = value;
  1422. }
  1423. }
  1424. [DebuggerNonUserCode]
  1425. public DateTime AssessDate_SaleBill
  1426. {
  1427. get
  1428. {
  1429. try
  1430. {
  1431. return (DateTime)base[tableSaleBill.AssessDate_SaleBillColumn];
  1432. }
  1433. catch (InvalidCastException innerException)
  1434. {
  1435. throw new StrongTypingException("The value for column 'AssessDate_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1436. }
  1437. }
  1438. set
  1439. {
  1440. base[tableSaleBill.AssessDate_SaleBillColumn] = value;
  1441. }
  1442. }
  1443. [DebuggerNonUserCode]
  1444. public bool Assess_SaleBill
  1445. {
  1446. get
  1447. {
  1448. try
  1449. {
  1450. return (bool)base[tableSaleBill.Assess_SaleBillColumn];
  1451. }
  1452. catch (InvalidCastException innerException)
  1453. {
  1454. throw new StrongTypingException("The value for column 'Assess_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1455. }
  1456. }
  1457. set
  1458. {
  1459. base[tableSaleBill.Assess_SaleBillColumn] = value;
  1460. }
  1461. }
  1462. [DebuggerNonUserCode]
  1463. public bool Disable_SaleBill
  1464. {
  1465. get
  1466. {
  1467. try
  1468. {
  1469. return (bool)base[tableSaleBill.Disable_SaleBillColumn];
  1470. }
  1471. catch (InvalidCastException innerException)
  1472. {
  1473. throw new StrongTypingException("The value for column 'Disable_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1474. }
  1475. }
  1476. set
  1477. {
  1478. base[tableSaleBill.Disable_SaleBillColumn] = value;
  1479. }
  1480. }
  1481. [DebuggerNonUserCode]
  1482. public DateTime CreateDate_SaleBill
  1483. {
  1484. get
  1485. {
  1486. try
  1487. {
  1488. return (DateTime)base[tableSaleBill.CreateDate_SaleBillColumn];
  1489. }
  1490. catch (InvalidCastException innerException)
  1491. {
  1492. throw new StrongTypingException("The value for column 'CreateDate_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1493. }
  1494. }
  1495. set
  1496. {
  1497. base[tableSaleBill.CreateDate_SaleBillColumn] = value;
  1498. }
  1499. }
  1500. [DebuggerNonUserCode]
  1501. public DateTime LastModDate_SaleBill
  1502. {
  1503. get
  1504. {
  1505. try
  1506. {
  1507. return (DateTime)base[tableSaleBill.LastModDate_SaleBillColumn];
  1508. }
  1509. catch (InvalidCastException innerException)
  1510. {
  1511. throw new StrongTypingException("The value for column 'LastModDate_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1512. }
  1513. }
  1514. set
  1515. {
  1516. base[tableSaleBill.LastModDate_SaleBillColumn] = value;
  1517. }
  1518. }
  1519. [DebuggerNonUserCode]
  1520. public bool TransBack_SaleBill
  1521. {
  1522. get
  1523. {
  1524. try
  1525. {
  1526. return (bool)base[tableSaleBill.TransBack_SaleBillColumn];
  1527. }
  1528. catch (InvalidCastException innerException)
  1529. {
  1530. throw new StrongTypingException("The value for column 'TransBack_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1531. }
  1532. }
  1533. set
  1534. {
  1535. base[tableSaleBill.TransBack_SaleBillColumn] = value;
  1536. }
  1537. }
  1538. [DebuggerNonUserCode]
  1539. public DateTime TransBackDate_SaleBill
  1540. {
  1541. get
  1542. {
  1543. try
  1544. {
  1545. return (DateTime)base[tableSaleBill.TransBackDate_SaleBillColumn];
  1546. }
  1547. catch (InvalidCastException innerException)
  1548. {
  1549. throw new StrongTypingException("The value for column 'TransBackDate_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1550. }
  1551. }
  1552. set
  1553. {
  1554. base[tableSaleBill.TransBackDate_SaleBillColumn] = value;
  1555. }
  1556. }
  1557. [DebuggerNonUserCode]
  1558. public decimal Amount_SaleBill
  1559. {
  1560. get
  1561. {
  1562. try
  1563. {
  1564. return (decimal)base[tableSaleBill.Amount_SaleBillColumn];
  1565. }
  1566. catch (InvalidCastException innerException)
  1567. {
  1568. throw new StrongTypingException("The value for column 'Amount_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1569. }
  1570. }
  1571. set
  1572. {
  1573. base[tableSaleBill.Amount_SaleBillColumn] = value;
  1574. }
  1575. }
  1576. [DebuggerNonUserCode]
  1577. public bool Respite_SaleBill
  1578. {
  1579. get
  1580. {
  1581. try
  1582. {
  1583. return (bool)base[tableSaleBill.Respite_SaleBillColumn];
  1584. }
  1585. catch (InvalidCastException innerException)
  1586. {
  1587. throw new StrongTypingException("The value for column 'Respite_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1588. }
  1589. }
  1590. set
  1591. {
  1592. base[tableSaleBill.Respite_SaleBillColumn] = value;
  1593. }
  1594. }
  1595. [DebuggerNonUserCode]
  1596. public decimal GoodsAmount_SaleBill
  1597. {
  1598. get
  1599. {
  1600. try
  1601. {
  1602. return (decimal)base[tableSaleBill.GoodsAmount_SaleBillColumn];
  1603. }
  1604. catch (InvalidCastException innerException)
  1605. {
  1606. throw new StrongTypingException("The value for column 'GoodsAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1607. }
  1608. }
  1609. set
  1610. {
  1611. base[tableSaleBill.GoodsAmount_SaleBillColumn] = value;
  1612. }
  1613. }
  1614. [DebuggerNonUserCode]
  1615. public decimal TaxAmount_SaleBill
  1616. {
  1617. get
  1618. {
  1619. try
  1620. {
  1621. return (decimal)base[tableSaleBill.TaxAmount_SaleBillColumn];
  1622. }
  1623. catch (InvalidCastException innerException)
  1624. {
  1625. throw new StrongTypingException("The value for column 'TaxAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1626. }
  1627. }
  1628. set
  1629. {
  1630. base[tableSaleBill.TaxAmount_SaleBillColumn] = value;
  1631. }
  1632. }
  1633. [DebuggerNonUserCode]
  1634. public decimal StrikedGoodsAmount_SaleBill
  1635. {
  1636. get
  1637. {
  1638. try
  1639. {
  1640. return (decimal)base[tableSaleBill.StrikedGoodsAmount_SaleBillColumn];
  1641. }
  1642. catch (InvalidCastException innerException)
  1643. {
  1644. throw new StrongTypingException("The value for column 'StrikedGoodsAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1645. }
  1646. }
  1647. set
  1648. {
  1649. base[tableSaleBill.StrikedGoodsAmount_SaleBillColumn] = value;
  1650. }
  1651. }
  1652. [DebuggerNonUserCode]
  1653. public decimal StrikedTaxAmount_SaleBill
  1654. {
  1655. get
  1656. {
  1657. try
  1658. {
  1659. return (decimal)base[tableSaleBill.StrikedTaxAmount_SaleBillColumn];
  1660. }
  1661. catch (InvalidCastException innerException)
  1662. {
  1663. throw new StrongTypingException("The value for column 'StrikedTaxAmount_SaleBill' in table 'SaleBill' is DBNull.", innerException);
  1664. }
  1665. }
  1666. set
  1667. {
  1668. base[tableSaleBill.StrikedTaxAmount_SaleBillColumn] = value;
  1669. }
  1670. }
  1671. [DebuggerNonUserCode]
  1672. public string No_Customer
  1673. {
  1674. get
  1675. {
  1676. try
  1677. {
  1678. return (string)base[tableSaleBill.No_CustomerColumn];
  1679. }
  1680. catch (InvalidCastException innerException)
  1681. {
  1682. throw new StrongTypingException("The value for column 'No_Customer' in table 'SaleBill' is DBNull.", innerException);
  1683. }
  1684. }
  1685. set
  1686. {
  1687. base[tableSaleBill.No_CustomerColumn] = value;
  1688. }
  1689. }
  1690. [DebuggerNonUserCode]
  1691. public string Name_Customer
  1692. {
  1693. get
  1694. {
  1695. try
  1696. {
  1697. return (string)base[tableSaleBill.Name_CustomerColumn];
  1698. }
  1699. catch (InvalidCastException innerException)
  1700. {
  1701. throw new StrongTypingException("The value for column 'Name_Customer' in table 'SaleBill' is DBNull.", innerException);
  1702. }
  1703. }
  1704. set
  1705. {
  1706. base[tableSaleBill.Name_CustomerColumn] = value;
  1707. }
  1708. }
  1709. [DebuggerNonUserCode]
  1710. public string ShortName_Customer
  1711. {
  1712. get
  1713. {
  1714. try
  1715. {
  1716. return (string)base[tableSaleBill.ShortName_CustomerColumn];
  1717. }
  1718. catch (InvalidCastException innerException)
  1719. {
  1720. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'SaleBill' is DBNull.", innerException);
  1721. }
  1722. }
  1723. set
  1724. {
  1725. base[tableSaleBill.ShortName_CustomerColumn] = value;
  1726. }
  1727. }
  1728. [DebuggerNonUserCode]
  1729. public string Type_Customer
  1730. {
  1731. get
  1732. {
  1733. try
  1734. {
  1735. return (string)base[tableSaleBill.Type_CustomerColumn];
  1736. }
  1737. catch (InvalidCastException innerException)
  1738. {
  1739. throw new StrongTypingException("The value for column 'Type_Customer' in table 'SaleBill' is DBNull.", innerException);
  1740. }
  1741. }
  1742. set
  1743. {
  1744. base[tableSaleBill.Type_CustomerColumn] = value;
  1745. }
  1746. }
  1747. [DebuggerNonUserCode]
  1748. public decimal LastDiscount_Customer
  1749. {
  1750. get
  1751. {
  1752. try
  1753. {
  1754. return (decimal)base[tableSaleBill.LastDiscount_CustomerColumn];
  1755. }
  1756. catch (InvalidCastException innerException)
  1757. {
  1758. throw new StrongTypingException("The value for column 'LastDiscount_Customer' in table 'SaleBill' is DBNull.", innerException);
  1759. }
  1760. }
  1761. set
  1762. {
  1763. base[tableSaleBill.LastDiscount_CustomerColumn] = value;
  1764. }
  1765. }
  1766. [DebuggerNonUserCode]
  1767. public string PostalCode_Customer
  1768. {
  1769. get
  1770. {
  1771. try
  1772. {
  1773. return (string)base[tableSaleBill.PostalCode_CustomerColumn];
  1774. }
  1775. catch (InvalidCastException innerException)
  1776. {
  1777. throw new StrongTypingException("The value for column 'PostalCode_Customer' in table 'SaleBill' is DBNull.", innerException);
  1778. }
  1779. }
  1780. set
  1781. {
  1782. base[tableSaleBill.PostalCode_CustomerColumn] = value;
  1783. }
  1784. }
  1785. [DebuggerNonUserCode]
  1786. public string Name_Creator
  1787. {
  1788. get
  1789. {
  1790. try
  1791. {
  1792. return (string)base[tableSaleBill.Name_CreatorColumn];
  1793. }
  1794. catch (InvalidCastException innerException)
  1795. {
  1796. throw new StrongTypingException("The value for column 'Name_Creator' in table 'SaleBill' is DBNull.", innerException);
  1797. }
  1798. }
  1799. set
  1800. {
  1801. base[tableSaleBill.Name_CreatorColumn] = value;
  1802. }
  1803. }
  1804. [DebuggerNonUserCode]
  1805. public string Name_Assessor
  1806. {
  1807. get
  1808. {
  1809. try
  1810. {
  1811. return (string)base[tableSaleBill.Name_AssessorColumn];
  1812. }
  1813. catch (InvalidCastException innerException)
  1814. {
  1815. throw new StrongTypingException("The value for column 'Name_Assessor' in table 'SaleBill' is DBNull.", innerException);
  1816. }
  1817. }
  1818. set
  1819. {
  1820. base[tableSaleBill.Name_AssessorColumn] = value;
  1821. }
  1822. }
  1823. [DebuggerNonUserCode]
  1824. public string LastModUserName
  1825. {
  1826. get
  1827. {
  1828. try
  1829. {
  1830. return (string)base[tableSaleBill.LastModUserNameColumn];
  1831. }
  1832. catch (InvalidCastException innerException)
  1833. {
  1834. throw new StrongTypingException("The value for column 'LastModUserName' in table 'SaleBill' is DBNull.", innerException);
  1835. }
  1836. }
  1837. set
  1838. {
  1839. base[tableSaleBill.LastModUserNameColumn] = value;
  1840. }
  1841. }
  1842. [DebuggerNonUserCode]
  1843. public string No_Location
  1844. {
  1845. get
  1846. {
  1847. try
  1848. {
  1849. return (string)base[tableSaleBill.No_LocationColumn];
  1850. }
  1851. catch (InvalidCastException innerException)
  1852. {
  1853. throw new StrongTypingException("The value for column 'No_Location' in table 'SaleBill' is DBNull.", innerException);
  1854. }
  1855. }
  1856. set
  1857. {
  1858. base[tableSaleBill.No_LocationColumn] = value;
  1859. }
  1860. }
  1861. [DebuggerNonUserCode]
  1862. public string Name_Location
  1863. {
  1864. get
  1865. {
  1866. try
  1867. {
  1868. return (string)base[tableSaleBill.Name_LocationColumn];
  1869. }
  1870. catch (InvalidCastException innerException)
  1871. {
  1872. throw new StrongTypingException("The value for column 'Name_Location' in table 'SaleBill' is DBNull.", innerException);
  1873. }
  1874. }
  1875. set
  1876. {
  1877. base[tableSaleBill.Name_LocationColumn] = value;
  1878. }
  1879. }
  1880. [DebuggerNonUserCode]
  1881. public decimal NumSum
  1882. {
  1883. get
  1884. {
  1885. try
  1886. {
  1887. return (decimal)base[tableSaleBill.NumSumColumn];
  1888. }
  1889. catch (InvalidCastException innerException)
  1890. {
  1891. throw new StrongTypingException("The value for column 'NumSum' in table 'SaleBill' is DBNull.", innerException);
  1892. }
  1893. }
  1894. set
  1895. {
  1896. base[tableSaleBill.NumSumColumn] = value;
  1897. }
  1898. }
  1899. [DebuggerNonUserCode]
  1900. public decimal MoneySum
  1901. {
  1902. get
  1903. {
  1904. try
  1905. {
  1906. return (decimal)base[tableSaleBill.MoneySumColumn];
  1907. }
  1908. catch (InvalidCastException innerException)
  1909. {
  1910. throw new StrongTypingException("The value for column 'MoneySum' in table 'SaleBill' is DBNull.", innerException);
  1911. }
  1912. }
  1913. set
  1914. {
  1915. base[tableSaleBill.MoneySumColumn] = value;
  1916. }
  1917. }
  1918. [DebuggerNonUserCode]
  1919. public decimal TaxSum
  1920. {
  1921. get
  1922. {
  1923. try
  1924. {
  1925. return (decimal)base[tableSaleBill.TaxSumColumn];
  1926. }
  1927. catch (InvalidCastException innerException)
  1928. {
  1929. throw new StrongTypingException("The value for column 'TaxSum' in table 'SaleBill' is DBNull.", innerException);
  1930. }
  1931. }
  1932. set
  1933. {
  1934. base[tableSaleBill.TaxSumColumn] = value;
  1935. }
  1936. }
  1937. [DebuggerNonUserCode]
  1938. public string No_Principal
  1939. {
  1940. get
  1941. {
  1942. try
  1943. {
  1944. return (string)base[tableSaleBill.No_PrincipalColumn];
  1945. }
  1946. catch (InvalidCastException innerException)
  1947. {
  1948. throw new StrongTypingException("The value for column 'No_Principal' in table 'SaleBill' is DBNull.", innerException);
  1949. }
  1950. }
  1951. set
  1952. {
  1953. base[tableSaleBill.No_PrincipalColumn] = value;
  1954. }
  1955. }
  1956. [DebuggerNonUserCode]
  1957. public string RegistedAddress_Customer
  1958. {
  1959. get
  1960. {
  1961. try
  1962. {
  1963. return (string)base[tableSaleBill.RegistedAddress_CustomerColumn];
  1964. }
  1965. catch (InvalidCastException innerException)
  1966. {
  1967. throw new StrongTypingException("The value for column 'RegistedAddress_Customer' in table 'SaleBill' is DBNull.", innerException);
  1968. }
  1969. }
  1970. set
  1971. {
  1972. base[tableSaleBill.RegistedAddress_CustomerColumn] = value;
  1973. }
  1974. }
  1975. [DebuggerNonUserCode]
  1976. internal SaleBillRow(DataRowBuilder rb)
  1977. : base(rb)
  1978. {
  1979. tableSaleBill = (SaleBillDataTable)base.Table;
  1980. }
  1981. [DebuggerNonUserCode]
  1982. public bool IsNo_SaleBillNull()
  1983. {
  1984. return IsNull(tableSaleBill.No_SaleBillColumn);
  1985. }
  1986. [DebuggerNonUserCode]
  1987. public void SetNo_SaleBillNull()
  1988. {
  1989. base[tableSaleBill.No_SaleBillColumn] = Convert.DBNull;
  1990. }
  1991. [DebuggerNonUserCode]
  1992. public bool IsDate_SaleBillNull()
  1993. {
  1994. return IsNull(tableSaleBill.Date_SaleBillColumn);
  1995. }
  1996. [DebuggerNonUserCode]
  1997. public void SetDate_SaleBillNull()
  1998. {
  1999. base[tableSaleBill.Date_SaleBillColumn] = Convert.DBNull;
  2000. }
  2001. [DebuggerNonUserCode]
  2002. public bool IsNo_OrderBillNull()
  2003. {
  2004. return IsNull(tableSaleBill.No_OrderBillColumn);
  2005. }
  2006. [DebuggerNonUserCode]
  2007. public void SetNo_OrderBillNull()
  2008. {
  2009. base[tableSaleBill.No_OrderBillColumn] = Convert.DBNull;
  2010. }
  2011. [DebuggerNonUserCode]
  2012. public bool IsGetMethod_SaleBillNull()
  2013. {
  2014. return IsNull(tableSaleBill.GetMethod_SaleBillColumn);
  2015. }
  2016. [DebuggerNonUserCode]
  2017. public void SetGetMethod_SaleBillNull()
  2018. {
  2019. base[tableSaleBill.GetMethod_SaleBillColumn] = Convert.DBNull;
  2020. }
  2021. [DebuggerNonUserCode]
  2022. public bool IsToGet_SaleBillNull()
  2023. {
  2024. return IsNull(tableSaleBill.ToGet_SaleBillColumn);
  2025. }
  2026. [DebuggerNonUserCode]
  2027. public void SetToGet_SaleBillNull()
  2028. {
  2029. base[tableSaleBill.ToGet_SaleBillColumn] = Convert.DBNull;
  2030. }
  2031. [DebuggerNonUserCode]
  2032. public bool IsName_LinkmanNull()
  2033. {
  2034. return IsNull(tableSaleBill.Name_LinkmanColumn);
  2035. }
  2036. [DebuggerNonUserCode]
  2037. public void SetName_LinkmanNull()
  2038. {
  2039. base[tableSaleBill.Name_LinkmanColumn] = Convert.DBNull;
  2040. }
  2041. [DebuggerNonUserCode]
  2042. public bool IsTel_SaleBillNull()
  2043. {
  2044. return IsNull(tableSaleBill.Tel_SaleBillColumn);
  2045. }
  2046. [DebuggerNonUserCode]
  2047. public void SetTel_SaleBillNull()
  2048. {
  2049. base[tableSaleBill.Tel_SaleBillColumn] = Convert.DBNull;
  2050. }
  2051. [DebuggerNonUserCode]
  2052. public bool IsFax_SaleBillNull()
  2053. {
  2054. return IsNull(tableSaleBill.Fax_SaleBillColumn);
  2055. }
  2056. [DebuggerNonUserCode]
  2057. public void SetFax_SaleBillNull()
  2058. {
  2059. base[tableSaleBill.Fax_SaleBillColumn] = Convert.DBNull;
  2060. }
  2061. [DebuggerNonUserCode]
  2062. public bool IsSendAddr_SaleBillNull()
  2063. {
  2064. return IsNull(tableSaleBill.SendAddr_SaleBillColumn);
  2065. }
  2066. [DebuggerNonUserCode]
  2067. public void SetSendAddr_SaleBillNull()
  2068. {
  2069. base[tableSaleBill.SendAddr_SaleBillColumn] = Convert.DBNull;
  2070. }
  2071. [DebuggerNonUserCode]
  2072. public bool IsInvoiceAddress_CompanyNull()
  2073. {
  2074. return IsNull(tableSaleBill.InvoiceAddress_CompanyColumn);
  2075. }
  2076. [DebuggerNonUserCode]
  2077. public void SetInvoiceAddress_CompanyNull()
  2078. {
  2079. base[tableSaleBill.InvoiceAddress_CompanyColumn] = Convert.DBNull;
  2080. }
  2081. [DebuggerNonUserCode]
  2082. public bool IsInvoiceTitle_CompanyNull()
  2083. {
  2084. return IsNull(tableSaleBill.InvoiceTitle_CompanyColumn);
  2085. }
  2086. [DebuggerNonUserCode]
  2087. public void SetInvoiceTitle_CompanyNull()
  2088. {
  2089. base[tableSaleBill.InvoiceTitle_CompanyColumn] = Convert.DBNull;
  2090. }
  2091. [DebuggerNonUserCode]
  2092. public bool IsTaxCurrency_SaleBillNull()
  2093. {
  2094. return IsNull(tableSaleBill.TaxCurrency_SaleBillColumn);
  2095. }
  2096. [DebuggerNonUserCode]
  2097. public void SetTaxCurrency_SaleBillNull()
  2098. {
  2099. base[tableSaleBill.TaxCurrency_SaleBillColumn] = Convert.DBNull;
  2100. }
  2101. [DebuggerNonUserCode]
  2102. public bool IsCurrency_SaleBillNull()
  2103. {
  2104. return IsNull(tableSaleBill.Currency_SaleBillColumn);
  2105. }
  2106. [DebuggerNonUserCode]
  2107. public void SetCurrency_SaleBillNull()
  2108. {
  2109. base[tableSaleBill.Currency_SaleBillColumn] = Convert.DBNull;
  2110. }
  2111. [DebuggerNonUserCode]
  2112. public bool IsPrincipal_SaleBillNull()
  2113. {
  2114. return IsNull(tableSaleBill.Principal_SaleBillColumn);
  2115. }
  2116. [DebuggerNonUserCode]
  2117. public void SetPrincipal_SaleBillNull()
  2118. {
  2119. base[tableSaleBill.Principal_SaleBillColumn] = Convert.DBNull;
  2120. }
  2121. [DebuggerNonUserCode]
  2122. public bool IsAssessDate_SaleBillNull()
  2123. {
  2124. return IsNull(tableSaleBill.AssessDate_SaleBillColumn);
  2125. }
  2126. [DebuggerNonUserCode]
  2127. public void SetAssessDate_SaleBillNull()
  2128. {
  2129. base[tableSaleBill.AssessDate_SaleBillColumn] = Convert.DBNull;
  2130. }
  2131. [DebuggerNonUserCode]
  2132. public bool IsAssess_SaleBillNull()
  2133. {
  2134. return IsNull(tableSaleBill.Assess_SaleBillColumn);
  2135. }
  2136. [DebuggerNonUserCode]
  2137. public void SetAssess_SaleBillNull()
  2138. {
  2139. base[tableSaleBill.Assess_SaleBillColumn] = Convert.DBNull;
  2140. }
  2141. [DebuggerNonUserCode]
  2142. public bool IsDisable_SaleBillNull()
  2143. {
  2144. return IsNull(tableSaleBill.Disable_SaleBillColumn);
  2145. }
  2146. [DebuggerNonUserCode]
  2147. public void SetDisable_SaleBillNull()
  2148. {
  2149. base[tableSaleBill.Disable_SaleBillColumn] = Convert.DBNull;
  2150. }
  2151. [DebuggerNonUserCode]
  2152. public bool IsCreateDate_SaleBillNull()
  2153. {
  2154. return IsNull(tableSaleBill.CreateDate_SaleBillColumn);
  2155. }
  2156. [DebuggerNonUserCode]
  2157. public void SetCreateDate_SaleBillNull()
  2158. {
  2159. base[tableSaleBill.CreateDate_SaleBillColumn] = Convert.DBNull;
  2160. }
  2161. [DebuggerNonUserCode]
  2162. public bool IsLastModDate_SaleBillNull()
  2163. {
  2164. return IsNull(tableSaleBill.LastModDate_SaleBillColumn);
  2165. }
  2166. [DebuggerNonUserCode]
  2167. public void SetLastModDate_SaleBillNull()
  2168. {
  2169. base[tableSaleBill.LastModDate_SaleBillColumn] = Convert.DBNull;
  2170. }
  2171. [DebuggerNonUserCode]
  2172. public bool IsTransBack_SaleBillNull()
  2173. {
  2174. return IsNull(tableSaleBill.TransBack_SaleBillColumn);
  2175. }
  2176. [DebuggerNonUserCode]
  2177. public void SetTransBack_SaleBillNull()
  2178. {
  2179. base[tableSaleBill.TransBack_SaleBillColumn] = Convert.DBNull;
  2180. }
  2181. [DebuggerNonUserCode]
  2182. public bool IsTransBackDate_SaleBillNull()
  2183. {
  2184. return IsNull(tableSaleBill.TransBackDate_SaleBillColumn);
  2185. }
  2186. [DebuggerNonUserCode]
  2187. public void SetTransBackDate_SaleBillNull()
  2188. {
  2189. base[tableSaleBill.TransBackDate_SaleBillColumn] = Convert.DBNull;
  2190. }
  2191. [DebuggerNonUserCode]
  2192. public bool IsAmount_SaleBillNull()
  2193. {
  2194. return IsNull(tableSaleBill.Amount_SaleBillColumn);
  2195. }
  2196. [DebuggerNonUserCode]
  2197. public void SetAmount_SaleBillNull()
  2198. {
  2199. base[tableSaleBill.Amount_SaleBillColumn] = Convert.DBNull;
  2200. }
  2201. [DebuggerNonUserCode]
  2202. public bool IsRespite_SaleBillNull()
  2203. {
  2204. return IsNull(tableSaleBill.Respite_SaleBillColumn);
  2205. }
  2206. [DebuggerNonUserCode]
  2207. public void SetRespite_SaleBillNull()
  2208. {
  2209. base[tableSaleBill.Respite_SaleBillColumn] = Convert.DBNull;
  2210. }
  2211. [DebuggerNonUserCode]
  2212. public bool IsGoodsAmount_SaleBillNull()
  2213. {
  2214. return IsNull(tableSaleBill.GoodsAmount_SaleBillColumn);
  2215. }
  2216. [DebuggerNonUserCode]
  2217. public void SetGoodsAmount_SaleBillNull()
  2218. {
  2219. base[tableSaleBill.GoodsAmount_SaleBillColumn] = Convert.DBNull;
  2220. }
  2221. [DebuggerNonUserCode]
  2222. public bool IsTaxAmount_SaleBillNull()
  2223. {
  2224. return IsNull(tableSaleBill.TaxAmount_SaleBillColumn);
  2225. }
  2226. [DebuggerNonUserCode]
  2227. public void SetTaxAmount_SaleBillNull()
  2228. {
  2229. base[tableSaleBill.TaxAmount_SaleBillColumn] = Convert.DBNull;
  2230. }
  2231. [DebuggerNonUserCode]
  2232. public bool IsStrikedGoodsAmount_SaleBillNull()
  2233. {
  2234. return IsNull(tableSaleBill.StrikedGoodsAmount_SaleBillColumn);
  2235. }
  2236. [DebuggerNonUserCode]
  2237. public void SetStrikedGoodsAmount_SaleBillNull()
  2238. {
  2239. base[tableSaleBill.StrikedGoodsAmount_SaleBillColumn] = Convert.DBNull;
  2240. }
  2241. [DebuggerNonUserCode]
  2242. public bool IsStrikedTaxAmount_SaleBillNull()
  2243. {
  2244. return IsNull(tableSaleBill.StrikedTaxAmount_SaleBillColumn);
  2245. }
  2246. [DebuggerNonUserCode]
  2247. public void SetStrikedTaxAmount_SaleBillNull()
  2248. {
  2249. base[tableSaleBill.StrikedTaxAmount_SaleBillColumn] = Convert.DBNull;
  2250. }
  2251. [DebuggerNonUserCode]
  2252. public bool IsNo_CustomerNull()
  2253. {
  2254. return IsNull(tableSaleBill.No_CustomerColumn);
  2255. }
  2256. [DebuggerNonUserCode]
  2257. public void SetNo_CustomerNull()
  2258. {
  2259. base[tableSaleBill.No_CustomerColumn] = Convert.DBNull;
  2260. }
  2261. [DebuggerNonUserCode]
  2262. public bool IsName_CustomerNull()
  2263. {
  2264. return IsNull(tableSaleBill.Name_CustomerColumn);
  2265. }
  2266. [DebuggerNonUserCode]
  2267. public void SetName_CustomerNull()
  2268. {
  2269. base[tableSaleBill.Name_CustomerColumn] = Convert.DBNull;
  2270. }
  2271. [DebuggerNonUserCode]
  2272. public bool IsShortName_CustomerNull()
  2273. {
  2274. return IsNull(tableSaleBill.ShortName_CustomerColumn);
  2275. }
  2276. [DebuggerNonUserCode]
  2277. public void SetShortName_CustomerNull()
  2278. {
  2279. base[tableSaleBill.ShortName_CustomerColumn] = Convert.DBNull;
  2280. }
  2281. [DebuggerNonUserCode]
  2282. public bool IsType_CustomerNull()
  2283. {
  2284. return IsNull(tableSaleBill.Type_CustomerColumn);
  2285. }
  2286. [DebuggerNonUserCode]
  2287. public void SetType_CustomerNull()
  2288. {
  2289. base[tableSaleBill.Type_CustomerColumn] = Convert.DBNull;
  2290. }
  2291. [DebuggerNonUserCode]
  2292. public bool IsLastDiscount_CustomerNull()
  2293. {
  2294. return IsNull(tableSaleBill.LastDiscount_CustomerColumn);
  2295. }
  2296. [DebuggerNonUserCode]
  2297. public void SetLastDiscount_CustomerNull()
  2298. {
  2299. base[tableSaleBill.LastDiscount_CustomerColumn] = Convert.DBNull;
  2300. }
  2301. [DebuggerNonUserCode]
  2302. public bool IsPostalCode_CustomerNull()
  2303. {
  2304. return IsNull(tableSaleBill.PostalCode_CustomerColumn);
  2305. }
  2306. [DebuggerNonUserCode]
  2307. public void SetPostalCode_CustomerNull()
  2308. {
  2309. base[tableSaleBill.PostalCode_CustomerColumn] = Convert.DBNull;
  2310. }
  2311. [DebuggerNonUserCode]
  2312. public bool IsName_CreatorNull()
  2313. {
  2314. return IsNull(tableSaleBill.Name_CreatorColumn);
  2315. }
  2316. [DebuggerNonUserCode]
  2317. public void SetName_CreatorNull()
  2318. {
  2319. base[tableSaleBill.Name_CreatorColumn] = Convert.DBNull;
  2320. }
  2321. [DebuggerNonUserCode]
  2322. public bool IsName_AssessorNull()
  2323. {
  2324. return IsNull(tableSaleBill.Name_AssessorColumn);
  2325. }
  2326. [DebuggerNonUserCode]
  2327. public void SetName_AssessorNull()
  2328. {
  2329. base[tableSaleBill.Name_AssessorColumn] = Convert.DBNull;
  2330. }
  2331. [DebuggerNonUserCode]
  2332. public bool IsLastModUserNameNull()
  2333. {
  2334. return IsNull(tableSaleBill.LastModUserNameColumn);
  2335. }
  2336. [DebuggerNonUserCode]
  2337. public void SetLastModUserNameNull()
  2338. {
  2339. base[tableSaleBill.LastModUserNameColumn] = Convert.DBNull;
  2340. }
  2341. [DebuggerNonUserCode]
  2342. public bool IsNo_LocationNull()
  2343. {
  2344. return IsNull(tableSaleBill.No_LocationColumn);
  2345. }
  2346. [DebuggerNonUserCode]
  2347. public void SetNo_LocationNull()
  2348. {
  2349. base[tableSaleBill.No_LocationColumn] = Convert.DBNull;
  2350. }
  2351. [DebuggerNonUserCode]
  2352. public bool IsName_LocationNull()
  2353. {
  2354. return IsNull(tableSaleBill.Name_LocationColumn);
  2355. }
  2356. [DebuggerNonUserCode]
  2357. public void SetName_LocationNull()
  2358. {
  2359. base[tableSaleBill.Name_LocationColumn] = Convert.DBNull;
  2360. }
  2361. [DebuggerNonUserCode]
  2362. public bool IsNumSumNull()
  2363. {
  2364. return IsNull(tableSaleBill.NumSumColumn);
  2365. }
  2366. [DebuggerNonUserCode]
  2367. public void SetNumSumNull()
  2368. {
  2369. base[tableSaleBill.NumSumColumn] = Convert.DBNull;
  2370. }
  2371. [DebuggerNonUserCode]
  2372. public bool IsMoneySumNull()
  2373. {
  2374. return IsNull(tableSaleBill.MoneySumColumn);
  2375. }
  2376. [DebuggerNonUserCode]
  2377. public void SetMoneySumNull()
  2378. {
  2379. base[tableSaleBill.MoneySumColumn] = Convert.DBNull;
  2380. }
  2381. [DebuggerNonUserCode]
  2382. public bool IsTaxSumNull()
  2383. {
  2384. return IsNull(tableSaleBill.TaxSumColumn);
  2385. }
  2386. [DebuggerNonUserCode]
  2387. public void SetTaxSumNull()
  2388. {
  2389. base[tableSaleBill.TaxSumColumn] = Convert.DBNull;
  2390. }
  2391. [DebuggerNonUserCode]
  2392. public bool IsNo_PrincipalNull()
  2393. {
  2394. return IsNull(tableSaleBill.No_PrincipalColumn);
  2395. }
  2396. [DebuggerNonUserCode]
  2397. public void SetNo_PrincipalNull()
  2398. {
  2399. base[tableSaleBill.No_PrincipalColumn] = Convert.DBNull;
  2400. }
  2401. [DebuggerNonUserCode]
  2402. public bool IsRegistedAddress_CustomerNull()
  2403. {
  2404. return IsNull(tableSaleBill.RegistedAddress_CustomerColumn);
  2405. }
  2406. [DebuggerNonUserCode]
  2407. public void SetRegistedAddress_CustomerNull()
  2408. {
  2409. base[tableSaleBill.RegistedAddress_CustomerColumn] = Convert.DBNull;
  2410. }
  2411. }
  2412. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2413. public class SaleBillProductRow : DataRow
  2414. {
  2415. private SaleBillProductDataTable tableSaleBillProduct;
  2416. [DebuggerNonUserCode]
  2417. public string No_SaleBillProduct
  2418. {
  2419. get
  2420. {
  2421. try
  2422. {
  2423. return (string)base[tableSaleBillProduct.No_SaleBillProductColumn];
  2424. }
  2425. catch (InvalidCastException innerException)
  2426. {
  2427. throw new StrongTypingException("The value for column 'No_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2428. }
  2429. }
  2430. set
  2431. {
  2432. base[tableSaleBillProduct.No_SaleBillProductColumn] = value;
  2433. }
  2434. }
  2435. [DebuggerNonUserCode]
  2436. public int Type_FromBill
  2437. {
  2438. get
  2439. {
  2440. try
  2441. {
  2442. return (int)base[tableSaleBillProduct.Type_FromBillColumn];
  2443. }
  2444. catch (InvalidCastException innerException)
  2445. {
  2446. throw new StrongTypingException("The value for column 'Type_FromBill' in table 'SaleBillProduct' is DBNull.", innerException);
  2447. }
  2448. }
  2449. set
  2450. {
  2451. base[tableSaleBillProduct.Type_FromBillColumn] = value;
  2452. }
  2453. }
  2454. [DebuggerNonUserCode]
  2455. public string No_FromBill
  2456. {
  2457. get
  2458. {
  2459. try
  2460. {
  2461. return (string)base[tableSaleBillProduct.No_FromBillColumn];
  2462. }
  2463. catch (InvalidCastException innerException)
  2464. {
  2465. throw new StrongTypingException("The value for column 'No_FromBill' in table 'SaleBillProduct' is DBNull.", innerException);
  2466. }
  2467. }
  2468. set
  2469. {
  2470. base[tableSaleBillProduct.No_FromBillColumn] = value;
  2471. }
  2472. }
  2473. [DebuggerNonUserCode]
  2474. public string No_FromBillProduct
  2475. {
  2476. get
  2477. {
  2478. try
  2479. {
  2480. return (string)base[tableSaleBillProduct.No_FromBillProductColumn];
  2481. }
  2482. catch (InvalidCastException innerException)
  2483. {
  2484. throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2485. }
  2486. }
  2487. set
  2488. {
  2489. base[tableSaleBillProduct.No_FromBillProductColumn] = value;
  2490. }
  2491. }
  2492. [DebuggerNonUserCode]
  2493. public decimal Quantity_SaleBillProduct
  2494. {
  2495. get
  2496. {
  2497. try
  2498. {
  2499. return (decimal)base[tableSaleBillProduct.Quantity_SaleBillProductColumn];
  2500. }
  2501. catch (InvalidCastException innerException)
  2502. {
  2503. throw new StrongTypingException("The value for column 'Quantity_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2504. }
  2505. }
  2506. set
  2507. {
  2508. base[tableSaleBillProduct.Quantity_SaleBillProductColumn] = value;
  2509. }
  2510. }
  2511. [DebuggerNonUserCode]
  2512. public decimal UnitPrice_SaleBillProduct
  2513. {
  2514. get
  2515. {
  2516. try
  2517. {
  2518. return (decimal)base[tableSaleBillProduct.UnitPrice_SaleBillProductColumn];
  2519. }
  2520. catch (InvalidCastException innerException)
  2521. {
  2522. throw new StrongTypingException("The value for column 'UnitPrice_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2523. }
  2524. }
  2525. set
  2526. {
  2527. base[tableSaleBillProduct.UnitPrice_SaleBillProductColumn] = value;
  2528. }
  2529. }
  2530. [DebuggerNonUserCode]
  2531. public decimal Discount_SaleBillProduct
  2532. {
  2533. get
  2534. {
  2535. try
  2536. {
  2537. return (decimal)base[tableSaleBillProduct.Discount_SaleBillProductColumn];
  2538. }
  2539. catch (InvalidCastException innerException)
  2540. {
  2541. throw new StrongTypingException("The value for column 'Discount_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2542. }
  2543. }
  2544. set
  2545. {
  2546. base[tableSaleBillProduct.Discount_SaleBillProductColumn] = value;
  2547. }
  2548. }
  2549. [DebuggerNonUserCode]
  2550. public string Comment_SaleBillProduct
  2551. {
  2552. get
  2553. {
  2554. try
  2555. {
  2556. return (string)base[tableSaleBillProduct.Comment_SaleBillProductColumn];
  2557. }
  2558. catch (InvalidCastException innerException)
  2559. {
  2560. throw new StrongTypingException("The value for column 'Comment_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2561. }
  2562. }
  2563. set
  2564. {
  2565. base[tableSaleBillProduct.Comment_SaleBillProductColumn] = value;
  2566. }
  2567. }
  2568. [DebuggerNonUserCode]
  2569. public string No_Product
  2570. {
  2571. get
  2572. {
  2573. try
  2574. {
  2575. return (string)base[tableSaleBillProduct.No_ProductColumn];
  2576. }
  2577. catch (InvalidCastException innerException)
  2578. {
  2579. throw new StrongTypingException("The value for column 'No_Product' in table 'SaleBillProduct' is DBNull.", innerException);
  2580. }
  2581. }
  2582. set
  2583. {
  2584. base[tableSaleBillProduct.No_ProductColumn] = value;
  2585. }
  2586. }
  2587. [DebuggerNonUserCode]
  2588. public string Name_Product
  2589. {
  2590. get
  2591. {
  2592. try
  2593. {
  2594. return (string)base[tableSaleBillProduct.Name_ProductColumn];
  2595. }
  2596. catch (InvalidCastException innerException)
  2597. {
  2598. throw new StrongTypingException("The value for column 'Name_Product' in table 'SaleBillProduct' is DBNull.", innerException);
  2599. }
  2600. }
  2601. set
  2602. {
  2603. base[tableSaleBillProduct.Name_ProductColumn] = value;
  2604. }
  2605. }
  2606. [DebuggerNonUserCode]
  2607. public string Unit_Product
  2608. {
  2609. get
  2610. {
  2611. try
  2612. {
  2613. return (string)base[tableSaleBillProduct.Unit_ProductColumn];
  2614. }
  2615. catch (InvalidCastException innerException)
  2616. {
  2617. throw new StrongTypingException("The value for column 'Unit_Product' in table 'SaleBillProduct' is DBNull.", innerException);
  2618. }
  2619. }
  2620. set
  2621. {
  2622. base[tableSaleBillProduct.Unit_ProductColumn] = value;
  2623. }
  2624. }
  2625. [DebuggerNonUserCode]
  2626. public decimal LowSalePrice_Product
  2627. {
  2628. get
  2629. {
  2630. try
  2631. {
  2632. return (decimal)base[tableSaleBillProduct.LowSalePrice_ProductColumn];
  2633. }
  2634. catch (InvalidCastException innerException)
  2635. {
  2636. throw new StrongTypingException("The value for column 'LowSalePrice_Product' in table 'SaleBillProduct' is DBNull.", innerException);
  2637. }
  2638. }
  2639. set
  2640. {
  2641. base[tableSaleBillProduct.LowSalePrice_ProductColumn] = value;
  2642. }
  2643. }
  2644. [DebuggerNonUserCode]
  2645. public decimal Amount_SaleBillProduct
  2646. {
  2647. get
  2648. {
  2649. try
  2650. {
  2651. return (decimal)base[tableSaleBillProduct.Amount_SaleBillProductColumn];
  2652. }
  2653. catch (InvalidCastException innerException)
  2654. {
  2655. throw new StrongTypingException("The value for column 'Amount_SaleBillProduct' in table 'SaleBillProduct' is DBNull.", innerException);
  2656. }
  2657. }
  2658. set
  2659. {
  2660. base[tableSaleBillProduct.Amount_SaleBillProductColumn] = value;
  2661. }
  2662. }
  2663. [DebuggerNonUserCode]
  2664. public string Name_BillType
  2665. {
  2666. get
  2667. {
  2668. try
  2669. {
  2670. return (string)base[tableSaleBillProduct.Name_BillTypeColumn];
  2671. }
  2672. catch (InvalidCastException innerException)
  2673. {
  2674. throw new StrongTypingException("The value for column 'Name_BillType' in table 'SaleBillProduct' is DBNull.", innerException);
  2675. }
  2676. }
  2677. set
  2678. {
  2679. base[tableSaleBillProduct.Name_BillTypeColumn] = value;
  2680. }
  2681. }
  2682. [DebuggerNonUserCode]
  2683. public string No_SaleBill
  2684. {
  2685. get
  2686. {
  2687. try
  2688. {
  2689. return (string)base[tableSaleBillProduct.No_SaleBillColumn];
  2690. }
  2691. catch (InvalidCastException innerException)
  2692. {
  2693. throw new StrongTypingException("The value for column 'No_SaleBill' in table 'SaleBillProduct' is DBNull.", innerException);
  2694. }
  2695. }
  2696. set
  2697. {
  2698. base[tableSaleBillProduct.No_SaleBillColumn] = value;
  2699. }
  2700. }
  2701. [DebuggerNonUserCode]
  2702. internal SaleBillProductRow(DataRowBuilder rb)
  2703. : base(rb)
  2704. {
  2705. tableSaleBillProduct = (SaleBillProductDataTable)base.Table;
  2706. }
  2707. [DebuggerNonUserCode]
  2708. public bool IsNo_SaleBillProductNull()
  2709. {
  2710. return IsNull(tableSaleBillProduct.No_SaleBillProductColumn);
  2711. }
  2712. [DebuggerNonUserCode]
  2713. public void SetNo_SaleBillProductNull()
  2714. {
  2715. base[tableSaleBillProduct.No_SaleBillProductColumn] = Convert.DBNull;
  2716. }
  2717. [DebuggerNonUserCode]
  2718. public bool IsType_FromBillNull()
  2719. {
  2720. return IsNull(tableSaleBillProduct.Type_FromBillColumn);
  2721. }
  2722. [DebuggerNonUserCode]
  2723. public void SetType_FromBillNull()
  2724. {
  2725. base[tableSaleBillProduct.Type_FromBillColumn] = Convert.DBNull;
  2726. }
  2727. [DebuggerNonUserCode]
  2728. public bool IsNo_FromBillNull()
  2729. {
  2730. return IsNull(tableSaleBillProduct.No_FromBillColumn);
  2731. }
  2732. [DebuggerNonUserCode]
  2733. public void SetNo_FromBillNull()
  2734. {
  2735. base[tableSaleBillProduct.No_FromBillColumn] = Convert.DBNull;
  2736. }
  2737. [DebuggerNonUserCode]
  2738. public bool IsNo_FromBillProductNull()
  2739. {
  2740. return IsNull(tableSaleBillProduct.No_FromBillProductColumn);
  2741. }
  2742. [DebuggerNonUserCode]
  2743. public void SetNo_FromBillProductNull()
  2744. {
  2745. base[tableSaleBillProduct.No_FromBillProductColumn] = Convert.DBNull;
  2746. }
  2747. [DebuggerNonUserCode]
  2748. public bool IsQuantity_SaleBillProductNull()
  2749. {
  2750. return IsNull(tableSaleBillProduct.Quantity_SaleBillProductColumn);
  2751. }
  2752. [DebuggerNonUserCode]
  2753. public void SetQuantity_SaleBillProductNull()
  2754. {
  2755. base[tableSaleBillProduct.Quantity_SaleBillProductColumn] = Convert.DBNull;
  2756. }
  2757. [DebuggerNonUserCode]
  2758. public bool IsUnitPrice_SaleBillProductNull()
  2759. {
  2760. return IsNull(tableSaleBillProduct.UnitPrice_SaleBillProductColumn);
  2761. }
  2762. [DebuggerNonUserCode]
  2763. public void SetUnitPrice_SaleBillProductNull()
  2764. {
  2765. base[tableSaleBillProduct.UnitPrice_SaleBillProductColumn] = Convert.DBNull;
  2766. }
  2767. [DebuggerNonUserCode]
  2768. public bool IsDiscount_SaleBillProductNull()
  2769. {
  2770. return IsNull(tableSaleBillProduct.Discount_SaleBillProductColumn);
  2771. }
  2772. [DebuggerNonUserCode]
  2773. public void SetDiscount_SaleBillProductNull()
  2774. {
  2775. base[tableSaleBillProduct.Discount_SaleBillProductColumn] = Convert.DBNull;
  2776. }
  2777. [DebuggerNonUserCode]
  2778. public bool IsComment_SaleBillProductNull()
  2779. {
  2780. return IsNull(tableSaleBillProduct.Comment_SaleBillProductColumn);
  2781. }
  2782. [DebuggerNonUserCode]
  2783. public void SetComment_SaleBillProductNull()
  2784. {
  2785. base[tableSaleBillProduct.Comment_SaleBillProductColumn] = Convert.DBNull;
  2786. }
  2787. [DebuggerNonUserCode]
  2788. public bool IsNo_ProductNull()
  2789. {
  2790. return IsNull(tableSaleBillProduct.No_ProductColumn);
  2791. }
  2792. [DebuggerNonUserCode]
  2793. public void SetNo_ProductNull()
  2794. {
  2795. base[tableSaleBillProduct.No_ProductColumn] = Convert.DBNull;
  2796. }
  2797. [DebuggerNonUserCode]
  2798. public bool IsName_ProductNull()
  2799. {
  2800. return IsNull(tableSaleBillProduct.Name_ProductColumn);
  2801. }
  2802. [DebuggerNonUserCode]
  2803. public void SetName_ProductNull()
  2804. {
  2805. base[tableSaleBillProduct.Name_ProductColumn] = Convert.DBNull;
  2806. }
  2807. [DebuggerNonUserCode]
  2808. public bool IsUnit_ProductNull()
  2809. {
  2810. return IsNull(tableSaleBillProduct.Unit_ProductColumn);
  2811. }
  2812. [DebuggerNonUserCode]
  2813. public void SetUnit_ProductNull()
  2814. {
  2815. base[tableSaleBillProduct.Unit_ProductColumn] = Convert.DBNull;
  2816. }
  2817. [DebuggerNonUserCode]
  2818. public bool IsLowSalePrice_ProductNull()
  2819. {
  2820. return IsNull(tableSaleBillProduct.LowSalePrice_ProductColumn);
  2821. }
  2822. [DebuggerNonUserCode]
  2823. public void SetLowSalePrice_ProductNull()
  2824. {
  2825. base[tableSaleBillProduct.LowSalePrice_ProductColumn] = Convert.DBNull;
  2826. }
  2827. [DebuggerNonUserCode]
  2828. public bool IsAmount_SaleBillProductNull()
  2829. {
  2830. return IsNull(tableSaleBillProduct.Amount_SaleBillProductColumn);
  2831. }
  2832. [DebuggerNonUserCode]
  2833. public void SetAmount_SaleBillProductNull()
  2834. {
  2835. base[tableSaleBillProduct.Amount_SaleBillProductColumn] = Convert.DBNull;
  2836. }
  2837. [DebuggerNonUserCode]
  2838. public bool IsName_BillTypeNull()
  2839. {
  2840. return IsNull(tableSaleBillProduct.Name_BillTypeColumn);
  2841. }
  2842. [DebuggerNonUserCode]
  2843. public void SetName_BillTypeNull()
  2844. {
  2845. base[tableSaleBillProduct.Name_BillTypeColumn] = Convert.DBNull;
  2846. }
  2847. [DebuggerNonUserCode]
  2848. public bool IsNo_SaleBillNull()
  2849. {
  2850. return IsNull(tableSaleBillProduct.No_SaleBillColumn);
  2851. }
  2852. [DebuggerNonUserCode]
  2853. public void SetNo_SaleBillNull()
  2854. {
  2855. base[tableSaleBillProduct.No_SaleBillColumn] = Convert.DBNull;
  2856. }
  2857. }
  2858. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2859. public class ReportCommentRow : DataRow
  2860. {
  2861. private ReportCommentDataTable tableReportComment;
  2862. [DebuggerNonUserCode]
  2863. public string Comment_ReportComment
  2864. {
  2865. get
  2866. {
  2867. try
  2868. {
  2869. return (string)base[tableReportComment.Comment_ReportCommentColumn];
  2870. }
  2871. catch (InvalidCastException innerException)
  2872. {
  2873. throw new StrongTypingException("The value for column 'Comment_ReportComment' in table 'ReportComment' is DBNull.", innerException);
  2874. }
  2875. }
  2876. set
  2877. {
  2878. base[tableReportComment.Comment_ReportCommentColumn] = value;
  2879. }
  2880. }
  2881. [DebuggerNonUserCode]
  2882. public string No_SaleBill
  2883. {
  2884. get
  2885. {
  2886. try
  2887. {
  2888. return (string)base[tableReportComment.No_SaleBillColumn];
  2889. }
  2890. catch (InvalidCastException innerException)
  2891. {
  2892. throw new StrongTypingException("The value for column 'No_SaleBill' in table 'ReportComment' is DBNull.", innerException);
  2893. }
  2894. }
  2895. set
  2896. {
  2897. base[tableReportComment.No_SaleBillColumn] = value;
  2898. }
  2899. }
  2900. [DebuggerNonUserCode]
  2901. internal ReportCommentRow(DataRowBuilder rb)
  2902. : base(rb)
  2903. {
  2904. tableReportComment = (ReportCommentDataTable)base.Table;
  2905. }
  2906. [DebuggerNonUserCode]
  2907. public bool IsComment_ReportCommentNull()
  2908. {
  2909. return IsNull(tableReportComment.Comment_ReportCommentColumn);
  2910. }
  2911. [DebuggerNonUserCode]
  2912. public void SetComment_ReportCommentNull()
  2913. {
  2914. base[tableReportComment.Comment_ReportCommentColumn] = Convert.DBNull;
  2915. }
  2916. [DebuggerNonUserCode]
  2917. public bool IsNo_SaleBillNull()
  2918. {
  2919. return IsNull(tableReportComment.No_SaleBillColumn);
  2920. }
  2921. [DebuggerNonUserCode]
  2922. public void SetNo_SaleBillNull()
  2923. {
  2924. base[tableReportComment.No_SaleBillColumn] = Convert.DBNull;
  2925. }
  2926. }
  2927. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2928. public class AppendInfoRow : DataRow
  2929. {
  2930. private AppendInfoDataTable tableAppendInfo;
  2931. [DebuggerNonUserCode]
  2932. public string CurrentCompany
  2933. {
  2934. get
  2935. {
  2936. try
  2937. {
  2938. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  2939. }
  2940. catch (InvalidCastException innerException)
  2941. {
  2942. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  2943. }
  2944. }
  2945. set
  2946. {
  2947. base[tableAppendInfo.CurrentCompanyColumn] = value;
  2948. }
  2949. }
  2950. [DebuggerNonUserCode]
  2951. public string CurrentUser
  2952. {
  2953. get
  2954. {
  2955. try
  2956. {
  2957. return (string)base[tableAppendInfo.CurrentUserColumn];
  2958. }
  2959. catch (InvalidCastException innerException)
  2960. {
  2961. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  2962. }
  2963. }
  2964. set
  2965. {
  2966. base[tableAppendInfo.CurrentUserColumn] = value;
  2967. }
  2968. }
  2969. [DebuggerNonUserCode]
  2970. internal AppendInfoRow(DataRowBuilder rb)
  2971. : base(rb)
  2972. {
  2973. tableAppendInfo = (AppendInfoDataTable)base.Table;
  2974. }
  2975. [DebuggerNonUserCode]
  2976. public bool IsCurrentCompanyNull()
  2977. {
  2978. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  2979. }
  2980. [DebuggerNonUserCode]
  2981. public void SetCurrentCompanyNull()
  2982. {
  2983. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  2984. }
  2985. [DebuggerNonUserCode]
  2986. public bool IsCurrentUserNull()
  2987. {
  2988. return IsNull(tableAppendInfo.CurrentUserColumn);
  2989. }
  2990. [DebuggerNonUserCode]
  2991. public void SetCurrentUserNull()
  2992. {
  2993. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  2994. }
  2995. }
  2996. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2997. public class SaleBillRowChangeEvent : EventArgs
  2998. {
  2999. private SaleBillRow eventRow;
  3000. private DataRowAction eventAction;
  3001. [DebuggerNonUserCode]
  3002. public SaleBillRow Row => eventRow;
  3003. [DebuggerNonUserCode]
  3004. public DataRowAction Action => eventAction;
  3005. [DebuggerNonUserCode]
  3006. public SaleBillRowChangeEvent(SaleBillRow row, DataRowAction action)
  3007. {
  3008. eventRow = row;
  3009. eventAction = action;
  3010. }
  3011. }
  3012. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3013. public class SaleBillProductRowChangeEvent : EventArgs
  3014. {
  3015. private SaleBillProductRow eventRow;
  3016. private DataRowAction eventAction;
  3017. [DebuggerNonUserCode]
  3018. public SaleBillProductRow Row => eventRow;
  3019. [DebuggerNonUserCode]
  3020. public DataRowAction Action => eventAction;
  3021. [DebuggerNonUserCode]
  3022. public SaleBillProductRowChangeEvent(SaleBillProductRow row, DataRowAction action)
  3023. {
  3024. eventRow = row;
  3025. eventAction = action;
  3026. }
  3027. }
  3028. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3029. public class ReportCommentRowChangeEvent : EventArgs
  3030. {
  3031. private ReportCommentRow eventRow;
  3032. private DataRowAction eventAction;
  3033. [DebuggerNonUserCode]
  3034. public ReportCommentRow Row => eventRow;
  3035. [DebuggerNonUserCode]
  3036. public DataRowAction Action => eventAction;
  3037. [DebuggerNonUserCode]
  3038. public ReportCommentRowChangeEvent(ReportCommentRow row, DataRowAction action)
  3039. {
  3040. eventRow = row;
  3041. eventAction = action;
  3042. }
  3043. }
  3044. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3045. public class AppendInfoRowChangeEvent : EventArgs
  3046. {
  3047. private AppendInfoRow eventRow;
  3048. private DataRowAction eventAction;
  3049. [DebuggerNonUserCode]
  3050. public AppendInfoRow Row => eventRow;
  3051. [DebuggerNonUserCode]
  3052. public DataRowAction Action => eventAction;
  3053. [DebuggerNonUserCode]
  3054. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  3055. {
  3056. eventRow = row;
  3057. eventAction = action;
  3058. }
  3059. }
  3060. private SaleBillDataTable tableSaleBill;
  3061. private SaleBillProductDataTable tableSaleBillProduct;
  3062. private ReportCommentDataTable tableReportComment;
  3063. private AppendInfoDataTable tableAppendInfo;
  3064. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  3065. [DebuggerNonUserCode]
  3066. [Browsable(false)]
  3067. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3068. public SaleBillDataTable SaleBill => tableSaleBill;
  3069. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3070. [DebuggerNonUserCode]
  3071. [Browsable(false)]
  3072. public SaleBillProductDataTable SaleBillProduct => tableSaleBillProduct;
  3073. [Browsable(false)]
  3074. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3075. [DebuggerNonUserCode]
  3076. public ReportCommentDataTable ReportComment => tableReportComment;
  3077. [DebuggerNonUserCode]
  3078. [Browsable(false)]
  3079. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3080. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  3081. [Browsable(true)]
  3082. [DebuggerNonUserCode]
  3083. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  3084. public override SchemaSerializationMode SchemaSerializationMode
  3085. {
  3086. get
  3087. {
  3088. return _schemaSerializationMode;
  3089. }
  3090. set
  3091. {
  3092. _schemaSerializationMode = value;
  3093. }
  3094. }
  3095. [DebuggerNonUserCode]
  3096. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  3097. public new DataTableCollection Tables => base.Tables;
  3098. [DebuggerNonUserCode]
  3099. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  3100. public new DataRelationCollection Relations => base.Relations;
  3101. [DebuggerNonUserCode]
  3102. public dsFrmSaleBill()
  3103. {
  3104. BeginInit();
  3105. InitClass();
  3106. CollectionChangeEventHandler value = SchemaChanged;
  3107. base.Tables.CollectionChanged += value;
  3108. base.Relations.CollectionChanged += value;
  3109. EndInit();
  3110. }
  3111. [DebuggerNonUserCode]
  3112. protected dsFrmSaleBill(SerializationInfo info, StreamingContext context)
  3113. : base(info, context, ConstructSchema: false)
  3114. {
  3115. if (IsBinarySerialized(info, context))
  3116. {
  3117. InitVars(initTable: false);
  3118. CollectionChangeEventHandler value = SchemaChanged;
  3119. Tables.CollectionChanged += value;
  3120. Relations.CollectionChanged += value;
  3121. return;
  3122. }
  3123. string s = (string)info.GetValue("XmlSchema", typeof(string));
  3124. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  3125. {
  3126. DataSet dataSet = new DataSet();
  3127. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  3128. if (dataSet.Tables["SaleBill"] != null)
  3129. {
  3130. base.Tables.Add(new SaleBillDataTable(dataSet.Tables["SaleBill"]));
  3131. }
  3132. if (dataSet.Tables["SaleBillProduct"] != null)
  3133. {
  3134. base.Tables.Add(new SaleBillProductDataTable(dataSet.Tables["SaleBillProduct"]));
  3135. }
  3136. if (dataSet.Tables["ReportComment"] != null)
  3137. {
  3138. base.Tables.Add(new ReportCommentDataTable(dataSet.Tables["ReportComment"]));
  3139. }
  3140. if (dataSet.Tables["AppendInfo"] != null)
  3141. {
  3142. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  3143. }
  3144. base.DataSetName = dataSet.DataSetName;
  3145. base.Prefix = dataSet.Prefix;
  3146. base.Namespace = dataSet.Namespace;
  3147. base.Locale = dataSet.Locale;
  3148. base.CaseSensitive = dataSet.CaseSensitive;
  3149. base.EnforceConstraints = dataSet.EnforceConstraints;
  3150. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  3151. InitVars();
  3152. }
  3153. else
  3154. {
  3155. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  3156. }
  3157. GetSerializationData(info, context);
  3158. CollectionChangeEventHandler value2 = SchemaChanged;
  3159. base.Tables.CollectionChanged += value2;
  3160. Relations.CollectionChanged += value2;
  3161. }
  3162. [DebuggerNonUserCode]
  3163. protected override void InitializeDerivedDataSet()
  3164. {
  3165. BeginInit();
  3166. InitClass();
  3167. EndInit();
  3168. }
  3169. [DebuggerNonUserCode]
  3170. public override DataSet Clone()
  3171. {
  3172. dsFrmSaleBill dsFrmSaleBill = (dsFrmSaleBill)base.Clone();
  3173. dsFrmSaleBill.InitVars();
  3174. dsFrmSaleBill.SchemaSerializationMode = SchemaSerializationMode;
  3175. return dsFrmSaleBill;
  3176. }
  3177. [DebuggerNonUserCode]
  3178. protected override bool ShouldSerializeTables()
  3179. {
  3180. return false;
  3181. }
  3182. [DebuggerNonUserCode]
  3183. protected override bool ShouldSerializeRelations()
  3184. {
  3185. return false;
  3186. }
  3187. [DebuggerNonUserCode]
  3188. protected override void ReadXmlSerializable(XmlReader reader)
  3189. {
  3190. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  3191. {
  3192. Reset();
  3193. DataSet dataSet = new DataSet();
  3194. dataSet.ReadXml(reader);
  3195. if (dataSet.Tables["SaleBill"] != null)
  3196. {
  3197. base.Tables.Add(new SaleBillDataTable(dataSet.Tables["SaleBill"]));
  3198. }
  3199. if (dataSet.Tables["SaleBillProduct"] != null)
  3200. {
  3201. base.Tables.Add(new SaleBillProductDataTable(dataSet.Tables["SaleBillProduct"]));
  3202. }
  3203. if (dataSet.Tables["ReportComment"] != null)
  3204. {
  3205. base.Tables.Add(new ReportCommentDataTable(dataSet.Tables["ReportComment"]));
  3206. }
  3207. if (dataSet.Tables["AppendInfo"] != null)
  3208. {
  3209. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  3210. }
  3211. base.DataSetName = dataSet.DataSetName;
  3212. base.Prefix = dataSet.Prefix;
  3213. base.Namespace = dataSet.Namespace;
  3214. base.Locale = dataSet.Locale;
  3215. base.CaseSensitive = dataSet.CaseSensitive;
  3216. base.EnforceConstraints = dataSet.EnforceConstraints;
  3217. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  3218. InitVars();
  3219. }
  3220. else
  3221. {
  3222. ReadXml(reader);
  3223. InitVars();
  3224. }
  3225. }
  3226. [DebuggerNonUserCode]
  3227. protected override XmlSchema GetSchemaSerializable()
  3228. {
  3229. MemoryStream memoryStream = new MemoryStream();
  3230. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  3231. memoryStream.Position = 0L;
  3232. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  3233. }
  3234. [DebuggerNonUserCode]
  3235. internal void InitVars()
  3236. {
  3237. InitVars(initTable: true);
  3238. }
  3239. [DebuggerNonUserCode]
  3240. internal void InitVars(bool initTable)
  3241. {
  3242. tableSaleBill = (SaleBillDataTable)base.Tables["SaleBill"];
  3243. if (initTable && tableSaleBill != null)
  3244. {
  3245. tableSaleBill.InitVars();
  3246. }
  3247. tableSaleBillProduct = (SaleBillProductDataTable)base.Tables["SaleBillProduct"];
  3248. if (initTable && tableSaleBillProduct != null)
  3249. {
  3250. tableSaleBillProduct.InitVars();
  3251. }
  3252. tableReportComment = (ReportCommentDataTable)base.Tables["ReportComment"];
  3253. if (initTable && tableReportComment != null)
  3254. {
  3255. tableReportComment.InitVars();
  3256. }
  3257. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  3258. if (initTable && tableAppendInfo != null)
  3259. {
  3260. tableAppendInfo.InitVars();
  3261. }
  3262. }
  3263. [DebuggerNonUserCode]
  3264. private void InitClass()
  3265. {
  3266. base.DataSetName = "dsFrmSaleBill";
  3267. base.Prefix = "";
  3268. base.Namespace = "http://tempuri.org/dsFrmSaleBill.xsd";
  3269. base.EnforceConstraints = true;
  3270. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  3271. tableSaleBill = new SaleBillDataTable();
  3272. base.Tables.Add(tableSaleBill);
  3273. tableSaleBillProduct = new SaleBillProductDataTable();
  3274. base.Tables.Add(tableSaleBillProduct);
  3275. tableReportComment = new ReportCommentDataTable();
  3276. base.Tables.Add(tableReportComment);
  3277. tableAppendInfo = new AppendInfoDataTable();
  3278. base.Tables.Add(tableAppendInfo);
  3279. }
  3280. [DebuggerNonUserCode]
  3281. private bool ShouldSerializeSaleBill()
  3282. {
  3283. return false;
  3284. }
  3285. [DebuggerNonUserCode]
  3286. private bool ShouldSerializeSaleBillProduct()
  3287. {
  3288. return false;
  3289. }
  3290. [DebuggerNonUserCode]
  3291. private bool ShouldSerializeReportComment()
  3292. {
  3293. return false;
  3294. }
  3295. [DebuggerNonUserCode]
  3296. private bool ShouldSerializeAppendInfo()
  3297. {
  3298. return false;
  3299. }
  3300. [DebuggerNonUserCode]
  3301. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  3302. {
  3303. if (e.Action == CollectionChangeAction.Remove)
  3304. {
  3305. InitVars();
  3306. }
  3307. }
  3308. [DebuggerNonUserCode]
  3309. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  3310. {
  3311. dsFrmSaleBill dsFrmSaleBill = new dsFrmSaleBill();
  3312. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  3313. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  3314. xs.Add(dsFrmSaleBill.GetSchemaSerializable());
  3315. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  3316. xmlSchemaAny.Namespace = dsFrmSaleBill.Namespace;
  3317. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  3318. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  3319. return xmlSchemaComplexType;
  3320. }
  3321. }
  3322. }