dsFrmSaleInvoicce.cs 97 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428
  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.Globalization;
  9. using System.IO;
  10. using System.Runtime.Serialization;
  11. using System.Xml;
  12. using System.Xml.Schema;
  13. using System.Xml.Serialization;
  14. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  15. {
  16. [Serializable]
  17. [XmlRoot("dsFrmSaleInvoicce")]
  18. [DesignerCategory("code")]
  19. [HelpKeyword("vs.data.DataSet")]
  20. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  21. [ToolboxItem(true)]
  22. [XmlSchemaProvider("GetTypedDataSetSchema")]
  23. public class dsFrmSaleInvoicce : DataSet
  24. {
  25. public delegate void SaleInvoiceRowChangeEventHandler(object sender, SaleInvoiceRowChangeEvent e);
  26. public delegate void SaleInvoiceProductRowChangeEventHandler(object sender, SaleInvoiceProductRowChangeEvent e);
  27. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  28. [Serializable]
  29. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  30. [XmlSchemaProvider("GetTypedTableSchema")]
  31. public class SaleInvoiceDataTable : DataTable, IEnumerable
  32. {
  33. private DataColumn columnNo_SaleInvoice;
  34. private DataColumn columnDate_SaleInvoice;
  35. private DataColumn columnType_SaleInvoice;
  36. private DataColumn columnInvoiceDate_SaleInvoice;
  37. private DataColumn columnNo_Invoice;
  38. private DataColumn columnInvoiceAddress_SaleInvoice;
  39. private DataColumn columnInvoiceTitle_SaleInvoice;
  40. private DataColumn columnBank_SaleInvoice;
  41. private DataColumn columnAccount_SaleInvoice;
  42. private DataColumn columnCurrency_SaleInvoice;
  43. private DataColumn columnPayDate_SaleInvoice;
  44. private DataColumn columnCreateDate_SaleInvoice;
  45. private DataColumn columnLastModDate_SaleInvoice;
  46. private DataColumn columnAssessDate_SaleInvoice;
  47. private DataColumn columnDisable_SaleInvoice;
  48. private DataColumn columnAmount_SaleInvoice;
  49. private DataColumn columnIncludeTax_SaleInvoice;
  50. private DataColumn columnGoodsAmount_SaleInvoice;
  51. private DataColumn columnTaxAmount_SaleInvoice;
  52. private DataColumn columnStrikedAmount_SaleInvoice;
  53. private DataColumn columnDiscountAmount_SaleInvoice;
  54. private DataColumn columnCreator;
  55. private DataColumn columnAssessor;
  56. private DataColumn columnLastModUser;
  57. private DataColumn columnNo_Customer;
  58. private DataColumn columnShortName_Customer;
  59. private DataColumn columnRevenueRegisterNo_Customer;
  60. private DataColumn columnBank_Customer;
  61. private DataColumn columnAccount_Customer;
  62. private DataColumn columnGetMethod_Customer;
  63. private DataColumn columnTypeName;
  64. private DataColumn columnStartDate;
  65. private DataColumn columnEndDate;
  66. private DataColumn columnckRtn;
  67. [DebuggerNonUserCode]
  68. public DataColumn No_SaleInvoiceColumn => columnNo_SaleInvoice;
  69. [DebuggerNonUserCode]
  70. public DataColumn Date_SaleInvoiceColumn => columnDate_SaleInvoice;
  71. [DebuggerNonUserCode]
  72. public DataColumn Type_SaleInvoiceColumn => columnType_SaleInvoice;
  73. [DebuggerNonUserCode]
  74. public DataColumn InvoiceDate_SaleInvoiceColumn => columnInvoiceDate_SaleInvoice;
  75. [DebuggerNonUserCode]
  76. public DataColumn No_InvoiceColumn => columnNo_Invoice;
  77. [DebuggerNonUserCode]
  78. public DataColumn InvoiceAddress_SaleInvoiceColumn => columnInvoiceAddress_SaleInvoice;
  79. [DebuggerNonUserCode]
  80. public DataColumn InvoiceTitle_SaleInvoiceColumn => columnInvoiceTitle_SaleInvoice;
  81. [DebuggerNonUserCode]
  82. public DataColumn Bank_SaleInvoiceColumn => columnBank_SaleInvoice;
  83. [DebuggerNonUserCode]
  84. public DataColumn Account_SaleInvoiceColumn => columnAccount_SaleInvoice;
  85. [DebuggerNonUserCode]
  86. public DataColumn Currency_SaleInvoiceColumn => columnCurrency_SaleInvoice;
  87. [DebuggerNonUserCode]
  88. public DataColumn PayDate_SaleInvoiceColumn => columnPayDate_SaleInvoice;
  89. [DebuggerNonUserCode]
  90. public DataColumn CreateDate_SaleInvoiceColumn => columnCreateDate_SaleInvoice;
  91. [DebuggerNonUserCode]
  92. public DataColumn LastModDate_SaleInvoiceColumn => columnLastModDate_SaleInvoice;
  93. [DebuggerNonUserCode]
  94. public DataColumn AssessDate_SaleInvoiceColumn => columnAssessDate_SaleInvoice;
  95. [DebuggerNonUserCode]
  96. public DataColumn Disable_SaleInvoiceColumn => columnDisable_SaleInvoice;
  97. [DebuggerNonUserCode]
  98. public DataColumn Amount_SaleInvoiceColumn => columnAmount_SaleInvoice;
  99. [DebuggerNonUserCode]
  100. public DataColumn IncludeTax_SaleInvoiceColumn => columnIncludeTax_SaleInvoice;
  101. [DebuggerNonUserCode]
  102. public DataColumn GoodsAmount_SaleInvoiceColumn => columnGoodsAmount_SaleInvoice;
  103. [DebuggerNonUserCode]
  104. public DataColumn TaxAmount_SaleInvoiceColumn => columnTaxAmount_SaleInvoice;
  105. [DebuggerNonUserCode]
  106. public DataColumn StrikedAmount_SaleInvoiceColumn => columnStrikedAmount_SaleInvoice;
  107. [DebuggerNonUserCode]
  108. public DataColumn DiscountAmount_SaleInvoiceColumn => columnDiscountAmount_SaleInvoice;
  109. [DebuggerNonUserCode]
  110. public DataColumn CreatorColumn => columnCreator;
  111. [DebuggerNonUserCode]
  112. public DataColumn AssessorColumn => columnAssessor;
  113. [DebuggerNonUserCode]
  114. public DataColumn LastModUserColumn => columnLastModUser;
  115. [DebuggerNonUserCode]
  116. public DataColumn No_CustomerColumn => columnNo_Customer;
  117. [DebuggerNonUserCode]
  118. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  119. [DebuggerNonUserCode]
  120. public DataColumn RevenueRegisterNo_CustomerColumn => columnRevenueRegisterNo_Customer;
  121. [DebuggerNonUserCode]
  122. public DataColumn Bank_CustomerColumn => columnBank_Customer;
  123. [DebuggerNonUserCode]
  124. public DataColumn Account_CustomerColumn => columnAccount_Customer;
  125. [DebuggerNonUserCode]
  126. public DataColumn GetMethod_CustomerColumn => columnGetMethod_Customer;
  127. [DebuggerNonUserCode]
  128. public DataColumn TypeNameColumn => columnTypeName;
  129. [DebuggerNonUserCode]
  130. public DataColumn StartDateColumn => columnStartDate;
  131. [DebuggerNonUserCode]
  132. public DataColumn EndDateColumn => columnEndDate;
  133. [DebuggerNonUserCode]
  134. public DataColumn ckRtnColumn => columnckRtn;
  135. [DebuggerNonUserCode]
  136. [Browsable(false)]
  137. public int Count => base.Rows.Count;
  138. [DebuggerNonUserCode]
  139. public SaleInvoiceRow this[int index] => (SaleInvoiceRow)base.Rows[index];
  140. public event SaleInvoiceRowChangeEventHandler SaleInvoiceRowChanging;
  141. public event SaleInvoiceRowChangeEventHandler SaleInvoiceRowChanged;
  142. public event SaleInvoiceRowChangeEventHandler SaleInvoiceRowDeleting;
  143. public event SaleInvoiceRowChangeEventHandler SaleInvoiceRowDeleted;
  144. [DebuggerNonUserCode]
  145. public SaleInvoiceDataTable()
  146. {
  147. base.TableName = "SaleInvoice";
  148. BeginInit();
  149. InitClass();
  150. EndInit();
  151. }
  152. [DebuggerNonUserCode]
  153. internal SaleInvoiceDataTable(DataTable table)
  154. {
  155. base.TableName = table.TableName;
  156. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  157. {
  158. base.CaseSensitive = table.CaseSensitive;
  159. }
  160. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  161. {
  162. base.Locale = table.Locale;
  163. }
  164. if (table.Namespace != table.DataSet.Namespace)
  165. {
  166. base.Namespace = table.Namespace;
  167. }
  168. base.Prefix = table.Prefix;
  169. base.MinimumCapacity = table.MinimumCapacity;
  170. }
  171. [DebuggerNonUserCode]
  172. protected SaleInvoiceDataTable(SerializationInfo info, StreamingContext context)
  173. : base(info, context)
  174. {
  175. InitVars();
  176. }
  177. [DebuggerNonUserCode]
  178. public void AddSaleInvoiceRow(SaleInvoiceRow row)
  179. {
  180. base.Rows.Add(row);
  181. }
  182. [DebuggerNonUserCode]
  183. public SaleInvoiceRow AddSaleInvoiceRow(string No_SaleInvoice, DateTime Date_SaleInvoice, int Type_SaleInvoice, DateTime InvoiceDate_SaleInvoice, string No_Invoice, string InvoiceAddress_SaleInvoice, string InvoiceTitle_SaleInvoice, string Bank_SaleInvoice, string Account_SaleInvoice, string Currency_SaleInvoice, DateTime PayDate_SaleInvoice, DateTime CreateDate_SaleInvoice, DateTime LastModDate_SaleInvoice, DateTime AssessDate_SaleInvoice, bool Disable_SaleInvoice, decimal Amount_SaleInvoice, bool IncludeTax_SaleInvoice, decimal GoodsAmount_SaleInvoice, decimal TaxAmount_SaleInvoice, decimal StrikedAmount_SaleInvoice, decimal DiscountAmount_SaleInvoice, string Creator, string Assessor, string LastModUser, string No_Customer, string ShortName_Customer, string RevenueRegisterNo_Customer, string Bank_Customer, string Account_Customer, string GetMethod_Customer, string TypeName, DateTime StartDate, DateTime EndDate, bool ckRtn)
  184. {
  185. SaleInvoiceRow saleInvoiceRow = (SaleInvoiceRow)NewRow();
  186. object[] array2 = saleInvoiceRow.ItemArray = new object[34]
  187. {
  188. No_SaleInvoice,
  189. Date_SaleInvoice,
  190. Type_SaleInvoice,
  191. InvoiceDate_SaleInvoice,
  192. No_Invoice,
  193. InvoiceAddress_SaleInvoice,
  194. InvoiceTitle_SaleInvoice,
  195. Bank_SaleInvoice,
  196. Account_SaleInvoice,
  197. Currency_SaleInvoice,
  198. PayDate_SaleInvoice,
  199. CreateDate_SaleInvoice,
  200. LastModDate_SaleInvoice,
  201. AssessDate_SaleInvoice,
  202. Disable_SaleInvoice,
  203. Amount_SaleInvoice,
  204. IncludeTax_SaleInvoice,
  205. GoodsAmount_SaleInvoice,
  206. TaxAmount_SaleInvoice,
  207. StrikedAmount_SaleInvoice,
  208. DiscountAmount_SaleInvoice,
  209. Creator,
  210. Assessor,
  211. LastModUser,
  212. No_Customer,
  213. ShortName_Customer,
  214. RevenueRegisterNo_Customer,
  215. Bank_Customer,
  216. Account_Customer,
  217. GetMethod_Customer,
  218. TypeName,
  219. StartDate,
  220. EndDate,
  221. ckRtn
  222. };
  223. base.Rows.Add(saleInvoiceRow);
  224. return saleInvoiceRow;
  225. }
  226. [DebuggerNonUserCode]
  227. public virtual IEnumerator GetEnumerator()
  228. {
  229. return base.Rows.GetEnumerator();
  230. }
  231. [DebuggerNonUserCode]
  232. public override DataTable Clone()
  233. {
  234. SaleInvoiceDataTable saleInvoiceDataTable = (SaleInvoiceDataTable)base.Clone();
  235. saleInvoiceDataTable.InitVars();
  236. return saleInvoiceDataTable;
  237. }
  238. [DebuggerNonUserCode]
  239. protected override DataTable CreateInstance()
  240. {
  241. return new SaleInvoiceDataTable();
  242. }
  243. [DebuggerNonUserCode]
  244. internal void InitVars()
  245. {
  246. columnNo_SaleInvoice = base.Columns["No_SaleInvoice"];
  247. columnDate_SaleInvoice = base.Columns["Date_SaleInvoice"];
  248. columnType_SaleInvoice = base.Columns["Type_SaleInvoice"];
  249. columnInvoiceDate_SaleInvoice = base.Columns["InvoiceDate_SaleInvoice"];
  250. columnNo_Invoice = base.Columns["No_Invoice"];
  251. columnInvoiceAddress_SaleInvoice = base.Columns["InvoiceAddress_SaleInvoice"];
  252. columnInvoiceTitle_SaleInvoice = base.Columns["InvoiceTitle_SaleInvoice"];
  253. columnBank_SaleInvoice = base.Columns["Bank_SaleInvoice"];
  254. columnAccount_SaleInvoice = base.Columns["Account_SaleInvoice"];
  255. columnCurrency_SaleInvoice = base.Columns["Currency_SaleInvoice"];
  256. columnPayDate_SaleInvoice = base.Columns["PayDate_SaleInvoice"];
  257. columnCreateDate_SaleInvoice = base.Columns["CreateDate_SaleInvoice"];
  258. columnLastModDate_SaleInvoice = base.Columns["LastModDate_SaleInvoice"];
  259. columnAssessDate_SaleInvoice = base.Columns["AssessDate_SaleInvoice"];
  260. columnDisable_SaleInvoice = base.Columns["Disable_SaleInvoice"];
  261. columnAmount_SaleInvoice = base.Columns["Amount_SaleInvoice"];
  262. columnIncludeTax_SaleInvoice = base.Columns["IncludeTax_SaleInvoice"];
  263. columnGoodsAmount_SaleInvoice = base.Columns["GoodsAmount_SaleInvoice"];
  264. columnTaxAmount_SaleInvoice = base.Columns["TaxAmount_SaleInvoice"];
  265. columnStrikedAmount_SaleInvoice = base.Columns["StrikedAmount_SaleInvoice"];
  266. columnDiscountAmount_SaleInvoice = base.Columns["DiscountAmount_SaleInvoice"];
  267. columnCreator = base.Columns["Creator"];
  268. columnAssessor = base.Columns["Assessor"];
  269. columnLastModUser = base.Columns["LastModUser"];
  270. columnNo_Customer = base.Columns["No_Customer"];
  271. columnShortName_Customer = base.Columns["ShortName_Customer"];
  272. columnRevenueRegisterNo_Customer = base.Columns["RevenueRegisterNo_Customer"];
  273. columnBank_Customer = base.Columns["Bank_Customer"];
  274. columnAccount_Customer = base.Columns["Account_Customer"];
  275. columnGetMethod_Customer = base.Columns["GetMethod_Customer"];
  276. columnTypeName = base.Columns["TypeName"];
  277. columnStartDate = base.Columns["StartDate"];
  278. columnEndDate = base.Columns["EndDate"];
  279. columnckRtn = base.Columns["ckRtn"];
  280. }
  281. [DebuggerNonUserCode]
  282. private void InitClass()
  283. {
  284. columnNo_SaleInvoice = new DataColumn("No_SaleInvoice", typeof(string), null, MappingType.Element);
  285. base.Columns.Add(columnNo_SaleInvoice);
  286. columnDate_SaleInvoice = new DataColumn("Date_SaleInvoice", typeof(DateTime), null, MappingType.Element);
  287. base.Columns.Add(columnDate_SaleInvoice);
  288. columnType_SaleInvoice = new DataColumn("Type_SaleInvoice", typeof(int), null, MappingType.Element);
  289. base.Columns.Add(columnType_SaleInvoice);
  290. columnInvoiceDate_SaleInvoice = new DataColumn("InvoiceDate_SaleInvoice", typeof(DateTime), null, MappingType.Element);
  291. base.Columns.Add(columnInvoiceDate_SaleInvoice);
  292. columnNo_Invoice = new DataColumn("No_Invoice", typeof(string), null, MappingType.Element);
  293. base.Columns.Add(columnNo_Invoice);
  294. columnInvoiceAddress_SaleInvoice = new DataColumn("InvoiceAddress_SaleInvoice", typeof(string), null, MappingType.Element);
  295. base.Columns.Add(columnInvoiceAddress_SaleInvoice);
  296. columnInvoiceTitle_SaleInvoice = new DataColumn("InvoiceTitle_SaleInvoice", typeof(string), null, MappingType.Element);
  297. base.Columns.Add(columnInvoiceTitle_SaleInvoice);
  298. columnBank_SaleInvoice = new DataColumn("Bank_SaleInvoice", typeof(string), null, MappingType.Element);
  299. base.Columns.Add(columnBank_SaleInvoice);
  300. columnAccount_SaleInvoice = new DataColumn("Account_SaleInvoice", typeof(string), null, MappingType.Element);
  301. base.Columns.Add(columnAccount_SaleInvoice);
  302. columnCurrency_SaleInvoice = new DataColumn("Currency_SaleInvoice", typeof(string), null, MappingType.Element);
  303. base.Columns.Add(columnCurrency_SaleInvoice);
  304. columnPayDate_SaleInvoice = new DataColumn("PayDate_SaleInvoice", typeof(DateTime), null, MappingType.Element);
  305. base.Columns.Add(columnPayDate_SaleInvoice);
  306. columnCreateDate_SaleInvoice = new DataColumn("CreateDate_SaleInvoice", typeof(DateTime), null, MappingType.Element);
  307. base.Columns.Add(columnCreateDate_SaleInvoice);
  308. columnLastModDate_SaleInvoice = new DataColumn("LastModDate_SaleInvoice", typeof(DateTime), null, MappingType.Element);
  309. base.Columns.Add(columnLastModDate_SaleInvoice);
  310. columnAssessDate_SaleInvoice = new DataColumn("AssessDate_SaleInvoice", typeof(DateTime), null, MappingType.Element);
  311. base.Columns.Add(columnAssessDate_SaleInvoice);
  312. columnDisable_SaleInvoice = new DataColumn("Disable_SaleInvoice", typeof(bool), null, MappingType.Element);
  313. base.Columns.Add(columnDisable_SaleInvoice);
  314. columnAmount_SaleInvoice = new DataColumn("Amount_SaleInvoice", typeof(decimal), null, MappingType.Element);
  315. base.Columns.Add(columnAmount_SaleInvoice);
  316. columnIncludeTax_SaleInvoice = new DataColumn("IncludeTax_SaleInvoice", typeof(bool), null, MappingType.Element);
  317. base.Columns.Add(columnIncludeTax_SaleInvoice);
  318. columnGoodsAmount_SaleInvoice = new DataColumn("GoodsAmount_SaleInvoice", typeof(decimal), null, MappingType.Element);
  319. base.Columns.Add(columnGoodsAmount_SaleInvoice);
  320. columnTaxAmount_SaleInvoice = new DataColumn("TaxAmount_SaleInvoice", typeof(decimal), null, MappingType.Element);
  321. base.Columns.Add(columnTaxAmount_SaleInvoice);
  322. columnStrikedAmount_SaleInvoice = new DataColumn("StrikedAmount_SaleInvoice", typeof(decimal), null, MappingType.Element);
  323. base.Columns.Add(columnStrikedAmount_SaleInvoice);
  324. columnDiscountAmount_SaleInvoice = new DataColumn("DiscountAmount_SaleInvoice", typeof(decimal), null, MappingType.Element);
  325. base.Columns.Add(columnDiscountAmount_SaleInvoice);
  326. columnCreator = new DataColumn("Creator", typeof(string), null, MappingType.Element);
  327. base.Columns.Add(columnCreator);
  328. columnAssessor = new DataColumn("Assessor", typeof(string), null, MappingType.Element);
  329. base.Columns.Add(columnAssessor);
  330. columnLastModUser = new DataColumn("LastModUser", typeof(string), null, MappingType.Element);
  331. base.Columns.Add(columnLastModUser);
  332. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  333. base.Columns.Add(columnNo_Customer);
  334. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  335. base.Columns.Add(columnShortName_Customer);
  336. columnRevenueRegisterNo_Customer = new DataColumn("RevenueRegisterNo_Customer", typeof(string), null, MappingType.Element);
  337. base.Columns.Add(columnRevenueRegisterNo_Customer);
  338. columnBank_Customer = new DataColumn("Bank_Customer", typeof(string), null, MappingType.Element);
  339. base.Columns.Add(columnBank_Customer);
  340. columnAccount_Customer = new DataColumn("Account_Customer", typeof(string), null, MappingType.Element);
  341. base.Columns.Add(columnAccount_Customer);
  342. columnGetMethod_Customer = new DataColumn("GetMethod_Customer", typeof(string), null, MappingType.Element);
  343. base.Columns.Add(columnGetMethod_Customer);
  344. columnTypeName = new DataColumn("TypeName", typeof(string), null, MappingType.Element);
  345. base.Columns.Add(columnTypeName);
  346. columnStartDate = new DataColumn("StartDate", typeof(DateTime), null, MappingType.Element);
  347. base.Columns.Add(columnStartDate);
  348. columnEndDate = new DataColumn("EndDate", typeof(DateTime), null, MappingType.Element);
  349. base.Columns.Add(columnEndDate);
  350. columnckRtn = new DataColumn("ckRtn", typeof(bool), null, MappingType.Element);
  351. base.Columns.Add(columnckRtn);
  352. }
  353. [DebuggerNonUserCode]
  354. public SaleInvoiceRow NewSaleInvoiceRow()
  355. {
  356. return (SaleInvoiceRow)NewRow();
  357. }
  358. [DebuggerNonUserCode]
  359. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  360. {
  361. return new SaleInvoiceRow(builder);
  362. }
  363. [DebuggerNonUserCode]
  364. protected override Type GetRowType()
  365. {
  366. return typeof(SaleInvoiceRow);
  367. }
  368. [DebuggerNonUserCode]
  369. protected override void OnRowChanged(DataRowChangeEventArgs e)
  370. {
  371. base.OnRowChanged(e);
  372. if (this.SaleInvoiceRowChanged != null)
  373. {
  374. this.SaleInvoiceRowChanged(this, new SaleInvoiceRowChangeEvent((SaleInvoiceRow)e.Row, e.Action));
  375. }
  376. }
  377. [DebuggerNonUserCode]
  378. protected override void OnRowChanging(DataRowChangeEventArgs e)
  379. {
  380. base.OnRowChanging(e);
  381. if (this.SaleInvoiceRowChanging != null)
  382. {
  383. this.SaleInvoiceRowChanging(this, new SaleInvoiceRowChangeEvent((SaleInvoiceRow)e.Row, e.Action));
  384. }
  385. }
  386. [DebuggerNonUserCode]
  387. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  388. {
  389. base.OnRowDeleted(e);
  390. if (this.SaleInvoiceRowDeleted != null)
  391. {
  392. this.SaleInvoiceRowDeleted(this, new SaleInvoiceRowChangeEvent((SaleInvoiceRow)e.Row, e.Action));
  393. }
  394. }
  395. [DebuggerNonUserCode]
  396. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  397. {
  398. base.OnRowDeleting(e);
  399. if (this.SaleInvoiceRowDeleting != null)
  400. {
  401. this.SaleInvoiceRowDeleting(this, new SaleInvoiceRowChangeEvent((SaleInvoiceRow)e.Row, e.Action));
  402. }
  403. }
  404. [DebuggerNonUserCode]
  405. public void RemoveSaleInvoiceRow(SaleInvoiceRow row)
  406. {
  407. base.Rows.Remove(row);
  408. }
  409. [DebuggerNonUserCode]
  410. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  411. {
  412. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  413. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  414. dsFrmSaleInvoicce dsFrmSaleInvoicce = new dsFrmSaleInvoicce();
  415. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  416. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  417. xmlSchemaAny.MinOccurs = 0m;
  418. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  419. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  420. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  421. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  422. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  423. xmlSchemaAny2.MinOccurs = 1m;
  424. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  425. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  426. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  427. xmlSchemaAttribute.Name = "namespace";
  428. xmlSchemaAttribute.FixedValue = dsFrmSaleInvoicce.Namespace;
  429. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  430. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  431. xmlSchemaAttribute2.Name = "tableTypeName";
  432. xmlSchemaAttribute2.FixedValue = "SaleInvoiceDataTable";
  433. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  434. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  435. XmlSchema schemaSerializable = dsFrmSaleInvoicce.GetSchemaSerializable();
  436. if (xs.Contains(schemaSerializable.TargetNamespace))
  437. {
  438. MemoryStream memoryStream = new MemoryStream();
  439. MemoryStream memoryStream2 = new MemoryStream();
  440. try
  441. {
  442. XmlSchema xmlSchema = null;
  443. schemaSerializable.Write(memoryStream);
  444. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  445. while (enumerator.MoveNext())
  446. {
  447. xmlSchema = (XmlSchema)enumerator.Current;
  448. memoryStream2.SetLength(0L);
  449. xmlSchema.Write(memoryStream2);
  450. if (memoryStream.Length == memoryStream2.Length)
  451. {
  452. memoryStream.Position = 0L;
  453. memoryStream2.Position = 0L;
  454. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  455. {
  456. }
  457. if (memoryStream.Position == memoryStream.Length)
  458. {
  459. return xmlSchemaComplexType;
  460. }
  461. }
  462. }
  463. }
  464. finally
  465. {
  466. memoryStream?.Close();
  467. memoryStream2?.Close();
  468. }
  469. }
  470. xs.Add(schemaSerializable);
  471. return xmlSchemaComplexType;
  472. }
  473. }
  474. [Serializable]
  475. [XmlSchemaProvider("GetTypedTableSchema")]
  476. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  477. public class SaleInvoiceProductDataTable : DataTable, IEnumerable
  478. {
  479. private DataColumn columnType_FromBill;
  480. private DataColumn columnNo_FromBill;
  481. private DataColumn columnNo_FromBillProduct;
  482. private DataColumn columnQuantity_SaleInvoiceProduct;
  483. private DataColumn columnUnitPrice_SaleInvoiceProduct;
  484. private DataColumn columnTaxRate_SaleInvoiceProduct;
  485. private DataColumn columnComment_SaleInvoiceProduct;
  486. private DataColumn columnAmount_SaleInvoiceProduct;
  487. private DataColumn columnTaxAmount_SaleInvoiceProduct;
  488. private DataColumn columnGoodsAmount_SaleInvoiceProduct;
  489. private DataColumn columnTaxCurrency_SaleInvoiceProduct;
  490. private DataColumn columnName_BillType;
  491. private DataColumn columnNo_Product;
  492. private DataColumn columnName_Product;
  493. private DataColumn columnInvoiceName_Product;
  494. private DataColumn columnUnit_Product;
  495. private DataColumn columnNegative;
  496. private DataColumn columnNo_Customer;
  497. private DataColumn columnShortName_Customer;
  498. private DataColumn columnMoney;
  499. [DebuggerNonUserCode]
  500. public DataColumn Type_FromBillColumn => columnType_FromBill;
  501. [DebuggerNonUserCode]
  502. public DataColumn No_FromBillColumn => columnNo_FromBill;
  503. [DebuggerNonUserCode]
  504. public DataColumn No_FromBillProductColumn => columnNo_FromBillProduct;
  505. [DebuggerNonUserCode]
  506. public DataColumn Quantity_SaleInvoiceProductColumn => columnQuantity_SaleInvoiceProduct;
  507. [DebuggerNonUserCode]
  508. public DataColumn UnitPrice_SaleInvoiceProductColumn => columnUnitPrice_SaleInvoiceProduct;
  509. [DebuggerNonUserCode]
  510. public DataColumn TaxRate_SaleInvoiceProductColumn => columnTaxRate_SaleInvoiceProduct;
  511. [DebuggerNonUserCode]
  512. public DataColumn Comment_SaleInvoiceProductColumn => columnComment_SaleInvoiceProduct;
  513. [DebuggerNonUserCode]
  514. public DataColumn Amount_SaleInvoiceProductColumn => columnAmount_SaleInvoiceProduct;
  515. [DebuggerNonUserCode]
  516. public DataColumn TaxAmount_SaleInvoiceProductColumn => columnTaxAmount_SaleInvoiceProduct;
  517. [DebuggerNonUserCode]
  518. public DataColumn GoodsAmount_SaleInvoiceProductColumn => columnGoodsAmount_SaleInvoiceProduct;
  519. [DebuggerNonUserCode]
  520. public DataColumn TaxCurrency_SaleInvoiceProductColumn => columnTaxCurrency_SaleInvoiceProduct;
  521. [DebuggerNonUserCode]
  522. public DataColumn Name_BillTypeColumn => columnName_BillType;
  523. [DebuggerNonUserCode]
  524. public DataColumn No_ProductColumn => columnNo_Product;
  525. [DebuggerNonUserCode]
  526. public DataColumn Name_ProductColumn => columnName_Product;
  527. [DebuggerNonUserCode]
  528. public DataColumn InvoiceName_ProductColumn => columnInvoiceName_Product;
  529. [DebuggerNonUserCode]
  530. public DataColumn Unit_ProductColumn => columnUnit_Product;
  531. [DebuggerNonUserCode]
  532. public DataColumn NegativeColumn => columnNegative;
  533. [DebuggerNonUserCode]
  534. public DataColumn No_CustomerColumn => columnNo_Customer;
  535. [DebuggerNonUserCode]
  536. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  537. [DebuggerNonUserCode]
  538. public DataColumn MoneyColumn => columnMoney;
  539. [Browsable(false)]
  540. [DebuggerNonUserCode]
  541. public int Count => base.Rows.Count;
  542. [DebuggerNonUserCode]
  543. public SaleInvoiceProductRow this[int index] => (SaleInvoiceProductRow)base.Rows[index];
  544. public event SaleInvoiceProductRowChangeEventHandler SaleInvoiceProductRowChanging;
  545. public event SaleInvoiceProductRowChangeEventHandler SaleInvoiceProductRowChanged;
  546. public event SaleInvoiceProductRowChangeEventHandler SaleInvoiceProductRowDeleting;
  547. public event SaleInvoiceProductRowChangeEventHandler SaleInvoiceProductRowDeleted;
  548. [DebuggerNonUserCode]
  549. public SaleInvoiceProductDataTable()
  550. {
  551. base.TableName = "SaleInvoiceProduct";
  552. BeginInit();
  553. InitClass();
  554. EndInit();
  555. }
  556. [DebuggerNonUserCode]
  557. internal SaleInvoiceProductDataTable(DataTable table)
  558. {
  559. base.TableName = table.TableName;
  560. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  561. {
  562. base.CaseSensitive = table.CaseSensitive;
  563. }
  564. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  565. {
  566. base.Locale = table.Locale;
  567. }
  568. if (table.Namespace != table.DataSet.Namespace)
  569. {
  570. base.Namespace = table.Namespace;
  571. }
  572. base.Prefix = table.Prefix;
  573. base.MinimumCapacity = table.MinimumCapacity;
  574. }
  575. [DebuggerNonUserCode]
  576. protected SaleInvoiceProductDataTable(SerializationInfo info, StreamingContext context)
  577. : base(info, context)
  578. {
  579. InitVars();
  580. }
  581. [DebuggerNonUserCode]
  582. public void AddSaleInvoiceProductRow(SaleInvoiceProductRow row)
  583. {
  584. base.Rows.Add(row);
  585. }
  586. [DebuggerNonUserCode]
  587. public SaleInvoiceProductRow AddSaleInvoiceProductRow(int Type_FromBill, string No_FromBill, string No_FromBillProduct, decimal Quantity_SaleInvoiceProduct, decimal UnitPrice_SaleInvoiceProduct, decimal TaxRate_SaleInvoiceProduct, string Comment_SaleInvoiceProduct, decimal Amount_SaleInvoiceProduct, decimal TaxAmount_SaleInvoiceProduct, decimal GoodsAmount_SaleInvoiceProduct, string TaxCurrency_SaleInvoiceProduct, string Name_BillType, string No_Product, string Name_Product, string InvoiceName_Product, string Unit_Product, bool Negative, string No_Customer, string ShortName_Customer, decimal Money)
  588. {
  589. SaleInvoiceProductRow saleInvoiceProductRow = (SaleInvoiceProductRow)NewRow();
  590. object[] array2 = saleInvoiceProductRow.ItemArray = new object[20]
  591. {
  592. Type_FromBill,
  593. No_FromBill,
  594. No_FromBillProduct,
  595. Quantity_SaleInvoiceProduct,
  596. UnitPrice_SaleInvoiceProduct,
  597. TaxRate_SaleInvoiceProduct,
  598. Comment_SaleInvoiceProduct,
  599. Amount_SaleInvoiceProduct,
  600. TaxAmount_SaleInvoiceProduct,
  601. GoodsAmount_SaleInvoiceProduct,
  602. TaxCurrency_SaleInvoiceProduct,
  603. Name_BillType,
  604. No_Product,
  605. Name_Product,
  606. InvoiceName_Product,
  607. Unit_Product,
  608. Negative,
  609. No_Customer,
  610. ShortName_Customer,
  611. Money
  612. };
  613. base.Rows.Add(saleInvoiceProductRow);
  614. return saleInvoiceProductRow;
  615. }
  616. [DebuggerNonUserCode]
  617. public virtual IEnumerator GetEnumerator()
  618. {
  619. return base.Rows.GetEnumerator();
  620. }
  621. [DebuggerNonUserCode]
  622. public override DataTable Clone()
  623. {
  624. SaleInvoiceProductDataTable saleInvoiceProductDataTable = (SaleInvoiceProductDataTable)base.Clone();
  625. saleInvoiceProductDataTable.InitVars();
  626. return saleInvoiceProductDataTable;
  627. }
  628. [DebuggerNonUserCode]
  629. protected override DataTable CreateInstance()
  630. {
  631. return new SaleInvoiceProductDataTable();
  632. }
  633. [DebuggerNonUserCode]
  634. internal void InitVars()
  635. {
  636. columnType_FromBill = base.Columns["Type_FromBill"];
  637. columnNo_FromBill = base.Columns["No_FromBill"];
  638. columnNo_FromBillProduct = base.Columns["No_FromBillProduct"];
  639. columnQuantity_SaleInvoiceProduct = base.Columns["Quantity_SaleInvoiceProduct"];
  640. columnUnitPrice_SaleInvoiceProduct = base.Columns["UnitPrice_SaleInvoiceProduct"];
  641. columnTaxRate_SaleInvoiceProduct = base.Columns["TaxRate_SaleInvoiceProduct"];
  642. columnComment_SaleInvoiceProduct = base.Columns["Comment_SaleInvoiceProduct"];
  643. columnAmount_SaleInvoiceProduct = base.Columns["Amount_SaleInvoiceProduct"];
  644. columnTaxAmount_SaleInvoiceProduct = base.Columns["TaxAmount_SaleInvoiceProduct"];
  645. columnGoodsAmount_SaleInvoiceProduct = base.Columns["GoodsAmount_SaleInvoiceProduct"];
  646. columnTaxCurrency_SaleInvoiceProduct = base.Columns["TaxCurrency_SaleInvoiceProduct"];
  647. columnName_BillType = base.Columns["Name_BillType"];
  648. columnNo_Product = base.Columns["No_Product"];
  649. columnName_Product = base.Columns["Name_Product"];
  650. columnInvoiceName_Product = base.Columns["InvoiceName_Product"];
  651. columnUnit_Product = base.Columns["Unit_Product"];
  652. columnNegative = base.Columns["Negative"];
  653. columnNo_Customer = base.Columns["No_Customer"];
  654. columnShortName_Customer = base.Columns["ShortName_Customer"];
  655. columnMoney = base.Columns["Money"];
  656. }
  657. [DebuggerNonUserCode]
  658. private void InitClass()
  659. {
  660. columnType_FromBill = new DataColumn("Type_FromBill", typeof(int), null, MappingType.Element);
  661. base.Columns.Add(columnType_FromBill);
  662. columnNo_FromBill = new DataColumn("No_FromBill", typeof(string), null, MappingType.Element);
  663. base.Columns.Add(columnNo_FromBill);
  664. columnNo_FromBillProduct = new DataColumn("No_FromBillProduct", typeof(string), null, MappingType.Element);
  665. base.Columns.Add(columnNo_FromBillProduct);
  666. columnQuantity_SaleInvoiceProduct = new DataColumn("Quantity_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  667. base.Columns.Add(columnQuantity_SaleInvoiceProduct);
  668. columnUnitPrice_SaleInvoiceProduct = new DataColumn("UnitPrice_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  669. base.Columns.Add(columnUnitPrice_SaleInvoiceProduct);
  670. columnTaxRate_SaleInvoiceProduct = new DataColumn("TaxRate_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  671. base.Columns.Add(columnTaxRate_SaleInvoiceProduct);
  672. columnComment_SaleInvoiceProduct = new DataColumn("Comment_SaleInvoiceProduct", typeof(string), null, MappingType.Element);
  673. base.Columns.Add(columnComment_SaleInvoiceProduct);
  674. columnAmount_SaleInvoiceProduct = new DataColumn("Amount_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  675. base.Columns.Add(columnAmount_SaleInvoiceProduct);
  676. columnTaxAmount_SaleInvoiceProduct = new DataColumn("TaxAmount_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  677. base.Columns.Add(columnTaxAmount_SaleInvoiceProduct);
  678. columnGoodsAmount_SaleInvoiceProduct = new DataColumn("GoodsAmount_SaleInvoiceProduct", typeof(decimal), null, MappingType.Element);
  679. base.Columns.Add(columnGoodsAmount_SaleInvoiceProduct);
  680. columnTaxCurrency_SaleInvoiceProduct = new DataColumn("TaxCurrency_SaleInvoiceProduct", typeof(string), null, MappingType.Element);
  681. base.Columns.Add(columnTaxCurrency_SaleInvoiceProduct);
  682. columnName_BillType = new DataColumn("Name_BillType", typeof(string), null, MappingType.Element);
  683. base.Columns.Add(columnName_BillType);
  684. columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
  685. base.Columns.Add(columnNo_Product);
  686. columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
  687. base.Columns.Add(columnName_Product);
  688. columnInvoiceName_Product = new DataColumn("InvoiceName_Product", typeof(string), null, MappingType.Element);
  689. base.Columns.Add(columnInvoiceName_Product);
  690. columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element);
  691. base.Columns.Add(columnUnit_Product);
  692. columnNegative = new DataColumn("Negative", typeof(bool), null, MappingType.Element);
  693. base.Columns.Add(columnNegative);
  694. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  695. base.Columns.Add(columnNo_Customer);
  696. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  697. base.Columns.Add(columnShortName_Customer);
  698. columnMoney = new DataColumn("Money", typeof(decimal), null, MappingType.Element);
  699. base.Columns.Add(columnMoney);
  700. }
  701. [DebuggerNonUserCode]
  702. public SaleInvoiceProductRow NewSaleInvoiceProductRow()
  703. {
  704. return (SaleInvoiceProductRow)NewRow();
  705. }
  706. [DebuggerNonUserCode]
  707. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  708. {
  709. return new SaleInvoiceProductRow(builder);
  710. }
  711. [DebuggerNonUserCode]
  712. protected override Type GetRowType()
  713. {
  714. return typeof(SaleInvoiceProductRow);
  715. }
  716. [DebuggerNonUserCode]
  717. protected override void OnRowChanged(DataRowChangeEventArgs e)
  718. {
  719. base.OnRowChanged(e);
  720. if (this.SaleInvoiceProductRowChanged != null)
  721. {
  722. this.SaleInvoiceProductRowChanged(this, new SaleInvoiceProductRowChangeEvent((SaleInvoiceProductRow)e.Row, e.Action));
  723. }
  724. }
  725. [DebuggerNonUserCode]
  726. protected override void OnRowChanging(DataRowChangeEventArgs e)
  727. {
  728. base.OnRowChanging(e);
  729. if (this.SaleInvoiceProductRowChanging != null)
  730. {
  731. this.SaleInvoiceProductRowChanging(this, new SaleInvoiceProductRowChangeEvent((SaleInvoiceProductRow)e.Row, e.Action));
  732. }
  733. }
  734. [DebuggerNonUserCode]
  735. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  736. {
  737. base.OnRowDeleted(e);
  738. if (this.SaleInvoiceProductRowDeleted != null)
  739. {
  740. this.SaleInvoiceProductRowDeleted(this, new SaleInvoiceProductRowChangeEvent((SaleInvoiceProductRow)e.Row, e.Action));
  741. }
  742. }
  743. [DebuggerNonUserCode]
  744. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  745. {
  746. base.OnRowDeleting(e);
  747. if (this.SaleInvoiceProductRowDeleting != null)
  748. {
  749. this.SaleInvoiceProductRowDeleting(this, new SaleInvoiceProductRowChangeEvent((SaleInvoiceProductRow)e.Row, e.Action));
  750. }
  751. }
  752. [DebuggerNonUserCode]
  753. public void RemoveSaleInvoiceProductRow(SaleInvoiceProductRow row)
  754. {
  755. base.Rows.Remove(row);
  756. }
  757. [DebuggerNonUserCode]
  758. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  759. {
  760. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  761. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  762. dsFrmSaleInvoicce dsFrmSaleInvoicce = new dsFrmSaleInvoicce();
  763. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  764. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  765. xmlSchemaAny.MinOccurs = 0m;
  766. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  767. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  768. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  769. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  770. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  771. xmlSchemaAny2.MinOccurs = 1m;
  772. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  773. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  774. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  775. xmlSchemaAttribute.Name = "namespace";
  776. xmlSchemaAttribute.FixedValue = dsFrmSaleInvoicce.Namespace;
  777. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  778. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  779. xmlSchemaAttribute2.Name = "tableTypeName";
  780. xmlSchemaAttribute2.FixedValue = "SaleInvoiceProductDataTable";
  781. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  782. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  783. XmlSchema schemaSerializable = dsFrmSaleInvoicce.GetSchemaSerializable();
  784. if (xs.Contains(schemaSerializable.TargetNamespace))
  785. {
  786. MemoryStream memoryStream = new MemoryStream();
  787. MemoryStream memoryStream2 = new MemoryStream();
  788. try
  789. {
  790. XmlSchema xmlSchema = null;
  791. schemaSerializable.Write(memoryStream);
  792. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  793. while (enumerator.MoveNext())
  794. {
  795. xmlSchema = (XmlSchema)enumerator.Current;
  796. memoryStream2.SetLength(0L);
  797. xmlSchema.Write(memoryStream2);
  798. if (memoryStream.Length == memoryStream2.Length)
  799. {
  800. memoryStream.Position = 0L;
  801. memoryStream2.Position = 0L;
  802. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  803. {
  804. }
  805. if (memoryStream.Position == memoryStream.Length)
  806. {
  807. return xmlSchemaComplexType;
  808. }
  809. }
  810. }
  811. }
  812. finally
  813. {
  814. memoryStream?.Close();
  815. memoryStream2?.Close();
  816. }
  817. }
  818. xs.Add(schemaSerializable);
  819. return xmlSchemaComplexType;
  820. }
  821. }
  822. [Serializable]
  823. [XmlSchemaProvider("GetTypedTableSchema")]
  824. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  825. public class AppendInfoDataTable : DataTable, IEnumerable
  826. {
  827. private DataColumn columnCurrentCompany;
  828. private DataColumn columnCurrentUser;
  829. [DebuggerNonUserCode]
  830. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  831. [DebuggerNonUserCode]
  832. public DataColumn CurrentUserColumn => columnCurrentUser;
  833. [Browsable(false)]
  834. [DebuggerNonUserCode]
  835. public int Count => base.Rows.Count;
  836. [DebuggerNonUserCode]
  837. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  838. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  839. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  840. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  841. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  842. [DebuggerNonUserCode]
  843. public AppendInfoDataTable()
  844. {
  845. base.TableName = "AppendInfo";
  846. BeginInit();
  847. InitClass();
  848. EndInit();
  849. }
  850. [DebuggerNonUserCode]
  851. internal AppendInfoDataTable(DataTable table)
  852. {
  853. base.TableName = table.TableName;
  854. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  855. {
  856. base.CaseSensitive = table.CaseSensitive;
  857. }
  858. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  859. {
  860. base.Locale = table.Locale;
  861. }
  862. if (table.Namespace != table.DataSet.Namespace)
  863. {
  864. base.Namespace = table.Namespace;
  865. }
  866. base.Prefix = table.Prefix;
  867. base.MinimumCapacity = table.MinimumCapacity;
  868. }
  869. [DebuggerNonUserCode]
  870. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  871. : base(info, context)
  872. {
  873. InitVars();
  874. }
  875. [DebuggerNonUserCode]
  876. public void AddAppendInfoRow(AppendInfoRow row)
  877. {
  878. base.Rows.Add(row);
  879. }
  880. [DebuggerNonUserCode]
  881. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  882. {
  883. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  884. object[] array2 = appendInfoRow.ItemArray = new object[2]
  885. {
  886. CurrentCompany,
  887. CurrentUser
  888. };
  889. base.Rows.Add(appendInfoRow);
  890. return appendInfoRow;
  891. }
  892. [DebuggerNonUserCode]
  893. public virtual IEnumerator GetEnumerator()
  894. {
  895. return base.Rows.GetEnumerator();
  896. }
  897. [DebuggerNonUserCode]
  898. public override DataTable Clone()
  899. {
  900. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  901. appendInfoDataTable.InitVars();
  902. return appendInfoDataTable;
  903. }
  904. [DebuggerNonUserCode]
  905. protected override DataTable CreateInstance()
  906. {
  907. return new AppendInfoDataTable();
  908. }
  909. [DebuggerNonUserCode]
  910. internal void InitVars()
  911. {
  912. columnCurrentCompany = base.Columns["CurrentCompany"];
  913. columnCurrentUser = base.Columns["CurrentUser"];
  914. }
  915. [DebuggerNonUserCode]
  916. private void InitClass()
  917. {
  918. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  919. base.Columns.Add(columnCurrentCompany);
  920. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  921. base.Columns.Add(columnCurrentUser);
  922. }
  923. [DebuggerNonUserCode]
  924. public AppendInfoRow NewAppendInfoRow()
  925. {
  926. return (AppendInfoRow)NewRow();
  927. }
  928. [DebuggerNonUserCode]
  929. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  930. {
  931. return new AppendInfoRow(builder);
  932. }
  933. [DebuggerNonUserCode]
  934. protected override Type GetRowType()
  935. {
  936. return typeof(AppendInfoRow);
  937. }
  938. [DebuggerNonUserCode]
  939. protected override void OnRowChanged(DataRowChangeEventArgs e)
  940. {
  941. base.OnRowChanged(e);
  942. if (this.AppendInfoRowChanged != null)
  943. {
  944. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  945. }
  946. }
  947. [DebuggerNonUserCode]
  948. protected override void OnRowChanging(DataRowChangeEventArgs e)
  949. {
  950. base.OnRowChanging(e);
  951. if (this.AppendInfoRowChanging != null)
  952. {
  953. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  954. }
  955. }
  956. [DebuggerNonUserCode]
  957. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  958. {
  959. base.OnRowDeleted(e);
  960. if (this.AppendInfoRowDeleted != null)
  961. {
  962. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  963. }
  964. }
  965. [DebuggerNonUserCode]
  966. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  967. {
  968. base.OnRowDeleting(e);
  969. if (this.AppendInfoRowDeleting != null)
  970. {
  971. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  972. }
  973. }
  974. [DebuggerNonUserCode]
  975. public void RemoveAppendInfoRow(AppendInfoRow row)
  976. {
  977. base.Rows.Remove(row);
  978. }
  979. [DebuggerNonUserCode]
  980. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  981. {
  982. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  983. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  984. dsFrmSaleInvoicce dsFrmSaleInvoicce = new dsFrmSaleInvoicce();
  985. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  986. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  987. xmlSchemaAny.MinOccurs = 0m;
  988. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  989. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  990. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  991. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  992. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  993. xmlSchemaAny2.MinOccurs = 1m;
  994. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  995. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  996. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  997. xmlSchemaAttribute.Name = "namespace";
  998. xmlSchemaAttribute.FixedValue = dsFrmSaleInvoicce.Namespace;
  999. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1000. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1001. xmlSchemaAttribute2.Name = "tableTypeName";
  1002. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  1003. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1004. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1005. XmlSchema schemaSerializable = dsFrmSaleInvoicce.GetSchemaSerializable();
  1006. if (xs.Contains(schemaSerializable.TargetNamespace))
  1007. {
  1008. MemoryStream memoryStream = new MemoryStream();
  1009. MemoryStream memoryStream2 = new MemoryStream();
  1010. try
  1011. {
  1012. XmlSchema xmlSchema = null;
  1013. schemaSerializable.Write(memoryStream);
  1014. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  1015. while (enumerator.MoveNext())
  1016. {
  1017. xmlSchema = (XmlSchema)enumerator.Current;
  1018. memoryStream2.SetLength(0L);
  1019. xmlSchema.Write(memoryStream2);
  1020. if (memoryStream.Length == memoryStream2.Length)
  1021. {
  1022. memoryStream.Position = 0L;
  1023. memoryStream2.Position = 0L;
  1024. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  1025. {
  1026. }
  1027. if (memoryStream.Position == memoryStream.Length)
  1028. {
  1029. return xmlSchemaComplexType;
  1030. }
  1031. }
  1032. }
  1033. }
  1034. finally
  1035. {
  1036. memoryStream?.Close();
  1037. memoryStream2?.Close();
  1038. }
  1039. }
  1040. xs.Add(schemaSerializable);
  1041. return xmlSchemaComplexType;
  1042. }
  1043. }
  1044. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1045. public class SaleInvoiceRow : DataRow
  1046. {
  1047. private SaleInvoiceDataTable tableSaleInvoice;
  1048. [DebuggerNonUserCode]
  1049. public string No_SaleInvoice
  1050. {
  1051. get
  1052. {
  1053. try
  1054. {
  1055. return (string)base[tableSaleInvoice.No_SaleInvoiceColumn];
  1056. }
  1057. catch (InvalidCastException innerException)
  1058. {
  1059. throw new StrongTypingException("The value for column 'No_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1060. }
  1061. }
  1062. set
  1063. {
  1064. base[tableSaleInvoice.No_SaleInvoiceColumn] = value;
  1065. }
  1066. }
  1067. [DebuggerNonUserCode]
  1068. public DateTime Date_SaleInvoice
  1069. {
  1070. get
  1071. {
  1072. try
  1073. {
  1074. return (DateTime)base[tableSaleInvoice.Date_SaleInvoiceColumn];
  1075. }
  1076. catch (InvalidCastException innerException)
  1077. {
  1078. throw new StrongTypingException("The value for column 'Date_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1079. }
  1080. }
  1081. set
  1082. {
  1083. base[tableSaleInvoice.Date_SaleInvoiceColumn] = value;
  1084. }
  1085. }
  1086. [DebuggerNonUserCode]
  1087. public int Type_SaleInvoice
  1088. {
  1089. get
  1090. {
  1091. try
  1092. {
  1093. return (int)base[tableSaleInvoice.Type_SaleInvoiceColumn];
  1094. }
  1095. catch (InvalidCastException innerException)
  1096. {
  1097. throw new StrongTypingException("The value for column 'Type_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1098. }
  1099. }
  1100. set
  1101. {
  1102. base[tableSaleInvoice.Type_SaleInvoiceColumn] = value;
  1103. }
  1104. }
  1105. [DebuggerNonUserCode]
  1106. public DateTime InvoiceDate_SaleInvoice
  1107. {
  1108. get
  1109. {
  1110. try
  1111. {
  1112. return (DateTime)base[tableSaleInvoice.InvoiceDate_SaleInvoiceColumn];
  1113. }
  1114. catch (InvalidCastException innerException)
  1115. {
  1116. throw new StrongTypingException("The value for column 'InvoiceDate_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1117. }
  1118. }
  1119. set
  1120. {
  1121. base[tableSaleInvoice.InvoiceDate_SaleInvoiceColumn] = value;
  1122. }
  1123. }
  1124. [DebuggerNonUserCode]
  1125. public string No_Invoice
  1126. {
  1127. get
  1128. {
  1129. try
  1130. {
  1131. return (string)base[tableSaleInvoice.No_InvoiceColumn];
  1132. }
  1133. catch (InvalidCastException innerException)
  1134. {
  1135. throw new StrongTypingException("The value for column 'No_Invoice' in table 'SaleInvoice' is DBNull.", innerException);
  1136. }
  1137. }
  1138. set
  1139. {
  1140. base[tableSaleInvoice.No_InvoiceColumn] = value;
  1141. }
  1142. }
  1143. [DebuggerNonUserCode]
  1144. public string InvoiceAddress_SaleInvoice
  1145. {
  1146. get
  1147. {
  1148. try
  1149. {
  1150. return (string)base[tableSaleInvoice.InvoiceAddress_SaleInvoiceColumn];
  1151. }
  1152. catch (InvalidCastException innerException)
  1153. {
  1154. throw new StrongTypingException("The value for column 'InvoiceAddress_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1155. }
  1156. }
  1157. set
  1158. {
  1159. base[tableSaleInvoice.InvoiceAddress_SaleInvoiceColumn] = value;
  1160. }
  1161. }
  1162. [DebuggerNonUserCode]
  1163. public string InvoiceTitle_SaleInvoice
  1164. {
  1165. get
  1166. {
  1167. try
  1168. {
  1169. return (string)base[tableSaleInvoice.InvoiceTitle_SaleInvoiceColumn];
  1170. }
  1171. catch (InvalidCastException innerException)
  1172. {
  1173. throw new StrongTypingException("The value for column 'InvoiceTitle_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1174. }
  1175. }
  1176. set
  1177. {
  1178. base[tableSaleInvoice.InvoiceTitle_SaleInvoiceColumn] = value;
  1179. }
  1180. }
  1181. [DebuggerNonUserCode]
  1182. public string Bank_SaleInvoice
  1183. {
  1184. get
  1185. {
  1186. try
  1187. {
  1188. return (string)base[tableSaleInvoice.Bank_SaleInvoiceColumn];
  1189. }
  1190. catch (InvalidCastException innerException)
  1191. {
  1192. throw new StrongTypingException("The value for column 'Bank_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1193. }
  1194. }
  1195. set
  1196. {
  1197. base[tableSaleInvoice.Bank_SaleInvoiceColumn] = value;
  1198. }
  1199. }
  1200. [DebuggerNonUserCode]
  1201. public string Account_SaleInvoice
  1202. {
  1203. get
  1204. {
  1205. try
  1206. {
  1207. return (string)base[tableSaleInvoice.Account_SaleInvoiceColumn];
  1208. }
  1209. catch (InvalidCastException innerException)
  1210. {
  1211. throw new StrongTypingException("The value for column 'Account_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1212. }
  1213. }
  1214. set
  1215. {
  1216. base[tableSaleInvoice.Account_SaleInvoiceColumn] = value;
  1217. }
  1218. }
  1219. [DebuggerNonUserCode]
  1220. public string Currency_SaleInvoice
  1221. {
  1222. get
  1223. {
  1224. try
  1225. {
  1226. return (string)base[tableSaleInvoice.Currency_SaleInvoiceColumn];
  1227. }
  1228. catch (InvalidCastException innerException)
  1229. {
  1230. throw new StrongTypingException("The value for column 'Currency_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1231. }
  1232. }
  1233. set
  1234. {
  1235. base[tableSaleInvoice.Currency_SaleInvoiceColumn] = value;
  1236. }
  1237. }
  1238. [DebuggerNonUserCode]
  1239. public DateTime PayDate_SaleInvoice
  1240. {
  1241. get
  1242. {
  1243. try
  1244. {
  1245. return (DateTime)base[tableSaleInvoice.PayDate_SaleInvoiceColumn];
  1246. }
  1247. catch (InvalidCastException innerException)
  1248. {
  1249. throw new StrongTypingException("The value for column 'PayDate_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1250. }
  1251. }
  1252. set
  1253. {
  1254. base[tableSaleInvoice.PayDate_SaleInvoiceColumn] = value;
  1255. }
  1256. }
  1257. [DebuggerNonUserCode]
  1258. public DateTime CreateDate_SaleInvoice
  1259. {
  1260. get
  1261. {
  1262. try
  1263. {
  1264. return (DateTime)base[tableSaleInvoice.CreateDate_SaleInvoiceColumn];
  1265. }
  1266. catch (InvalidCastException innerException)
  1267. {
  1268. throw new StrongTypingException("The value for column 'CreateDate_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1269. }
  1270. }
  1271. set
  1272. {
  1273. base[tableSaleInvoice.CreateDate_SaleInvoiceColumn] = value;
  1274. }
  1275. }
  1276. [DebuggerNonUserCode]
  1277. public DateTime LastModDate_SaleInvoice
  1278. {
  1279. get
  1280. {
  1281. try
  1282. {
  1283. return (DateTime)base[tableSaleInvoice.LastModDate_SaleInvoiceColumn];
  1284. }
  1285. catch (InvalidCastException innerException)
  1286. {
  1287. throw new StrongTypingException("The value for column 'LastModDate_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1288. }
  1289. }
  1290. set
  1291. {
  1292. base[tableSaleInvoice.LastModDate_SaleInvoiceColumn] = value;
  1293. }
  1294. }
  1295. [DebuggerNonUserCode]
  1296. public DateTime AssessDate_SaleInvoice
  1297. {
  1298. get
  1299. {
  1300. try
  1301. {
  1302. return (DateTime)base[tableSaleInvoice.AssessDate_SaleInvoiceColumn];
  1303. }
  1304. catch (InvalidCastException innerException)
  1305. {
  1306. throw new StrongTypingException("The value for column 'AssessDate_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1307. }
  1308. }
  1309. set
  1310. {
  1311. base[tableSaleInvoice.AssessDate_SaleInvoiceColumn] = value;
  1312. }
  1313. }
  1314. [DebuggerNonUserCode]
  1315. public bool Disable_SaleInvoice
  1316. {
  1317. get
  1318. {
  1319. try
  1320. {
  1321. return (bool)base[tableSaleInvoice.Disable_SaleInvoiceColumn];
  1322. }
  1323. catch (InvalidCastException innerException)
  1324. {
  1325. throw new StrongTypingException("The value for column 'Disable_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1326. }
  1327. }
  1328. set
  1329. {
  1330. base[tableSaleInvoice.Disable_SaleInvoiceColumn] = value;
  1331. }
  1332. }
  1333. [DebuggerNonUserCode]
  1334. public decimal Amount_SaleInvoice
  1335. {
  1336. get
  1337. {
  1338. try
  1339. {
  1340. return (decimal)base[tableSaleInvoice.Amount_SaleInvoiceColumn];
  1341. }
  1342. catch (InvalidCastException innerException)
  1343. {
  1344. throw new StrongTypingException("The value for column 'Amount_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1345. }
  1346. }
  1347. set
  1348. {
  1349. base[tableSaleInvoice.Amount_SaleInvoiceColumn] = value;
  1350. }
  1351. }
  1352. [DebuggerNonUserCode]
  1353. public bool IncludeTax_SaleInvoice
  1354. {
  1355. get
  1356. {
  1357. try
  1358. {
  1359. return (bool)base[tableSaleInvoice.IncludeTax_SaleInvoiceColumn];
  1360. }
  1361. catch (InvalidCastException innerException)
  1362. {
  1363. throw new StrongTypingException("The value for column 'IncludeTax_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1364. }
  1365. }
  1366. set
  1367. {
  1368. base[tableSaleInvoice.IncludeTax_SaleInvoiceColumn] = value;
  1369. }
  1370. }
  1371. [DebuggerNonUserCode]
  1372. public decimal GoodsAmount_SaleInvoice
  1373. {
  1374. get
  1375. {
  1376. try
  1377. {
  1378. return (decimal)base[tableSaleInvoice.GoodsAmount_SaleInvoiceColumn];
  1379. }
  1380. catch (InvalidCastException innerException)
  1381. {
  1382. throw new StrongTypingException("The value for column 'GoodsAmount_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1383. }
  1384. }
  1385. set
  1386. {
  1387. base[tableSaleInvoice.GoodsAmount_SaleInvoiceColumn] = value;
  1388. }
  1389. }
  1390. [DebuggerNonUserCode]
  1391. public decimal TaxAmount_SaleInvoice
  1392. {
  1393. get
  1394. {
  1395. try
  1396. {
  1397. return (decimal)base[tableSaleInvoice.TaxAmount_SaleInvoiceColumn];
  1398. }
  1399. catch (InvalidCastException innerException)
  1400. {
  1401. throw new StrongTypingException("The value for column 'TaxAmount_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1402. }
  1403. }
  1404. set
  1405. {
  1406. base[tableSaleInvoice.TaxAmount_SaleInvoiceColumn] = value;
  1407. }
  1408. }
  1409. [DebuggerNonUserCode]
  1410. public decimal StrikedAmount_SaleInvoice
  1411. {
  1412. get
  1413. {
  1414. try
  1415. {
  1416. return (decimal)base[tableSaleInvoice.StrikedAmount_SaleInvoiceColumn];
  1417. }
  1418. catch (InvalidCastException innerException)
  1419. {
  1420. throw new StrongTypingException("The value for column 'StrikedAmount_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1421. }
  1422. }
  1423. set
  1424. {
  1425. base[tableSaleInvoice.StrikedAmount_SaleInvoiceColumn] = value;
  1426. }
  1427. }
  1428. [DebuggerNonUserCode]
  1429. public decimal DiscountAmount_SaleInvoice
  1430. {
  1431. get
  1432. {
  1433. try
  1434. {
  1435. return (decimal)base[tableSaleInvoice.DiscountAmount_SaleInvoiceColumn];
  1436. }
  1437. catch (InvalidCastException innerException)
  1438. {
  1439. throw new StrongTypingException("The value for column 'DiscountAmount_SaleInvoice' in table 'SaleInvoice' is DBNull.", innerException);
  1440. }
  1441. }
  1442. set
  1443. {
  1444. base[tableSaleInvoice.DiscountAmount_SaleInvoiceColumn] = value;
  1445. }
  1446. }
  1447. [DebuggerNonUserCode]
  1448. public string Creator
  1449. {
  1450. get
  1451. {
  1452. try
  1453. {
  1454. return (string)base[tableSaleInvoice.CreatorColumn];
  1455. }
  1456. catch (InvalidCastException innerException)
  1457. {
  1458. throw new StrongTypingException("The value for column 'Creator' in table 'SaleInvoice' is DBNull.", innerException);
  1459. }
  1460. }
  1461. set
  1462. {
  1463. base[tableSaleInvoice.CreatorColumn] = value;
  1464. }
  1465. }
  1466. [DebuggerNonUserCode]
  1467. public string Assessor
  1468. {
  1469. get
  1470. {
  1471. try
  1472. {
  1473. return (string)base[tableSaleInvoice.AssessorColumn];
  1474. }
  1475. catch (InvalidCastException innerException)
  1476. {
  1477. throw new StrongTypingException("The value for column 'Assessor' in table 'SaleInvoice' is DBNull.", innerException);
  1478. }
  1479. }
  1480. set
  1481. {
  1482. base[tableSaleInvoice.AssessorColumn] = value;
  1483. }
  1484. }
  1485. [DebuggerNonUserCode]
  1486. public string LastModUser
  1487. {
  1488. get
  1489. {
  1490. try
  1491. {
  1492. return (string)base[tableSaleInvoice.LastModUserColumn];
  1493. }
  1494. catch (InvalidCastException innerException)
  1495. {
  1496. throw new StrongTypingException("The value for column 'LastModUser' in table 'SaleInvoice' is DBNull.", innerException);
  1497. }
  1498. }
  1499. set
  1500. {
  1501. base[tableSaleInvoice.LastModUserColumn] = value;
  1502. }
  1503. }
  1504. [DebuggerNonUserCode]
  1505. public string No_Customer
  1506. {
  1507. get
  1508. {
  1509. try
  1510. {
  1511. return (string)base[tableSaleInvoice.No_CustomerColumn];
  1512. }
  1513. catch (InvalidCastException innerException)
  1514. {
  1515. throw new StrongTypingException("The value for column 'No_Customer' in table 'SaleInvoice' is DBNull.", innerException);
  1516. }
  1517. }
  1518. set
  1519. {
  1520. base[tableSaleInvoice.No_CustomerColumn] = value;
  1521. }
  1522. }
  1523. [DebuggerNonUserCode]
  1524. public string ShortName_Customer
  1525. {
  1526. get
  1527. {
  1528. try
  1529. {
  1530. return (string)base[tableSaleInvoice.ShortName_CustomerColumn];
  1531. }
  1532. catch (InvalidCastException innerException)
  1533. {
  1534. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'SaleInvoice' is DBNull.", innerException);
  1535. }
  1536. }
  1537. set
  1538. {
  1539. base[tableSaleInvoice.ShortName_CustomerColumn] = value;
  1540. }
  1541. }
  1542. [DebuggerNonUserCode]
  1543. public string RevenueRegisterNo_Customer
  1544. {
  1545. get
  1546. {
  1547. try
  1548. {
  1549. return (string)base[tableSaleInvoice.RevenueRegisterNo_CustomerColumn];
  1550. }
  1551. catch (InvalidCastException innerException)
  1552. {
  1553. throw new StrongTypingException("The value for column 'RevenueRegisterNo_Customer' in table 'SaleInvoice' is DBNull.", innerException);
  1554. }
  1555. }
  1556. set
  1557. {
  1558. base[tableSaleInvoice.RevenueRegisterNo_CustomerColumn] = value;
  1559. }
  1560. }
  1561. [DebuggerNonUserCode]
  1562. public string Bank_Customer
  1563. {
  1564. get
  1565. {
  1566. try
  1567. {
  1568. return (string)base[tableSaleInvoice.Bank_CustomerColumn];
  1569. }
  1570. catch (InvalidCastException innerException)
  1571. {
  1572. throw new StrongTypingException("The value for column 'Bank_Customer' in table 'SaleInvoice' is DBNull.", innerException);
  1573. }
  1574. }
  1575. set
  1576. {
  1577. base[tableSaleInvoice.Bank_CustomerColumn] = value;
  1578. }
  1579. }
  1580. [DebuggerNonUserCode]
  1581. public string Account_Customer
  1582. {
  1583. get
  1584. {
  1585. try
  1586. {
  1587. return (string)base[tableSaleInvoice.Account_CustomerColumn];
  1588. }
  1589. catch (InvalidCastException innerException)
  1590. {
  1591. throw new StrongTypingException("The value for column 'Account_Customer' in table 'SaleInvoice' is DBNull.", innerException);
  1592. }
  1593. }
  1594. set
  1595. {
  1596. base[tableSaleInvoice.Account_CustomerColumn] = value;
  1597. }
  1598. }
  1599. [DebuggerNonUserCode]
  1600. public string GetMethod_Customer
  1601. {
  1602. get
  1603. {
  1604. try
  1605. {
  1606. return (string)base[tableSaleInvoice.GetMethod_CustomerColumn];
  1607. }
  1608. catch (InvalidCastException innerException)
  1609. {
  1610. throw new StrongTypingException("The value for column 'GetMethod_Customer' in table 'SaleInvoice' is DBNull.", innerException);
  1611. }
  1612. }
  1613. set
  1614. {
  1615. base[tableSaleInvoice.GetMethod_CustomerColumn] = value;
  1616. }
  1617. }
  1618. [DebuggerNonUserCode]
  1619. public string TypeName
  1620. {
  1621. get
  1622. {
  1623. try
  1624. {
  1625. return (string)base[tableSaleInvoice.TypeNameColumn];
  1626. }
  1627. catch (InvalidCastException innerException)
  1628. {
  1629. throw new StrongTypingException("The value for column 'TypeName' in table 'SaleInvoice' is DBNull.", innerException);
  1630. }
  1631. }
  1632. set
  1633. {
  1634. base[tableSaleInvoice.TypeNameColumn] = value;
  1635. }
  1636. }
  1637. [DebuggerNonUserCode]
  1638. public DateTime StartDate
  1639. {
  1640. get
  1641. {
  1642. try
  1643. {
  1644. return (DateTime)base[tableSaleInvoice.StartDateColumn];
  1645. }
  1646. catch (InvalidCastException innerException)
  1647. {
  1648. throw new StrongTypingException("The value for column 'StartDate' in table 'SaleInvoice' is DBNull.", innerException);
  1649. }
  1650. }
  1651. set
  1652. {
  1653. base[tableSaleInvoice.StartDateColumn] = value;
  1654. }
  1655. }
  1656. [DebuggerNonUserCode]
  1657. public DateTime EndDate
  1658. {
  1659. get
  1660. {
  1661. try
  1662. {
  1663. return (DateTime)base[tableSaleInvoice.EndDateColumn];
  1664. }
  1665. catch (InvalidCastException innerException)
  1666. {
  1667. throw new StrongTypingException("The value for column 'EndDate' in table 'SaleInvoice' is DBNull.", innerException);
  1668. }
  1669. }
  1670. set
  1671. {
  1672. base[tableSaleInvoice.EndDateColumn] = value;
  1673. }
  1674. }
  1675. [DebuggerNonUserCode]
  1676. public bool ckRtn
  1677. {
  1678. get
  1679. {
  1680. try
  1681. {
  1682. return (bool)base[tableSaleInvoice.ckRtnColumn];
  1683. }
  1684. catch (InvalidCastException innerException)
  1685. {
  1686. throw new StrongTypingException("The value for column 'ckRtn' in table 'SaleInvoice' is DBNull.", innerException);
  1687. }
  1688. }
  1689. set
  1690. {
  1691. base[tableSaleInvoice.ckRtnColumn] = value;
  1692. }
  1693. }
  1694. [DebuggerNonUserCode]
  1695. internal SaleInvoiceRow(DataRowBuilder rb)
  1696. : base(rb)
  1697. {
  1698. tableSaleInvoice = (SaleInvoiceDataTable)base.Table;
  1699. }
  1700. [DebuggerNonUserCode]
  1701. public bool IsNo_SaleInvoiceNull()
  1702. {
  1703. return IsNull(tableSaleInvoice.No_SaleInvoiceColumn);
  1704. }
  1705. [DebuggerNonUserCode]
  1706. public void SetNo_SaleInvoiceNull()
  1707. {
  1708. base[tableSaleInvoice.No_SaleInvoiceColumn] = Convert.DBNull;
  1709. }
  1710. [DebuggerNonUserCode]
  1711. public bool IsDate_SaleInvoiceNull()
  1712. {
  1713. return IsNull(tableSaleInvoice.Date_SaleInvoiceColumn);
  1714. }
  1715. [DebuggerNonUserCode]
  1716. public void SetDate_SaleInvoiceNull()
  1717. {
  1718. base[tableSaleInvoice.Date_SaleInvoiceColumn] = Convert.DBNull;
  1719. }
  1720. [DebuggerNonUserCode]
  1721. public bool IsType_SaleInvoiceNull()
  1722. {
  1723. return IsNull(tableSaleInvoice.Type_SaleInvoiceColumn);
  1724. }
  1725. [DebuggerNonUserCode]
  1726. public void SetType_SaleInvoiceNull()
  1727. {
  1728. base[tableSaleInvoice.Type_SaleInvoiceColumn] = Convert.DBNull;
  1729. }
  1730. [DebuggerNonUserCode]
  1731. public bool IsInvoiceDate_SaleInvoiceNull()
  1732. {
  1733. return IsNull(tableSaleInvoice.InvoiceDate_SaleInvoiceColumn);
  1734. }
  1735. [DebuggerNonUserCode]
  1736. public void SetInvoiceDate_SaleInvoiceNull()
  1737. {
  1738. base[tableSaleInvoice.InvoiceDate_SaleInvoiceColumn] = Convert.DBNull;
  1739. }
  1740. [DebuggerNonUserCode]
  1741. public bool IsNo_InvoiceNull()
  1742. {
  1743. return IsNull(tableSaleInvoice.No_InvoiceColumn);
  1744. }
  1745. [DebuggerNonUserCode]
  1746. public void SetNo_InvoiceNull()
  1747. {
  1748. base[tableSaleInvoice.No_InvoiceColumn] = Convert.DBNull;
  1749. }
  1750. [DebuggerNonUserCode]
  1751. public bool IsInvoiceAddress_SaleInvoiceNull()
  1752. {
  1753. return IsNull(tableSaleInvoice.InvoiceAddress_SaleInvoiceColumn);
  1754. }
  1755. [DebuggerNonUserCode]
  1756. public void SetInvoiceAddress_SaleInvoiceNull()
  1757. {
  1758. base[tableSaleInvoice.InvoiceAddress_SaleInvoiceColumn] = Convert.DBNull;
  1759. }
  1760. [DebuggerNonUserCode]
  1761. public bool IsInvoiceTitle_SaleInvoiceNull()
  1762. {
  1763. return IsNull(tableSaleInvoice.InvoiceTitle_SaleInvoiceColumn);
  1764. }
  1765. [DebuggerNonUserCode]
  1766. public void SetInvoiceTitle_SaleInvoiceNull()
  1767. {
  1768. base[tableSaleInvoice.InvoiceTitle_SaleInvoiceColumn] = Convert.DBNull;
  1769. }
  1770. [DebuggerNonUserCode]
  1771. public bool IsBank_SaleInvoiceNull()
  1772. {
  1773. return IsNull(tableSaleInvoice.Bank_SaleInvoiceColumn);
  1774. }
  1775. [DebuggerNonUserCode]
  1776. public void SetBank_SaleInvoiceNull()
  1777. {
  1778. base[tableSaleInvoice.Bank_SaleInvoiceColumn] = Convert.DBNull;
  1779. }
  1780. [DebuggerNonUserCode]
  1781. public bool IsAccount_SaleInvoiceNull()
  1782. {
  1783. return IsNull(tableSaleInvoice.Account_SaleInvoiceColumn);
  1784. }
  1785. [DebuggerNonUserCode]
  1786. public void SetAccount_SaleInvoiceNull()
  1787. {
  1788. base[tableSaleInvoice.Account_SaleInvoiceColumn] = Convert.DBNull;
  1789. }
  1790. [DebuggerNonUserCode]
  1791. public bool IsCurrency_SaleInvoiceNull()
  1792. {
  1793. return IsNull(tableSaleInvoice.Currency_SaleInvoiceColumn);
  1794. }
  1795. [DebuggerNonUserCode]
  1796. public void SetCurrency_SaleInvoiceNull()
  1797. {
  1798. base[tableSaleInvoice.Currency_SaleInvoiceColumn] = Convert.DBNull;
  1799. }
  1800. [DebuggerNonUserCode]
  1801. public bool IsPayDate_SaleInvoiceNull()
  1802. {
  1803. return IsNull(tableSaleInvoice.PayDate_SaleInvoiceColumn);
  1804. }
  1805. [DebuggerNonUserCode]
  1806. public void SetPayDate_SaleInvoiceNull()
  1807. {
  1808. base[tableSaleInvoice.PayDate_SaleInvoiceColumn] = Convert.DBNull;
  1809. }
  1810. [DebuggerNonUserCode]
  1811. public bool IsCreateDate_SaleInvoiceNull()
  1812. {
  1813. return IsNull(tableSaleInvoice.CreateDate_SaleInvoiceColumn);
  1814. }
  1815. [DebuggerNonUserCode]
  1816. public void SetCreateDate_SaleInvoiceNull()
  1817. {
  1818. base[tableSaleInvoice.CreateDate_SaleInvoiceColumn] = Convert.DBNull;
  1819. }
  1820. [DebuggerNonUserCode]
  1821. public bool IsLastModDate_SaleInvoiceNull()
  1822. {
  1823. return IsNull(tableSaleInvoice.LastModDate_SaleInvoiceColumn);
  1824. }
  1825. [DebuggerNonUserCode]
  1826. public void SetLastModDate_SaleInvoiceNull()
  1827. {
  1828. base[tableSaleInvoice.LastModDate_SaleInvoiceColumn] = Convert.DBNull;
  1829. }
  1830. [DebuggerNonUserCode]
  1831. public bool IsAssessDate_SaleInvoiceNull()
  1832. {
  1833. return IsNull(tableSaleInvoice.AssessDate_SaleInvoiceColumn);
  1834. }
  1835. [DebuggerNonUserCode]
  1836. public void SetAssessDate_SaleInvoiceNull()
  1837. {
  1838. base[tableSaleInvoice.AssessDate_SaleInvoiceColumn] = Convert.DBNull;
  1839. }
  1840. [DebuggerNonUserCode]
  1841. public bool IsDisable_SaleInvoiceNull()
  1842. {
  1843. return IsNull(tableSaleInvoice.Disable_SaleInvoiceColumn);
  1844. }
  1845. [DebuggerNonUserCode]
  1846. public void SetDisable_SaleInvoiceNull()
  1847. {
  1848. base[tableSaleInvoice.Disable_SaleInvoiceColumn] = Convert.DBNull;
  1849. }
  1850. [DebuggerNonUserCode]
  1851. public bool IsAmount_SaleInvoiceNull()
  1852. {
  1853. return IsNull(tableSaleInvoice.Amount_SaleInvoiceColumn);
  1854. }
  1855. [DebuggerNonUserCode]
  1856. public void SetAmount_SaleInvoiceNull()
  1857. {
  1858. base[tableSaleInvoice.Amount_SaleInvoiceColumn] = Convert.DBNull;
  1859. }
  1860. [DebuggerNonUserCode]
  1861. public bool IsIncludeTax_SaleInvoiceNull()
  1862. {
  1863. return IsNull(tableSaleInvoice.IncludeTax_SaleInvoiceColumn);
  1864. }
  1865. [DebuggerNonUserCode]
  1866. public void SetIncludeTax_SaleInvoiceNull()
  1867. {
  1868. base[tableSaleInvoice.IncludeTax_SaleInvoiceColumn] = Convert.DBNull;
  1869. }
  1870. [DebuggerNonUserCode]
  1871. public bool IsGoodsAmount_SaleInvoiceNull()
  1872. {
  1873. return IsNull(tableSaleInvoice.GoodsAmount_SaleInvoiceColumn);
  1874. }
  1875. [DebuggerNonUserCode]
  1876. public void SetGoodsAmount_SaleInvoiceNull()
  1877. {
  1878. base[tableSaleInvoice.GoodsAmount_SaleInvoiceColumn] = Convert.DBNull;
  1879. }
  1880. [DebuggerNonUserCode]
  1881. public bool IsTaxAmount_SaleInvoiceNull()
  1882. {
  1883. return IsNull(tableSaleInvoice.TaxAmount_SaleInvoiceColumn);
  1884. }
  1885. [DebuggerNonUserCode]
  1886. public void SetTaxAmount_SaleInvoiceNull()
  1887. {
  1888. base[tableSaleInvoice.TaxAmount_SaleInvoiceColumn] = Convert.DBNull;
  1889. }
  1890. [DebuggerNonUserCode]
  1891. public bool IsStrikedAmount_SaleInvoiceNull()
  1892. {
  1893. return IsNull(tableSaleInvoice.StrikedAmount_SaleInvoiceColumn);
  1894. }
  1895. [DebuggerNonUserCode]
  1896. public void SetStrikedAmount_SaleInvoiceNull()
  1897. {
  1898. base[tableSaleInvoice.StrikedAmount_SaleInvoiceColumn] = Convert.DBNull;
  1899. }
  1900. [DebuggerNonUserCode]
  1901. public bool IsDiscountAmount_SaleInvoiceNull()
  1902. {
  1903. return IsNull(tableSaleInvoice.DiscountAmount_SaleInvoiceColumn);
  1904. }
  1905. [DebuggerNonUserCode]
  1906. public void SetDiscountAmount_SaleInvoiceNull()
  1907. {
  1908. base[tableSaleInvoice.DiscountAmount_SaleInvoiceColumn] = Convert.DBNull;
  1909. }
  1910. [DebuggerNonUserCode]
  1911. public bool IsCreatorNull()
  1912. {
  1913. return IsNull(tableSaleInvoice.CreatorColumn);
  1914. }
  1915. [DebuggerNonUserCode]
  1916. public void SetCreatorNull()
  1917. {
  1918. base[tableSaleInvoice.CreatorColumn] = Convert.DBNull;
  1919. }
  1920. [DebuggerNonUserCode]
  1921. public bool IsAssessorNull()
  1922. {
  1923. return IsNull(tableSaleInvoice.AssessorColumn);
  1924. }
  1925. [DebuggerNonUserCode]
  1926. public void SetAssessorNull()
  1927. {
  1928. base[tableSaleInvoice.AssessorColumn] = Convert.DBNull;
  1929. }
  1930. [DebuggerNonUserCode]
  1931. public bool IsLastModUserNull()
  1932. {
  1933. return IsNull(tableSaleInvoice.LastModUserColumn);
  1934. }
  1935. [DebuggerNonUserCode]
  1936. public void SetLastModUserNull()
  1937. {
  1938. base[tableSaleInvoice.LastModUserColumn] = Convert.DBNull;
  1939. }
  1940. [DebuggerNonUserCode]
  1941. public bool IsNo_CustomerNull()
  1942. {
  1943. return IsNull(tableSaleInvoice.No_CustomerColumn);
  1944. }
  1945. [DebuggerNonUserCode]
  1946. public void SetNo_CustomerNull()
  1947. {
  1948. base[tableSaleInvoice.No_CustomerColumn] = Convert.DBNull;
  1949. }
  1950. [DebuggerNonUserCode]
  1951. public bool IsShortName_CustomerNull()
  1952. {
  1953. return IsNull(tableSaleInvoice.ShortName_CustomerColumn);
  1954. }
  1955. [DebuggerNonUserCode]
  1956. public void SetShortName_CustomerNull()
  1957. {
  1958. base[tableSaleInvoice.ShortName_CustomerColumn] = Convert.DBNull;
  1959. }
  1960. [DebuggerNonUserCode]
  1961. public bool IsRevenueRegisterNo_CustomerNull()
  1962. {
  1963. return IsNull(tableSaleInvoice.RevenueRegisterNo_CustomerColumn);
  1964. }
  1965. [DebuggerNonUserCode]
  1966. public void SetRevenueRegisterNo_CustomerNull()
  1967. {
  1968. base[tableSaleInvoice.RevenueRegisterNo_CustomerColumn] = Convert.DBNull;
  1969. }
  1970. [DebuggerNonUserCode]
  1971. public bool IsBank_CustomerNull()
  1972. {
  1973. return IsNull(tableSaleInvoice.Bank_CustomerColumn);
  1974. }
  1975. [DebuggerNonUserCode]
  1976. public void SetBank_CustomerNull()
  1977. {
  1978. base[tableSaleInvoice.Bank_CustomerColumn] = Convert.DBNull;
  1979. }
  1980. [DebuggerNonUserCode]
  1981. public bool IsAccount_CustomerNull()
  1982. {
  1983. return IsNull(tableSaleInvoice.Account_CustomerColumn);
  1984. }
  1985. [DebuggerNonUserCode]
  1986. public void SetAccount_CustomerNull()
  1987. {
  1988. base[tableSaleInvoice.Account_CustomerColumn] = Convert.DBNull;
  1989. }
  1990. [DebuggerNonUserCode]
  1991. public bool IsGetMethod_CustomerNull()
  1992. {
  1993. return IsNull(tableSaleInvoice.GetMethod_CustomerColumn);
  1994. }
  1995. [DebuggerNonUserCode]
  1996. public void SetGetMethod_CustomerNull()
  1997. {
  1998. base[tableSaleInvoice.GetMethod_CustomerColumn] = Convert.DBNull;
  1999. }
  2000. [DebuggerNonUserCode]
  2001. public bool IsTypeNameNull()
  2002. {
  2003. return IsNull(tableSaleInvoice.TypeNameColumn);
  2004. }
  2005. [DebuggerNonUserCode]
  2006. public void SetTypeNameNull()
  2007. {
  2008. base[tableSaleInvoice.TypeNameColumn] = Convert.DBNull;
  2009. }
  2010. [DebuggerNonUserCode]
  2011. public bool IsStartDateNull()
  2012. {
  2013. return IsNull(tableSaleInvoice.StartDateColumn);
  2014. }
  2015. [DebuggerNonUserCode]
  2016. public void SetStartDateNull()
  2017. {
  2018. base[tableSaleInvoice.StartDateColumn] = Convert.DBNull;
  2019. }
  2020. [DebuggerNonUserCode]
  2021. public bool IsEndDateNull()
  2022. {
  2023. return IsNull(tableSaleInvoice.EndDateColumn);
  2024. }
  2025. [DebuggerNonUserCode]
  2026. public void SetEndDateNull()
  2027. {
  2028. base[tableSaleInvoice.EndDateColumn] = Convert.DBNull;
  2029. }
  2030. [DebuggerNonUserCode]
  2031. public bool IsckRtnNull()
  2032. {
  2033. return IsNull(tableSaleInvoice.ckRtnColumn);
  2034. }
  2035. [DebuggerNonUserCode]
  2036. public void SetckRtnNull()
  2037. {
  2038. base[tableSaleInvoice.ckRtnColumn] = Convert.DBNull;
  2039. }
  2040. }
  2041. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2042. public class SaleInvoiceProductRow : DataRow
  2043. {
  2044. private SaleInvoiceProductDataTable tableSaleInvoiceProduct;
  2045. [DebuggerNonUserCode]
  2046. public int Type_FromBill
  2047. {
  2048. get
  2049. {
  2050. try
  2051. {
  2052. return (int)base[tableSaleInvoiceProduct.Type_FromBillColumn];
  2053. }
  2054. catch (InvalidCastException innerException)
  2055. {
  2056. throw new StrongTypingException("The value for column 'Type_FromBill' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2057. }
  2058. }
  2059. set
  2060. {
  2061. base[tableSaleInvoiceProduct.Type_FromBillColumn] = value;
  2062. }
  2063. }
  2064. [DebuggerNonUserCode]
  2065. public string No_FromBill
  2066. {
  2067. get
  2068. {
  2069. try
  2070. {
  2071. return (string)base[tableSaleInvoiceProduct.No_FromBillColumn];
  2072. }
  2073. catch (InvalidCastException innerException)
  2074. {
  2075. throw new StrongTypingException("The value for column 'No_FromBill' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2076. }
  2077. }
  2078. set
  2079. {
  2080. base[tableSaleInvoiceProduct.No_FromBillColumn] = value;
  2081. }
  2082. }
  2083. [DebuggerNonUserCode]
  2084. public string No_FromBillProduct
  2085. {
  2086. get
  2087. {
  2088. try
  2089. {
  2090. return (string)base[tableSaleInvoiceProduct.No_FromBillProductColumn];
  2091. }
  2092. catch (InvalidCastException innerException)
  2093. {
  2094. throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2095. }
  2096. }
  2097. set
  2098. {
  2099. base[tableSaleInvoiceProduct.No_FromBillProductColumn] = value;
  2100. }
  2101. }
  2102. [DebuggerNonUserCode]
  2103. public decimal Quantity_SaleInvoiceProduct
  2104. {
  2105. get
  2106. {
  2107. try
  2108. {
  2109. return (decimal)base[tableSaleInvoiceProduct.Quantity_SaleInvoiceProductColumn];
  2110. }
  2111. catch (InvalidCastException innerException)
  2112. {
  2113. throw new StrongTypingException("The value for column 'Quantity_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2114. }
  2115. }
  2116. set
  2117. {
  2118. base[tableSaleInvoiceProduct.Quantity_SaleInvoiceProductColumn] = value;
  2119. }
  2120. }
  2121. [DebuggerNonUserCode]
  2122. public decimal UnitPrice_SaleInvoiceProduct
  2123. {
  2124. get
  2125. {
  2126. try
  2127. {
  2128. return (decimal)base[tableSaleInvoiceProduct.UnitPrice_SaleInvoiceProductColumn];
  2129. }
  2130. catch (InvalidCastException innerException)
  2131. {
  2132. throw new StrongTypingException("The value for column 'UnitPrice_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2133. }
  2134. }
  2135. set
  2136. {
  2137. base[tableSaleInvoiceProduct.UnitPrice_SaleInvoiceProductColumn] = value;
  2138. }
  2139. }
  2140. [DebuggerNonUserCode]
  2141. public decimal TaxRate_SaleInvoiceProduct
  2142. {
  2143. get
  2144. {
  2145. try
  2146. {
  2147. return (decimal)base[tableSaleInvoiceProduct.TaxRate_SaleInvoiceProductColumn];
  2148. }
  2149. catch (InvalidCastException innerException)
  2150. {
  2151. throw new StrongTypingException("The value for column 'TaxRate_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2152. }
  2153. }
  2154. set
  2155. {
  2156. base[tableSaleInvoiceProduct.TaxRate_SaleInvoiceProductColumn] = value;
  2157. }
  2158. }
  2159. [DebuggerNonUserCode]
  2160. public string Comment_SaleInvoiceProduct
  2161. {
  2162. get
  2163. {
  2164. try
  2165. {
  2166. return (string)base[tableSaleInvoiceProduct.Comment_SaleInvoiceProductColumn];
  2167. }
  2168. catch (InvalidCastException innerException)
  2169. {
  2170. throw new StrongTypingException("The value for column 'Comment_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2171. }
  2172. }
  2173. set
  2174. {
  2175. base[tableSaleInvoiceProduct.Comment_SaleInvoiceProductColumn] = value;
  2176. }
  2177. }
  2178. [DebuggerNonUserCode]
  2179. public decimal Amount_SaleInvoiceProduct
  2180. {
  2181. get
  2182. {
  2183. try
  2184. {
  2185. return (decimal)base[tableSaleInvoiceProduct.Amount_SaleInvoiceProductColumn];
  2186. }
  2187. catch (InvalidCastException innerException)
  2188. {
  2189. throw new StrongTypingException("The value for column 'Amount_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2190. }
  2191. }
  2192. set
  2193. {
  2194. base[tableSaleInvoiceProduct.Amount_SaleInvoiceProductColumn] = value;
  2195. }
  2196. }
  2197. [DebuggerNonUserCode]
  2198. public decimal TaxAmount_SaleInvoiceProduct
  2199. {
  2200. get
  2201. {
  2202. try
  2203. {
  2204. return (decimal)base[tableSaleInvoiceProduct.TaxAmount_SaleInvoiceProductColumn];
  2205. }
  2206. catch (InvalidCastException innerException)
  2207. {
  2208. throw new StrongTypingException("The value for column 'TaxAmount_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2209. }
  2210. }
  2211. set
  2212. {
  2213. base[tableSaleInvoiceProduct.TaxAmount_SaleInvoiceProductColumn] = value;
  2214. }
  2215. }
  2216. [DebuggerNonUserCode]
  2217. public decimal GoodsAmount_SaleInvoiceProduct
  2218. {
  2219. get
  2220. {
  2221. try
  2222. {
  2223. return (decimal)base[tableSaleInvoiceProduct.GoodsAmount_SaleInvoiceProductColumn];
  2224. }
  2225. catch (InvalidCastException innerException)
  2226. {
  2227. throw new StrongTypingException("The value for column 'GoodsAmount_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2228. }
  2229. }
  2230. set
  2231. {
  2232. base[tableSaleInvoiceProduct.GoodsAmount_SaleInvoiceProductColumn] = value;
  2233. }
  2234. }
  2235. [DebuggerNonUserCode]
  2236. public string TaxCurrency_SaleInvoiceProduct
  2237. {
  2238. get
  2239. {
  2240. try
  2241. {
  2242. return (string)base[tableSaleInvoiceProduct.TaxCurrency_SaleInvoiceProductColumn];
  2243. }
  2244. catch (InvalidCastException innerException)
  2245. {
  2246. throw new StrongTypingException("The value for column 'TaxCurrency_SaleInvoiceProduct' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2247. }
  2248. }
  2249. set
  2250. {
  2251. base[tableSaleInvoiceProduct.TaxCurrency_SaleInvoiceProductColumn] = value;
  2252. }
  2253. }
  2254. [DebuggerNonUserCode]
  2255. public string Name_BillType
  2256. {
  2257. get
  2258. {
  2259. try
  2260. {
  2261. return (string)base[tableSaleInvoiceProduct.Name_BillTypeColumn];
  2262. }
  2263. catch (InvalidCastException innerException)
  2264. {
  2265. throw new StrongTypingException("The value for column 'Name_BillType' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2266. }
  2267. }
  2268. set
  2269. {
  2270. base[tableSaleInvoiceProduct.Name_BillTypeColumn] = value;
  2271. }
  2272. }
  2273. [DebuggerNonUserCode]
  2274. public string No_Product
  2275. {
  2276. get
  2277. {
  2278. try
  2279. {
  2280. return (string)base[tableSaleInvoiceProduct.No_ProductColumn];
  2281. }
  2282. catch (InvalidCastException innerException)
  2283. {
  2284. throw new StrongTypingException("The value for column 'No_Product' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2285. }
  2286. }
  2287. set
  2288. {
  2289. base[tableSaleInvoiceProduct.No_ProductColumn] = value;
  2290. }
  2291. }
  2292. [DebuggerNonUserCode]
  2293. public string Name_Product
  2294. {
  2295. get
  2296. {
  2297. try
  2298. {
  2299. return (string)base[tableSaleInvoiceProduct.Name_ProductColumn];
  2300. }
  2301. catch (InvalidCastException innerException)
  2302. {
  2303. throw new StrongTypingException("The value for column 'Name_Product' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2304. }
  2305. }
  2306. set
  2307. {
  2308. base[tableSaleInvoiceProduct.Name_ProductColumn] = value;
  2309. }
  2310. }
  2311. [DebuggerNonUserCode]
  2312. public string InvoiceName_Product
  2313. {
  2314. get
  2315. {
  2316. try
  2317. {
  2318. return (string)base[tableSaleInvoiceProduct.InvoiceName_ProductColumn];
  2319. }
  2320. catch (InvalidCastException innerException)
  2321. {
  2322. throw new StrongTypingException("The value for column 'InvoiceName_Product' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2323. }
  2324. }
  2325. set
  2326. {
  2327. base[tableSaleInvoiceProduct.InvoiceName_ProductColumn] = value;
  2328. }
  2329. }
  2330. [DebuggerNonUserCode]
  2331. public string Unit_Product
  2332. {
  2333. get
  2334. {
  2335. try
  2336. {
  2337. return (string)base[tableSaleInvoiceProduct.Unit_ProductColumn];
  2338. }
  2339. catch (InvalidCastException innerException)
  2340. {
  2341. throw new StrongTypingException("The value for column 'Unit_Product' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2342. }
  2343. }
  2344. set
  2345. {
  2346. base[tableSaleInvoiceProduct.Unit_ProductColumn] = value;
  2347. }
  2348. }
  2349. [DebuggerNonUserCode]
  2350. public bool Negative
  2351. {
  2352. get
  2353. {
  2354. try
  2355. {
  2356. return (bool)base[tableSaleInvoiceProduct.NegativeColumn];
  2357. }
  2358. catch (InvalidCastException innerException)
  2359. {
  2360. throw new StrongTypingException("The value for column 'Negative' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2361. }
  2362. }
  2363. set
  2364. {
  2365. base[tableSaleInvoiceProduct.NegativeColumn] = value;
  2366. }
  2367. }
  2368. [DebuggerNonUserCode]
  2369. public string No_Customer
  2370. {
  2371. get
  2372. {
  2373. try
  2374. {
  2375. return (string)base[tableSaleInvoiceProduct.No_CustomerColumn];
  2376. }
  2377. catch (InvalidCastException innerException)
  2378. {
  2379. throw new StrongTypingException("The value for column 'No_Customer' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2380. }
  2381. }
  2382. set
  2383. {
  2384. base[tableSaleInvoiceProduct.No_CustomerColumn] = value;
  2385. }
  2386. }
  2387. [DebuggerNonUserCode]
  2388. public string ShortName_Customer
  2389. {
  2390. get
  2391. {
  2392. try
  2393. {
  2394. return (string)base[tableSaleInvoiceProduct.ShortName_CustomerColumn];
  2395. }
  2396. catch (InvalidCastException innerException)
  2397. {
  2398. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2399. }
  2400. }
  2401. set
  2402. {
  2403. base[tableSaleInvoiceProduct.ShortName_CustomerColumn] = value;
  2404. }
  2405. }
  2406. [DebuggerNonUserCode]
  2407. public decimal Money
  2408. {
  2409. get
  2410. {
  2411. try
  2412. {
  2413. return (decimal)base[tableSaleInvoiceProduct.MoneyColumn];
  2414. }
  2415. catch (InvalidCastException innerException)
  2416. {
  2417. throw new StrongTypingException("The value for column 'Money' in table 'SaleInvoiceProduct' is DBNull.", innerException);
  2418. }
  2419. }
  2420. set
  2421. {
  2422. base[tableSaleInvoiceProduct.MoneyColumn] = value;
  2423. }
  2424. }
  2425. [DebuggerNonUserCode]
  2426. internal SaleInvoiceProductRow(DataRowBuilder rb)
  2427. : base(rb)
  2428. {
  2429. tableSaleInvoiceProduct = (SaleInvoiceProductDataTable)base.Table;
  2430. }
  2431. [DebuggerNonUserCode]
  2432. public bool IsType_FromBillNull()
  2433. {
  2434. return IsNull(tableSaleInvoiceProduct.Type_FromBillColumn);
  2435. }
  2436. [DebuggerNonUserCode]
  2437. public void SetType_FromBillNull()
  2438. {
  2439. base[tableSaleInvoiceProduct.Type_FromBillColumn] = Convert.DBNull;
  2440. }
  2441. [DebuggerNonUserCode]
  2442. public bool IsNo_FromBillNull()
  2443. {
  2444. return IsNull(tableSaleInvoiceProduct.No_FromBillColumn);
  2445. }
  2446. [DebuggerNonUserCode]
  2447. public void SetNo_FromBillNull()
  2448. {
  2449. base[tableSaleInvoiceProduct.No_FromBillColumn] = Convert.DBNull;
  2450. }
  2451. [DebuggerNonUserCode]
  2452. public bool IsNo_FromBillProductNull()
  2453. {
  2454. return IsNull(tableSaleInvoiceProduct.No_FromBillProductColumn);
  2455. }
  2456. [DebuggerNonUserCode]
  2457. public void SetNo_FromBillProductNull()
  2458. {
  2459. base[tableSaleInvoiceProduct.No_FromBillProductColumn] = Convert.DBNull;
  2460. }
  2461. [DebuggerNonUserCode]
  2462. public bool IsQuantity_SaleInvoiceProductNull()
  2463. {
  2464. return IsNull(tableSaleInvoiceProduct.Quantity_SaleInvoiceProductColumn);
  2465. }
  2466. [DebuggerNonUserCode]
  2467. public void SetQuantity_SaleInvoiceProductNull()
  2468. {
  2469. base[tableSaleInvoiceProduct.Quantity_SaleInvoiceProductColumn] = Convert.DBNull;
  2470. }
  2471. [DebuggerNonUserCode]
  2472. public bool IsUnitPrice_SaleInvoiceProductNull()
  2473. {
  2474. return IsNull(tableSaleInvoiceProduct.UnitPrice_SaleInvoiceProductColumn);
  2475. }
  2476. [DebuggerNonUserCode]
  2477. public void SetUnitPrice_SaleInvoiceProductNull()
  2478. {
  2479. base[tableSaleInvoiceProduct.UnitPrice_SaleInvoiceProductColumn] = Convert.DBNull;
  2480. }
  2481. [DebuggerNonUserCode]
  2482. public bool IsTaxRate_SaleInvoiceProductNull()
  2483. {
  2484. return IsNull(tableSaleInvoiceProduct.TaxRate_SaleInvoiceProductColumn);
  2485. }
  2486. [DebuggerNonUserCode]
  2487. public void SetTaxRate_SaleInvoiceProductNull()
  2488. {
  2489. base[tableSaleInvoiceProduct.TaxRate_SaleInvoiceProductColumn] = Convert.DBNull;
  2490. }
  2491. [DebuggerNonUserCode]
  2492. public bool IsComment_SaleInvoiceProductNull()
  2493. {
  2494. return IsNull(tableSaleInvoiceProduct.Comment_SaleInvoiceProductColumn);
  2495. }
  2496. [DebuggerNonUserCode]
  2497. public void SetComment_SaleInvoiceProductNull()
  2498. {
  2499. base[tableSaleInvoiceProduct.Comment_SaleInvoiceProductColumn] = Convert.DBNull;
  2500. }
  2501. [DebuggerNonUserCode]
  2502. public bool IsAmount_SaleInvoiceProductNull()
  2503. {
  2504. return IsNull(tableSaleInvoiceProduct.Amount_SaleInvoiceProductColumn);
  2505. }
  2506. [DebuggerNonUserCode]
  2507. public void SetAmount_SaleInvoiceProductNull()
  2508. {
  2509. base[tableSaleInvoiceProduct.Amount_SaleInvoiceProductColumn] = Convert.DBNull;
  2510. }
  2511. [DebuggerNonUserCode]
  2512. public bool IsTaxAmount_SaleInvoiceProductNull()
  2513. {
  2514. return IsNull(tableSaleInvoiceProduct.TaxAmount_SaleInvoiceProductColumn);
  2515. }
  2516. [DebuggerNonUserCode]
  2517. public void SetTaxAmount_SaleInvoiceProductNull()
  2518. {
  2519. base[tableSaleInvoiceProduct.TaxAmount_SaleInvoiceProductColumn] = Convert.DBNull;
  2520. }
  2521. [DebuggerNonUserCode]
  2522. public bool IsGoodsAmount_SaleInvoiceProductNull()
  2523. {
  2524. return IsNull(tableSaleInvoiceProduct.GoodsAmount_SaleInvoiceProductColumn);
  2525. }
  2526. [DebuggerNonUserCode]
  2527. public void SetGoodsAmount_SaleInvoiceProductNull()
  2528. {
  2529. base[tableSaleInvoiceProduct.GoodsAmount_SaleInvoiceProductColumn] = Convert.DBNull;
  2530. }
  2531. [DebuggerNonUserCode]
  2532. public bool IsTaxCurrency_SaleInvoiceProductNull()
  2533. {
  2534. return IsNull(tableSaleInvoiceProduct.TaxCurrency_SaleInvoiceProductColumn);
  2535. }
  2536. [DebuggerNonUserCode]
  2537. public void SetTaxCurrency_SaleInvoiceProductNull()
  2538. {
  2539. base[tableSaleInvoiceProduct.TaxCurrency_SaleInvoiceProductColumn] = Convert.DBNull;
  2540. }
  2541. [DebuggerNonUserCode]
  2542. public bool IsName_BillTypeNull()
  2543. {
  2544. return IsNull(tableSaleInvoiceProduct.Name_BillTypeColumn);
  2545. }
  2546. [DebuggerNonUserCode]
  2547. public void SetName_BillTypeNull()
  2548. {
  2549. base[tableSaleInvoiceProduct.Name_BillTypeColumn] = Convert.DBNull;
  2550. }
  2551. [DebuggerNonUserCode]
  2552. public bool IsNo_ProductNull()
  2553. {
  2554. return IsNull(tableSaleInvoiceProduct.No_ProductColumn);
  2555. }
  2556. [DebuggerNonUserCode]
  2557. public void SetNo_ProductNull()
  2558. {
  2559. base[tableSaleInvoiceProduct.No_ProductColumn] = Convert.DBNull;
  2560. }
  2561. [DebuggerNonUserCode]
  2562. public bool IsName_ProductNull()
  2563. {
  2564. return IsNull(tableSaleInvoiceProduct.Name_ProductColumn);
  2565. }
  2566. [DebuggerNonUserCode]
  2567. public void SetName_ProductNull()
  2568. {
  2569. base[tableSaleInvoiceProduct.Name_ProductColumn] = Convert.DBNull;
  2570. }
  2571. [DebuggerNonUserCode]
  2572. public bool IsInvoiceName_ProductNull()
  2573. {
  2574. return IsNull(tableSaleInvoiceProduct.InvoiceName_ProductColumn);
  2575. }
  2576. [DebuggerNonUserCode]
  2577. public void SetInvoiceName_ProductNull()
  2578. {
  2579. base[tableSaleInvoiceProduct.InvoiceName_ProductColumn] = Convert.DBNull;
  2580. }
  2581. [DebuggerNonUserCode]
  2582. public bool IsUnit_ProductNull()
  2583. {
  2584. return IsNull(tableSaleInvoiceProduct.Unit_ProductColumn);
  2585. }
  2586. [DebuggerNonUserCode]
  2587. public void SetUnit_ProductNull()
  2588. {
  2589. base[tableSaleInvoiceProduct.Unit_ProductColumn] = Convert.DBNull;
  2590. }
  2591. [DebuggerNonUserCode]
  2592. public bool IsNegativeNull()
  2593. {
  2594. return IsNull(tableSaleInvoiceProduct.NegativeColumn);
  2595. }
  2596. [DebuggerNonUserCode]
  2597. public void SetNegativeNull()
  2598. {
  2599. base[tableSaleInvoiceProduct.NegativeColumn] = Convert.DBNull;
  2600. }
  2601. [DebuggerNonUserCode]
  2602. public bool IsNo_CustomerNull()
  2603. {
  2604. return IsNull(tableSaleInvoiceProduct.No_CustomerColumn);
  2605. }
  2606. [DebuggerNonUserCode]
  2607. public void SetNo_CustomerNull()
  2608. {
  2609. base[tableSaleInvoiceProduct.No_CustomerColumn] = Convert.DBNull;
  2610. }
  2611. [DebuggerNonUserCode]
  2612. public bool IsShortName_CustomerNull()
  2613. {
  2614. return IsNull(tableSaleInvoiceProduct.ShortName_CustomerColumn);
  2615. }
  2616. [DebuggerNonUserCode]
  2617. public void SetShortName_CustomerNull()
  2618. {
  2619. base[tableSaleInvoiceProduct.ShortName_CustomerColumn] = Convert.DBNull;
  2620. }
  2621. [DebuggerNonUserCode]
  2622. public bool IsMoneyNull()
  2623. {
  2624. return IsNull(tableSaleInvoiceProduct.MoneyColumn);
  2625. }
  2626. [DebuggerNonUserCode]
  2627. public void SetMoneyNull()
  2628. {
  2629. base[tableSaleInvoiceProduct.MoneyColumn] = Convert.DBNull;
  2630. }
  2631. }
  2632. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2633. public class AppendInfoRow : DataRow
  2634. {
  2635. private AppendInfoDataTable tableAppendInfo;
  2636. [DebuggerNonUserCode]
  2637. public string CurrentCompany
  2638. {
  2639. get
  2640. {
  2641. try
  2642. {
  2643. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  2644. }
  2645. catch (InvalidCastException innerException)
  2646. {
  2647. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  2648. }
  2649. }
  2650. set
  2651. {
  2652. base[tableAppendInfo.CurrentCompanyColumn] = value;
  2653. }
  2654. }
  2655. [DebuggerNonUserCode]
  2656. public string CurrentUser
  2657. {
  2658. get
  2659. {
  2660. try
  2661. {
  2662. return (string)base[tableAppendInfo.CurrentUserColumn];
  2663. }
  2664. catch (InvalidCastException innerException)
  2665. {
  2666. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  2667. }
  2668. }
  2669. set
  2670. {
  2671. base[tableAppendInfo.CurrentUserColumn] = value;
  2672. }
  2673. }
  2674. [DebuggerNonUserCode]
  2675. internal AppendInfoRow(DataRowBuilder rb)
  2676. : base(rb)
  2677. {
  2678. tableAppendInfo = (AppendInfoDataTable)base.Table;
  2679. }
  2680. [DebuggerNonUserCode]
  2681. public bool IsCurrentCompanyNull()
  2682. {
  2683. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  2684. }
  2685. [DebuggerNonUserCode]
  2686. public void SetCurrentCompanyNull()
  2687. {
  2688. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  2689. }
  2690. [DebuggerNonUserCode]
  2691. public bool IsCurrentUserNull()
  2692. {
  2693. return IsNull(tableAppendInfo.CurrentUserColumn);
  2694. }
  2695. [DebuggerNonUserCode]
  2696. public void SetCurrentUserNull()
  2697. {
  2698. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  2699. }
  2700. }
  2701. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2702. public class SaleInvoiceRowChangeEvent : EventArgs
  2703. {
  2704. private SaleInvoiceRow eventRow;
  2705. private DataRowAction eventAction;
  2706. [DebuggerNonUserCode]
  2707. public SaleInvoiceRow Row => eventRow;
  2708. [DebuggerNonUserCode]
  2709. public DataRowAction Action => eventAction;
  2710. [DebuggerNonUserCode]
  2711. public SaleInvoiceRowChangeEvent(SaleInvoiceRow row, DataRowAction action)
  2712. {
  2713. eventRow = row;
  2714. eventAction = action;
  2715. }
  2716. }
  2717. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2718. public class SaleInvoiceProductRowChangeEvent : EventArgs
  2719. {
  2720. private SaleInvoiceProductRow eventRow;
  2721. private DataRowAction eventAction;
  2722. [DebuggerNonUserCode]
  2723. public SaleInvoiceProductRow Row => eventRow;
  2724. [DebuggerNonUserCode]
  2725. public DataRowAction Action => eventAction;
  2726. [DebuggerNonUserCode]
  2727. public SaleInvoiceProductRowChangeEvent(SaleInvoiceProductRow row, DataRowAction action)
  2728. {
  2729. eventRow = row;
  2730. eventAction = action;
  2731. }
  2732. }
  2733. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2734. public class AppendInfoRowChangeEvent : EventArgs
  2735. {
  2736. private AppendInfoRow eventRow;
  2737. private DataRowAction eventAction;
  2738. [DebuggerNonUserCode]
  2739. public AppendInfoRow Row => eventRow;
  2740. [DebuggerNonUserCode]
  2741. public DataRowAction Action => eventAction;
  2742. [DebuggerNonUserCode]
  2743. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  2744. {
  2745. eventRow = row;
  2746. eventAction = action;
  2747. }
  2748. }
  2749. private SaleInvoiceDataTable tableSaleInvoice;
  2750. private SaleInvoiceProductDataTable tableSaleInvoiceProduct;
  2751. private AppendInfoDataTable tableAppendInfo;
  2752. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  2753. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2754. [DebuggerNonUserCode]
  2755. [Browsable(false)]
  2756. public SaleInvoiceDataTable SaleInvoice => tableSaleInvoice;
  2757. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2758. [DebuggerNonUserCode]
  2759. [Browsable(false)]
  2760. public SaleInvoiceProductDataTable SaleInvoiceProduct => tableSaleInvoiceProduct;
  2761. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2762. [DebuggerNonUserCode]
  2763. [Browsable(false)]
  2764. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  2765. [Browsable(true)]
  2766. [DebuggerNonUserCode]
  2767. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  2768. public override SchemaSerializationMode SchemaSerializationMode
  2769. {
  2770. get
  2771. {
  2772. return _schemaSerializationMode;
  2773. }
  2774. set
  2775. {
  2776. _schemaSerializationMode = value;
  2777. }
  2778. }
  2779. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  2780. [DebuggerNonUserCode]
  2781. public new DataTableCollection Tables => base.Tables;
  2782. [DebuggerNonUserCode]
  2783. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  2784. public new DataRelationCollection Relations => base.Relations;
  2785. [DebuggerNonUserCode]
  2786. public dsFrmSaleInvoicce()
  2787. {
  2788. BeginInit();
  2789. InitClass();
  2790. CollectionChangeEventHandler value = SchemaChanged;
  2791. base.Tables.CollectionChanged += value;
  2792. base.Relations.CollectionChanged += value;
  2793. EndInit();
  2794. }
  2795. [DebuggerNonUserCode]
  2796. protected dsFrmSaleInvoicce(SerializationInfo info, StreamingContext context)
  2797. : base(info, context, ConstructSchema: false)
  2798. {
  2799. if (IsBinarySerialized(info, context))
  2800. {
  2801. InitVars(initTable: false);
  2802. CollectionChangeEventHandler value = SchemaChanged;
  2803. Tables.CollectionChanged += value;
  2804. Relations.CollectionChanged += value;
  2805. return;
  2806. }
  2807. string s = (string)info.GetValue("XmlSchema", typeof(string));
  2808. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  2809. {
  2810. DataSet dataSet = new DataSet();
  2811. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  2812. if (dataSet.Tables["SaleInvoice"] != null)
  2813. {
  2814. base.Tables.Add(new SaleInvoiceDataTable(dataSet.Tables["SaleInvoice"]));
  2815. }
  2816. if (dataSet.Tables["SaleInvoiceProduct"] != null)
  2817. {
  2818. base.Tables.Add(new SaleInvoiceProductDataTable(dataSet.Tables["SaleInvoiceProduct"]));
  2819. }
  2820. if (dataSet.Tables["AppendInfo"] != null)
  2821. {
  2822. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  2823. }
  2824. base.DataSetName = dataSet.DataSetName;
  2825. base.Prefix = dataSet.Prefix;
  2826. base.Namespace = dataSet.Namespace;
  2827. base.Locale = dataSet.Locale;
  2828. base.CaseSensitive = dataSet.CaseSensitive;
  2829. base.EnforceConstraints = dataSet.EnforceConstraints;
  2830. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  2831. InitVars();
  2832. }
  2833. else
  2834. {
  2835. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  2836. }
  2837. GetSerializationData(info, context);
  2838. CollectionChangeEventHandler value2 = SchemaChanged;
  2839. base.Tables.CollectionChanged += value2;
  2840. Relations.CollectionChanged += value2;
  2841. }
  2842. [DebuggerNonUserCode]
  2843. protected override void InitializeDerivedDataSet()
  2844. {
  2845. BeginInit();
  2846. InitClass();
  2847. EndInit();
  2848. }
  2849. [DebuggerNonUserCode]
  2850. public override DataSet Clone()
  2851. {
  2852. dsFrmSaleInvoicce dsFrmSaleInvoicce = (dsFrmSaleInvoicce)base.Clone();
  2853. dsFrmSaleInvoicce.InitVars();
  2854. dsFrmSaleInvoicce.SchemaSerializationMode = SchemaSerializationMode;
  2855. return dsFrmSaleInvoicce;
  2856. }
  2857. [DebuggerNonUserCode]
  2858. protected override bool ShouldSerializeTables()
  2859. {
  2860. return false;
  2861. }
  2862. [DebuggerNonUserCode]
  2863. protected override bool ShouldSerializeRelations()
  2864. {
  2865. return false;
  2866. }
  2867. [DebuggerNonUserCode]
  2868. protected override void ReadXmlSerializable(XmlReader reader)
  2869. {
  2870. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  2871. {
  2872. Reset();
  2873. DataSet dataSet = new DataSet();
  2874. dataSet.ReadXml(reader);
  2875. if (dataSet.Tables["SaleInvoice"] != null)
  2876. {
  2877. base.Tables.Add(new SaleInvoiceDataTable(dataSet.Tables["SaleInvoice"]));
  2878. }
  2879. if (dataSet.Tables["SaleInvoiceProduct"] != null)
  2880. {
  2881. base.Tables.Add(new SaleInvoiceProductDataTable(dataSet.Tables["SaleInvoiceProduct"]));
  2882. }
  2883. if (dataSet.Tables["AppendInfo"] != null)
  2884. {
  2885. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  2886. }
  2887. base.DataSetName = dataSet.DataSetName;
  2888. base.Prefix = dataSet.Prefix;
  2889. base.Namespace = dataSet.Namespace;
  2890. base.Locale = dataSet.Locale;
  2891. base.CaseSensitive = dataSet.CaseSensitive;
  2892. base.EnforceConstraints = dataSet.EnforceConstraints;
  2893. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  2894. InitVars();
  2895. }
  2896. else
  2897. {
  2898. ReadXml(reader);
  2899. InitVars();
  2900. }
  2901. }
  2902. [DebuggerNonUserCode]
  2903. protected override XmlSchema GetSchemaSerializable()
  2904. {
  2905. MemoryStream memoryStream = new MemoryStream();
  2906. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  2907. memoryStream.Position = 0L;
  2908. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  2909. }
  2910. [DebuggerNonUserCode]
  2911. internal void InitVars()
  2912. {
  2913. InitVars(initTable: true);
  2914. }
  2915. [DebuggerNonUserCode]
  2916. internal void InitVars(bool initTable)
  2917. {
  2918. tableSaleInvoice = (SaleInvoiceDataTable)base.Tables["SaleInvoice"];
  2919. if (initTable && tableSaleInvoice != null)
  2920. {
  2921. tableSaleInvoice.InitVars();
  2922. }
  2923. tableSaleInvoiceProduct = (SaleInvoiceProductDataTable)base.Tables["SaleInvoiceProduct"];
  2924. if (initTable && tableSaleInvoiceProduct != null)
  2925. {
  2926. tableSaleInvoiceProduct.InitVars();
  2927. }
  2928. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  2929. if (initTable && tableAppendInfo != null)
  2930. {
  2931. tableAppendInfo.InitVars();
  2932. }
  2933. }
  2934. [DebuggerNonUserCode]
  2935. private void InitClass()
  2936. {
  2937. base.DataSetName = "dsFrmSaleInvoicce";
  2938. base.Prefix = "";
  2939. base.Namespace = "http://tempuri.org/dsFrmSaleInvoicce.xsd";
  2940. base.Locale = new CultureInfo("en-US");
  2941. base.EnforceConstraints = true;
  2942. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  2943. tableSaleInvoice = new SaleInvoiceDataTable();
  2944. base.Tables.Add(tableSaleInvoice);
  2945. tableSaleInvoiceProduct = new SaleInvoiceProductDataTable();
  2946. base.Tables.Add(tableSaleInvoiceProduct);
  2947. tableAppendInfo = new AppendInfoDataTable();
  2948. base.Tables.Add(tableAppendInfo);
  2949. }
  2950. [DebuggerNonUserCode]
  2951. private bool ShouldSerializeSaleInvoice()
  2952. {
  2953. return false;
  2954. }
  2955. [DebuggerNonUserCode]
  2956. private bool ShouldSerializeSaleInvoiceProduct()
  2957. {
  2958. return false;
  2959. }
  2960. [DebuggerNonUserCode]
  2961. private bool ShouldSerializeAppendInfo()
  2962. {
  2963. return false;
  2964. }
  2965. [DebuggerNonUserCode]
  2966. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  2967. {
  2968. if (e.Action == CollectionChangeAction.Remove)
  2969. {
  2970. InitVars();
  2971. }
  2972. }
  2973. [DebuggerNonUserCode]
  2974. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  2975. {
  2976. dsFrmSaleInvoicce dsFrmSaleInvoicce = new dsFrmSaleInvoicce();
  2977. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  2978. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  2979. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  2980. xmlSchemaAny.Namespace = dsFrmSaleInvoicce.Namespace;
  2981. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  2982. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  2983. XmlSchema schemaSerializable = dsFrmSaleInvoicce.GetSchemaSerializable();
  2984. if (xs.Contains(schemaSerializable.TargetNamespace))
  2985. {
  2986. MemoryStream memoryStream = new MemoryStream();
  2987. MemoryStream memoryStream2 = new MemoryStream();
  2988. try
  2989. {
  2990. XmlSchema xmlSchema = null;
  2991. schemaSerializable.Write(memoryStream);
  2992. IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
  2993. while (enumerator.MoveNext())
  2994. {
  2995. xmlSchema = (XmlSchema)enumerator.Current;
  2996. memoryStream2.SetLength(0L);
  2997. xmlSchema.Write(memoryStream2);
  2998. if (memoryStream.Length == memoryStream2.Length)
  2999. {
  3000. memoryStream.Position = 0L;
  3001. memoryStream2.Position = 0L;
  3002. while (memoryStream.Position != memoryStream.Length && memoryStream.ReadByte() == memoryStream2.ReadByte())
  3003. {
  3004. }
  3005. if (memoryStream.Position == memoryStream.Length)
  3006. {
  3007. return xmlSchemaComplexType;
  3008. }
  3009. }
  3010. }
  3011. }
  3012. finally
  3013. {
  3014. memoryStream?.Close();
  3015. memoryStream2?.Close();
  3016. }
  3017. }
  3018. xs.Add(schemaSerializable);
  3019. return xmlSchemaComplexType;
  3020. }
  3021. }
  3022. }