123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589 |
- using System;
- using System.CodeDom.Compiler;
- using System.Collections;
- using System.ComponentModel;
- using System.ComponentModel.Design;
- using System.Data;
- using System.Diagnostics;
- using System.IO;
- using System.Runtime.Serialization;
- using System.Xml;
- using System.Xml.Schema;
- using System.Xml.Serialization;
- namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
- {
- [Serializable]
- [XmlRoot("dsFrmPurchaseCosting")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [HelpKeyword("vs.data.DataSet")]
- [DesignerCategory("code")]
- [ToolboxItem(true)]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- public class dsFrmPurchaseCosting : DataSet
- {
- public delegate void PurchaseInDepotBillProductRowChangeEventHandler(object sender, PurchaseInDepotBillProductRowChangeEvent e);
- public delegate void PurchaseInDepotBillRowChangeEventHandler(object sender, PurchaseInDepotBillRowChangeEvent e);
- public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class PurchaseInDepotBillProductDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_PurchaseInDepotBillProduct;
- private DataColumn columnType_FromBill;
- private DataColumn columnNo_FromBill;
- private DataColumn columnNo_FromBillProduct;
- private DataColumn columnRefNo_PurchaseInDepotBill;
- private DataColumn columnQuantity_PurchaseInDepotBillProduct;
- private DataColumn columnCost_PurchaseInDepotBillProduct;
- private DataColumn columnComment_PurchaseInDepotBillProduct;
- private DataColumn columnNo_Product;
- private DataColumn columnName_Product;
- private DataColumn columnUnit_Product;
- private DataColumn columnMoney;
- [DebuggerNonUserCode]
- public DataColumn No_PurchaseInDepotBillProductColumn => columnNo_PurchaseInDepotBillProduct;
- [DebuggerNonUserCode]
- public DataColumn Type_FromBillColumn => columnType_FromBill;
- [DebuggerNonUserCode]
- public DataColumn No_FromBillColumn => columnNo_FromBill;
- [DebuggerNonUserCode]
- public DataColumn No_FromBillProductColumn => columnNo_FromBillProduct;
- [DebuggerNonUserCode]
- public DataColumn RefNo_PurchaseInDepotBillColumn => columnRefNo_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Quantity_PurchaseInDepotBillProductColumn => columnQuantity_PurchaseInDepotBillProduct;
- [DebuggerNonUserCode]
- public DataColumn Cost_PurchaseInDepotBillProductColumn => columnCost_PurchaseInDepotBillProduct;
- [DebuggerNonUserCode]
- public DataColumn Comment_PurchaseInDepotBillProductColumn => columnComment_PurchaseInDepotBillProduct;
- [DebuggerNonUserCode]
- public DataColumn No_ProductColumn => columnNo_Product;
- [DebuggerNonUserCode]
- public DataColumn Name_ProductColumn => columnName_Product;
- [DebuggerNonUserCode]
- public DataColumn Unit_ProductColumn => columnUnit_Product;
- [DebuggerNonUserCode]
- public DataColumn MoneyColumn => columnMoney;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillProductRow this[int index] => (PurchaseInDepotBillProductRow)base.Rows[index];
- public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowChanging;
- public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowChanged;
- public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowDeleting;
- public event PurchaseInDepotBillProductRowChangeEventHandler PurchaseInDepotBillProductRowDeleted;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillProductDataTable()
- {
- base.TableName = "PurchaseInDepotBillProduct";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal PurchaseInDepotBillProductDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected PurchaseInDepotBillProductDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddPurchaseInDepotBillProductRow(PurchaseInDepotBillProductRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- 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)
- {
- PurchaseInDepotBillProductRow purchaseInDepotBillProductRow = (PurchaseInDepotBillProductRow)NewRow();
- purchaseInDepotBillProductRow.ItemArray = new object[12]
- {
- No_PurchaseInDepotBillProduct,
- Type_FromBill,
- No_FromBill,
- No_FromBillProduct,
- RefNo_PurchaseInDepotBill,
- Quantity_PurchaseInDepotBillProduct,
- Cost_PurchaseInDepotBillProduct,
- Comment_PurchaseInDepotBillProduct,
- No_Product,
- Name_Product,
- Unit_Product,
- Money
- };
- base.Rows.Add(purchaseInDepotBillProductRow);
- return purchaseInDepotBillProductRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- PurchaseInDepotBillProductDataTable purchaseInDepotBillProductDataTable = (PurchaseInDepotBillProductDataTable)base.Clone();
- purchaseInDepotBillProductDataTable.InitVars();
- return purchaseInDepotBillProductDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new PurchaseInDepotBillProductDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_PurchaseInDepotBillProduct = base.Columns["No_PurchaseInDepotBillProduct"];
- columnType_FromBill = base.Columns["Type_FromBill"];
- columnNo_FromBill = base.Columns["No_FromBill"];
- columnNo_FromBillProduct = base.Columns["No_FromBillProduct"];
- columnRefNo_PurchaseInDepotBill = base.Columns["RefNo_PurchaseInDepotBill"];
- columnQuantity_PurchaseInDepotBillProduct = base.Columns["Quantity_PurchaseInDepotBillProduct"];
- columnCost_PurchaseInDepotBillProduct = base.Columns["Cost_PurchaseInDepotBillProduct"];
- columnComment_PurchaseInDepotBillProduct = base.Columns["Comment_PurchaseInDepotBillProduct"];
- columnNo_Product = base.Columns["No_Product"];
- columnName_Product = base.Columns["Name_Product"];
- columnUnit_Product = base.Columns["Unit_Product"];
- columnMoney = base.Columns["Money"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_PurchaseInDepotBillProduct = new DataColumn("No_PurchaseInDepotBillProduct", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_PurchaseInDepotBillProduct);
- columnType_FromBill = new DataColumn("Type_FromBill", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnType_FromBill);
- columnNo_FromBill = new DataColumn("No_FromBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_FromBill);
- columnNo_FromBillProduct = new DataColumn("No_FromBillProduct", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_FromBillProduct);
- columnRefNo_PurchaseInDepotBill = new DataColumn("RefNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnRefNo_PurchaseInDepotBill);
- columnQuantity_PurchaseInDepotBillProduct = new DataColumn("Quantity_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnQuantity_PurchaseInDepotBillProduct);
- columnCost_PurchaseInDepotBillProduct = new DataColumn("Cost_PurchaseInDepotBillProduct", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnCost_PurchaseInDepotBillProduct);
- columnComment_PurchaseInDepotBillProduct = new DataColumn("Comment_PurchaseInDepotBillProduct", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_PurchaseInDepotBillProduct);
- columnNo_Product = new DataColumn("No_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Product);
- columnName_Product = new DataColumn("Name_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Product);
- columnUnit_Product = new DataColumn("Unit_Product", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnUnit_Product);
- columnMoney = new DataColumn("Money", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnMoney);
- }
- [DebuggerNonUserCode]
- public PurchaseInDepotBillProductRow NewPurchaseInDepotBillProductRow()
- {
- return (PurchaseInDepotBillProductRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new PurchaseInDepotBillProductRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(PurchaseInDepotBillProductRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.PurchaseInDepotBillProductRowChanged != null)
- {
- this.PurchaseInDepotBillProductRowChanged(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.PurchaseInDepotBillProductRowChanging != null)
- {
- this.PurchaseInDepotBillProductRowChanging(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.PurchaseInDepotBillProductRowDeleted != null)
- {
- this.PurchaseInDepotBillProductRowDeleted(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.PurchaseInDepotBillProductRowDeleting != null)
- {
- this.PurchaseInDepotBillProductRowDeleting(this, new PurchaseInDepotBillProductRowChangeEvent((PurchaseInDepotBillProductRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemovePurchaseInDepotBillProductRow(PurchaseInDepotBillProductRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
- xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmPurchaseCosting.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "PurchaseInDepotBillProductDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class PurchaseInDepotBillDataTable : DataTable, IEnumerable
- {
- private DataColumn columnDate_PurchaseInDepotBill;
- private DataColumn columnNo_PurchaseInDepotBill;
- private DataColumn columnEncasementNo_PurchaseInDepotBill;
- private DataColumn columnQA_PurchaseInDepotBill;
- private DataColumn columnAssessDate_PurchaseInDepotBill;
- private DataColumn columnComment_PurchaseInDepotBill;
- private DataColumn columnCostVerify_PurchaseInDepotBill;
- private DataColumn columnCreateDate_PurchaseInDepotBill;
- private DataColumn columnLastModDate_PurchaseInDepotBill;
- private DataColumn columnCostingDate_PurchaseInDepotBill;
- private DataColumn columnInvoiceNo_PurchaseInDepotBill;
- private DataColumn columnCurrency_PurchaseInDepotBill;
- private DataColumn columnGoodsAmount_PurchaseInDepotBill;
- private DataColumn columnTaxAmount_PurchaseInDepotBill;
- private DataColumn columnCustom_PurchaseInDepotBill;
- private DataColumn columnAgent_PurchaseInDepotBill;
- private DataColumn columnHandling_PurchaseInDepotBill;
- private DataColumn columnCarriage_PurchaseInDepotBill;
- private DataColumn columnOthers_PurchaseInDepotBill;
- private DataColumn columnAmount_PurchaseInDepotBill;
- private DataColumn columnStrikedGoodsAmount_PurchaseInDepotBill;
- private DataColumn columnStrikedTaxAmount_PurchaseInDepotBill;
- private DataColumn columnName_UserAudit;
- private DataColumn columnName_UserMod;
- private DataColumn columncount;
- [DebuggerNonUserCode]
- public DataColumn Date_PurchaseInDepotBillColumn => columnDate_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn No_PurchaseInDepotBillColumn => columnNo_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn EncasementNo_PurchaseInDepotBillColumn => columnEncasementNo_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn QA_PurchaseInDepotBillColumn => columnQA_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn AssessDate_PurchaseInDepotBillColumn => columnAssessDate_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Comment_PurchaseInDepotBillColumn => columnComment_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn CostVerify_PurchaseInDepotBillColumn => columnCostVerify_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn CreateDate_PurchaseInDepotBillColumn => columnCreateDate_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn LastModDate_PurchaseInDepotBillColumn => columnLastModDate_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn CostingDate_PurchaseInDepotBillColumn => columnCostingDate_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn InvoiceNo_PurchaseInDepotBillColumn => columnInvoiceNo_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Currency_PurchaseInDepotBillColumn => columnCurrency_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn GoodsAmount_PurchaseInDepotBillColumn => columnGoodsAmount_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn TaxAmount_PurchaseInDepotBillColumn => columnTaxAmount_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Custom_PurchaseInDepotBillColumn => columnCustom_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Agent_PurchaseInDepotBillColumn => columnAgent_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Handling_PurchaseInDepotBillColumn => columnHandling_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Carriage_PurchaseInDepotBillColumn => columnCarriage_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Others_PurchaseInDepotBillColumn => columnOthers_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Amount_PurchaseInDepotBillColumn => columnAmount_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn StrikedGoodsAmount_PurchaseInDepotBillColumn => columnStrikedGoodsAmount_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn StrikedTaxAmount_PurchaseInDepotBillColumn => columnStrikedTaxAmount_PurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DataColumn Name_UserAuditColumn => columnName_UserAudit;
- [DebuggerNonUserCode]
- public DataColumn Name_UserModColumn => columnName_UserMod;
- [DebuggerNonUserCode]
- public DataColumn countColumn => columncount;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillRow this[int index] => (PurchaseInDepotBillRow)base.Rows[index];
- public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowChanging;
- public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowChanged;
- public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowDeleting;
- public event PurchaseInDepotBillRowChangeEventHandler PurchaseInDepotBillRowDeleted;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillDataTable()
- {
- base.TableName = "PurchaseInDepotBill";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal PurchaseInDepotBillDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected PurchaseInDepotBillDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddPurchaseInDepotBillRow(PurchaseInDepotBillRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- 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)
- {
- PurchaseInDepotBillRow purchaseInDepotBillRow = (PurchaseInDepotBillRow)NewRow();
- purchaseInDepotBillRow.ItemArray = new object[25]
- {
- Date_PurchaseInDepotBill,
- No_PurchaseInDepotBill,
- EncasementNo_PurchaseInDepotBill,
- QA_PurchaseInDepotBill,
- AssessDate_PurchaseInDepotBill,
- Comment_PurchaseInDepotBill,
- CostVerify_PurchaseInDepotBill,
- CreateDate_PurchaseInDepotBill,
- LastModDate_PurchaseInDepotBill,
- CostingDate_PurchaseInDepotBill,
- InvoiceNo_PurchaseInDepotBill,
- Currency_PurchaseInDepotBill,
- GoodsAmount_PurchaseInDepotBill,
- TaxAmount_PurchaseInDepotBill,
- Custom_PurchaseInDepotBill,
- Agent_PurchaseInDepotBill,
- Handling_PurchaseInDepotBill,
- Carriage_PurchaseInDepotBill,
- Others_PurchaseInDepotBill,
- Amount_PurchaseInDepotBill,
- StrikedGoodsAmount_PurchaseInDepotBill,
- StrikedTaxAmount_PurchaseInDepotBill,
- Name_UserAudit,
- Name_UserMod,
- count
- };
- base.Rows.Add(purchaseInDepotBillRow);
- return purchaseInDepotBillRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- PurchaseInDepotBillDataTable purchaseInDepotBillDataTable = (PurchaseInDepotBillDataTable)base.Clone();
- purchaseInDepotBillDataTable.InitVars();
- return purchaseInDepotBillDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new PurchaseInDepotBillDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnDate_PurchaseInDepotBill = base.Columns["Date_PurchaseInDepotBill"];
- columnNo_PurchaseInDepotBill = base.Columns["No_PurchaseInDepotBill"];
- columnEncasementNo_PurchaseInDepotBill = base.Columns["EncasementNo_PurchaseInDepotBill"];
- columnQA_PurchaseInDepotBill = base.Columns["QA_PurchaseInDepotBill"];
- columnAssessDate_PurchaseInDepotBill = base.Columns["AssessDate_PurchaseInDepotBill"];
- columnComment_PurchaseInDepotBill = base.Columns["Comment_PurchaseInDepotBill"];
- columnCostVerify_PurchaseInDepotBill = base.Columns["CostVerify_PurchaseInDepotBill"];
- columnCreateDate_PurchaseInDepotBill = base.Columns["CreateDate_PurchaseInDepotBill"];
- columnLastModDate_PurchaseInDepotBill = base.Columns["LastModDate_PurchaseInDepotBill"];
- columnCostingDate_PurchaseInDepotBill = base.Columns["CostingDate_PurchaseInDepotBill"];
- columnInvoiceNo_PurchaseInDepotBill = base.Columns["InvoiceNo_PurchaseInDepotBill"];
- columnCurrency_PurchaseInDepotBill = base.Columns["Currency_PurchaseInDepotBill"];
- columnGoodsAmount_PurchaseInDepotBill = base.Columns["GoodsAmount_PurchaseInDepotBill"];
- columnTaxAmount_PurchaseInDepotBill = base.Columns["TaxAmount_PurchaseInDepotBill"];
- columnCustom_PurchaseInDepotBill = base.Columns["Custom_PurchaseInDepotBill"];
- columnAgent_PurchaseInDepotBill = base.Columns["Agent_PurchaseInDepotBill"];
- columnHandling_PurchaseInDepotBill = base.Columns["Handling_PurchaseInDepotBill"];
- columnCarriage_PurchaseInDepotBill = base.Columns["Carriage_PurchaseInDepotBill"];
- columnOthers_PurchaseInDepotBill = base.Columns["Others_PurchaseInDepotBill"];
- columnAmount_PurchaseInDepotBill = base.Columns["Amount_PurchaseInDepotBill"];
- columnStrikedGoodsAmount_PurchaseInDepotBill = base.Columns["StrikedGoodsAmount_PurchaseInDepotBill"];
- columnStrikedTaxAmount_PurchaseInDepotBill = base.Columns["StrikedTaxAmount_PurchaseInDepotBill"];
- columnName_UserAudit = base.Columns["Name_UserAudit"];
- columnName_UserMod = base.Columns["Name_UserMod"];
- columncount = base.Columns["count"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnDate_PurchaseInDepotBill = new DataColumn("Date_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnDate_PurchaseInDepotBill);
- columnNo_PurchaseInDepotBill = new DataColumn("No_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_PurchaseInDepotBill);
- columnEncasementNo_PurchaseInDepotBill = new DataColumn("EncasementNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEncasementNo_PurchaseInDepotBill);
- columnQA_PurchaseInDepotBill = new DataColumn("QA_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnQA_PurchaseInDepotBill);
- columnAssessDate_PurchaseInDepotBill = new DataColumn("AssessDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnAssessDate_PurchaseInDepotBill);
- columnComment_PurchaseInDepotBill = new DataColumn("Comment_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_PurchaseInDepotBill);
- columnCostVerify_PurchaseInDepotBill = new DataColumn("CostVerify_PurchaseInDepotBill", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnCostVerify_PurchaseInDepotBill);
- columnCreateDate_PurchaseInDepotBill = new DataColumn("CreateDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate_PurchaseInDepotBill);
- columnLastModDate_PurchaseInDepotBill = new DataColumn("LastModDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnLastModDate_PurchaseInDepotBill);
- columnCostingDate_PurchaseInDepotBill = new DataColumn("CostingDate_PurchaseInDepotBill", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCostingDate_PurchaseInDepotBill);
- columnInvoiceNo_PurchaseInDepotBill = new DataColumn("InvoiceNo_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnInvoiceNo_PurchaseInDepotBill);
- columnCurrency_PurchaseInDepotBill = new DataColumn("Currency_PurchaseInDepotBill", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrency_PurchaseInDepotBill);
- columnGoodsAmount_PurchaseInDepotBill = new DataColumn("GoodsAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnGoodsAmount_PurchaseInDepotBill);
- columnTaxAmount_PurchaseInDepotBill = new DataColumn("TaxAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnTaxAmount_PurchaseInDepotBill);
- columnCustom_PurchaseInDepotBill = new DataColumn("Custom_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnCustom_PurchaseInDepotBill);
- columnAgent_PurchaseInDepotBill = new DataColumn("Agent_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnAgent_PurchaseInDepotBill);
- columnHandling_PurchaseInDepotBill = new DataColumn("Handling_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnHandling_PurchaseInDepotBill);
- columnCarriage_PurchaseInDepotBill = new DataColumn("Carriage_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnCarriage_PurchaseInDepotBill);
- columnOthers_PurchaseInDepotBill = new DataColumn("Others_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnOthers_PurchaseInDepotBill);
- columnAmount_PurchaseInDepotBill = new DataColumn("Amount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnAmount_PurchaseInDepotBill);
- columnStrikedGoodsAmount_PurchaseInDepotBill = new DataColumn("StrikedGoodsAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnStrikedGoodsAmount_PurchaseInDepotBill);
- columnStrikedTaxAmount_PurchaseInDepotBill = new DataColumn("StrikedTaxAmount_PurchaseInDepotBill", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnStrikedTaxAmount_PurchaseInDepotBill);
- columnName_UserAudit = new DataColumn("Name_UserAudit", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_UserAudit);
- columnName_UserMod = new DataColumn("Name_UserMod", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_UserMod);
- columncount = new DataColumn("count", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columncount);
- }
- [DebuggerNonUserCode]
- public PurchaseInDepotBillRow NewPurchaseInDepotBillRow()
- {
- return (PurchaseInDepotBillRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new PurchaseInDepotBillRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(PurchaseInDepotBillRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.PurchaseInDepotBillRowChanged != null)
- {
- this.PurchaseInDepotBillRowChanged(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.PurchaseInDepotBillRowChanging != null)
- {
- this.PurchaseInDepotBillRowChanging(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.PurchaseInDepotBillRowDeleted != null)
- {
- this.PurchaseInDepotBillRowDeleted(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.PurchaseInDepotBillRowDeleting != null)
- {
- this.PurchaseInDepotBillRowDeleting(this, new PurchaseInDepotBillRowChangeEvent((PurchaseInDepotBillRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemovePurchaseInDepotBillRow(PurchaseInDepotBillRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
- xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmPurchaseCosting.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "PurchaseInDepotBillDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class AppendInfoDataTable : DataTable, IEnumerable
- {
- private DataColumn columnCurrentCompany;
- private DataColumn columnCurrentUser;
- [DebuggerNonUserCode]
- public DataColumn CurrentCompanyColumn => columnCurrentCompany;
- [DebuggerNonUserCode]
- public DataColumn CurrentUserColumn => columnCurrentUser;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
- public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
- public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
- public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
- public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
- [DebuggerNonUserCode]
- public AppendInfoDataTable()
- {
- base.TableName = "AppendInfo";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal AppendInfoDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddAppendInfoRow(AppendInfoRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
- {
- AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
- appendInfoRow.ItemArray = new object[2]
- {
- CurrentCompany,
- CurrentUser
- };
- base.Rows.Add(appendInfoRow);
- return appendInfoRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
- appendInfoDataTable.InitVars();
- return appendInfoDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new AppendInfoDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnCurrentCompany = base.Columns["CurrentCompany"];
- columnCurrentUser = base.Columns["CurrentUser"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrentCompany);
- columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrentUser);
- }
- [DebuggerNonUserCode]
- public AppendInfoRow NewAppendInfoRow()
- {
- return (AppendInfoRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new AppendInfoRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(AppendInfoRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.AppendInfoRowChanged != null)
- {
- this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.AppendInfoRowChanging != null)
- {
- this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.AppendInfoRowDeleted != null)
- {
- this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.AppendInfoRowDeleting != null)
- {
- this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveAppendInfoRow(AppendInfoRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
- xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmPurchaseCosting.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PurchaseInDepotBillProductRow : DataRow
- {
- private PurchaseInDepotBillProductDataTable tablePurchaseInDepotBillProduct;
- [DebuggerNonUserCode]
- public string No_PurchaseInDepotBillProduct
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int Type_FromBill
- {
- get
- {
- try
- {
- return (int)base[tablePurchaseInDepotBillProduct.Type_FromBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Type_FromBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.Type_FromBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_FromBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.No_FromBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_FromBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.No_FromBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_FromBillProduct
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_FromBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string RefNo_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'RefNo_PurchaseInDepotBill' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Quantity_PurchaseInDepotBillProduct
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Quantity_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Cost_PurchaseInDepotBillProduct
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Cost_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_PurchaseInDepotBillProduct
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_PurchaseInDepotBillProduct' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Product
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.No_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.No_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Product
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.Name_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.Name_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Unit_Product
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBillProduct.Unit_ProductColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Unit_Product' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.Unit_ProductColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Money
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBillProduct.MoneyColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Money' in table 'PurchaseInDepotBillProduct' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBillProduct.MoneyColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal PurchaseInDepotBillProductRow(DataRowBuilder rb)
- : base(rb)
- {
- tablePurchaseInDepotBillProduct = (PurchaseInDepotBillProductDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_PurchaseInDepotBillProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_PurchaseInDepotBillProductNull()
- {
- base[tablePurchaseInDepotBillProduct.No_PurchaseInDepotBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsType_FromBillNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.Type_FromBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetType_FromBillNull()
- {
- base[tablePurchaseInDepotBillProduct.Type_FromBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_FromBillNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.No_FromBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_FromBillNull()
- {
- base[tablePurchaseInDepotBillProduct.No_FromBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_FromBillProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.No_FromBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_FromBillProductNull()
- {
- base[tablePurchaseInDepotBillProduct.No_FromBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsRefNo_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetRefNo_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBillProduct.RefNo_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQuantity_PurchaseInDepotBillProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetQuantity_PurchaseInDepotBillProductNull()
- {
- base[tablePurchaseInDepotBillProduct.Quantity_PurchaseInDepotBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCost_PurchaseInDepotBillProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetCost_PurchaseInDepotBillProductNull()
- {
- base[tablePurchaseInDepotBillProduct.Cost_PurchaseInDepotBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_PurchaseInDepotBillProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_PurchaseInDepotBillProductNull()
- {
- base[tablePurchaseInDepotBillProduct.Comment_PurchaseInDepotBillProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_ProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.No_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_ProductNull()
- {
- base[tablePurchaseInDepotBillProduct.No_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_ProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.Name_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_ProductNull()
- {
- base[tablePurchaseInDepotBillProduct.Name_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsUnit_ProductNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.Unit_ProductColumn);
- }
- [DebuggerNonUserCode]
- public void SetUnit_ProductNull()
- {
- base[tablePurchaseInDepotBillProduct.Unit_ProductColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsMoneyNull()
- {
- return IsNull(tablePurchaseInDepotBillProduct.MoneyColumn);
- }
- [DebuggerNonUserCode]
- public void SetMoneyNull()
- {
- base[tablePurchaseInDepotBillProduct.MoneyColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PurchaseInDepotBillRow : DataRow
- {
- private PurchaseInDepotBillDataTable tablePurchaseInDepotBill;
- [DebuggerNonUserCode]
- public DateTime Date_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Date_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EncasementNo_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EncasementNo_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string QA_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'QA_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime AssessDate_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'AssessDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool CostVerify_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (bool)base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CostVerify_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime LastModDate_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CostingDate_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (DateTime)base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CostingDate_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string InvoiceNo_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'InvoiceNo_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Currency_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Currency_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal GoodsAmount_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'GoodsAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal TaxAmount_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'TaxAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Custom_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Custom_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Agent_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Agent_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Handling_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Handling_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Carriage_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Carriage_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Others_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Others_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Amount_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Amount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal StrikedGoodsAmount_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StrikedGoodsAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal StrikedTaxAmount_PurchaseInDepotBill
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'StrikedTaxAmount_PurchaseInDepotBill' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_UserAudit
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.Name_UserAuditColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_UserAudit' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Name_UserAuditColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_UserMod
- {
- get
- {
- try
- {
- return (string)base[tablePurchaseInDepotBill.Name_UserModColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_UserMod' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.Name_UserModColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal count
- {
- get
- {
- try
- {
- return (decimal)base[tablePurchaseInDepotBill.countColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'count' in table 'PurchaseInDepotBill' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePurchaseInDepotBill.countColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal PurchaseInDepotBillRow(DataRowBuilder rb)
- : base(rb)
- {
- tablePurchaseInDepotBill = (PurchaseInDepotBillDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsDate_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetDate_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Date_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.No_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEncasementNo_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetEncasementNo_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.EncasementNo_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsQA_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetQA_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.QA_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAssessDate_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetAssessDate_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.AssessDate_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Comment_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCostVerify_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCostVerify_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.CostVerify_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDate_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDate_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.CreateDate_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModDate_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModDate_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.LastModDate_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCostingDate_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCostingDate_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.CostingDate_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsInvoiceNo_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetInvoiceNo_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.InvoiceNo_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCurrency_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrency_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Currency_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsGoodsAmount_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetGoodsAmount_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.GoodsAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTaxAmount_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetTaxAmount_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.TaxAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCustom_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCustom_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Custom_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAgent_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetAgent_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Agent_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsHandling_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetHandling_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Handling_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCarriage_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetCarriage_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Carriage_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOthers_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetOthers_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Others_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAmount_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetAmount_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.Amount_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStrikedGoodsAmount_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStrikedGoodsAmount_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.StrikedGoodsAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsStrikedTaxAmount_PurchaseInDepotBillNull()
- {
- return IsNull(tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn);
- }
- [DebuggerNonUserCode]
- public void SetStrikedTaxAmount_PurchaseInDepotBillNull()
- {
- base[tablePurchaseInDepotBill.StrikedTaxAmount_PurchaseInDepotBillColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_UserAuditNull()
- {
- return IsNull(tablePurchaseInDepotBill.Name_UserAuditColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_UserAuditNull()
- {
- base[tablePurchaseInDepotBill.Name_UserAuditColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_UserModNull()
- {
- return IsNull(tablePurchaseInDepotBill.Name_UserModColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_UserModNull()
- {
- base[tablePurchaseInDepotBill.Name_UserModColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IscountNull()
- {
- return IsNull(tablePurchaseInDepotBill.countColumn);
- }
- [DebuggerNonUserCode]
- public void SetcountNull()
- {
- base[tablePurchaseInDepotBill.countColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoRow : DataRow
- {
- private AppendInfoDataTable tableAppendInfo;
- [DebuggerNonUserCode]
- public string CurrentCompany
- {
- get
- {
- try
- {
- return (string)base[tableAppendInfo.CurrentCompanyColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableAppendInfo.CurrentCompanyColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CurrentUser
- {
- get
- {
- try
- {
- return (string)base[tableAppendInfo.CurrentUserColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableAppendInfo.CurrentUserColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal AppendInfoRow(DataRowBuilder rb)
- : base(rb)
- {
- tableAppendInfo = (AppendInfoDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsCurrentCompanyNull()
- {
- return IsNull(tableAppendInfo.CurrentCompanyColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrentCompanyNull()
- {
- base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCurrentUserNull()
- {
- return IsNull(tableAppendInfo.CurrentUserColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrentUserNull()
- {
- base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PurchaseInDepotBillProductRowChangeEvent : EventArgs
- {
- private PurchaseInDepotBillProductRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillProductRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillProductRowChangeEvent(PurchaseInDepotBillProductRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PurchaseInDepotBillRowChangeEvent : EventArgs
- {
- private PurchaseInDepotBillRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public PurchaseInDepotBillRowChangeEvent(PurchaseInDepotBillRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoRowChangeEvent : EventArgs
- {
- private AppendInfoRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public AppendInfoRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private PurchaseInDepotBillProductDataTable tablePurchaseInDepotBillProduct;
- private PurchaseInDepotBillDataTable tablePurchaseInDepotBill;
- private AppendInfoDataTable tableAppendInfo;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DebuggerNonUserCode]
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- public PurchaseInDepotBillProductDataTable PurchaseInDepotBillProduct => tablePurchaseInDepotBillProduct;
- [Browsable(false)]
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- public PurchaseInDepotBillDataTable PurchaseInDepotBill => tablePurchaseInDepotBill;
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- public AppendInfoDataTable AppendInfo => tableAppendInfo;
- [DebuggerNonUserCode]
- [Browsable(true)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataTableCollection Tables => base.Tables;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsFrmPurchaseCosting()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsFrmPurchaseCosting(SerializationInfo info, StreamingContext context)
- : base(info, context, ConstructSchema: false)
- {
- if (IsBinarySerialized(info, context))
- {
- InitVars(initTable: false);
- CollectionChangeEventHandler value = SchemaChanged;
- Tables.CollectionChanged += value;
- Relations.CollectionChanged += value;
- return;
- }
- string s = (string)info.GetValue("XmlSchema", typeof(string));
- if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
- {
- DataSet dataSet = new DataSet();
- dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- if (dataSet.Tables["PurchaseInDepotBillProduct"] != null)
- {
- base.Tables.Add(new PurchaseInDepotBillProductDataTable(dataSet.Tables["PurchaseInDepotBillProduct"]));
- }
- if (dataSet.Tables["PurchaseInDepotBill"] != null)
- {
- base.Tables.Add(new PurchaseInDepotBillDataTable(dataSet.Tables["PurchaseInDepotBill"]));
- }
- if (dataSet.Tables["AppendInfo"] != null)
- {
- base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- }
- GetSerializationData(info, context);
- CollectionChangeEventHandler value2 = SchemaChanged;
- base.Tables.CollectionChanged += value2;
- Relations.CollectionChanged += value2;
- }
- [DebuggerNonUserCode]
- protected override void InitializeDerivedDataSet()
- {
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- public override DataSet Clone()
- {
- dsFrmPurchaseCosting dsFrmPurchaseCosting = (dsFrmPurchaseCosting)base.Clone();
- dsFrmPurchaseCosting.InitVars();
- dsFrmPurchaseCosting.SchemaSerializationMode = SchemaSerializationMode;
- return dsFrmPurchaseCosting;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeTables()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeRelations()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override void ReadXmlSerializable(XmlReader reader)
- {
- if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
- {
- Reset();
- DataSet dataSet = new DataSet();
- dataSet.ReadXml(reader);
- if (dataSet.Tables["PurchaseInDepotBillProduct"] != null)
- {
- base.Tables.Add(new PurchaseInDepotBillProductDataTable(dataSet.Tables["PurchaseInDepotBillProduct"]));
- }
- if (dataSet.Tables["PurchaseInDepotBill"] != null)
- {
- base.Tables.Add(new PurchaseInDepotBillDataTable(dataSet.Tables["PurchaseInDepotBill"]));
- }
- if (dataSet.Tables["AppendInfo"] != null)
- {
- base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXml(reader);
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- protected override XmlSchema GetSchemaSerializable()
- {
- MemoryStream memoryStream = new MemoryStream();
- WriteXmlSchema(new XmlTextWriter(memoryStream, null));
- memoryStream.Position = 0L;
- return XmlSchema.Read(new XmlTextReader(memoryStream), null);
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- InitVars(initTable: true);
- }
- [DebuggerNonUserCode]
- internal void InitVars(bool initTable)
- {
- tablePurchaseInDepotBillProduct = (PurchaseInDepotBillProductDataTable)base.Tables["PurchaseInDepotBillProduct"];
- if (initTable && tablePurchaseInDepotBillProduct != null)
- {
- tablePurchaseInDepotBillProduct.InitVars();
- }
- tablePurchaseInDepotBill = (PurchaseInDepotBillDataTable)base.Tables["PurchaseInDepotBill"];
- if (initTable && tablePurchaseInDepotBill != null)
- {
- tablePurchaseInDepotBill.InitVars();
- }
- tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
- if (initTable && tableAppendInfo != null)
- {
- tableAppendInfo.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsFrmPurchaseCosting";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsFrmPurchaseCosting.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tablePurchaseInDepotBillProduct = new PurchaseInDepotBillProductDataTable();
- base.Tables.Add(tablePurchaseInDepotBillProduct);
- tablePurchaseInDepotBill = new PurchaseInDepotBillDataTable();
- base.Tables.Add(tablePurchaseInDepotBill);
- tableAppendInfo = new AppendInfoDataTable();
- base.Tables.Add(tableAppendInfo);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializePurchaseInDepotBillProduct()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializePurchaseInDepotBill()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeAppendInfo()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsFrmPurchaseCosting dsFrmPurchaseCosting = new dsFrmPurchaseCosting();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsFrmPurchaseCosting.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsFrmPurchaseCosting.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|