dsFrmPurchaseCosting.cs 80 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589
  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("dsFrmPurchaseCosting")]
  17. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  18. [HelpKeyword("vs.data.DataSet")]
  19. [DesignerCategory("code")]
  20. [ToolboxItem(true)]
  21. [XmlSchemaProvider("GetTypedDataSetSchema")]
  22. public class dsFrmPurchaseCosting : DataSet
  23. {
  24. public delegate void PurchaseInDepotBillProductRowChangeEventHandler(object sender, PurchaseInDepotBillProductRowChangeEvent e);
  25. public delegate void PurchaseInDepotBillRowChangeEventHandler(object sender, PurchaseInDepotBillRowChangeEvent e);
  26. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  27. [Serializable]
  28. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  29. [XmlSchemaProvider("GetTypedTableSchema")]
  30. public class PurchaseInDepotBillProductDataTable : DataTable, IEnumerable
  31. {
  32. private DataColumn columnNo_PurchaseInDepotBillProduct;
  33. private DataColumn columnType_FromBill;
  34. private DataColumn columnNo_FromBill;
  35. private DataColumn columnNo_FromBillProduct;
  36. private DataColumn columnRefNo_PurchaseInDepotBill;
  37. private DataColumn columnQuantity_PurchaseInDepotBillProduct;
  38. private DataColumn columnCost_PurchaseInDepotBillProduct;
  39. private DataColumn columnComment_PurchaseInDepotBillProduct;
  40. private DataColumn columnNo_Product;
  41. private DataColumn columnName_Product;
  42. private DataColumn columnUnit_Product;
  43. private DataColumn columnMoney;
  44. [DebuggerNonUserCode]
  45. public DataColumn No_PurchaseInDepotBillProductColumn => columnNo_PurchaseInDepotBillProduct;
  46. [DebuggerNonUserCode]
  47. public DataColumn Type_FromBillColumn => columnType_FromBill;
  48. [DebuggerNonUserCode]
  49. public DataColumn No_FromBillColumn => columnNo_FromBill;
  50. [DebuggerNonUserCode]
  51. public DataColumn No_FromBillProductColumn => columnNo_FromBillProduct;
  52. [DebuggerNonUserCode]
  53. public DataColumn RefNo_PurchaseInDepotBillColumn => columnRefNo_PurchaseInDepotBill;
  54. [DebuggerNonUserCode]
  55. public DataColumn Quantity_PurchaseInDepotBillProductColumn => columnQuantity_PurchaseInDepotBillProduct;
  56. [DebuggerNonUserCode]
  57. public DataColumn Cost_PurchaseInDepotBillProductColumn => columnCost_PurchaseInDepotBillProduct;
  58. [DebuggerNonUserCode]
  59. public DataColumn Comment_PurchaseInDepotBillProductColumn => columnComment_PurchaseInDepotBillProduct;
  60. [DebuggerNonUserCode]
  61. public DataColumn No_ProductColumn => columnNo_Product;
  62. [DebuggerNonUserCode]
  63. public DataColumn Name_ProductColumn => columnName_Product;
  64. [DebuggerNonUserCode]
  65. public DataColumn Unit_ProductColumn => columnUnit_Product;
  66. [DebuggerNonUserCode]
  67. public DataColumn MoneyColumn => columnMoney;
  68. [DebuggerNonUserCode]
  69. [Browsable(false)]
  70. public int Count => base.Rows.Count;
  71. [DebuggerNonUserCode]
  72. public PurchaseInDepotBillProductRow this[int index] => (PurchaseInDepotBillProductRow)base.Rows[index];
  73. public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowChanging;
  74. public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowChanged;
  75. public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowDeleting;
  76. public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowDeleted;
  77. [DebuggerNonUserCode]
  78. public PurchaseInDepotBillProductDataTable()
  79. {
  80. base.TableName = "PurchaseInDepotBillProduct";
  81. BeginInit();
  82. InitClass();
  83. EndInit();
  84. }
  85. [DebuggerNonUserCode]
  86. internal PurchaseInDepotBillProductDataTable(DataTable table)
  87. {
  88. base.TableName = table.TableName;
  89. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  90. {
  91. base.CaseSensitive = table.CaseSensitive;
  92. }
  93. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  94. {
  95. base.Locale = table.Locale;
  96. }
  97. if (table.Namespace != table.DataSet.Namespace)
  98. {
  99. base.Namespace = table.Namespace;
  100. }
  101. base.Prefix = table.Prefix;
  102. base.MinimumCapacity = table.MinimumCapacity;
  103. }
  104. [DebuggerNonUserCode]
  105. protected PurchaseInDepotBillProductDataTable(SerializationInfo info, StreamingContext context)
  106. : base(info, context)
  107. {
  108. InitVars();
  109. }
  110. [DebuggerNonUserCode]
  111. public void AddPurchaseInDepotBillProductRow(PurchaseInDepotBillProductRow row)
  112. {
  113. base.Rows.Add(row);
  114. }
  115. [DebuggerNonUserCode]
  116. public PurchaseInDepotBillProductRow AddPurchaseInDepotBillProductRow(string No_PurchaseInDepotBillProduct, int Type_FromBill, string No_FromBill, string No_FromBillProduct, string RefNo_PurchaseInDepotBill, decimal Quantity_PurchaseInDepotBillProduct, decimal Cost_PurchaseInDepotBillProduct, string Comment_PurchaseInDepotBillProduct, string No_Product, string Name_Product, string Unit_Product, decimal Money)
  117. {
  118. PurchaseInDepotBillProductRow purchaseInDepotBillProductRow = (PurchaseInDepotBillProductRow)NewRow();
  119. purchaseInDepotBillProductRow.ItemArray = new object[12]
  120. {
  121. No_PurchaseInDepotBillProduct,
  122. Type_FromBill,
  123. No_FromBill,
  124. No_FromBillProduct,
  125. RefNo_PurchaseInDepotBill,
  126. Quantity_PurchaseInDepotBillProduct,
  127. Cost_PurchaseInDepotBillProduct,
  128. Comment_PurchaseInDepotBillProduct,
  129. No_Product,
  130. Name_Product,
  131. Unit_Product,
  132. Money
  133. };
  134. base.Rows.Add(purchaseInDepotBillProductRow);
  135. return purchaseInDepotBillProductRow;
  136. }
  137. [DebuggerNonUserCode]
  138. public virtual IEnumerator GetEnumerator()
  139. {
  140. return base.Rows.GetEnumerator();
  141. }
  142. [DebuggerNonUserCode]
  143. public override DataTable Clone()
  144. {
  145. PurchaseInDepotBillProductDataTable purchaseInDepotBillProductDataTable = (PurchaseInDepotBillProductDataTable)base.Clone();
  146. purchaseInDepotBillProductDataTable.InitVars();
  147. return purchaseInDepotBillProductDataTable;
  148. }
  149. [DebuggerNonUserCode]
  150. protected override DataTable CreateInstance()
  151. {
  152. return new PurchaseInDepotBillProductDataTable();
  153. }
  154. [DebuggerNonUserCode]
  155. internal void InitVars()
  156. {
  157. columnNo_PurchaseInDepotBillProduct = base.Columns["No_PurchaseInDepotBillProduct"];
  158. columnType_FromBill = base.Columns["Type_FromBill"];
  159. columnNo_FromBill = base.Columns["No_FromBill"];
  160. columnNo_FromBillProduct = base.Columns["No_FromBillProduct"];
  161. columnRefNo_PurchaseInDepotBill = base.Columns["RefNo_PurchaseInDepotBill"];
  162. columnQuantity_PurchaseInDepotBillProduct = base.Columns["Quantity_PurchaseInDepotBillProduct"];
  163. columnCost_PurchaseInDepotBillProduct = base.Columns["Cost_PurchaseInDepotBillProduct"];
  164. columnComment_PurchaseInDepotBillProduct = base.Columns["Comment_PurchaseInDepotBillProduct"];
  165. columnNo_Product = base.Columns["No_Product"];
  166. columnName_Product = base.Columns["Name_Product"];
  167. columnUnit_Product = base.Columns["Unit_Product"];
  168. columnMoney = base.Columns["Money"];
  169. }
  170. [DebuggerNonUserCode]
  171. private void InitClass()
  172. {
  173. columnNo_PurchaseInDepotBillProduct = new DataColumn("No_PurchaseInDepotBillProduct", typeof(string), null, MappingType.Element);
  174. base.Columns.Add(columnNo_PurchaseInDepotBillProduct);
  175. columnType_FromBill = new DataColumn("Type_FromBill", typeof(int), null, MappingType.Element);
  176. base.Columns.Add(columnType_FromBill);
  177. columnNo_FromBill = new DataColumn("No_FromBill", typeof(string), null, MappingType.Element);
  178. base.Columns.Add(columnNo_FromBill);
  179. columnNo_FromBillProduct = new DataColumn("No_FromBillProduct", typeof(string), null, MappingType.Element);
  180. base.Columns.Add(columnNo_FromBillProduct);
  181. columnRefNo_PurchaseInDepotBill = new DataColumn("RefNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  182. base.Columns.Add(columnRefNo_PurchaseInDepotBill);
  183. columnQuantity_PurchaseInDepotBillProduct = new DataColumn("Quantity_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element);
  184. base.Columns.Add(columnQuantity_PurchaseInDepotBillProduct);
  185. columnCost_PurchaseInDepotBillProduct = new DataColumn("Cost_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element);
  186. base.Columns.Add(columnCost_PurchaseInDepotBillProduct);
  187. columnComment_PurchaseInDepotBillProduct = new DataColumn("Comment_PurchaseInDepotBillProduct", typeof(string), null, MappingType.Element);
  188. base.Columns.Add(columnComment_PurchaseInDepotBillProduct);
  189. columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
  190. base.Columns.Add(columnNo_Product);
  191. columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
  192. base.Columns.Add(columnName_Product);
  193. columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element);
  194. base.Columns.Add(columnUnit_Product);
  195. columnMoney = new DataColumn("Money", typeof(decimal), null, MappingType.Element);
  196. base.Columns.Add(columnMoney);
  197. }
  198. [DebuggerNonUserCode]
  199. public PurchaseInDepotBillProductRow NewPurchaseInDepotBillProductRow()
  200. {
  201. return (PurchaseInDepotBillProductRow)NewRow();
  202. }
  203. [DebuggerNonUserCode]
  204. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  205. {
  206. return new PurchaseInDepotBillProductRow(builder);
  207. }
  208. [DebuggerNonUserCode]
  209. protected override Type GetRowType()
  210. {
  211. return typeof(PurchaseInDepotBillProductRow);
  212. }
  213. [DebuggerNonUserCode]
  214. protected override void OnRowChanged(DataRowChangeEventArgs e)
  215. {
  216. base.OnRowChanged(e);
  217. if (this.PurchaseInDepotBillProductRowChanged != null)
  218. {
  219. this.PurchaseInDepotBillProductRowChanged(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
  220. }
  221. }
  222. [DebuggerNonUserCode]
  223. protected override void OnRowChanging(DataRowChangeEventArgs e)
  224. {
  225. base.OnRowChanging(e);
  226. if (this.PurchaseInDepotBillProductRowChanging != null)
  227. {
  228. this.PurchaseInDepotBillProductRowChanging(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
  229. }
  230. }
  231. [DebuggerNonUserCode]
  232. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  233. {
  234. base.OnRowDeleted(e);
  235. if (this.PurchaseInDepotBillProductRowDeleted != null)
  236. {
  237. this.PurchaseInDepotBillProductRowDeleted(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
  238. }
  239. }
  240. [DebuggerNonUserCode]
  241. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  242. {
  243. base.OnRowDeleting(e);
  244. if (this.PurchaseInDepotBillProductRowDeleting != null)
  245. {
  246. this.PurchaseInDepotBillProductRowDeleting(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
  247. }
  248. }
  249. [DebuggerNonUserCode]
  250. public void RemovePurchaseInDepotBillProductRow(PurchaseInDepotBillProductRow row)
  251. {
  252. base.Rows.Remove(row);
  253. }
  254. [DebuggerNonUserCode]
  255. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  256. {
  257. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  258. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  259. dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
  260. xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
  261. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  262. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  263. xmlSchemaAny.MinOccurs = 0m;
  264. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  265. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  266. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  267. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  268. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  269. xmlSchemaAny2.MinOccurs = 1m;
  270. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  271. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  272. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  273. xmlSchemaAttribute.Name = "namespace";
  274. xmlSchemaAttribute.FixedValue = dsFrmPurchaseCosting.Namespace;
  275. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  276. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  277. xmlSchemaAttribute2.Name = "tableTypeName";
  278. xmlSchemaAttribute2.FixedValue = "PurchaseInDepotBillProductDataTable";
  279. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  280. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  281. return xmlSchemaComplexType;
  282. }
  283. }
  284. [Serializable]
  285. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  286. [XmlSchemaProvider("GetTypedTableSchema")]
  287. public class PurchaseInDepotBillDataTable : DataTable, IEnumerable
  288. {
  289. private DataColumn columnDate_PurchaseInDepotBill;
  290. private DataColumn columnNo_PurchaseInDepotBill;
  291. private DataColumn columnEncasementNo_PurchaseInDepotBill;
  292. private DataColumn columnQA_PurchaseInDepotBill;
  293. private DataColumn columnAssessDate_PurchaseInDepotBill;
  294. private DataColumn columnComment_PurchaseInDepotBill;
  295. private DataColumn columnCostVerify_PurchaseInDepotBill;
  296. private DataColumn columnCreateDate_PurchaseInDepotBill;
  297. private DataColumn columnLastModDate_PurchaseInDepotBill;
  298. private DataColumn columnCostingDate_PurchaseInDepotBill;
  299. private DataColumn columnInvoiceNo_PurchaseInDepotBill;
  300. private DataColumn columnCurrency_PurchaseInDepotBill;
  301. private DataColumn columnGoodsAmount_PurchaseInDepotBill;
  302. private DataColumn columnTaxAmount_PurchaseInDepotBill;
  303. private DataColumn columnCustom_PurchaseInDepotBill;
  304. private DataColumn columnAgent_PurchaseInDepotBill;
  305. private DataColumn columnHandling_PurchaseInDepotBill;
  306. private DataColumn columnCarriage_PurchaseInDepotBill;
  307. private DataColumn columnOthers_PurchaseInDepotBill;
  308. private DataColumn columnAmount_PurchaseInDepotBill;
  309. private DataColumn columnStrikedGoodsAmount_PurchaseInDepotBill;
  310. private DataColumn columnStrikedTaxAmount_PurchaseInDepotBill;
  311. private DataColumn columnName_UserAudit;
  312. private DataColumn columnName_UserMod;
  313. private DataColumn columncount;
  314. [DebuggerNonUserCode]
  315. public DataColumn Date_PurchaseInDepotBillColumn => columnDate_PurchaseInDepotBill;
  316. [DebuggerNonUserCode]
  317. public DataColumn No_PurchaseInDepotBillColumn => columnNo_PurchaseInDepotBill;
  318. [DebuggerNonUserCode]
  319. public DataColumn EncasementNo_PurchaseInDepotBillColumn => columnEncasementNo_PurchaseInDepotBill;
  320. [DebuggerNonUserCode]
  321. public DataColumn QA_PurchaseInDepotBillColumn => columnQA_PurchaseInDepotBill;
  322. [DebuggerNonUserCode]
  323. public DataColumn AssessDate_PurchaseInDepotBillColumn => columnAssessDate_PurchaseInDepotBill;
  324. [DebuggerNonUserCode]
  325. public DataColumn Comment_PurchaseInDepotBillColumn => columnComment_PurchaseInDepotBill;
  326. [DebuggerNonUserCode]
  327. public DataColumn CostVerify_PurchaseInDepotBillColumn => columnCostVerify_PurchaseInDepotBill;
  328. [DebuggerNonUserCode]
  329. public DataColumn CreateDate_PurchaseInDepotBillColumn => columnCreateDate_PurchaseInDepotBill;
  330. [DebuggerNonUserCode]
  331. public DataColumn LastModDate_PurchaseInDepotBillColumn => columnLastModDate_PurchaseInDepotBill;
  332. [DebuggerNonUserCode]
  333. public DataColumn CostingDate_PurchaseInDepotBillColumn => columnCostingDate_PurchaseInDepotBill;
  334. [DebuggerNonUserCode]
  335. public DataColumn InvoiceNo_PurchaseInDepotBillColumn => columnInvoiceNo_PurchaseInDepotBill;
  336. [DebuggerNonUserCode]
  337. public DataColumn Currency_PurchaseInDepotBillColumn => columnCurrency_PurchaseInDepotBill;
  338. [DebuggerNonUserCode]
  339. public DataColumn GoodsAmount_PurchaseInDepotBillColumn => columnGoodsAmount_PurchaseInDepotBill;
  340. [DebuggerNonUserCode]
  341. public DataColumn TaxAmount_PurchaseInDepotBillColumn => columnTaxAmount_PurchaseInDepotBill;
  342. [DebuggerNonUserCode]
  343. public DataColumn Custom_PurchaseInDepotBillColumn => columnCustom_PurchaseInDepotBill;
  344. [DebuggerNonUserCode]
  345. public DataColumn Agent_PurchaseInDepotBillColumn => columnAgent_PurchaseInDepotBill;
  346. [DebuggerNonUserCode]
  347. public DataColumn Handling_PurchaseInDepotBillColumn => columnHandling_PurchaseInDepotBill;
  348. [DebuggerNonUserCode]
  349. public DataColumn Carriage_PurchaseInDepotBillColumn => columnCarriage_PurchaseInDepotBill;
  350. [DebuggerNonUserCode]
  351. public DataColumn Others_PurchaseInDepotBillColumn => columnOthers_PurchaseInDepotBill;
  352. [DebuggerNonUserCode]
  353. public DataColumn Amount_PurchaseInDepotBillColumn => columnAmount_PurchaseInDepotBill;
  354. [DebuggerNonUserCode]
  355. public DataColumn StrikedGoodsAmount_PurchaseInDepotBillColumn => columnStrikedGoodsAmount_PurchaseInDepotBill;
  356. [DebuggerNonUserCode]
  357. public DataColumn StrikedTaxAmount_PurchaseInDepotBillColumn => columnStrikedTaxAmount_PurchaseInDepotBill;
  358. [DebuggerNonUserCode]
  359. public DataColumn Name_UserAuditColumn => columnName_UserAudit;
  360. [DebuggerNonUserCode]
  361. public DataColumn Name_UserModColumn => columnName_UserMod;
  362. [DebuggerNonUserCode]
  363. public DataColumn countColumn => columncount;
  364. [Browsable(false)]
  365. [DebuggerNonUserCode]
  366. public int Count => base.Rows.Count;
  367. [DebuggerNonUserCode]
  368. public PurchaseInDepotBillRow this[int index] => (PurchaseInDepotBillRow)base.Rows[index];
  369. public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowChanging;
  370. public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowChanged;
  371. public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowDeleting;
  372. public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowDeleted;
  373. [DebuggerNonUserCode]
  374. public PurchaseInDepotBillDataTable()
  375. {
  376. base.TableName = "PurchaseInDepotBill";
  377. BeginInit();
  378. InitClass();
  379. EndInit();
  380. }
  381. [DebuggerNonUserCode]
  382. internal PurchaseInDepotBillDataTable(DataTable table)
  383. {
  384. base.TableName = table.TableName;
  385. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  386. {
  387. base.CaseSensitive = table.CaseSensitive;
  388. }
  389. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  390. {
  391. base.Locale = table.Locale;
  392. }
  393. if (table.Namespace != table.DataSet.Namespace)
  394. {
  395. base.Namespace = table.Namespace;
  396. }
  397. base.Prefix = table.Prefix;
  398. base.MinimumCapacity = table.MinimumCapacity;
  399. }
  400. [DebuggerNonUserCode]
  401. protected PurchaseInDepotBillDataTable(SerializationInfo info, StreamingContext context)
  402. : base(info, context)
  403. {
  404. InitVars();
  405. }
  406. [DebuggerNonUserCode]
  407. public void AddPurchaseInDepotBillRow(PurchaseInDepotBillRow row)
  408. {
  409. base.Rows.Add(row);
  410. }
  411. [DebuggerNonUserCode]
  412. public PurchaseInDepotBillRow AddPurchaseInDepotBillRow(DateTime Date_PurchaseInDepotBill, string No_PurchaseInDepotBill, string EncasementNo_PurchaseInDepotBill, string QA_PurchaseInDepotBill, DateTime AssessDate_PurchaseInDepotBill, string Comment_PurchaseInDepotBill, bool CostVerify_PurchaseInDepotBill, DateTime CreateDate_PurchaseInDepotBill, DateTime LastModDate_PurchaseInDepotBill, DateTime CostingDate_PurchaseInDepotBill, string InvoiceNo_PurchaseInDepotBill, string Currency_PurchaseInDepotBill, decimal GoodsAmount_PurchaseInDepotBill, decimal TaxAmount_PurchaseInDepotBill, decimal Custom_PurchaseInDepotBill, decimal Agent_PurchaseInDepotBill, decimal Handling_PurchaseInDepotBill, decimal Carriage_PurchaseInDepotBill, decimal Others_PurchaseInDepotBill, decimal Amount_PurchaseInDepotBill, decimal StrikedGoodsAmount_PurchaseInDepotBill, decimal StrikedTaxAmount_PurchaseInDepotBill, string Name_UserAudit, string Name_UserMod, decimal count)
  413. {
  414. PurchaseInDepotBillRow purchaseInDepotBillRow = (PurchaseInDepotBillRow)NewRow();
  415. purchaseInDepotBillRow.ItemArray = new object[25]
  416. {
  417. Date_PurchaseInDepotBill,
  418. No_PurchaseInDepotBill,
  419. EncasementNo_PurchaseInDepotBill,
  420. QA_PurchaseInDepotBill,
  421. AssessDate_PurchaseInDepotBill,
  422. Comment_PurchaseInDepotBill,
  423. CostVerify_PurchaseInDepotBill,
  424. CreateDate_PurchaseInDepotBill,
  425. LastModDate_PurchaseInDepotBill,
  426. CostingDate_PurchaseInDepotBill,
  427. InvoiceNo_PurchaseInDepotBill,
  428. Currency_PurchaseInDepotBill,
  429. GoodsAmount_PurchaseInDepotBill,
  430. TaxAmount_PurchaseInDepotBill,
  431. Custom_PurchaseInDepotBill,
  432. Agent_PurchaseInDepotBill,
  433. Handling_PurchaseInDepotBill,
  434. Carriage_PurchaseInDepotBill,
  435. Others_PurchaseInDepotBill,
  436. Amount_PurchaseInDepotBill,
  437. StrikedGoodsAmount_PurchaseInDepotBill,
  438. StrikedTaxAmount_PurchaseInDepotBill,
  439. Name_UserAudit,
  440. Name_UserMod,
  441. count
  442. };
  443. base.Rows.Add(purchaseInDepotBillRow);
  444. return purchaseInDepotBillRow;
  445. }
  446. [DebuggerNonUserCode]
  447. public virtual IEnumerator GetEnumerator()
  448. {
  449. return base.Rows.GetEnumerator();
  450. }
  451. [DebuggerNonUserCode]
  452. public override DataTable Clone()
  453. {
  454. PurchaseInDepotBillDataTable purchaseInDepotBillDataTable = (PurchaseInDepotBillDataTable)base.Clone();
  455. purchaseInDepotBillDataTable.InitVars();
  456. return purchaseInDepotBillDataTable;
  457. }
  458. [DebuggerNonUserCode]
  459. protected override DataTable CreateInstance()
  460. {
  461. return new PurchaseInDepotBillDataTable();
  462. }
  463. [DebuggerNonUserCode]
  464. internal void InitVars()
  465. {
  466. columnDate_PurchaseInDepotBill = base.Columns["Date_PurchaseInDepotBill"];
  467. columnNo_PurchaseInDepotBill = base.Columns["No_PurchaseInDepotBill"];
  468. columnEncasementNo_PurchaseInDepotBill = base.Columns["EncasementNo_PurchaseInDepotBill"];
  469. columnQA_PurchaseInDepotBill = base.Columns["QA_PurchaseInDepotBill"];
  470. columnAssessDate_PurchaseInDepotBill = base.Columns["AssessDate_PurchaseInDepotBill"];
  471. columnComment_PurchaseInDepotBill = base.Columns["Comment_PurchaseInDepotBill"];
  472. columnCostVerify_PurchaseInDepotBill = base.Columns["CostVerify_PurchaseInDepotBill"];
  473. columnCreateDate_PurchaseInDepotBill = base.Columns["CreateDate_PurchaseInDepotBill"];
  474. columnLastModDate_PurchaseInDepotBill = base.Columns["LastModDate_PurchaseInDepotBill"];
  475. columnCostingDate_PurchaseInDepotBill = base.Columns["CostingDate_PurchaseInDepotBill"];
  476. columnInvoiceNo_PurchaseInDepotBill = base.Columns["InvoiceNo_PurchaseInDepotBill"];
  477. columnCurrency_PurchaseInDepotBill = base.Columns["Currency_PurchaseInDepotBill"];
  478. columnGoodsAmount_PurchaseInDepotBill = base.Columns["GoodsAmount_PurchaseInDepotBill"];
  479. columnTaxAmount_PurchaseInDepotBill = base.Columns["TaxAmount_PurchaseInDepotBill"];
  480. columnCustom_PurchaseInDepotBill = base.Columns["Custom_PurchaseInDepotBill"];
  481. columnAgent_PurchaseInDepotBill = base.Columns["Agent_PurchaseInDepotBill"];
  482. columnHandling_PurchaseInDepotBill = base.Columns["Handling_PurchaseInDepotBill"];
  483. columnCarriage_PurchaseInDepotBill = base.Columns["Carriage_PurchaseInDepotBill"];
  484. columnOthers_PurchaseInDepotBill = base.Columns["Others_PurchaseInDepotBill"];
  485. columnAmount_PurchaseInDepotBill = base.Columns["Amount_PurchaseInDepotBill"];
  486. columnStrikedGoodsAmount_PurchaseInDepotBill = base.Columns["StrikedGoodsAmount_PurchaseInDepotBill"];
  487. columnStrikedTaxAmount_PurchaseInDepotBill = base.Columns["StrikedTaxAmount_PurchaseInDepotBill"];
  488. columnName_UserAudit = base.Columns["Name_UserAudit"];
  489. columnName_UserMod = base.Columns["Name_UserMod"];
  490. columncount = base.Columns["count"];
  491. }
  492. [DebuggerNonUserCode]
  493. private void InitClass()
  494. {
  495. columnDate_PurchaseInDepotBill = new DataColumn("Date_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
  496. base.Columns.Add(columnDate_PurchaseInDepotBill);
  497. columnNo_PurchaseInDepotBill = new DataColumn("No_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  498. base.Columns.Add(columnNo_PurchaseInDepotBill);
  499. columnEncasementNo_PurchaseInDepotBill = new DataColumn("EncasementNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  500. base.Columns.Add(columnEncasementNo_PurchaseInDepotBill);
  501. columnQA_PurchaseInDepotBill = new DataColumn("QA_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  502. base.Columns.Add(columnQA_PurchaseInDepotBill);
  503. columnAssessDate_PurchaseInDepotBill = new DataColumn("AssessDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
  504. base.Columns.Add(columnAssessDate_PurchaseInDepotBill);
  505. columnComment_PurchaseInDepotBill = new DataColumn("Comment_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  506. base.Columns.Add(columnComment_PurchaseInDepotBill);
  507. columnCostVerify_PurchaseInDepotBill = new DataColumn("CostVerify_PurchaseInDepotBill", typeof(bool), null, MappingType.Element);
  508. base.Columns.Add(columnCostVerify_PurchaseInDepotBill);
  509. columnCreateDate_PurchaseInDepotBill = new DataColumn("CreateDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
  510. base.Columns.Add(columnCreateDate_PurchaseInDepotBill);
  511. columnLastModDate_PurchaseInDepotBill = new DataColumn("LastModDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
  512. base.Columns.Add(columnLastModDate_PurchaseInDepotBill);
  513. columnCostingDate_PurchaseInDepotBill = new DataColumn("CostingDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
  514. base.Columns.Add(columnCostingDate_PurchaseInDepotBill);
  515. columnInvoiceNo_PurchaseInDepotBill = new DataColumn("InvoiceNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  516. base.Columns.Add(columnInvoiceNo_PurchaseInDepotBill);
  517. columnCurrency_PurchaseInDepotBill = new DataColumn("Currency_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
  518. base.Columns.Add(columnCurrency_PurchaseInDepotBill);
  519. columnGoodsAmount_PurchaseInDepotBill = new DataColumn("GoodsAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  520. base.Columns.Add(columnGoodsAmount_PurchaseInDepotBill);
  521. columnTaxAmount_PurchaseInDepotBill = new DataColumn("TaxAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  522. base.Columns.Add(columnTaxAmount_PurchaseInDepotBill);
  523. columnCustom_PurchaseInDepotBill = new DataColumn("Custom_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  524. base.Columns.Add(columnCustom_PurchaseInDepotBill);
  525. columnAgent_PurchaseInDepotBill = new DataColumn("Agent_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  526. base.Columns.Add(columnAgent_PurchaseInDepotBill);
  527. columnHandling_PurchaseInDepotBill = new DataColumn("Handling_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  528. base.Columns.Add(columnHandling_PurchaseInDepotBill);
  529. columnCarriage_PurchaseInDepotBill = new DataColumn("Carriage_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  530. base.Columns.Add(columnCarriage_PurchaseInDepotBill);
  531. columnOthers_PurchaseInDepotBill = new DataColumn("Others_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  532. base.Columns.Add(columnOthers_PurchaseInDepotBill);
  533. columnAmount_PurchaseInDepotBill = new DataColumn("Amount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  534. base.Columns.Add(columnAmount_PurchaseInDepotBill);
  535. columnStrikedGoodsAmount_PurchaseInDepotBill = new DataColumn("StrikedGoodsAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  536. base.Columns.Add(columnStrikedGoodsAmount_PurchaseInDepotBill);
  537. columnStrikedTaxAmount_PurchaseInDepotBill = new DataColumn("StrikedTaxAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
  538. base.Columns.Add(columnStrikedTaxAmount_PurchaseInDepotBill);
  539. columnName_UserAudit = new DataColumn("Name_UserAudit", typeof(string), null, MappingType.Element);
  540. base.Columns.Add(columnName_UserAudit);
  541. columnName_UserMod = new DataColumn("Name_UserMod", typeof(string), null, MappingType.Element);
  542. base.Columns.Add(columnName_UserMod);
  543. columncount = new DataColumn("count", typeof(decimal), null, MappingType.Element);
  544. base.Columns.Add(columncount);
  545. }
  546. [DebuggerNonUserCode]
  547. public PurchaseInDepotBillRow NewPurchaseInDepotBillRow()
  548. {
  549. return (PurchaseInDepotBillRow)NewRow();
  550. }
  551. [DebuggerNonUserCode]
  552. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  553. {
  554. return new PurchaseInDepotBillRow(builder);
  555. }
  556. [DebuggerNonUserCode]
  557. protected override Type GetRowType()
  558. {
  559. return typeof(PurchaseInDepotBillRow);
  560. }
  561. [DebuggerNonUserCode]
  562. protected override void OnRowChanged(DataRowChangeEventArgs e)
  563. {
  564. base.OnRowChanged(e);
  565. if (this.PurchaseInDepotBillRowChanged != null)
  566. {
  567. this.PurchaseInDepotBillRowChanged(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
  568. }
  569. }
  570. [DebuggerNonUserCode]
  571. protected override void OnRowChanging(DataRowChangeEventArgs e)
  572. {
  573. base.OnRowChanging(e);
  574. if (this.PurchaseInDepotBillRowChanging != null)
  575. {
  576. this.PurchaseInDepotBillRowChanging(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
  577. }
  578. }
  579. [DebuggerNonUserCode]
  580. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  581. {
  582. base.OnRowDeleted(e);
  583. if (this.PurchaseInDepotBillRowDeleted != null)
  584. {
  585. this.PurchaseInDepotBillRowDeleted(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
  586. }
  587. }
  588. [DebuggerNonUserCode]
  589. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  590. {
  591. base.OnRowDeleting(e);
  592. if (this.PurchaseInDepotBillRowDeleting != null)
  593. {
  594. this.PurchaseInDepotBillRowDeleting(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
  595. }
  596. }
  597. [DebuggerNonUserCode]
  598. public void RemovePurchaseInDepotBillRow(PurchaseInDepotBillRow row)
  599. {
  600. base.Rows.Remove(row);
  601. }
  602. [DebuggerNonUserCode]
  603. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  604. {
  605. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  606. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  607. dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
  608. xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
  609. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  610. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  611. xmlSchemaAny.MinOccurs = 0m;
  612. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  613. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  614. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  615. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  616. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  617. xmlSchemaAny2.MinOccurs = 1m;
  618. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  619. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  620. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  621. xmlSchemaAttribute.Name = "namespace";
  622. xmlSchemaAttribute.FixedValue = dsFrmPurchaseCosting.Namespace;
  623. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  624. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  625. xmlSchemaAttribute2.Name = "tableTypeName";
  626. xmlSchemaAttribute2.FixedValue = "PurchaseInDepotBillDataTable";
  627. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  628. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  629. return xmlSchemaComplexType;
  630. }
  631. }
  632. [Serializable]
  633. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  634. [XmlSchemaProvider("GetTypedTableSchema")]
  635. public class AppendInfoDataTable : DataTable, IEnumerable
  636. {
  637. private DataColumn columnCurrentCompany;
  638. private DataColumn columnCurrentUser;
  639. [DebuggerNonUserCode]
  640. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  641. [DebuggerNonUserCode]
  642. public DataColumn CurrentUserColumn => columnCurrentUser;
  643. [Browsable(false)]
  644. [DebuggerNonUserCode]
  645. public int Count => base.Rows.Count;
  646. [DebuggerNonUserCode]
  647. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  648. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  649. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  650. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  651. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  652. [DebuggerNonUserCode]
  653. public AppendInfoDataTable()
  654. {
  655. base.TableName = "AppendInfo";
  656. BeginInit();
  657. InitClass();
  658. EndInit();
  659. }
  660. [DebuggerNonUserCode]
  661. internal AppendInfoDataTable(DataTable table)
  662. {
  663. base.TableName = table.TableName;
  664. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  665. {
  666. base.CaseSensitive = table.CaseSensitive;
  667. }
  668. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  669. {
  670. base.Locale = table.Locale;
  671. }
  672. if (table.Namespace != table.DataSet.Namespace)
  673. {
  674. base.Namespace = table.Namespace;
  675. }
  676. base.Prefix = table.Prefix;
  677. base.MinimumCapacity = table.MinimumCapacity;
  678. }
  679. [DebuggerNonUserCode]
  680. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  681. : base(info, context)
  682. {
  683. InitVars();
  684. }
  685. [DebuggerNonUserCode]
  686. public void AddAppendInfoRow(AppendInfoRow row)
  687. {
  688. base.Rows.Add(row);
  689. }
  690. [DebuggerNonUserCode]
  691. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  692. {
  693. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  694. appendInfoRow.ItemArray = new object[2]
  695. {
  696. CurrentCompany,
  697. CurrentUser
  698. };
  699. base.Rows.Add(appendInfoRow);
  700. return appendInfoRow;
  701. }
  702. [DebuggerNonUserCode]
  703. public virtual IEnumerator GetEnumerator()
  704. {
  705. return base.Rows.GetEnumerator();
  706. }
  707. [DebuggerNonUserCode]
  708. public override DataTable Clone()
  709. {
  710. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  711. appendInfoDataTable.InitVars();
  712. return appendInfoDataTable;
  713. }
  714. [DebuggerNonUserCode]
  715. protected override DataTable CreateInstance()
  716. {
  717. return new AppendInfoDataTable();
  718. }
  719. [DebuggerNonUserCode]
  720. internal void InitVars()
  721. {
  722. columnCurrentCompany = base.Columns["CurrentCompany"];
  723. columnCurrentUser = base.Columns["CurrentUser"];
  724. }
  725. [DebuggerNonUserCode]
  726. private void InitClass()
  727. {
  728. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  729. base.Columns.Add(columnCurrentCompany);
  730. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  731. base.Columns.Add(columnCurrentUser);
  732. }
  733. [DebuggerNonUserCode]
  734. public AppendInfoRow NewAppendInfoRow()
  735. {
  736. return (AppendInfoRow)NewRow();
  737. }
  738. [DebuggerNonUserCode]
  739. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  740. {
  741. return new AppendInfoRow(builder);
  742. }
  743. [DebuggerNonUserCode]
  744. protected override Type GetRowType()
  745. {
  746. return typeof(AppendInfoRow);
  747. }
  748. [DebuggerNonUserCode]
  749. protected override void OnRowChanged(DataRowChangeEventArgs e)
  750. {
  751. base.OnRowChanged(e);
  752. if (this.AppendInfoRowChanged != null)
  753. {
  754. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  755. }
  756. }
  757. [DebuggerNonUserCode]
  758. protected override void OnRowChanging(DataRowChangeEventArgs e)
  759. {
  760. base.OnRowChanging(e);
  761. if (this.AppendInfoRowChanging != null)
  762. {
  763. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  764. }
  765. }
  766. [DebuggerNonUserCode]
  767. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  768. {
  769. base.OnRowDeleted(e);
  770. if (this.AppendInfoRowDeleted != null)
  771. {
  772. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  773. }
  774. }
  775. [DebuggerNonUserCode]
  776. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  777. {
  778. base.OnRowDeleting(e);
  779. if (this.AppendInfoRowDeleting != null)
  780. {
  781. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  782. }
  783. }
  784. [DebuggerNonUserCode]
  785. public void RemoveAppendInfoRow(AppendInfoRow row)
  786. {
  787. base.Rows.Remove(row);
  788. }
  789. [DebuggerNonUserCode]
  790. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  791. {
  792. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  793. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  794. dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
  795. xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
  796. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  797. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  798. xmlSchemaAny.MinOccurs = 0m;
  799. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  800. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  801. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  802. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  803. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  804. xmlSchemaAny2.MinOccurs = 1m;
  805. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  806. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  807. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  808. xmlSchemaAttribute.Name = "namespace";
  809. xmlSchemaAttribute.FixedValue = dsFrmPurchaseCosting.Namespace;
  810. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  811. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  812. xmlSchemaAttribute2.Name = "tableTypeName";
  813. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  814. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  815. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  816. return xmlSchemaComplexType;
  817. }
  818. }
  819. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  820. public class PurchaseInDepotBillProductRow : DataRow
  821. {
  822. private PurchaseInDepotBillProductDataTable tablePurchaseInDepotBillProduct;
  823. [DebuggerNonUserCode]
  824. public string No_PurchaseInDepotBillProduct
  825. {
  826. get
  827. {
  828. try
  829. {
  830. return (string)base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn];
  831. }
  832. catch (InvalidCastException innerException)
  833. {
  834. throw new StrongTypingException("The value for column 'No_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  835. }
  836. }
  837. set
  838. {
  839. base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn] = value;
  840. }
  841. }
  842. [DebuggerNonUserCode]
  843. public int Type_FromBill
  844. {
  845. get
  846. {
  847. try
  848. {
  849. return (int)base[tablePurchaseInDepotBillProduct.Type_FromBillColumn];
  850. }
  851. catch (InvalidCastException innerException)
  852. {
  853. throw new StrongTypingException("The value for column 'Type_FromBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  854. }
  855. }
  856. set
  857. {
  858. base[tablePurchaseInDepotBillProduct.Type_FromBillColumn] = value;
  859. }
  860. }
  861. [DebuggerNonUserCode]
  862. public string No_FromBill
  863. {
  864. get
  865. {
  866. try
  867. {
  868. return (string)base[tablePurchaseInDepotBillProduct.No_FromBillColumn];
  869. }
  870. catch (InvalidCastException innerException)
  871. {
  872. throw new StrongTypingException("The value for column 'No_FromBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  873. }
  874. }
  875. set
  876. {
  877. base[tablePurchaseInDepotBillProduct.No_FromBillColumn] = value;
  878. }
  879. }
  880. [DebuggerNonUserCode]
  881. public string No_FromBillProduct
  882. {
  883. get
  884. {
  885. try
  886. {
  887. return (string)base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn];
  888. }
  889. catch (InvalidCastException innerException)
  890. {
  891. throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  892. }
  893. }
  894. set
  895. {
  896. base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn] = value;
  897. }
  898. }
  899. [DebuggerNonUserCode]
  900. public string RefNo_PurchaseInDepotBill
  901. {
  902. get
  903. {
  904. try
  905. {
  906. return (string)base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn];
  907. }
  908. catch (InvalidCastException innerException)
  909. {
  910. throw new StrongTypingException("The value for column 'RefNo_PurchaseInDepotBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  911. }
  912. }
  913. set
  914. {
  915. base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn] = value;
  916. }
  917. }
  918. [DebuggerNonUserCode]
  919. public decimal Quantity_PurchaseInDepotBillProduct
  920. {
  921. get
  922. {
  923. try
  924. {
  925. return (decimal)base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn];
  926. }
  927. catch (InvalidCastException innerException)
  928. {
  929. throw new StrongTypingException("The value for column 'Quantity_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  930. }
  931. }
  932. set
  933. {
  934. base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn] = value;
  935. }
  936. }
  937. [DebuggerNonUserCode]
  938. public decimal Cost_PurchaseInDepotBillProduct
  939. {
  940. get
  941. {
  942. try
  943. {
  944. return (decimal)base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn];
  945. }
  946. catch (InvalidCastException innerException)
  947. {
  948. throw new StrongTypingException("The value for column 'Cost_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  949. }
  950. }
  951. set
  952. {
  953. base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn] = value;
  954. }
  955. }
  956. [DebuggerNonUserCode]
  957. public string Comment_PurchaseInDepotBillProduct
  958. {
  959. get
  960. {
  961. try
  962. {
  963. return (string)base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn];
  964. }
  965. catch (InvalidCastException innerException)
  966. {
  967. throw new StrongTypingException("The value for column 'Comment_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  968. }
  969. }
  970. set
  971. {
  972. base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn] = value;
  973. }
  974. }
  975. [DebuggerNonUserCode]
  976. public string No_Product
  977. {
  978. get
  979. {
  980. try
  981. {
  982. return (string)base[tablePurchaseInDepotBillProduct.No_ProductColumn];
  983. }
  984. catch (InvalidCastException innerException)
  985. {
  986. throw new StrongTypingException("The value for column 'No_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  987. }
  988. }
  989. set
  990. {
  991. base[tablePurchaseInDepotBillProduct.No_ProductColumn] = value;
  992. }
  993. }
  994. [DebuggerNonUserCode]
  995. public string Name_Product
  996. {
  997. get
  998. {
  999. try
  1000. {
  1001. return (string)base[tablePurchaseInDepotBillProduct.Name_ProductColumn];
  1002. }
  1003. catch (InvalidCastException innerException)
  1004. {
  1005. throw new StrongTypingException("The value for column 'Name_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  1006. }
  1007. }
  1008. set
  1009. {
  1010. base[tablePurchaseInDepotBillProduct.Name_ProductColumn] = value;
  1011. }
  1012. }
  1013. [DebuggerNonUserCode]
  1014. public string Unit_Product
  1015. {
  1016. get
  1017. {
  1018. try
  1019. {
  1020. return (string)base[tablePurchaseInDepotBillProduct.Unit_ProductColumn];
  1021. }
  1022. catch (InvalidCastException innerException)
  1023. {
  1024. throw new StrongTypingException("The value for column 'Unit_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  1025. }
  1026. }
  1027. set
  1028. {
  1029. base[tablePurchaseInDepotBillProduct.Unit_ProductColumn] = value;
  1030. }
  1031. }
  1032. [DebuggerNonUserCode]
  1033. public decimal Money
  1034. {
  1035. get
  1036. {
  1037. try
  1038. {
  1039. return (decimal)base[tablePurchaseInDepotBillProduct.MoneyColumn];
  1040. }
  1041. catch (InvalidCastException innerException)
  1042. {
  1043. throw new StrongTypingException("The value for column 'Money' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
  1044. }
  1045. }
  1046. set
  1047. {
  1048. base[tablePurchaseInDepotBillProduct.MoneyColumn] = value;
  1049. }
  1050. }
  1051. [DebuggerNonUserCode]
  1052. internal PurchaseInDepotBillProductRow(DataRowBuilder rb)
  1053. : base(rb)
  1054. {
  1055. tablePurchaseInDepotBillProduct = (PurchaseInDepotBillProductDataTable)base.Table;
  1056. }
  1057. [DebuggerNonUserCode]
  1058. public bool IsNo_PurchaseInDepotBillProductNull()
  1059. {
  1060. return IsNull(tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn);
  1061. }
  1062. [DebuggerNonUserCode]
  1063. public void SetNo_PurchaseInDepotBillProductNull()
  1064. {
  1065. base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn] = Convert.DBNull;
  1066. }
  1067. [DebuggerNonUserCode]
  1068. public bool IsType_FromBillNull()
  1069. {
  1070. return IsNull(tablePurchaseInDepotBillProduct.Type_FromBillColumn);
  1071. }
  1072. [DebuggerNonUserCode]
  1073. public void SetType_FromBillNull()
  1074. {
  1075. base[tablePurchaseInDepotBillProduct.Type_FromBillColumn] = Convert.DBNull;
  1076. }
  1077. [DebuggerNonUserCode]
  1078. public bool IsNo_FromBillNull()
  1079. {
  1080. return IsNull(tablePurchaseInDepotBillProduct.No_FromBillColumn);
  1081. }
  1082. [DebuggerNonUserCode]
  1083. public void SetNo_FromBillNull()
  1084. {
  1085. base[tablePurchaseInDepotBillProduct.No_FromBillColumn] = Convert.DBNull;
  1086. }
  1087. [DebuggerNonUserCode]
  1088. public bool IsNo_FromBillProductNull()
  1089. {
  1090. return IsNull(tablePurchaseInDepotBillProduct.No_FromBillProductColumn);
  1091. }
  1092. [DebuggerNonUserCode]
  1093. public void SetNo_FromBillProductNull()
  1094. {
  1095. base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn] = Convert.DBNull;
  1096. }
  1097. [DebuggerNonUserCode]
  1098. public bool IsRefNo_PurchaseInDepotBillNull()
  1099. {
  1100. return IsNull(tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn);
  1101. }
  1102. [DebuggerNonUserCode]
  1103. public void SetRefNo_PurchaseInDepotBillNull()
  1104. {
  1105. base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn] = Convert.DBNull;
  1106. }
  1107. [DebuggerNonUserCode]
  1108. public bool IsQuantity_PurchaseInDepotBillProductNull()
  1109. {
  1110. return IsNull(tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn);
  1111. }
  1112. [DebuggerNonUserCode]
  1113. public void SetQuantity_PurchaseInDepotBillProductNull()
  1114. {
  1115. base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn] = Convert.DBNull;
  1116. }
  1117. [DebuggerNonUserCode]
  1118. public bool IsCost_PurchaseInDepotBillProductNull()
  1119. {
  1120. return IsNull(tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn);
  1121. }
  1122. [DebuggerNonUserCode]
  1123. public void SetCost_PurchaseInDepotBillProductNull()
  1124. {
  1125. base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn] = Convert.DBNull;
  1126. }
  1127. [DebuggerNonUserCode]
  1128. public bool IsComment_PurchaseInDepotBillProductNull()
  1129. {
  1130. return IsNull(tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn);
  1131. }
  1132. [DebuggerNonUserCode]
  1133. public void SetComment_PurchaseInDepotBillProductNull()
  1134. {
  1135. base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn] = Convert.DBNull;
  1136. }
  1137. [DebuggerNonUserCode]
  1138. public bool IsNo_ProductNull()
  1139. {
  1140. return IsNull(tablePurchaseInDepotBillProduct.No_ProductColumn);
  1141. }
  1142. [DebuggerNonUserCode]
  1143. public void SetNo_ProductNull()
  1144. {
  1145. base[tablePurchaseInDepotBillProduct.No_ProductColumn] = Convert.DBNull;
  1146. }
  1147. [DebuggerNonUserCode]
  1148. public bool IsName_ProductNull()
  1149. {
  1150. return IsNull(tablePurchaseInDepotBillProduct.Name_ProductColumn);
  1151. }
  1152. [DebuggerNonUserCode]
  1153. public void SetName_ProductNull()
  1154. {
  1155. base[tablePurchaseInDepotBillProduct.Name_ProductColumn] = Convert.DBNull;
  1156. }
  1157. [DebuggerNonUserCode]
  1158. public bool IsUnit_ProductNull()
  1159. {
  1160. return IsNull(tablePurchaseInDepotBillProduct.Unit_ProductColumn);
  1161. }
  1162. [DebuggerNonUserCode]
  1163. public void SetUnit_ProductNull()
  1164. {
  1165. base[tablePurchaseInDepotBillProduct.Unit_ProductColumn] = Convert.DBNull;
  1166. }
  1167. [DebuggerNonUserCode]
  1168. public bool IsMoneyNull()
  1169. {
  1170. return IsNull(tablePurchaseInDepotBillProduct.MoneyColumn);
  1171. }
  1172. [DebuggerNonUserCode]
  1173. public void SetMoneyNull()
  1174. {
  1175. base[tablePurchaseInDepotBillProduct.MoneyColumn] = Convert.DBNull;
  1176. }
  1177. }
  1178. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1179. public class PurchaseInDepotBillRow : DataRow
  1180. {
  1181. private PurchaseInDepotBillDataTable tablePurchaseInDepotBill;
  1182. [DebuggerNonUserCode]
  1183. public DateTime Date_PurchaseInDepotBill
  1184. {
  1185. get
  1186. {
  1187. try
  1188. {
  1189. return (DateTime)base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn];
  1190. }
  1191. catch (InvalidCastException innerException)
  1192. {
  1193. throw new StrongTypingException("The value for column 'Date_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1194. }
  1195. }
  1196. set
  1197. {
  1198. base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn] = value;
  1199. }
  1200. }
  1201. [DebuggerNonUserCode]
  1202. public string No_PurchaseInDepotBill
  1203. {
  1204. get
  1205. {
  1206. try
  1207. {
  1208. return (string)base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn];
  1209. }
  1210. catch (InvalidCastException innerException)
  1211. {
  1212. throw new StrongTypingException("The value for column 'No_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1213. }
  1214. }
  1215. set
  1216. {
  1217. base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn] = value;
  1218. }
  1219. }
  1220. [DebuggerNonUserCode]
  1221. public string EncasementNo_PurchaseInDepotBill
  1222. {
  1223. get
  1224. {
  1225. try
  1226. {
  1227. return (string)base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn];
  1228. }
  1229. catch (InvalidCastException innerException)
  1230. {
  1231. throw new StrongTypingException("The value for column 'EncasementNo_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1232. }
  1233. }
  1234. set
  1235. {
  1236. base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn] = value;
  1237. }
  1238. }
  1239. [DebuggerNonUserCode]
  1240. public string QA_PurchaseInDepotBill
  1241. {
  1242. get
  1243. {
  1244. try
  1245. {
  1246. return (string)base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn];
  1247. }
  1248. catch (InvalidCastException innerException)
  1249. {
  1250. throw new StrongTypingException("The value for column 'QA_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1251. }
  1252. }
  1253. set
  1254. {
  1255. base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn] = value;
  1256. }
  1257. }
  1258. [DebuggerNonUserCode]
  1259. public DateTime AssessDate_PurchaseInDepotBill
  1260. {
  1261. get
  1262. {
  1263. try
  1264. {
  1265. return (DateTime)base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn];
  1266. }
  1267. catch (InvalidCastException innerException)
  1268. {
  1269. throw new StrongTypingException("The value for column 'AssessDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1270. }
  1271. }
  1272. set
  1273. {
  1274. base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn] = value;
  1275. }
  1276. }
  1277. [DebuggerNonUserCode]
  1278. public string Comment_PurchaseInDepotBill
  1279. {
  1280. get
  1281. {
  1282. try
  1283. {
  1284. return (string)base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn];
  1285. }
  1286. catch (InvalidCastException innerException)
  1287. {
  1288. throw new StrongTypingException("The value for column 'Comment_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1289. }
  1290. }
  1291. set
  1292. {
  1293. base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn] = value;
  1294. }
  1295. }
  1296. [DebuggerNonUserCode]
  1297. public bool CostVerify_PurchaseInDepotBill
  1298. {
  1299. get
  1300. {
  1301. try
  1302. {
  1303. return (bool)base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn];
  1304. }
  1305. catch (InvalidCastException innerException)
  1306. {
  1307. throw new StrongTypingException("The value for column 'CostVerify_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1308. }
  1309. }
  1310. set
  1311. {
  1312. base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn] = value;
  1313. }
  1314. }
  1315. [DebuggerNonUserCode]
  1316. public DateTime CreateDate_PurchaseInDepotBill
  1317. {
  1318. get
  1319. {
  1320. try
  1321. {
  1322. return (DateTime)base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn];
  1323. }
  1324. catch (InvalidCastException innerException)
  1325. {
  1326. throw new StrongTypingException("The value for column 'CreateDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1327. }
  1328. }
  1329. set
  1330. {
  1331. base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn] = value;
  1332. }
  1333. }
  1334. [DebuggerNonUserCode]
  1335. public DateTime LastModDate_PurchaseInDepotBill
  1336. {
  1337. get
  1338. {
  1339. try
  1340. {
  1341. return (DateTime)base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn];
  1342. }
  1343. catch (InvalidCastException innerException)
  1344. {
  1345. throw new StrongTypingException("The value for column 'LastModDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1346. }
  1347. }
  1348. set
  1349. {
  1350. base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn] = value;
  1351. }
  1352. }
  1353. [DebuggerNonUserCode]
  1354. public DateTime CostingDate_PurchaseInDepotBill
  1355. {
  1356. get
  1357. {
  1358. try
  1359. {
  1360. return (DateTime)base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn];
  1361. }
  1362. catch (InvalidCastException innerException)
  1363. {
  1364. throw new StrongTypingException("The value for column 'CostingDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1365. }
  1366. }
  1367. set
  1368. {
  1369. base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn] = value;
  1370. }
  1371. }
  1372. [DebuggerNonUserCode]
  1373. public string InvoiceNo_PurchaseInDepotBill
  1374. {
  1375. get
  1376. {
  1377. try
  1378. {
  1379. return (string)base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn];
  1380. }
  1381. catch (InvalidCastException innerException)
  1382. {
  1383. throw new StrongTypingException("The value for column 'InvoiceNo_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1384. }
  1385. }
  1386. set
  1387. {
  1388. base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn] = value;
  1389. }
  1390. }
  1391. [DebuggerNonUserCode]
  1392. public string Currency_PurchaseInDepotBill
  1393. {
  1394. get
  1395. {
  1396. try
  1397. {
  1398. return (string)base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn];
  1399. }
  1400. catch (InvalidCastException innerException)
  1401. {
  1402. throw new StrongTypingException("The value for column 'Currency_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1403. }
  1404. }
  1405. set
  1406. {
  1407. base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn] = value;
  1408. }
  1409. }
  1410. [DebuggerNonUserCode]
  1411. public decimal GoodsAmount_PurchaseInDepotBill
  1412. {
  1413. get
  1414. {
  1415. try
  1416. {
  1417. return (decimal)base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn];
  1418. }
  1419. catch (InvalidCastException innerException)
  1420. {
  1421. throw new StrongTypingException("The value for column 'GoodsAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1422. }
  1423. }
  1424. set
  1425. {
  1426. base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn] = value;
  1427. }
  1428. }
  1429. [DebuggerNonUserCode]
  1430. public decimal TaxAmount_PurchaseInDepotBill
  1431. {
  1432. get
  1433. {
  1434. try
  1435. {
  1436. return (decimal)base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn];
  1437. }
  1438. catch (InvalidCastException innerException)
  1439. {
  1440. throw new StrongTypingException("The value for column 'TaxAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1441. }
  1442. }
  1443. set
  1444. {
  1445. base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn] = value;
  1446. }
  1447. }
  1448. [DebuggerNonUserCode]
  1449. public decimal Custom_PurchaseInDepotBill
  1450. {
  1451. get
  1452. {
  1453. try
  1454. {
  1455. return (decimal)base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn];
  1456. }
  1457. catch (InvalidCastException innerException)
  1458. {
  1459. throw new StrongTypingException("The value for column 'Custom_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1460. }
  1461. }
  1462. set
  1463. {
  1464. base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn] = value;
  1465. }
  1466. }
  1467. [DebuggerNonUserCode]
  1468. public decimal Agent_PurchaseInDepotBill
  1469. {
  1470. get
  1471. {
  1472. try
  1473. {
  1474. return (decimal)base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn];
  1475. }
  1476. catch (InvalidCastException innerException)
  1477. {
  1478. throw new StrongTypingException("The value for column 'Agent_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1479. }
  1480. }
  1481. set
  1482. {
  1483. base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn] = value;
  1484. }
  1485. }
  1486. [DebuggerNonUserCode]
  1487. public decimal Handling_PurchaseInDepotBill
  1488. {
  1489. get
  1490. {
  1491. try
  1492. {
  1493. return (decimal)base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn];
  1494. }
  1495. catch (InvalidCastException innerException)
  1496. {
  1497. throw new StrongTypingException("The value for column 'Handling_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1498. }
  1499. }
  1500. set
  1501. {
  1502. base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn] = value;
  1503. }
  1504. }
  1505. [DebuggerNonUserCode]
  1506. public decimal Carriage_PurchaseInDepotBill
  1507. {
  1508. get
  1509. {
  1510. try
  1511. {
  1512. return (decimal)base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn];
  1513. }
  1514. catch (InvalidCastException innerException)
  1515. {
  1516. throw new StrongTypingException("The value for column 'Carriage_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1517. }
  1518. }
  1519. set
  1520. {
  1521. base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn] = value;
  1522. }
  1523. }
  1524. [DebuggerNonUserCode]
  1525. public decimal Others_PurchaseInDepotBill
  1526. {
  1527. get
  1528. {
  1529. try
  1530. {
  1531. return (decimal)base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn];
  1532. }
  1533. catch (InvalidCastException innerException)
  1534. {
  1535. throw new StrongTypingException("The value for column 'Others_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1536. }
  1537. }
  1538. set
  1539. {
  1540. base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn] = value;
  1541. }
  1542. }
  1543. [DebuggerNonUserCode]
  1544. public decimal Amount_PurchaseInDepotBill
  1545. {
  1546. get
  1547. {
  1548. try
  1549. {
  1550. return (decimal)base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn];
  1551. }
  1552. catch (InvalidCastException innerException)
  1553. {
  1554. throw new StrongTypingException("The value for column 'Amount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1555. }
  1556. }
  1557. set
  1558. {
  1559. base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn] = value;
  1560. }
  1561. }
  1562. [DebuggerNonUserCode]
  1563. public decimal StrikedGoodsAmount_PurchaseInDepotBill
  1564. {
  1565. get
  1566. {
  1567. try
  1568. {
  1569. return (decimal)base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn];
  1570. }
  1571. catch (InvalidCastException innerException)
  1572. {
  1573. throw new StrongTypingException("The value for column 'StrikedGoodsAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1574. }
  1575. }
  1576. set
  1577. {
  1578. base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn] = value;
  1579. }
  1580. }
  1581. [DebuggerNonUserCode]
  1582. public decimal StrikedTaxAmount_PurchaseInDepotBill
  1583. {
  1584. get
  1585. {
  1586. try
  1587. {
  1588. return (decimal)base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn];
  1589. }
  1590. catch (InvalidCastException innerException)
  1591. {
  1592. throw new StrongTypingException("The value for column 'StrikedTaxAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1593. }
  1594. }
  1595. set
  1596. {
  1597. base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn] = value;
  1598. }
  1599. }
  1600. [DebuggerNonUserCode]
  1601. public string Name_UserAudit
  1602. {
  1603. get
  1604. {
  1605. try
  1606. {
  1607. return (string)base[tablePurchaseInDepotBill.Name_UserAuditColumn];
  1608. }
  1609. catch (InvalidCastException innerException)
  1610. {
  1611. throw new StrongTypingException("The value for column 'Name_UserAudit' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1612. }
  1613. }
  1614. set
  1615. {
  1616. base[tablePurchaseInDepotBill.Name_UserAuditColumn] = value;
  1617. }
  1618. }
  1619. [DebuggerNonUserCode]
  1620. public string Name_UserMod
  1621. {
  1622. get
  1623. {
  1624. try
  1625. {
  1626. return (string)base[tablePurchaseInDepotBill.Name_UserModColumn];
  1627. }
  1628. catch (InvalidCastException innerException)
  1629. {
  1630. throw new StrongTypingException("The value for column 'Name_UserMod' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1631. }
  1632. }
  1633. set
  1634. {
  1635. base[tablePurchaseInDepotBill.Name_UserModColumn] = value;
  1636. }
  1637. }
  1638. [DebuggerNonUserCode]
  1639. public decimal count
  1640. {
  1641. get
  1642. {
  1643. try
  1644. {
  1645. return (decimal)base[tablePurchaseInDepotBill.countColumn];
  1646. }
  1647. catch (InvalidCastException innerException)
  1648. {
  1649. throw new StrongTypingException("The value for column 'count' in table 'PurchaseInDepotBill' is DBNull.", innerException);
  1650. }
  1651. }
  1652. set
  1653. {
  1654. base[tablePurchaseInDepotBill.countColumn] = value;
  1655. }
  1656. }
  1657. [DebuggerNonUserCode]
  1658. internal PurchaseInDepotBillRow(DataRowBuilder rb)
  1659. : base(rb)
  1660. {
  1661. tablePurchaseInDepotBill = (PurchaseInDepotBillDataTable)base.Table;
  1662. }
  1663. [DebuggerNonUserCode]
  1664. public bool IsDate_PurchaseInDepotBillNull()
  1665. {
  1666. return IsNull(tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn);
  1667. }
  1668. [DebuggerNonUserCode]
  1669. public void SetDate_PurchaseInDepotBillNull()
  1670. {
  1671. base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn] = Convert.DBNull;
  1672. }
  1673. [DebuggerNonUserCode]
  1674. public bool IsNo_PurchaseInDepotBillNull()
  1675. {
  1676. return IsNull(tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn);
  1677. }
  1678. [DebuggerNonUserCode]
  1679. public void SetNo_PurchaseInDepotBillNull()
  1680. {
  1681. base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn] = Convert.DBNull;
  1682. }
  1683. [DebuggerNonUserCode]
  1684. public bool IsEncasementNo_PurchaseInDepotBillNull()
  1685. {
  1686. return IsNull(tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn);
  1687. }
  1688. [DebuggerNonUserCode]
  1689. public void SetEncasementNo_PurchaseInDepotBillNull()
  1690. {
  1691. base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn] = Convert.DBNull;
  1692. }
  1693. [DebuggerNonUserCode]
  1694. public bool IsQA_PurchaseInDepotBillNull()
  1695. {
  1696. return IsNull(tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn);
  1697. }
  1698. [DebuggerNonUserCode]
  1699. public void SetQA_PurchaseInDepotBillNull()
  1700. {
  1701. base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn] = Convert.DBNull;
  1702. }
  1703. [DebuggerNonUserCode]
  1704. public bool IsAssessDate_PurchaseInDepotBillNull()
  1705. {
  1706. return IsNull(tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn);
  1707. }
  1708. [DebuggerNonUserCode]
  1709. public void SetAssessDate_PurchaseInDepotBillNull()
  1710. {
  1711. base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn] = Convert.DBNull;
  1712. }
  1713. [DebuggerNonUserCode]
  1714. public bool IsComment_PurchaseInDepotBillNull()
  1715. {
  1716. return IsNull(tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn);
  1717. }
  1718. [DebuggerNonUserCode]
  1719. public void SetComment_PurchaseInDepotBillNull()
  1720. {
  1721. base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn] = Convert.DBNull;
  1722. }
  1723. [DebuggerNonUserCode]
  1724. public bool IsCostVerify_PurchaseInDepotBillNull()
  1725. {
  1726. return IsNull(tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn);
  1727. }
  1728. [DebuggerNonUserCode]
  1729. public void SetCostVerify_PurchaseInDepotBillNull()
  1730. {
  1731. base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn] = Convert.DBNull;
  1732. }
  1733. [DebuggerNonUserCode]
  1734. public bool IsCreateDate_PurchaseInDepotBillNull()
  1735. {
  1736. return IsNull(tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn);
  1737. }
  1738. [DebuggerNonUserCode]
  1739. public void SetCreateDate_PurchaseInDepotBillNull()
  1740. {
  1741. base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn] = Convert.DBNull;
  1742. }
  1743. [DebuggerNonUserCode]
  1744. public bool IsLastModDate_PurchaseInDepotBillNull()
  1745. {
  1746. return IsNull(tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn);
  1747. }
  1748. [DebuggerNonUserCode]
  1749. public void SetLastModDate_PurchaseInDepotBillNull()
  1750. {
  1751. base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn] = Convert.DBNull;
  1752. }
  1753. [DebuggerNonUserCode]
  1754. public bool IsCostingDate_PurchaseInDepotBillNull()
  1755. {
  1756. return IsNull(tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn);
  1757. }
  1758. [DebuggerNonUserCode]
  1759. public void SetCostingDate_PurchaseInDepotBillNull()
  1760. {
  1761. base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn] = Convert.DBNull;
  1762. }
  1763. [DebuggerNonUserCode]
  1764. public bool IsInvoiceNo_PurchaseInDepotBillNull()
  1765. {
  1766. return IsNull(tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn);
  1767. }
  1768. [DebuggerNonUserCode]
  1769. public void SetInvoiceNo_PurchaseInDepotBillNull()
  1770. {
  1771. base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn] = Convert.DBNull;
  1772. }
  1773. [DebuggerNonUserCode]
  1774. public bool IsCurrency_PurchaseInDepotBillNull()
  1775. {
  1776. return IsNull(tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn);
  1777. }
  1778. [DebuggerNonUserCode]
  1779. public void SetCurrency_PurchaseInDepotBillNull()
  1780. {
  1781. base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn] = Convert.DBNull;
  1782. }
  1783. [DebuggerNonUserCode]
  1784. public bool IsGoodsAmount_PurchaseInDepotBillNull()
  1785. {
  1786. return IsNull(tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn);
  1787. }
  1788. [DebuggerNonUserCode]
  1789. public void SetGoodsAmount_PurchaseInDepotBillNull()
  1790. {
  1791. base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
  1792. }
  1793. [DebuggerNonUserCode]
  1794. public bool IsTaxAmount_PurchaseInDepotBillNull()
  1795. {
  1796. return IsNull(tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn);
  1797. }
  1798. [DebuggerNonUserCode]
  1799. public void SetTaxAmount_PurchaseInDepotBillNull()
  1800. {
  1801. base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
  1802. }
  1803. [DebuggerNonUserCode]
  1804. public bool IsCustom_PurchaseInDepotBillNull()
  1805. {
  1806. return IsNull(tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn);
  1807. }
  1808. [DebuggerNonUserCode]
  1809. public void SetCustom_PurchaseInDepotBillNull()
  1810. {
  1811. base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn] = Convert.DBNull;
  1812. }
  1813. [DebuggerNonUserCode]
  1814. public bool IsAgent_PurchaseInDepotBillNull()
  1815. {
  1816. return IsNull(tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn);
  1817. }
  1818. [DebuggerNonUserCode]
  1819. public void SetAgent_PurchaseInDepotBillNull()
  1820. {
  1821. base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn] = Convert.DBNull;
  1822. }
  1823. [DebuggerNonUserCode]
  1824. public bool IsHandling_PurchaseInDepotBillNull()
  1825. {
  1826. return IsNull(tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn);
  1827. }
  1828. [DebuggerNonUserCode]
  1829. public void SetHandling_PurchaseInDepotBillNull()
  1830. {
  1831. base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn] = Convert.DBNull;
  1832. }
  1833. [DebuggerNonUserCode]
  1834. public bool IsCarriage_PurchaseInDepotBillNull()
  1835. {
  1836. return IsNull(tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn);
  1837. }
  1838. [DebuggerNonUserCode]
  1839. public void SetCarriage_PurchaseInDepotBillNull()
  1840. {
  1841. base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn] = Convert.DBNull;
  1842. }
  1843. [DebuggerNonUserCode]
  1844. public bool IsOthers_PurchaseInDepotBillNull()
  1845. {
  1846. return IsNull(tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn);
  1847. }
  1848. [DebuggerNonUserCode]
  1849. public void SetOthers_PurchaseInDepotBillNull()
  1850. {
  1851. base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn] = Convert.DBNull;
  1852. }
  1853. [DebuggerNonUserCode]
  1854. public bool IsAmount_PurchaseInDepotBillNull()
  1855. {
  1856. return IsNull(tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn);
  1857. }
  1858. [DebuggerNonUserCode]
  1859. public void SetAmount_PurchaseInDepotBillNull()
  1860. {
  1861. base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn] = Convert.DBNull;
  1862. }
  1863. [DebuggerNonUserCode]
  1864. public bool IsStrikedGoodsAmount_PurchaseInDepotBillNull()
  1865. {
  1866. return IsNull(tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn);
  1867. }
  1868. [DebuggerNonUserCode]
  1869. public void SetStrikedGoodsAmount_PurchaseInDepotBillNull()
  1870. {
  1871. base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
  1872. }
  1873. [DebuggerNonUserCode]
  1874. public bool IsStrikedTaxAmount_PurchaseInDepotBillNull()
  1875. {
  1876. return IsNull(tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn);
  1877. }
  1878. [DebuggerNonUserCode]
  1879. public void SetStrikedTaxAmount_PurchaseInDepotBillNull()
  1880. {
  1881. base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
  1882. }
  1883. [DebuggerNonUserCode]
  1884. public bool IsName_UserAuditNull()
  1885. {
  1886. return IsNull(tablePurchaseInDepotBill.Name_UserAuditColumn);
  1887. }
  1888. [DebuggerNonUserCode]
  1889. public void SetName_UserAuditNull()
  1890. {
  1891. base[tablePurchaseInDepotBill.Name_UserAuditColumn] = Convert.DBNull;
  1892. }
  1893. [DebuggerNonUserCode]
  1894. public bool IsName_UserModNull()
  1895. {
  1896. return IsNull(tablePurchaseInDepotBill.Name_UserModColumn);
  1897. }
  1898. [DebuggerNonUserCode]
  1899. public void SetName_UserModNull()
  1900. {
  1901. base[tablePurchaseInDepotBill.Name_UserModColumn] = Convert.DBNull;
  1902. }
  1903. [DebuggerNonUserCode]
  1904. public bool IscountNull()
  1905. {
  1906. return IsNull(tablePurchaseInDepotBill.countColumn);
  1907. }
  1908. [DebuggerNonUserCode]
  1909. public void SetcountNull()
  1910. {
  1911. base[tablePurchaseInDepotBill.countColumn] = Convert.DBNull;
  1912. }
  1913. }
  1914. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1915. public class AppendInfoRow : DataRow
  1916. {
  1917. private AppendInfoDataTable tableAppendInfo;
  1918. [DebuggerNonUserCode]
  1919. public string CurrentCompany
  1920. {
  1921. get
  1922. {
  1923. try
  1924. {
  1925. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  1926. }
  1927. catch (InvalidCastException innerException)
  1928. {
  1929. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  1930. }
  1931. }
  1932. set
  1933. {
  1934. base[tableAppendInfo.CurrentCompanyColumn] = value;
  1935. }
  1936. }
  1937. [DebuggerNonUserCode]
  1938. public string CurrentUser
  1939. {
  1940. get
  1941. {
  1942. try
  1943. {
  1944. return (string)base[tableAppendInfo.CurrentUserColumn];
  1945. }
  1946. catch (InvalidCastException innerException)
  1947. {
  1948. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  1949. }
  1950. }
  1951. set
  1952. {
  1953. base[tableAppendInfo.CurrentUserColumn] = value;
  1954. }
  1955. }
  1956. [DebuggerNonUserCode]
  1957. internal AppendInfoRow(DataRowBuilder rb)
  1958. : base(rb)
  1959. {
  1960. tableAppendInfo = (AppendInfoDataTable)base.Table;
  1961. }
  1962. [DebuggerNonUserCode]
  1963. public bool IsCurrentCompanyNull()
  1964. {
  1965. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  1966. }
  1967. [DebuggerNonUserCode]
  1968. public void SetCurrentCompanyNull()
  1969. {
  1970. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  1971. }
  1972. [DebuggerNonUserCode]
  1973. public bool IsCurrentUserNull()
  1974. {
  1975. return IsNull(tableAppendInfo.CurrentUserColumn);
  1976. }
  1977. [DebuggerNonUserCode]
  1978. public void SetCurrentUserNull()
  1979. {
  1980. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  1981. }
  1982. }
  1983. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1984. public class PurchaseInDepotBillProductRowChangeEvent : EventArgs
  1985. {
  1986. private PurchaseInDepotBillProductRow eventRow;
  1987. private DataRowAction eventAction;
  1988. [DebuggerNonUserCode]
  1989. public PurchaseInDepotBillProductRow Row => eventRow;
  1990. [DebuggerNonUserCode]
  1991. public DataRowAction Action => eventAction;
  1992. [DebuggerNonUserCode]
  1993. public PurchaseInDepotBillProductRowChangeEvent(PurchaseInDepotBillProductRow row, DataRowAction action)
  1994. {
  1995. eventRow = row;
  1996. eventAction = action;
  1997. }
  1998. }
  1999. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2000. public class PurchaseInDepotBillRowChangeEvent : EventArgs
  2001. {
  2002. private PurchaseInDepotBillRow eventRow;
  2003. private DataRowAction eventAction;
  2004. [DebuggerNonUserCode]
  2005. public PurchaseInDepotBillRow Row => eventRow;
  2006. [DebuggerNonUserCode]
  2007. public DataRowAction Action => eventAction;
  2008. [DebuggerNonUserCode]
  2009. public PurchaseInDepotBillRowChangeEvent(PurchaseInDepotBillRow row, DataRowAction action)
  2010. {
  2011. eventRow = row;
  2012. eventAction = action;
  2013. }
  2014. }
  2015. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2016. public class AppendInfoRowChangeEvent : EventArgs
  2017. {
  2018. private AppendInfoRow eventRow;
  2019. private DataRowAction eventAction;
  2020. [DebuggerNonUserCode]
  2021. public AppendInfoRow Row => eventRow;
  2022. [DebuggerNonUserCode]
  2023. public DataRowAction Action => eventAction;
  2024. [DebuggerNonUserCode]
  2025. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  2026. {
  2027. eventRow = row;
  2028. eventAction = action;
  2029. }
  2030. }
  2031. private PurchaseInDepotBillProductDataTable tablePurchaseInDepotBillProduct;
  2032. private PurchaseInDepotBillDataTable tablePurchaseInDepotBill;
  2033. private AppendInfoDataTable tableAppendInfo;
  2034. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  2035. [DebuggerNonUserCode]
  2036. [Browsable(false)]
  2037. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2038. public PurchaseInDepotBillProductDataTable PurchaseInDepotBillProduct => tablePurchaseInDepotBillProduct;
  2039. [Browsable(false)]
  2040. [DebuggerNonUserCode]
  2041. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2042. public PurchaseInDepotBillDataTable PurchaseInDepotBill => tablePurchaseInDepotBill;
  2043. [Browsable(false)]
  2044. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  2045. [DebuggerNonUserCode]
  2046. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  2047. [DebuggerNonUserCode]
  2048. [Browsable(true)]
  2049. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  2050. public override SchemaSerializationMode SchemaSerializationMode
  2051. {
  2052. get
  2053. {
  2054. return _schemaSerializationMode;
  2055. }
  2056. set
  2057. {
  2058. _schemaSerializationMode = value;
  2059. }
  2060. }
  2061. [DebuggerNonUserCode]
  2062. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  2063. public new DataTableCollection Tables => base.Tables;
  2064. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  2065. [DebuggerNonUserCode]
  2066. public new DataRelationCollection Relations => base.Relations;
  2067. [DebuggerNonUserCode]
  2068. public dsFrmPurchaseCosting()
  2069. {
  2070. BeginInit();
  2071. InitClass();
  2072. CollectionChangeEventHandler value = SchemaChanged;
  2073. base.Tables.CollectionChanged += value;
  2074. base.Relations.CollectionChanged += value;
  2075. EndInit();
  2076. }
  2077. [DebuggerNonUserCode]
  2078. protected dsFrmPurchaseCosting(SerializationInfo info, StreamingContext context)
  2079. : base(info, context, ConstructSchema: false)
  2080. {
  2081. if (IsBinarySerialized(info, context))
  2082. {
  2083. InitVars(initTable: false);
  2084. CollectionChangeEventHandler value = SchemaChanged;
  2085. Tables.CollectionChanged += value;
  2086. Relations.CollectionChanged += value;
  2087. return;
  2088. }
  2089. string s = (string)info.GetValue("XmlSchema", typeof(string));
  2090. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  2091. {
  2092. DataSet dataSet = new DataSet();
  2093. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  2094. if (dataSet.Tables["PurchaseInDepotBillProduct"] != null)
  2095. {
  2096. base.Tables.Add(new PurchaseInDepotBillProductDataTable(dataSet.Tables["PurchaseInDepotBillProduct"]));
  2097. }
  2098. if (dataSet.Tables["PurchaseInDepotBill"] != null)
  2099. {
  2100. base.Tables.Add(new PurchaseInDepotBillDataTable(dataSet.Tables["PurchaseInDepotBill"]));
  2101. }
  2102. if (dataSet.Tables["AppendInfo"] != null)
  2103. {
  2104. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  2105. }
  2106. base.DataSetName = dataSet.DataSetName;
  2107. base.Prefix = dataSet.Prefix;
  2108. base.Namespace = dataSet.Namespace;
  2109. base.Locale = dataSet.Locale;
  2110. base.CaseSensitive = dataSet.CaseSensitive;
  2111. base.EnforceConstraints = dataSet.EnforceConstraints;
  2112. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  2113. InitVars();
  2114. }
  2115. else
  2116. {
  2117. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  2118. }
  2119. GetSerializationData(info, context);
  2120. CollectionChangeEventHandler value2 = SchemaChanged;
  2121. base.Tables.CollectionChanged += value2;
  2122. Relations.CollectionChanged += value2;
  2123. }
  2124. [DebuggerNonUserCode]
  2125. protected override void InitializeDerivedDataSet()
  2126. {
  2127. BeginInit();
  2128. InitClass();
  2129. EndInit();
  2130. }
  2131. [DebuggerNonUserCode]
  2132. public override DataSet Clone()
  2133. {
  2134. dsFrmPurchaseCosting dsFrmPurchaseCosting = (dsFrmPurchaseCosting)base.Clone();
  2135. dsFrmPurchaseCosting.InitVars();
  2136. dsFrmPurchaseCosting.SchemaSerializationMode = SchemaSerializationMode;
  2137. return dsFrmPurchaseCosting;
  2138. }
  2139. [DebuggerNonUserCode]
  2140. protected override bool ShouldSerializeTables()
  2141. {
  2142. return false;
  2143. }
  2144. [DebuggerNonUserCode]
  2145. protected override bool ShouldSerializeRelations()
  2146. {
  2147. return false;
  2148. }
  2149. [DebuggerNonUserCode]
  2150. protected override void ReadXmlSerializable(XmlReader reader)
  2151. {
  2152. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  2153. {
  2154. Reset();
  2155. DataSet dataSet = new DataSet();
  2156. dataSet.ReadXml(reader);
  2157. if (dataSet.Tables["PurchaseInDepotBillProduct"] != null)
  2158. {
  2159. base.Tables.Add(new PurchaseInDepotBillProductDataTable(dataSet.Tables["PurchaseInDepotBillProduct"]));
  2160. }
  2161. if (dataSet.Tables["PurchaseInDepotBill"] != null)
  2162. {
  2163. base.Tables.Add(new PurchaseInDepotBillDataTable(dataSet.Tables["PurchaseInDepotBill"]));
  2164. }
  2165. if (dataSet.Tables["AppendInfo"] != null)
  2166. {
  2167. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  2168. }
  2169. base.DataSetName = dataSet.DataSetName;
  2170. base.Prefix = dataSet.Prefix;
  2171. base.Namespace = dataSet.Namespace;
  2172. base.Locale = dataSet.Locale;
  2173. base.CaseSensitive = dataSet.CaseSensitive;
  2174. base.EnforceConstraints = dataSet.EnforceConstraints;
  2175. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  2176. InitVars();
  2177. }
  2178. else
  2179. {
  2180. ReadXml(reader);
  2181. InitVars();
  2182. }
  2183. }
  2184. [DebuggerNonUserCode]
  2185. protected override XmlSchema GetSchemaSerializable()
  2186. {
  2187. MemoryStream memoryStream = new MemoryStream();
  2188. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  2189. memoryStream.Position = 0L;
  2190. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  2191. }
  2192. [DebuggerNonUserCode]
  2193. internal void InitVars()
  2194. {
  2195. InitVars(initTable: true);
  2196. }
  2197. [DebuggerNonUserCode]
  2198. internal void InitVars(bool initTable)
  2199. {
  2200. tablePurchaseInDepotBillProduct = (PurchaseInDepotBillProductDataTable)base.Tables["PurchaseInDepotBillProduct"];
  2201. if (initTable && tablePurchaseInDepotBillProduct != null)
  2202. {
  2203. tablePurchaseInDepotBillProduct.InitVars();
  2204. }
  2205. tablePurchaseInDepotBill = (PurchaseInDepotBillDataTable)base.Tables["PurchaseInDepotBill"];
  2206. if (initTable && tablePurchaseInDepotBill != null)
  2207. {
  2208. tablePurchaseInDepotBill.InitVars();
  2209. }
  2210. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  2211. if (initTable && tableAppendInfo != null)
  2212. {
  2213. tableAppendInfo.InitVars();
  2214. }
  2215. }
  2216. [DebuggerNonUserCode]
  2217. private void InitClass()
  2218. {
  2219. base.DataSetName = "dsFrmPurchaseCosting";
  2220. base.Prefix = "";
  2221. base.Namespace = "http://tempuri.org/dsFrmPurchaseCosting.xsd";
  2222. base.EnforceConstraints = true;
  2223. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  2224. tablePurchaseInDepotBillProduct = new PurchaseInDepotBillProductDataTable();
  2225. base.Tables.Add(tablePurchaseInDepotBillProduct);
  2226. tablePurchaseInDepotBill = new PurchaseInDepotBillDataTable();
  2227. base.Tables.Add(tablePurchaseInDepotBill);
  2228. tableAppendInfo = new AppendInfoDataTable();
  2229. base.Tables.Add(tableAppendInfo);
  2230. }
  2231. [DebuggerNonUserCode]
  2232. private bool ShouldSerializePurchaseInDepotBillProduct()
  2233. {
  2234. return false;
  2235. }
  2236. [DebuggerNonUserCode]
  2237. private bool ShouldSerializePurchaseInDepotBill()
  2238. {
  2239. return false;
  2240. }
  2241. [DebuggerNonUserCode]
  2242. private bool ShouldSerializeAppendInfo()
  2243. {
  2244. return false;
  2245. }
  2246. [DebuggerNonUserCode]
  2247. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  2248. {
  2249. if (e.Action == CollectionChangeAction.Remove)
  2250. {
  2251. InitVars();
  2252. }
  2253. }
  2254. [DebuggerNonUserCode]
  2255. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  2256. {
  2257. dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
  2258. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  2259. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  2260. xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
  2261. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  2262. xmlSchemaAny.Namespace = dsFrmPurchaseCosting.Namespace;
  2263. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  2264. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  2265. return xmlSchemaComplexType;
  2266. }
  2267. }
  2268. }