123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416 |
- 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]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- [HelpKeyword("vs.data.DataSet")]
- [XmlRoot("dsFrmSupplier")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [DesignerCategory("code")]
- [ToolboxItem(true)]
- public class dsFrmSupplier : DataSet
- {
- public delegate void TelephoneRowChangeEventHandler(object sender, TelephoneRowChangeEvent e);
- public delegate void PrincipalRowChangeEventHandler(object sender, PrincipalRowChangeEvent e);
- public delegate void EmployeeRowChangeEventHandler(object sender, EmployeeRowChangeEvent e);
- public delegate void FaxRowChangeEventHandler(object sender, FaxRowChangeEvent e);
- public delegate void SupplierRowChangeEventHandler(object sender, SupplierRowChangeEvent e);
- public delegate void LinkmanRowChangeEventHandler(object sender, LinkmanRowChangeEvent e);
- public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class TelephoneDataTable : DataTable, IEnumerable
- {
- private DataColumn columnName_Telephone;
- private DataColumn columnNo_Telephone;
- private DataColumn columnFocus_Telephone;
- [DebuggerNonUserCode]
- public DataColumn Name_TelephoneColumn => columnName_Telephone;
- [DebuggerNonUserCode]
- public DataColumn No_TelephoneColumn => columnNo_Telephone;
- [DebuggerNonUserCode]
- public DataColumn Focus_TelephoneColumn => columnFocus_Telephone;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public TelephoneRow this[int index] => (TelephoneRow)base.Rows[index];
- public event TelephoneRowChangeEventHandler TelephoneRowChanging;
- public event TelephoneRowChangeEventHandler TelephoneRowChanged;
- public event TelephoneRowChangeEventHandler TelephoneRowDeleting;
- public event TelephoneRowChangeEventHandler TelephoneRowDeleted;
- [DebuggerNonUserCode]
- public TelephoneDataTable()
- {
- base.TableName = "Telephone";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal TelephoneDataTable(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 TelephoneDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddTelephoneRow(TelephoneRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public TelephoneRow AddTelephoneRow(string Name_Telephone, string No_Telephone, bool Focus_Telephone)
- {
- TelephoneRow telephoneRow = (TelephoneRow)NewRow();
- telephoneRow.ItemArray = new object[3]
- {
- Name_Telephone,
- No_Telephone,
- Focus_Telephone
- };
- base.Rows.Add(telephoneRow);
- return telephoneRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- TelephoneDataTable telephoneDataTable = (TelephoneDataTable)base.Clone();
- telephoneDataTable.InitVars();
- return telephoneDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new TelephoneDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnName_Telephone = base.Columns["Name_Telephone"];
- columnNo_Telephone = base.Columns["No_Telephone"];
- columnFocus_Telephone = base.Columns["Focus_Telephone"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnName_Telephone = new DataColumn("Name_Telephone", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Telephone);
- columnNo_Telephone = new DataColumn("No_Telephone", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Telephone);
- columnFocus_Telephone = new DataColumn("Focus_Telephone", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnFocus_Telephone);
- }
- [DebuggerNonUserCode]
- public TelephoneRow NewTelephoneRow()
- {
- return (TelephoneRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new TelephoneRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(TelephoneRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.TelephoneRowChanged != null)
- {
- this.TelephoneRowChanged(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.TelephoneRowChanging != null)
- {
- this.TelephoneRowChanging(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.TelephoneRowDeleted != null)
- {
- this.TelephoneRowDeleted(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.TelephoneRowDeleting != null)
- {
- this.TelephoneRowDeleting(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveTelephoneRow(TelephoneRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "TelephoneDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class PrincipalDataTable : DataTable, IEnumerable
- {
- private DataColumn columnIsMain_Principal;
- private DataColumn columnComment_Principal;
- private DataColumn columnName_Employee;
- private DataColumn columnNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn IsMain_PrincipalColumn => columnIsMain_Principal;
- [DebuggerNonUserCode]
- public DataColumn Comment_PrincipalColumn => columnComment_Principal;
- [DebuggerNonUserCode]
- public DataColumn Name_EmployeeColumn => columnName_Employee;
- [DebuggerNonUserCode]
- public DataColumn No_EmployeeColumn => columnNo_Employee;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public PrincipalRow this[int index] => (PrincipalRow)base.Rows[index];
- public event PrincipalRowChangeEventHandler PrincipalRowChanging;
- public event PrincipalRowChangeEventHandler PrincipalRowChanged;
- public event PrincipalRowChangeEventHandler PrincipalRowDeleting;
- public event PrincipalRowChangeEventHandler PrincipalRowDeleted;
- [DebuggerNonUserCode]
- public PrincipalDataTable()
- {
- base.TableName = "Principal";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal PrincipalDataTable(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 PrincipalDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddPrincipalRow(PrincipalRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public PrincipalRow AddPrincipalRow(bool IsMain_Principal, string Comment_Principal, string Name_Employee, string No_Employee)
- {
- PrincipalRow principalRow = (PrincipalRow)NewRow();
- principalRow.ItemArray = new object[4]
- {
- IsMain_Principal,
- Comment_Principal,
- Name_Employee,
- No_Employee
- };
- base.Rows.Add(principalRow);
- return principalRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- PrincipalDataTable principalDataTable = (PrincipalDataTable)base.Clone();
- principalDataTable.InitVars();
- return principalDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new PrincipalDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnIsMain_Principal = base.Columns["IsMain_Principal"];
- columnComment_Principal = base.Columns["Comment_Principal"];
- columnName_Employee = base.Columns["Name_Employee"];
- columnNo_Employee = base.Columns["No_Employee"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnIsMain_Principal = new DataColumn("IsMain_Principal", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsMain_Principal);
- columnComment_Principal = new DataColumn("Comment_Principal", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Principal);
- columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Employee);
- columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Employee);
- }
- [DebuggerNonUserCode]
- public PrincipalRow NewPrincipalRow()
- {
- return (PrincipalRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new PrincipalRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(PrincipalRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.PrincipalRowChanged != null)
- {
- this.PrincipalRowChanged(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.PrincipalRowChanging != null)
- {
- this.PrincipalRowChanging(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.PrincipalRowDeleted != null)
- {
- this.PrincipalRowDeleted(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.PrincipalRowDeleting != null)
- {
- this.PrincipalRowDeleting(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemovePrincipalRow(PrincipalRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "PrincipalDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class EmployeeDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_Employee;
- private DataColumn columnName_Employee;
- private DataColumn columnEmployeeNo_Employee;
- private DataColumn columnNameEng_Employee;
- private DataColumn columnGender_Employee;
- private DataColumn columnCountry_Employee;
- private DataColumn columnHomeplace_Employee;
- private DataColumn columnNation_Employee;
- private DataColumn columnIDNo_Employee;
- private DataColumn columnPassport_Employee;
- private DataColumn columnIsMarried_Employee;
- private DataColumn columnCreateDate_Employee;
- private DataColumn columnDuty_Employee;
- private DataColumn columnProbation_Employee;
- private DataColumn columnOnJobDate_Employee;
- private DataColumn columnOnDuty_Employee;
- private DataColumn columnObJobStatus_Employee;
- private DataColumn columnOffDuty_Employee;
- private DataColumn columnSuspendDate_Employee;
- private DataColumn columnTel_Employee;
- private DataColumn columnEMail_Employee;
- private DataColumn columnAddress_Employee;
- private DataColumn columnComment_Employee;
- private DataColumn columnLastModDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn No_EmployeeColumn => columnNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn Name_EmployeeColumn => columnName_Employee;
- [DebuggerNonUserCode]
- public DataColumn EmployeeNo_EmployeeColumn => columnEmployeeNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn NameEng_EmployeeColumn => columnNameEng_Employee;
- [DebuggerNonUserCode]
- public DataColumn Gender_EmployeeColumn => columnGender_Employee;
- [DebuggerNonUserCode]
- public DataColumn Country_EmployeeColumn => columnCountry_Employee;
- [DebuggerNonUserCode]
- public DataColumn Homeplace_EmployeeColumn => columnHomeplace_Employee;
- [DebuggerNonUserCode]
- public DataColumn Nation_EmployeeColumn => columnNation_Employee;
- [DebuggerNonUserCode]
- public DataColumn IDNo_EmployeeColumn => columnIDNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn Passport_EmployeeColumn => columnPassport_Employee;
- [DebuggerNonUserCode]
- public DataColumn IsMarried_EmployeeColumn => columnIsMarried_Employee;
- [DebuggerNonUserCode]
- public DataColumn CreateDate_EmployeeColumn => columnCreateDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn Duty_EmployeeColumn => columnDuty_Employee;
- [DebuggerNonUserCode]
- public DataColumn Probation_EmployeeColumn => columnProbation_Employee;
- [DebuggerNonUserCode]
- public DataColumn OnJobDate_EmployeeColumn => columnOnJobDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn OnDuty_EmployeeColumn => columnOnDuty_Employee;
- [DebuggerNonUserCode]
- public DataColumn ObJobStatus_EmployeeColumn => columnObJobStatus_Employee;
- [DebuggerNonUserCode]
- public DataColumn OffDuty_EmployeeColumn => columnOffDuty_Employee;
- [DebuggerNonUserCode]
- public DataColumn SuspendDate_EmployeeColumn => columnSuspendDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn Tel_EmployeeColumn => columnTel_Employee;
- [DebuggerNonUserCode]
- public DataColumn EMail_EmployeeColumn => columnEMail_Employee;
- [DebuggerNonUserCode]
- public DataColumn Address_EmployeeColumn => columnAddress_Employee;
- [DebuggerNonUserCode]
- public DataColumn Comment_EmployeeColumn => columnComment_Employee;
- [DebuggerNonUserCode]
- public DataColumn LastModDate_EmployeeColumn => columnLastModDate_Employee;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public EmployeeRow this[int index] => (EmployeeRow)base.Rows[index];
- public event EmployeeRowChangeEventHandler EmployeeRowChanging;
- public event EmployeeRowChangeEventHandler EmployeeRowChanged;
- public event EmployeeRowChangeEventHandler EmployeeRowDeleting;
- public event EmployeeRowChangeEventHandler EmployeeRowDeleted;
- [DebuggerNonUserCode]
- public EmployeeDataTable()
- {
- base.TableName = "Employee";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal EmployeeDataTable(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 EmployeeDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddEmployeeRow(EmployeeRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public EmployeeRow AddEmployeeRow(string No_Employee, string Name_Employee, string EmployeeNo_Employee, string NameEng_Employee, bool Gender_Employee, int Country_Employee, string Homeplace_Employee, string Nation_Employee, string IDNo_Employee, string Passport_Employee, bool IsMarried_Employee, DateTime CreateDate_Employee, string Duty_Employee, decimal Probation_Employee, DateTime OnJobDate_Employee, DateTime OnDuty_Employee, int ObJobStatus_Employee, DateTime OffDuty_Employee, DateTime SuspendDate_Employee, string Tel_Employee, string EMail_Employee, string Address_Employee, string Comment_Employee, DateTime LastModDate_Employee)
- {
- EmployeeRow employeeRow = (EmployeeRow)NewRow();
- employeeRow.ItemArray = new object[24]
- {
- No_Employee,
- Name_Employee,
- EmployeeNo_Employee,
- NameEng_Employee,
- Gender_Employee,
- Country_Employee,
- Homeplace_Employee,
- Nation_Employee,
- IDNo_Employee,
- Passport_Employee,
- IsMarried_Employee,
- CreateDate_Employee,
- Duty_Employee,
- Probation_Employee,
- OnJobDate_Employee,
- OnDuty_Employee,
- ObJobStatus_Employee,
- OffDuty_Employee,
- SuspendDate_Employee,
- Tel_Employee,
- EMail_Employee,
- Address_Employee,
- Comment_Employee,
- LastModDate_Employee
- };
- base.Rows.Add(employeeRow);
- return employeeRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- EmployeeDataTable employeeDataTable = (EmployeeDataTable)base.Clone();
- employeeDataTable.InitVars();
- return employeeDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new EmployeeDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_Employee = base.Columns["No_Employee"];
- columnName_Employee = base.Columns["Name_Employee"];
- columnEmployeeNo_Employee = base.Columns["EmployeeNo_Employee"];
- columnNameEng_Employee = base.Columns["NameEng_Employee"];
- columnGender_Employee = base.Columns["Gender_Employee"];
- columnCountry_Employee = base.Columns["Country_Employee"];
- columnHomeplace_Employee = base.Columns["Homeplace_Employee"];
- columnNation_Employee = base.Columns["Nation_Employee"];
- columnIDNo_Employee = base.Columns["IDNo_Employee"];
- columnPassport_Employee = base.Columns["Passport_Employee"];
- columnIsMarried_Employee = base.Columns["IsMarried_Employee"];
- columnCreateDate_Employee = base.Columns["CreateDate_Employee"];
- columnDuty_Employee = base.Columns["Duty_Employee"];
- columnProbation_Employee = base.Columns["Probation_Employee"];
- columnOnJobDate_Employee = base.Columns["OnJobDate_Employee"];
- columnOnDuty_Employee = base.Columns["OnDuty_Employee"];
- columnObJobStatus_Employee = base.Columns["ObJobStatus_Employee"];
- columnOffDuty_Employee = base.Columns["OffDuty_Employee"];
- columnSuspendDate_Employee = base.Columns["SuspendDate_Employee"];
- columnTel_Employee = base.Columns["Tel_Employee"];
- columnEMail_Employee = base.Columns["EMail_Employee"];
- columnAddress_Employee = base.Columns["Address_Employee"];
- columnComment_Employee = base.Columns["Comment_Employee"];
- columnLastModDate_Employee = base.Columns["LastModDate_Employee"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Employee);
- columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Employee);
- columnEmployeeNo_Employee = new DataColumn("EmployeeNo_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEmployeeNo_Employee);
- columnNameEng_Employee = new DataColumn("NameEng_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNameEng_Employee);
- columnGender_Employee = new DataColumn("Gender_Employee", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnGender_Employee);
- columnCountry_Employee = new DataColumn("Country_Employee", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnCountry_Employee);
- columnHomeplace_Employee = new DataColumn("Homeplace_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnHomeplace_Employee);
- columnNation_Employee = new DataColumn("Nation_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNation_Employee);
- columnIDNo_Employee = new DataColumn("IDNo_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnIDNo_Employee);
- columnPassport_Employee = new DataColumn("Passport_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPassport_Employee);
- columnIsMarried_Employee = new DataColumn("IsMarried_Employee", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsMarried_Employee);
- columnCreateDate_Employee = new DataColumn("CreateDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate_Employee);
- columnDuty_Employee = new DataColumn("Duty_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnDuty_Employee);
- columnProbation_Employee = new DataColumn("Probation_Employee", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnProbation_Employee);
- columnOnJobDate_Employee = new DataColumn("OnJobDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnOnJobDate_Employee);
- columnOnDuty_Employee = new DataColumn("OnDuty_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnOnDuty_Employee);
- columnObJobStatus_Employee = new DataColumn("ObJobStatus_Employee", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnObJobStatus_Employee);
- columnOffDuty_Employee = new DataColumn("OffDuty_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnOffDuty_Employee);
- columnSuspendDate_Employee = new DataColumn("SuspendDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnSuspendDate_Employee);
- columnTel_Employee = new DataColumn("Tel_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTel_Employee);
- columnEMail_Employee = new DataColumn("EMail_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEMail_Employee);
- columnAddress_Employee = new DataColumn("Address_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnAddress_Employee);
- columnComment_Employee = new DataColumn("Comment_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Employee);
- columnLastModDate_Employee = new DataColumn("LastModDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnLastModDate_Employee);
- }
- [DebuggerNonUserCode]
- public EmployeeRow NewEmployeeRow()
- {
- return (EmployeeRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new EmployeeRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(EmployeeRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.EmployeeRowChanged != null)
- {
- this.EmployeeRowChanged(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.EmployeeRowChanging != null)
- {
- this.EmployeeRowChanging(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.EmployeeRowDeleted != null)
- {
- this.EmployeeRowDeleted(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.EmployeeRowDeleting != null)
- {
- this.EmployeeRowDeleting(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveEmployeeRow(EmployeeRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "EmployeeDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class FaxDataTable : DataTable, IEnumerable
- {
- private DataColumn columnName_Fax;
- private DataColumn columnNo_Fax;
- private DataColumn columnFocus_Fax;
- [DebuggerNonUserCode]
- public DataColumn Name_FaxColumn => columnName_Fax;
- [DebuggerNonUserCode]
- public DataColumn No_FaxColumn => columnNo_Fax;
- [DebuggerNonUserCode]
- public DataColumn Focus_FaxColumn => columnFocus_Fax;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public FaxRow this[int index] => (FaxRow)base.Rows[index];
- public event FaxRowChangeEventHandler FaxRowChanging;
- public event FaxRowChangeEventHandler FaxRowChanged;
- public event FaxRowChangeEventHandler FaxRowDeleting;
- public event FaxRowChangeEventHandler FaxRowDeleted;
- [DebuggerNonUserCode]
- public FaxDataTable()
- {
- base.TableName = "Fax";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal FaxDataTable(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 FaxDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddFaxRow(FaxRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public FaxRow AddFaxRow(string Name_Fax, string No_Fax, bool Focus_Fax)
- {
- FaxRow faxRow = (FaxRow)NewRow();
- faxRow.ItemArray = new object[3]
- {
- Name_Fax,
- No_Fax,
- Focus_Fax
- };
- base.Rows.Add(faxRow);
- return faxRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- FaxDataTable faxDataTable = (FaxDataTable)base.Clone();
- faxDataTable.InitVars();
- return faxDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new FaxDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnName_Fax = base.Columns["Name_Fax"];
- columnNo_Fax = base.Columns["No_Fax"];
- columnFocus_Fax = base.Columns["Focus_Fax"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnName_Fax = new DataColumn("Name_Fax", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Fax);
- columnNo_Fax = new DataColumn("No_Fax", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Fax);
- columnFocus_Fax = new DataColumn("Focus_Fax", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnFocus_Fax);
- }
- [DebuggerNonUserCode]
- public FaxRow NewFaxRow()
- {
- return (FaxRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new FaxRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(FaxRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.FaxRowChanged != null)
- {
- this.FaxRowChanged(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.FaxRowChanging != null)
- {
- this.FaxRowChanging(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.FaxRowDeleted != null)
- {
- this.FaxRowDeleted(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.FaxRowDeleting != null)
- {
- this.FaxRowDeleting(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveFaxRow(FaxRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "FaxDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class SupplierDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_Supplier;
- private DataColumn columnShortName_Supplier;
- private DataColumn columnName_Supplier;
- private DataColumn columnRegistedAddress_Supplier;
- private DataColumn columnCountry_Supplier;
- private DataColumn columnPostalCode_Supplier;
- private DataColumn columnCreateDate_Supplier;
- private DataColumn columnComment_Supplier;
- private DataColumn columnSuspendDate_Supplier;
- private DataColumn columnLastModDate_Supplier;
- private DataColumn columnCreatorName_Supplier;
- private DataColumn columnLastModUser_SupplierName;
- private DataColumn columnCountryName;
- [DebuggerNonUserCode]
- public DataColumn No_SupplierColumn => columnNo_Supplier;
- [DebuggerNonUserCode]
- public DataColumn ShortName_SupplierColumn => columnShortName_Supplier;
- [DebuggerNonUserCode]
- public DataColumn Name_SupplierColumn => columnName_Supplier;
- [DebuggerNonUserCode]
- public DataColumn RegistedAddress_SupplierColumn => columnRegistedAddress_Supplier;
- [DebuggerNonUserCode]
- public DataColumn Country_SupplierColumn => columnCountry_Supplier;
- [DebuggerNonUserCode]
- public DataColumn PostalCode_SupplierColumn => columnPostalCode_Supplier;
- [DebuggerNonUserCode]
- public DataColumn CreateDate_SupplierColumn => columnCreateDate_Supplier;
- [DebuggerNonUserCode]
- public DataColumn Comment_SupplierColumn => columnComment_Supplier;
- [DebuggerNonUserCode]
- public DataColumn SuspendDate_SupplierColumn => columnSuspendDate_Supplier;
- [DebuggerNonUserCode]
- public DataColumn LastModDate_SupplierColumn => columnLastModDate_Supplier;
- [DebuggerNonUserCode]
- public DataColumn CreatorName_SupplierColumn => columnCreatorName_Supplier;
- [DebuggerNonUserCode]
- public DataColumn LastModUser_SupplierNameColumn => columnLastModUser_SupplierName;
- [DebuggerNonUserCode]
- public DataColumn CountryNameColumn => columnCountryName;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public SupplierRow this[int index] => (SupplierRow)base.Rows[index];
- public event SupplierRowChangeEventHandler SupplierRowChanging;
- public event SupplierRowChangeEventHandler SupplierRowChanged;
- public event SupplierRowChangeEventHandler SupplierRowDeleting;
- public event SupplierRowChangeEventHandler SupplierRowDeleted;
- [DebuggerNonUserCode]
- public SupplierDataTable()
- {
- base.TableName = "Supplier";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal SupplierDataTable(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 SupplierDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddSupplierRow(SupplierRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public SupplierRow AddSupplierRow(string No_Supplier, string ShortName_Supplier, string Name_Supplier, string RegistedAddress_Supplier, int Country_Supplier, string PostalCode_Supplier, DateTime CreateDate_Supplier, string Comment_Supplier, DateTime SuspendDate_Supplier, DateTime LastModDate_Supplier, string CreatorName_Supplier, string LastModUser_SupplierName, string CountryName)
- {
- SupplierRow supplierRow = (SupplierRow)NewRow();
- supplierRow.ItemArray = new object[13]
- {
- No_Supplier,
- ShortName_Supplier,
- Name_Supplier,
- RegistedAddress_Supplier,
- Country_Supplier,
- PostalCode_Supplier,
- CreateDate_Supplier,
- Comment_Supplier,
- SuspendDate_Supplier,
- LastModDate_Supplier,
- CreatorName_Supplier,
- LastModUser_SupplierName,
- CountryName
- };
- base.Rows.Add(supplierRow);
- return supplierRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- SupplierDataTable supplierDataTable = (SupplierDataTable)base.Clone();
- supplierDataTable.InitVars();
- return supplierDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new SupplierDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_Supplier = base.Columns["No_Supplier"];
- columnShortName_Supplier = base.Columns["ShortName_Supplier"];
- columnName_Supplier = base.Columns["Name_Supplier"];
- columnRegistedAddress_Supplier = base.Columns["RegistedAddress_Supplier"];
- columnCountry_Supplier = base.Columns["Country_Supplier"];
- columnPostalCode_Supplier = base.Columns["PostalCode_Supplier"];
- columnCreateDate_Supplier = base.Columns["CreateDate_Supplier"];
- columnComment_Supplier = base.Columns["Comment_Supplier"];
- columnSuspendDate_Supplier = base.Columns["SuspendDate_Supplier"];
- columnLastModDate_Supplier = base.Columns["LastModDate_Supplier"];
- columnCreatorName_Supplier = base.Columns["CreatorName_Supplier"];
- columnLastModUser_SupplierName = base.Columns["LastModUser_SupplierName"];
- columnCountryName = base.Columns["CountryName"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_Supplier = new DataColumn("No_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Supplier);
- columnShortName_Supplier = new DataColumn("ShortName_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnShortName_Supplier);
- columnName_Supplier = new DataColumn("Name_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Supplier);
- columnRegistedAddress_Supplier = new DataColumn("RegistedAddress_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnRegistedAddress_Supplier);
- columnCountry_Supplier = new DataColumn("Country_Supplier", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnCountry_Supplier);
- columnPostalCode_Supplier = new DataColumn("PostalCode_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPostalCode_Supplier);
- columnCreateDate_Supplier = new DataColumn("CreateDate_Supplier", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate_Supplier);
- columnComment_Supplier = new DataColumn("Comment_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Supplier);
- columnSuspendDate_Supplier = new DataColumn("SuspendDate_Supplier", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnSuspendDate_Supplier);
- columnLastModDate_Supplier = new DataColumn("LastModDate_Supplier", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnLastModDate_Supplier);
- columnCreatorName_Supplier = new DataColumn("CreatorName_Supplier", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCreatorName_Supplier);
- columnLastModUser_SupplierName = new DataColumn("LastModUser_SupplierName", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnLastModUser_SupplierName);
- columnCountryName = new DataColumn("CountryName", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCountryName);
- }
- [DebuggerNonUserCode]
- public SupplierRow NewSupplierRow()
- {
- return (SupplierRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new SupplierRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(SupplierRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.SupplierRowChanged != null)
- {
- this.SupplierRowChanged(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.SupplierRowChanging != null)
- {
- this.SupplierRowChanging(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.SupplierRowDeleted != null)
- {
- this.SupplierRowDeleted(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.SupplierRowDeleting != null)
- {
- this.SupplierRowDeleting(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveSupplierRow(SupplierRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "SupplierDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class LinkmanDataTable : DataTable, IEnumerable
- {
- private DataColumn columnName_Linkman;
- private DataColumn columnDepartment_Linkman;
- private DataColumn columnDuty_Linkman;
- private DataColumn columnTel_Linkman;
- private DataColumn columnFax_Linkman;
- private DataColumn columnMobile_Linkman;
- private DataColumn columnEmail_Linkman;
- private DataColumn columnIsMain_Linkman;
- private DataColumn columnComment_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Name_LinkmanColumn => columnName_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Department_LinkmanColumn => columnDepartment_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Duty_LinkmanColumn => columnDuty_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Tel_LinkmanColumn => columnTel_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Fax_LinkmanColumn => columnFax_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Mobile_LinkmanColumn => columnMobile_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Email_LinkmanColumn => columnEmail_Linkman;
- [DebuggerNonUserCode]
- public DataColumn IsMain_LinkmanColumn => columnIsMain_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Comment_LinkmanColumn => columnComment_Linkman;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public LinkmanRow this[int index] => (LinkmanRow)base.Rows[index];
- public event LinkmanRowChangeEventHandler LinkmanRowChanging;
- public event LinkmanRowChangeEventHandler LinkmanRowChanged;
- public event LinkmanRowChangeEventHandler LinkmanRowDeleting;
- public event LinkmanRowChangeEventHandler LinkmanRowDeleted;
- [DebuggerNonUserCode]
- public LinkmanDataTable()
- {
- base.TableName = "Linkman";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal LinkmanDataTable(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 LinkmanDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddLinkmanRow(LinkmanRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public LinkmanRow AddLinkmanRow(string Name_Linkman, string Department_Linkman, string Duty_Linkman, string Tel_Linkman, string Fax_Linkman, string Mobile_Linkman, string Email_Linkman, bool IsMain_Linkman, string Comment_Linkman)
- {
- LinkmanRow linkmanRow = (LinkmanRow)NewRow();
- linkmanRow.ItemArray = new object[9]
- {
- Name_Linkman,
- Department_Linkman,
- Duty_Linkman,
- Tel_Linkman,
- Fax_Linkman,
- Mobile_Linkman,
- Email_Linkman,
- IsMain_Linkman,
- Comment_Linkman
- };
- base.Rows.Add(linkmanRow);
- return linkmanRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- LinkmanDataTable linkmanDataTable = (LinkmanDataTable)base.Clone();
- linkmanDataTable.InitVars();
- return linkmanDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new LinkmanDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnName_Linkman = base.Columns["Name_Linkman"];
- columnDepartment_Linkman = base.Columns["Department_Linkman"];
- columnDuty_Linkman = base.Columns["Duty_Linkman"];
- columnTel_Linkman = base.Columns["Tel_Linkman"];
- columnFax_Linkman = base.Columns["Fax_Linkman"];
- columnMobile_Linkman = base.Columns["Mobile_Linkman"];
- columnEmail_Linkman = base.Columns["Email_Linkman"];
- columnIsMain_Linkman = base.Columns["IsMain_Linkman"];
- columnComment_Linkman = base.Columns["Comment_Linkman"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Linkman);
- columnDepartment_Linkman = new DataColumn("Department_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnDepartment_Linkman);
- columnDuty_Linkman = new DataColumn("Duty_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnDuty_Linkman);
- columnTel_Linkman = new DataColumn("Tel_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTel_Linkman);
- columnFax_Linkman = new DataColumn("Fax_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnFax_Linkman);
- columnMobile_Linkman = new DataColumn("Mobile_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnMobile_Linkman);
- columnEmail_Linkman = new DataColumn("Email_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEmail_Linkman);
- columnIsMain_Linkman = new DataColumn("IsMain_Linkman", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsMain_Linkman);
- columnComment_Linkman = new DataColumn("Comment_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Linkman);
- }
- [DebuggerNonUserCode]
- public LinkmanRow NewLinkmanRow()
- {
- return (LinkmanRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new LinkmanRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(LinkmanRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.LinkmanRowChanged != null)
- {
- this.LinkmanRowChanged(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.LinkmanRowChanging != null)
- {
- this.LinkmanRowChanging(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.LinkmanRowDeleted != null)
- {
- this.LinkmanRowDeleted(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.LinkmanRowDeleting != null)
- {
- this.LinkmanRowDeleting(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveLinkmanRow(LinkmanRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "LinkmanDataTable";
- 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();
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- xs.Add(dsFrmSupplier.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 = dsFrmSupplier.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 TelephoneRow : DataRow
- {
- private TelephoneDataTable tableTelephone;
- [DebuggerNonUserCode]
- public string Name_Telephone
- {
- get
- {
- try
- {
- return (string)base[tableTelephone.Name_TelephoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Telephone' in table 'Telephone' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableTelephone.Name_TelephoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Telephone
- {
- get
- {
- try
- {
- return (string)base[tableTelephone.No_TelephoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Telephone' in table 'Telephone' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableTelephone.No_TelephoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Focus_Telephone
- {
- get
- {
- try
- {
- return (bool)base[tableTelephone.Focus_TelephoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Focus_Telephone' in table 'Telephone' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableTelephone.Focus_TelephoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal TelephoneRow(DataRowBuilder rb)
- : base(rb)
- {
- tableTelephone = (TelephoneDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsName_TelephoneNull()
- {
- return IsNull(tableTelephone.Name_TelephoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_TelephoneNull()
- {
- base[tableTelephone.Name_TelephoneColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_TelephoneNull()
- {
- return IsNull(tableTelephone.No_TelephoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_TelephoneNull()
- {
- base[tableTelephone.No_TelephoneColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsFocus_TelephoneNull()
- {
- return IsNull(tableTelephone.Focus_TelephoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetFocus_TelephoneNull()
- {
- base[tableTelephone.Focus_TelephoneColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PrincipalRow : DataRow
- {
- private PrincipalDataTable tablePrincipal;
- [DebuggerNonUserCode]
- public bool IsMain_Principal
- {
- get
- {
- try
- {
- return (bool)base[tablePrincipal.IsMain_PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsMain_Principal' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.IsMain_PrincipalColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Principal
- {
- get
- {
- try
- {
- return (string)base[tablePrincipal.Comment_PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Principal' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.Comment_PrincipalColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Employee
- {
- get
- {
- try
- {
- return (string)base[tablePrincipal.Name_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Employee' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.Name_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Employee
- {
- get
- {
- try
- {
- return (string)base[tablePrincipal.No_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Employee' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.No_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal PrincipalRow(DataRowBuilder rb)
- : base(rb)
- {
- tablePrincipal = (PrincipalDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsIsMain_PrincipalNull()
- {
- return IsNull(tablePrincipal.IsMain_PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsMain_PrincipalNull()
- {
- base[tablePrincipal.IsMain_PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_PrincipalNull()
- {
- return IsNull(tablePrincipal.Comment_PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_PrincipalNull()
- {
- base[tablePrincipal.Comment_PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_EmployeeNull()
- {
- return IsNull(tablePrincipal.Name_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_EmployeeNull()
- {
- base[tablePrincipal.Name_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_EmployeeNull()
- {
- return IsNull(tablePrincipal.No_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_EmployeeNull()
- {
- base[tablePrincipal.No_EmployeeColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class EmployeeRow : DataRow
- {
- private EmployeeDataTable tableEmployee;
- [DebuggerNonUserCode]
- public string No_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.No_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.No_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Name_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Name_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EmployeeNo_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.EmployeeNo_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EmployeeNo_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.EmployeeNo_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string NameEng_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.NameEng_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'NameEng_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.NameEng_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Gender_Employee
- {
- get
- {
- try
- {
- return (bool)base[tableEmployee.Gender_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Gender_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Gender_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int Country_Employee
- {
- get
- {
- try
- {
- return (int)base[tableEmployee.Country_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Country_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Country_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Homeplace_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Homeplace_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Homeplace_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Homeplace_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Nation_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Nation_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Nation_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Nation_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string IDNo_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.IDNo_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IDNo_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.IDNo_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Passport_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Passport_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Passport_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Passport_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool IsMarried_Employee
- {
- get
- {
- try
- {
- return (bool)base[tableEmployee.IsMarried_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsMarried_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.IsMarried_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.CreateDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.CreateDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Duty_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Duty_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Duty_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Duty_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Probation_Employee
- {
- get
- {
- try
- {
- return (decimal)base[tableEmployee.Probation_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Probation_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Probation_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime OnJobDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.OnJobDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'OnJobDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.OnJobDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime OnDuty_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.OnDuty_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'OnDuty_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.OnDuty_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int ObJobStatus_Employee
- {
- get
- {
- try
- {
- return (int)base[tableEmployee.ObJobStatus_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ObJobStatus_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.ObJobStatus_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime OffDuty_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.OffDuty_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'OffDuty_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.OffDuty_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime SuspendDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.SuspendDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SuspendDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.SuspendDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Tel_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Tel_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Tel_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Tel_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EMail_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.EMail_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EMail_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.EMail_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Address_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Address_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Address_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Address_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Comment_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Comment_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime LastModDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.LastModDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.LastModDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal EmployeeRow(DataRowBuilder rb)
- : base(rb)
- {
- tableEmployee = (EmployeeDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_EmployeeNull()
- {
- return IsNull(tableEmployee.No_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_EmployeeNull()
- {
- base[tableEmployee.No_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_EmployeeNull()
- {
- return IsNull(tableEmployee.Name_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_EmployeeNull()
- {
- base[tableEmployee.Name_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEmployeeNo_EmployeeNull()
- {
- return IsNull(tableEmployee.EmployeeNo_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetEmployeeNo_EmployeeNull()
- {
- base[tableEmployee.EmployeeNo_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNameEng_EmployeeNull()
- {
- return IsNull(tableEmployee.NameEng_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNameEng_EmployeeNull()
- {
- base[tableEmployee.NameEng_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsGender_EmployeeNull()
- {
- return IsNull(tableEmployee.Gender_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetGender_EmployeeNull()
- {
- base[tableEmployee.Gender_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCountry_EmployeeNull()
- {
- return IsNull(tableEmployee.Country_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetCountry_EmployeeNull()
- {
- base[tableEmployee.Country_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsHomeplace_EmployeeNull()
- {
- return IsNull(tableEmployee.Homeplace_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetHomeplace_EmployeeNull()
- {
- base[tableEmployee.Homeplace_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNation_EmployeeNull()
- {
- return IsNull(tableEmployee.Nation_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNation_EmployeeNull()
- {
- base[tableEmployee.Nation_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIDNo_EmployeeNull()
- {
- return IsNull(tableEmployee.IDNo_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetIDNo_EmployeeNull()
- {
- base[tableEmployee.IDNo_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPassport_EmployeeNull()
- {
- return IsNull(tableEmployee.Passport_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetPassport_EmployeeNull()
- {
- base[tableEmployee.Passport_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIsMarried_EmployeeNull()
- {
- return IsNull(tableEmployee.IsMarried_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsMarried_EmployeeNull()
- {
- base[tableEmployee.IsMarried_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDate_EmployeeNull()
- {
- return IsNull(tableEmployee.CreateDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDate_EmployeeNull()
- {
- base[tableEmployee.CreateDate_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDuty_EmployeeNull()
- {
- return IsNull(tableEmployee.Duty_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetDuty_EmployeeNull()
- {
- base[tableEmployee.Duty_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsProbation_EmployeeNull()
- {
- return IsNull(tableEmployee.Probation_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetProbation_EmployeeNull()
- {
- base[tableEmployee.Probation_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOnJobDate_EmployeeNull()
- {
- return IsNull(tableEmployee.OnJobDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetOnJobDate_EmployeeNull()
- {
- base[tableEmployee.OnJobDate_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOnDuty_EmployeeNull()
- {
- return IsNull(tableEmployee.OnDuty_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetOnDuty_EmployeeNull()
- {
- base[tableEmployee.OnDuty_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsObJobStatus_EmployeeNull()
- {
- return IsNull(tableEmployee.ObJobStatus_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetObJobStatus_EmployeeNull()
- {
- base[tableEmployee.ObJobStatus_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOffDuty_EmployeeNull()
- {
- return IsNull(tableEmployee.OffDuty_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetOffDuty_EmployeeNull()
- {
- base[tableEmployee.OffDuty_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSuspendDate_EmployeeNull()
- {
- return IsNull(tableEmployee.SuspendDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetSuspendDate_EmployeeNull()
- {
- base[tableEmployee.SuspendDate_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTel_EmployeeNull()
- {
- return IsNull(tableEmployee.Tel_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetTel_EmployeeNull()
- {
- base[tableEmployee.Tel_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEMail_EmployeeNull()
- {
- return IsNull(tableEmployee.EMail_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetEMail_EmployeeNull()
- {
- base[tableEmployee.EMail_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAddress_EmployeeNull()
- {
- return IsNull(tableEmployee.Address_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetAddress_EmployeeNull()
- {
- base[tableEmployee.Address_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_EmployeeNull()
- {
- return IsNull(tableEmployee.Comment_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_EmployeeNull()
- {
- base[tableEmployee.Comment_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModDate_EmployeeNull()
- {
- return IsNull(tableEmployee.LastModDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModDate_EmployeeNull()
- {
- base[tableEmployee.LastModDate_EmployeeColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FaxRow : DataRow
- {
- private FaxDataTable tableFax;
- [DebuggerNonUserCode]
- public string Name_Fax
- {
- get
- {
- try
- {
- return (string)base[tableFax.Name_FaxColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Fax' in table 'Fax' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFax.Name_FaxColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Fax
- {
- get
- {
- try
- {
- return (string)base[tableFax.No_FaxColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Fax' in table 'Fax' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFax.No_FaxColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Focus_Fax
- {
- get
- {
- try
- {
- return (bool)base[tableFax.Focus_FaxColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Focus_Fax' in table 'Fax' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFax.Focus_FaxColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal FaxRow(DataRowBuilder rb)
- : base(rb)
- {
- tableFax = (FaxDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsName_FaxNull()
- {
- return IsNull(tableFax.Name_FaxColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_FaxNull()
- {
- base[tableFax.Name_FaxColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_FaxNull()
- {
- return IsNull(tableFax.No_FaxColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_FaxNull()
- {
- base[tableFax.No_FaxColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsFocus_FaxNull()
- {
- return IsNull(tableFax.Focus_FaxColumn);
- }
- [DebuggerNonUserCode]
- public void SetFocus_FaxNull()
- {
- base[tableFax.Focus_FaxColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class SupplierRow : DataRow
- {
- private SupplierDataTable tableSupplier;
- [DebuggerNonUserCode]
- public string No_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.No_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.No_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string ShortName_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.ShortName_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ShortName_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.ShortName_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.Name_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.Name_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string RegistedAddress_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.RegistedAddress_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'RegistedAddress_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.RegistedAddress_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int Country_Supplier
- {
- get
- {
- try
- {
- return (int)base[tableSupplier.Country_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Country_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.Country_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string PostalCode_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.PostalCode_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'PostalCode_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.PostalCode_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate_Supplier
- {
- get
- {
- try
- {
- return (DateTime)base[tableSupplier.CreateDate_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.CreateDate_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.Comment_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.Comment_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime SuspendDate_Supplier
- {
- get
- {
- try
- {
- return (DateTime)base[tableSupplier.SuspendDate_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SuspendDate_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.SuspendDate_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime LastModDate_Supplier
- {
- get
- {
- try
- {
- return (DateTime)base[tableSupplier.LastModDate_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModDate_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.LastModDate_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CreatorName_Supplier
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.CreatorName_SupplierColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreatorName_Supplier' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.CreatorName_SupplierColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string LastModUser_SupplierName
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.LastModUser_SupplierNameColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModUser_SupplierName' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.LastModUser_SupplierNameColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CountryName
- {
- get
- {
- try
- {
- return (string)base[tableSupplier.CountryNameColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CountryName' in table 'Supplier' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableSupplier.CountryNameColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal SupplierRow(DataRowBuilder rb)
- : base(rb)
- {
- tableSupplier = (SupplierDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_SupplierNull()
- {
- return IsNull(tableSupplier.No_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_SupplierNull()
- {
- base[tableSupplier.No_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsShortName_SupplierNull()
- {
- return IsNull(tableSupplier.ShortName_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetShortName_SupplierNull()
- {
- base[tableSupplier.ShortName_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_SupplierNull()
- {
- return IsNull(tableSupplier.Name_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_SupplierNull()
- {
- base[tableSupplier.Name_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsRegistedAddress_SupplierNull()
- {
- return IsNull(tableSupplier.RegistedAddress_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetRegistedAddress_SupplierNull()
- {
- base[tableSupplier.RegistedAddress_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCountry_SupplierNull()
- {
- return IsNull(tableSupplier.Country_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetCountry_SupplierNull()
- {
- base[tableSupplier.Country_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPostalCode_SupplierNull()
- {
- return IsNull(tableSupplier.PostalCode_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetPostalCode_SupplierNull()
- {
- base[tableSupplier.PostalCode_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDate_SupplierNull()
- {
- return IsNull(tableSupplier.CreateDate_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDate_SupplierNull()
- {
- base[tableSupplier.CreateDate_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_SupplierNull()
- {
- return IsNull(tableSupplier.Comment_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_SupplierNull()
- {
- base[tableSupplier.Comment_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSuspendDate_SupplierNull()
- {
- return IsNull(tableSupplier.SuspendDate_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetSuspendDate_SupplierNull()
- {
- base[tableSupplier.SuspendDate_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModDate_SupplierNull()
- {
- return IsNull(tableSupplier.LastModDate_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModDate_SupplierNull()
- {
- base[tableSupplier.LastModDate_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreatorName_SupplierNull()
- {
- return IsNull(tableSupplier.CreatorName_SupplierColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreatorName_SupplierNull()
- {
- base[tableSupplier.CreatorName_SupplierColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModUser_SupplierNameNull()
- {
- return IsNull(tableSupplier.LastModUser_SupplierNameColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModUser_SupplierNameNull()
- {
- base[tableSupplier.LastModUser_SupplierNameColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCountryNameNull()
- {
- return IsNull(tableSupplier.CountryNameColumn);
- }
- [DebuggerNonUserCode]
- public void SetCountryNameNull()
- {
- base[tableSupplier.CountryNameColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class LinkmanRow : DataRow
- {
- private LinkmanDataTable tableLinkman;
- [DebuggerNonUserCode]
- public string Name_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Name_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Name_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Department_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Department_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Department_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Department_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Duty_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Duty_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Duty_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Duty_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Tel_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Tel_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Tel_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Tel_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Fax_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Fax_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Fax_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Fax_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Mobile_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Mobile_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Mobile_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Mobile_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Email_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Email_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Email_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Email_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool IsMain_Linkman
- {
- get
- {
- try
- {
- return (bool)base[tableLinkman.IsMain_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsMain_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.IsMain_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Comment_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Comment_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal LinkmanRow(DataRowBuilder rb)
- : base(rb)
- {
- tableLinkman = (LinkmanDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsName_LinkmanNull()
- {
- return IsNull(tableLinkman.Name_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_LinkmanNull()
- {
- base[tableLinkman.Name_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDepartment_LinkmanNull()
- {
- return IsNull(tableLinkman.Department_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetDepartment_LinkmanNull()
- {
- base[tableLinkman.Department_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDuty_LinkmanNull()
- {
- return IsNull(tableLinkman.Duty_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetDuty_LinkmanNull()
- {
- base[tableLinkman.Duty_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTel_LinkmanNull()
- {
- return IsNull(tableLinkman.Tel_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetTel_LinkmanNull()
- {
- base[tableLinkman.Tel_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsFax_LinkmanNull()
- {
- return IsNull(tableLinkman.Fax_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetFax_LinkmanNull()
- {
- base[tableLinkman.Fax_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsMobile_LinkmanNull()
- {
- return IsNull(tableLinkman.Mobile_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetMobile_LinkmanNull()
- {
- base[tableLinkman.Mobile_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEmail_LinkmanNull()
- {
- return IsNull(tableLinkman.Email_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetEmail_LinkmanNull()
- {
- base[tableLinkman.Email_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIsMain_LinkmanNull()
- {
- return IsNull(tableLinkman.IsMain_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsMain_LinkmanNull()
- {
- base[tableLinkman.IsMain_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_LinkmanNull()
- {
- return IsNull(tableLinkman.Comment_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_LinkmanNull()
- {
- base[tableLinkman.Comment_LinkmanColumn] = 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 TelephoneRowChangeEvent : EventArgs
- {
- private TelephoneRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public TelephoneRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public TelephoneRowChangeEvent(TelephoneRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PrincipalRowChangeEvent : EventArgs
- {
- private PrincipalRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public PrincipalRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public PrincipalRowChangeEvent(PrincipalRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class EmployeeRowChangeEvent : EventArgs
- {
- private EmployeeRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public EmployeeRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public EmployeeRowChangeEvent(EmployeeRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FaxRowChangeEvent : EventArgs
- {
- private FaxRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public FaxRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public FaxRowChangeEvent(FaxRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class SupplierRowChangeEvent : EventArgs
- {
- private SupplierRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public SupplierRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public SupplierRowChangeEvent(SupplierRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class LinkmanRowChangeEvent : EventArgs
- {
- private LinkmanRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public LinkmanRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public LinkmanRowChangeEvent(LinkmanRow 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 TelephoneDataTable tableTelephone;
- private PrincipalDataTable tablePrincipal;
- private EmployeeDataTable tableEmployee;
- private FaxDataTable tableFax;
- private SupplierDataTable tableSupplier;
- private LinkmanDataTable tableLinkman;
- private AppendInfoDataTable tableAppendInfo;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- [DebuggerNonUserCode]
- public TelephoneDataTable Telephone => tableTelephone;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public PrincipalDataTable Principal => tablePrincipal;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- public EmployeeDataTable Employee => tableEmployee;
- [DebuggerNonUserCode]
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- public FaxDataTable Fax => tableFax;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public SupplierDataTable Supplier => tableSupplier;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- public LinkmanDataTable Linkman => tableLinkman;
- [Browsable(false)]
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- public AppendInfoDataTable AppendInfo => tableAppendInfo;
- [DebuggerNonUserCode]
- [Browsable(true)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataTableCollection Tables => base.Tables;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsFrmSupplier()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsFrmSupplier(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["Telephone"] != null)
- {
- base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
- }
- if (dataSet.Tables["Principal"] != null)
- {
- base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
- }
- if (dataSet.Tables["Employee"] != null)
- {
- base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
- }
- if (dataSet.Tables["Fax"] != null)
- {
- base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
- }
- if (dataSet.Tables["Supplier"] != null)
- {
- base.Tables.Add(new SupplierDataTable(dataSet.Tables["Supplier"]));
- }
- if (dataSet.Tables["Linkman"] != null)
- {
- base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
- }
- 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()
- {
- dsFrmSupplier dsFrmSupplier = (dsFrmSupplier)base.Clone();
- dsFrmSupplier.InitVars();
- dsFrmSupplier.SchemaSerializationMode = SchemaSerializationMode;
- return dsFrmSupplier;
- }
- [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["Telephone"] != null)
- {
- base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
- }
- if (dataSet.Tables["Principal"] != null)
- {
- base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
- }
- if (dataSet.Tables["Employee"] != null)
- {
- base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
- }
- if (dataSet.Tables["Fax"] != null)
- {
- base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
- }
- if (dataSet.Tables["Supplier"] != null)
- {
- base.Tables.Add(new SupplierDataTable(dataSet.Tables["Supplier"]));
- }
- if (dataSet.Tables["Linkman"] != null)
- {
- base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
- }
- 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)
- {
- tableTelephone = (TelephoneDataTable)base.Tables["Telephone"];
- if (initTable && tableTelephone != null)
- {
- tableTelephone.InitVars();
- }
- tablePrincipal = (PrincipalDataTable)base.Tables["Principal"];
- if (initTable && tablePrincipal != null)
- {
- tablePrincipal.InitVars();
- }
- tableEmployee = (EmployeeDataTable)base.Tables["Employee"];
- if (initTable && tableEmployee != null)
- {
- tableEmployee.InitVars();
- }
- tableFax = (FaxDataTable)base.Tables["Fax"];
- if (initTable && tableFax != null)
- {
- tableFax.InitVars();
- }
- tableSupplier = (SupplierDataTable)base.Tables["Supplier"];
- if (initTable && tableSupplier != null)
- {
- tableSupplier.InitVars();
- }
- tableLinkman = (LinkmanDataTable)base.Tables["Linkman"];
- if (initTable && tableLinkman != null)
- {
- tableLinkman.InitVars();
- }
- tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
- if (initTable && tableAppendInfo != null)
- {
- tableAppendInfo.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsFrmSupplier";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsFrmSupplier.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableTelephone = new TelephoneDataTable();
- base.Tables.Add(tableTelephone);
- tablePrincipal = new PrincipalDataTable();
- base.Tables.Add(tablePrincipal);
- tableEmployee = new EmployeeDataTable();
- base.Tables.Add(tableEmployee);
- tableFax = new FaxDataTable();
- base.Tables.Add(tableFax);
- tableSupplier = new SupplierDataTable();
- base.Tables.Add(tableSupplier);
- tableLinkman = new LinkmanDataTable();
- base.Tables.Add(tableLinkman);
- tableAppendInfo = new AppendInfoDataTable();
- base.Tables.Add(tableAppendInfo);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeTelephone()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializePrincipal()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeEmployee()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeFax()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeSupplier()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeLinkman()
- {
- 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)
- {
- dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsFrmSupplier.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsFrmSupplier.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|