dsFrmSaleOutDepotBill.cs 89 KB

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