dsFrmSupplier.cs 118 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416
  1. using System;
  2. using System.CodeDom.Compiler;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.ComponentModel.Design;
  6. using System.Data;
  7. using System.Diagnostics;
  8. using System.IO;
  9. using System.Runtime.Serialization;
  10. using System.Xml;
  11. using System.Xml.Schema;
  12. using System.Xml.Serialization;
  13. namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
  14. {
  15. [Serializable]
  16. [XmlSchemaProvider("GetTypedDataSetSchema")]
  17. [HelpKeyword("vs.data.DataSet")]
  18. [XmlRoot("dsFrmSupplier")]
  19. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  20. [DesignerCategory("code")]
  21. [ToolboxItem(true)]
  22. public class dsFrmSupplier : DataSet
  23. {
  24. public delegate void TelephoneRowChangeEventHandler(object sender, TelephoneRowChangeEvent e);
  25. public delegate void PrincipalRowChangeEventHandler(object sender, PrincipalRowChangeEvent e);
  26. public delegate void EmployeeRowChangeEventHandler(object sender, EmployeeRowChangeEvent e);
  27. public delegate void FaxRowChangeEventHandler(object sender, FaxRowChangeEvent e);
  28. public delegate void SupplierRowChangeEventHandler(object sender, SupplierRowChangeEvent e);
  29. public delegate void LinkmanRowChangeEventHandler(object sender, LinkmanRowChangeEvent e);
  30. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  31. [Serializable]
  32. [XmlSchemaProvider("GetTypedTableSchema")]
  33. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  34. public class TelephoneDataTable : DataTable, IEnumerable
  35. {
  36. private DataColumn columnName_Telephone;
  37. private DataColumn columnNo_Telephone;
  38. private DataColumn columnFocus_Telephone;
  39. [DebuggerNonUserCode]
  40. public DataColumn Name_TelephoneColumn => columnName_Telephone;
  41. [DebuggerNonUserCode]
  42. public DataColumn No_TelephoneColumn => columnNo_Telephone;
  43. [DebuggerNonUserCode]
  44. public DataColumn Focus_TelephoneColumn => columnFocus_Telephone;
  45. [DebuggerNonUserCode]
  46. [Browsable(false)]
  47. public int Count => base.Rows.Count;
  48. [DebuggerNonUserCode]
  49. public TelephoneRow this[int index] => (TelephoneRow)base.Rows[index];
  50. public event TelephoneRowChangeEventHandler TelephoneRowChanging;
  51. public event TelephoneRowChangeEventHandler TelephoneRowChanged;
  52. public event TelephoneRowChangeEventHandler TelephoneRowDeleting;
  53. public event TelephoneRowChangeEventHandler TelephoneRowDeleted;
  54. [DebuggerNonUserCode]
  55. public TelephoneDataTable()
  56. {
  57. base.TableName = "Telephone";
  58. BeginInit();
  59. InitClass();
  60. EndInit();
  61. }
  62. [DebuggerNonUserCode]
  63. internal TelephoneDataTable(DataTable table)
  64. {
  65. base.TableName = table.TableName;
  66. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  67. {
  68. base.CaseSensitive = table.CaseSensitive;
  69. }
  70. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  71. {
  72. base.Locale = table.Locale;
  73. }
  74. if (table.Namespace != table.DataSet.Namespace)
  75. {
  76. base.Namespace = table.Namespace;
  77. }
  78. base.Prefix = table.Prefix;
  79. base.MinimumCapacity = table.MinimumCapacity;
  80. }
  81. [DebuggerNonUserCode]
  82. protected TelephoneDataTable(SerializationInfo info, StreamingContext context)
  83. : base(info, context)
  84. {
  85. InitVars();
  86. }
  87. [DebuggerNonUserCode]
  88. public void AddTelephoneRow(TelephoneRow row)
  89. {
  90. base.Rows.Add(row);
  91. }
  92. [DebuggerNonUserCode]
  93. public TelephoneRow AddTelephoneRow(string Name_Telephone, string No_Telephone, bool Focus_Telephone)
  94. {
  95. TelephoneRow telephoneRow = (TelephoneRow)NewRow();
  96. telephoneRow.ItemArray = new object[3]
  97. {
  98. Name_Telephone,
  99. No_Telephone,
  100. Focus_Telephone
  101. };
  102. base.Rows.Add(telephoneRow);
  103. return telephoneRow;
  104. }
  105. [DebuggerNonUserCode]
  106. public virtual IEnumerator GetEnumerator()
  107. {
  108. return base.Rows.GetEnumerator();
  109. }
  110. [DebuggerNonUserCode]
  111. public override DataTable Clone()
  112. {
  113. TelephoneDataTable telephoneDataTable = (TelephoneDataTable)base.Clone();
  114. telephoneDataTable.InitVars();
  115. return telephoneDataTable;
  116. }
  117. [DebuggerNonUserCode]
  118. protected override DataTable CreateInstance()
  119. {
  120. return new TelephoneDataTable();
  121. }
  122. [DebuggerNonUserCode]
  123. internal void InitVars()
  124. {
  125. columnName_Telephone = base.Columns["Name_Telephone"];
  126. columnNo_Telephone = base.Columns["No_Telephone"];
  127. columnFocus_Telephone = base.Columns["Focus_Telephone"];
  128. }
  129. [DebuggerNonUserCode]
  130. private void InitClass()
  131. {
  132. columnName_Telephone = new DataColumn("Name_Telephone", typeof(string), null, MappingType.Element);
  133. base.Columns.Add(columnName_Telephone);
  134. columnNo_Telephone = new DataColumn("No_Telephone", typeof(string), null, MappingType.Element);
  135. base.Columns.Add(columnNo_Telephone);
  136. columnFocus_Telephone = new DataColumn("Focus_Telephone", typeof(bool), null, MappingType.Element);
  137. base.Columns.Add(columnFocus_Telephone);
  138. }
  139. [DebuggerNonUserCode]
  140. public TelephoneRow NewTelephoneRow()
  141. {
  142. return (TelephoneRow)NewRow();
  143. }
  144. [DebuggerNonUserCode]
  145. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  146. {
  147. return new TelephoneRow(builder);
  148. }
  149. [DebuggerNonUserCode]
  150. protected override Type GetRowType()
  151. {
  152. return typeof(TelephoneRow);
  153. }
  154. [DebuggerNonUserCode]
  155. protected override void OnRowChanged(DataRowChangeEventArgs e)
  156. {
  157. base.OnRowChanged(e);
  158. if (this.TelephoneRowChanged != null)
  159. {
  160. this.TelephoneRowChanged(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  161. }
  162. }
  163. [DebuggerNonUserCode]
  164. protected override void OnRowChanging(DataRowChangeEventArgs e)
  165. {
  166. base.OnRowChanging(e);
  167. if (this.TelephoneRowChanging != null)
  168. {
  169. this.TelephoneRowChanging(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  170. }
  171. }
  172. [DebuggerNonUserCode]
  173. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  174. {
  175. base.OnRowDeleted(e);
  176. if (this.TelephoneRowDeleted != null)
  177. {
  178. this.TelephoneRowDeleted(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  179. }
  180. }
  181. [DebuggerNonUserCode]
  182. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  183. {
  184. base.OnRowDeleting(e);
  185. if (this.TelephoneRowDeleting != null)
  186. {
  187. this.TelephoneRowDeleting(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  188. }
  189. }
  190. [DebuggerNonUserCode]
  191. public void RemoveTelephoneRow(TelephoneRow row)
  192. {
  193. base.Rows.Remove(row);
  194. }
  195. [DebuggerNonUserCode]
  196. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  197. {
  198. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  199. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  200. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  201. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  202. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  203. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  204. xmlSchemaAny.MinOccurs = 0m;
  205. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  206. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  207. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  208. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  209. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  210. xmlSchemaAny2.MinOccurs = 1m;
  211. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  212. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  213. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  214. xmlSchemaAttribute.Name = "namespace";
  215. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  216. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  217. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  218. xmlSchemaAttribute2.Name = "tableTypeName";
  219. xmlSchemaAttribute2.FixedValue = "TelephoneDataTable";
  220. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  221. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  222. return xmlSchemaComplexType;
  223. }
  224. }
  225. [Serializable]
  226. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  227. [XmlSchemaProvider("GetTypedTableSchema")]
  228. public class PrincipalDataTable : DataTable, IEnumerable
  229. {
  230. private DataColumn columnIsMain_Principal;
  231. private DataColumn columnComment_Principal;
  232. private DataColumn columnName_Employee;
  233. private DataColumn columnNo_Employee;
  234. [DebuggerNonUserCode]
  235. public DataColumn IsMain_PrincipalColumn => columnIsMain_Principal;
  236. [DebuggerNonUserCode]
  237. public DataColumn Comment_PrincipalColumn => columnComment_Principal;
  238. [DebuggerNonUserCode]
  239. public DataColumn Name_EmployeeColumn => columnName_Employee;
  240. [DebuggerNonUserCode]
  241. public DataColumn No_EmployeeColumn => columnNo_Employee;
  242. [Browsable(false)]
  243. [DebuggerNonUserCode]
  244. public int Count => base.Rows.Count;
  245. [DebuggerNonUserCode]
  246. public PrincipalRow this[int index] => (PrincipalRow)base.Rows[index];
  247. public event PrincipalRowChangeEventHandler PrincipalRowChanging;
  248. public event PrincipalRowChangeEventHandler PrincipalRowChanged;
  249. public event PrincipalRowChangeEventHandler PrincipalRowDeleting;
  250. public event PrincipalRowChangeEventHandler PrincipalRowDeleted;
  251. [DebuggerNonUserCode]
  252. public PrincipalDataTable()
  253. {
  254. base.TableName = "Principal";
  255. BeginInit();
  256. InitClass();
  257. EndInit();
  258. }
  259. [DebuggerNonUserCode]
  260. internal PrincipalDataTable(DataTable table)
  261. {
  262. base.TableName = table.TableName;
  263. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  264. {
  265. base.CaseSensitive = table.CaseSensitive;
  266. }
  267. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  268. {
  269. base.Locale = table.Locale;
  270. }
  271. if (table.Namespace != table.DataSet.Namespace)
  272. {
  273. base.Namespace = table.Namespace;
  274. }
  275. base.Prefix = table.Prefix;
  276. base.MinimumCapacity = table.MinimumCapacity;
  277. }
  278. [DebuggerNonUserCode]
  279. protected PrincipalDataTable(SerializationInfo info, StreamingContext context)
  280. : base(info, context)
  281. {
  282. InitVars();
  283. }
  284. [DebuggerNonUserCode]
  285. public void AddPrincipalRow(PrincipalRow row)
  286. {
  287. base.Rows.Add(row);
  288. }
  289. [DebuggerNonUserCode]
  290. public PrincipalRow AddPrincipalRow(bool IsMain_Principal, string Comment_Principal, string Name_Employee, string No_Employee)
  291. {
  292. PrincipalRow principalRow = (PrincipalRow)NewRow();
  293. principalRow.ItemArray = new object[4]
  294. {
  295. IsMain_Principal,
  296. Comment_Principal,
  297. Name_Employee,
  298. No_Employee
  299. };
  300. base.Rows.Add(principalRow);
  301. return principalRow;
  302. }
  303. [DebuggerNonUserCode]
  304. public virtual IEnumerator GetEnumerator()
  305. {
  306. return base.Rows.GetEnumerator();
  307. }
  308. [DebuggerNonUserCode]
  309. public override DataTable Clone()
  310. {
  311. PrincipalDataTable principalDataTable = (PrincipalDataTable)base.Clone();
  312. principalDataTable.InitVars();
  313. return principalDataTable;
  314. }
  315. [DebuggerNonUserCode]
  316. protected override DataTable CreateInstance()
  317. {
  318. return new PrincipalDataTable();
  319. }
  320. [DebuggerNonUserCode]
  321. internal void InitVars()
  322. {
  323. columnIsMain_Principal = base.Columns["IsMain_Principal"];
  324. columnComment_Principal = base.Columns["Comment_Principal"];
  325. columnName_Employee = base.Columns["Name_Employee"];
  326. columnNo_Employee = base.Columns["No_Employee"];
  327. }
  328. [DebuggerNonUserCode]
  329. private void InitClass()
  330. {
  331. columnIsMain_Principal = new DataColumn("IsMain_Principal", typeof(bool), null, MappingType.Element);
  332. base.Columns.Add(columnIsMain_Principal);
  333. columnComment_Principal = new DataColumn("Comment_Principal", typeof(string), null, MappingType.Element);
  334. base.Columns.Add(columnComment_Principal);
  335. columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
  336. base.Columns.Add(columnName_Employee);
  337. columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
  338. base.Columns.Add(columnNo_Employee);
  339. }
  340. [DebuggerNonUserCode]
  341. public PrincipalRow NewPrincipalRow()
  342. {
  343. return (PrincipalRow)NewRow();
  344. }
  345. [DebuggerNonUserCode]
  346. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  347. {
  348. return new PrincipalRow(builder);
  349. }
  350. [DebuggerNonUserCode]
  351. protected override Type GetRowType()
  352. {
  353. return typeof(PrincipalRow);
  354. }
  355. [DebuggerNonUserCode]
  356. protected override void OnRowChanged(DataRowChangeEventArgs e)
  357. {
  358. base.OnRowChanged(e);
  359. if (this.PrincipalRowChanged != null)
  360. {
  361. this.PrincipalRowChanged(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  362. }
  363. }
  364. [DebuggerNonUserCode]
  365. protected override void OnRowChanging(DataRowChangeEventArgs e)
  366. {
  367. base.OnRowChanging(e);
  368. if (this.PrincipalRowChanging != null)
  369. {
  370. this.PrincipalRowChanging(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  371. }
  372. }
  373. [DebuggerNonUserCode]
  374. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  375. {
  376. base.OnRowDeleted(e);
  377. if (this.PrincipalRowDeleted != null)
  378. {
  379. this.PrincipalRowDeleted(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  380. }
  381. }
  382. [DebuggerNonUserCode]
  383. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  384. {
  385. base.OnRowDeleting(e);
  386. if (this.PrincipalRowDeleting != null)
  387. {
  388. this.PrincipalRowDeleting(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  389. }
  390. }
  391. [DebuggerNonUserCode]
  392. public void RemovePrincipalRow(PrincipalRow row)
  393. {
  394. base.Rows.Remove(row);
  395. }
  396. [DebuggerNonUserCode]
  397. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  398. {
  399. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  400. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  401. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  402. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  403. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  404. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  405. xmlSchemaAny.MinOccurs = 0m;
  406. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  407. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  408. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  409. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  410. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  411. xmlSchemaAny2.MinOccurs = 1m;
  412. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  413. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  414. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  415. xmlSchemaAttribute.Name = "namespace";
  416. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  417. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  418. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  419. xmlSchemaAttribute2.Name = "tableTypeName";
  420. xmlSchemaAttribute2.FixedValue = "PrincipalDataTable";
  421. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  422. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  423. return xmlSchemaComplexType;
  424. }
  425. }
  426. [Serializable]
  427. [XmlSchemaProvider("GetTypedTableSchema")]
  428. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  429. public class EmployeeDataTable : DataTable, IEnumerable
  430. {
  431. private DataColumn columnNo_Employee;
  432. private DataColumn columnName_Employee;
  433. private DataColumn columnEmployeeNo_Employee;
  434. private DataColumn columnNameEng_Employee;
  435. private DataColumn columnGender_Employee;
  436. private DataColumn columnCountry_Employee;
  437. private DataColumn columnHomeplace_Employee;
  438. private DataColumn columnNation_Employee;
  439. private DataColumn columnIDNo_Employee;
  440. private DataColumn columnPassport_Employee;
  441. private DataColumn columnIsMarried_Employee;
  442. private DataColumn columnCreateDate_Employee;
  443. private DataColumn columnDuty_Employee;
  444. private DataColumn columnProbation_Employee;
  445. private DataColumn columnOnJobDate_Employee;
  446. private DataColumn columnOnDuty_Employee;
  447. private DataColumn columnObJobStatus_Employee;
  448. private DataColumn columnOffDuty_Employee;
  449. private DataColumn columnSuspendDate_Employee;
  450. private DataColumn columnTel_Employee;
  451. private DataColumn columnEMail_Employee;
  452. private DataColumn columnAddress_Employee;
  453. private DataColumn columnComment_Employee;
  454. private DataColumn columnLastModDate_Employee;
  455. [DebuggerNonUserCode]
  456. public DataColumn No_EmployeeColumn => columnNo_Employee;
  457. [DebuggerNonUserCode]
  458. public DataColumn Name_EmployeeColumn => columnName_Employee;
  459. [DebuggerNonUserCode]
  460. public DataColumn EmployeeNo_EmployeeColumn => columnEmployeeNo_Employee;
  461. [DebuggerNonUserCode]
  462. public DataColumn NameEng_EmployeeColumn => columnNameEng_Employee;
  463. [DebuggerNonUserCode]
  464. public DataColumn Gender_EmployeeColumn => columnGender_Employee;
  465. [DebuggerNonUserCode]
  466. public DataColumn Country_EmployeeColumn => columnCountry_Employee;
  467. [DebuggerNonUserCode]
  468. public DataColumn Homeplace_EmployeeColumn => columnHomeplace_Employee;
  469. [DebuggerNonUserCode]
  470. public DataColumn Nation_EmployeeColumn => columnNation_Employee;
  471. [DebuggerNonUserCode]
  472. public DataColumn IDNo_EmployeeColumn => columnIDNo_Employee;
  473. [DebuggerNonUserCode]
  474. public DataColumn Passport_EmployeeColumn => columnPassport_Employee;
  475. [DebuggerNonUserCode]
  476. public DataColumn IsMarried_EmployeeColumn => columnIsMarried_Employee;
  477. [DebuggerNonUserCode]
  478. public DataColumn CreateDate_EmployeeColumn => columnCreateDate_Employee;
  479. [DebuggerNonUserCode]
  480. public DataColumn Duty_EmployeeColumn => columnDuty_Employee;
  481. [DebuggerNonUserCode]
  482. public DataColumn Probation_EmployeeColumn => columnProbation_Employee;
  483. [DebuggerNonUserCode]
  484. public DataColumn OnJobDate_EmployeeColumn => columnOnJobDate_Employee;
  485. [DebuggerNonUserCode]
  486. public DataColumn OnDuty_EmployeeColumn => columnOnDuty_Employee;
  487. [DebuggerNonUserCode]
  488. public DataColumn ObJobStatus_EmployeeColumn => columnObJobStatus_Employee;
  489. [DebuggerNonUserCode]
  490. public DataColumn OffDuty_EmployeeColumn => columnOffDuty_Employee;
  491. [DebuggerNonUserCode]
  492. public DataColumn SuspendDate_EmployeeColumn => columnSuspendDate_Employee;
  493. [DebuggerNonUserCode]
  494. public DataColumn Tel_EmployeeColumn => columnTel_Employee;
  495. [DebuggerNonUserCode]
  496. public DataColumn EMail_EmployeeColumn => columnEMail_Employee;
  497. [DebuggerNonUserCode]
  498. public DataColumn Address_EmployeeColumn => columnAddress_Employee;
  499. [DebuggerNonUserCode]
  500. public DataColumn Comment_EmployeeColumn => columnComment_Employee;
  501. [DebuggerNonUserCode]
  502. public DataColumn LastModDate_EmployeeColumn => columnLastModDate_Employee;
  503. [Browsable(false)]
  504. [DebuggerNonUserCode]
  505. public int Count => base.Rows.Count;
  506. [DebuggerNonUserCode]
  507. public EmployeeRow this[int index] => (EmployeeRow)base.Rows[index];
  508. public event EmployeeRowChangeEventHandler EmployeeRowChanging;
  509. public event EmployeeRowChangeEventHandler EmployeeRowChanged;
  510. public event EmployeeRowChangeEventHandler EmployeeRowDeleting;
  511. public event EmployeeRowChangeEventHandler EmployeeRowDeleted;
  512. [DebuggerNonUserCode]
  513. public EmployeeDataTable()
  514. {
  515. base.TableName = "Employee";
  516. BeginInit();
  517. InitClass();
  518. EndInit();
  519. }
  520. [DebuggerNonUserCode]
  521. internal EmployeeDataTable(DataTable table)
  522. {
  523. base.TableName = table.TableName;
  524. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  525. {
  526. base.CaseSensitive = table.CaseSensitive;
  527. }
  528. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  529. {
  530. base.Locale = table.Locale;
  531. }
  532. if (table.Namespace != table.DataSet.Namespace)
  533. {
  534. base.Namespace = table.Namespace;
  535. }
  536. base.Prefix = table.Prefix;
  537. base.MinimumCapacity = table.MinimumCapacity;
  538. }
  539. [DebuggerNonUserCode]
  540. protected EmployeeDataTable(SerializationInfo info, StreamingContext context)
  541. : base(info, context)
  542. {
  543. InitVars();
  544. }
  545. [DebuggerNonUserCode]
  546. public void AddEmployeeRow(EmployeeRow row)
  547. {
  548. base.Rows.Add(row);
  549. }
  550. [DebuggerNonUserCode]
  551. 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)
  552. {
  553. EmployeeRow employeeRow = (EmployeeRow)NewRow();
  554. employeeRow.ItemArray = new object[24]
  555. {
  556. No_Employee,
  557. Name_Employee,
  558. EmployeeNo_Employee,
  559. NameEng_Employee,
  560. Gender_Employee,
  561. Country_Employee,
  562. Homeplace_Employee,
  563. Nation_Employee,
  564. IDNo_Employee,
  565. Passport_Employee,
  566. IsMarried_Employee,
  567. CreateDate_Employee,
  568. Duty_Employee,
  569. Probation_Employee,
  570. OnJobDate_Employee,
  571. OnDuty_Employee,
  572. ObJobStatus_Employee,
  573. OffDuty_Employee,
  574. SuspendDate_Employee,
  575. Tel_Employee,
  576. EMail_Employee,
  577. Address_Employee,
  578. Comment_Employee,
  579. LastModDate_Employee
  580. };
  581. base.Rows.Add(employeeRow);
  582. return employeeRow;
  583. }
  584. [DebuggerNonUserCode]
  585. public virtual IEnumerator GetEnumerator()
  586. {
  587. return base.Rows.GetEnumerator();
  588. }
  589. [DebuggerNonUserCode]
  590. public override DataTable Clone()
  591. {
  592. EmployeeDataTable employeeDataTable = (EmployeeDataTable)base.Clone();
  593. employeeDataTable.InitVars();
  594. return employeeDataTable;
  595. }
  596. [DebuggerNonUserCode]
  597. protected override DataTable CreateInstance()
  598. {
  599. return new EmployeeDataTable();
  600. }
  601. [DebuggerNonUserCode]
  602. internal void InitVars()
  603. {
  604. columnNo_Employee = base.Columns["No_Employee"];
  605. columnName_Employee = base.Columns["Name_Employee"];
  606. columnEmployeeNo_Employee = base.Columns["EmployeeNo_Employee"];
  607. columnNameEng_Employee = base.Columns["NameEng_Employee"];
  608. columnGender_Employee = base.Columns["Gender_Employee"];
  609. columnCountry_Employee = base.Columns["Country_Employee"];
  610. columnHomeplace_Employee = base.Columns["Homeplace_Employee"];
  611. columnNation_Employee = base.Columns["Nation_Employee"];
  612. columnIDNo_Employee = base.Columns["IDNo_Employee"];
  613. columnPassport_Employee = base.Columns["Passport_Employee"];
  614. columnIsMarried_Employee = base.Columns["IsMarried_Employee"];
  615. columnCreateDate_Employee = base.Columns["CreateDate_Employee"];
  616. columnDuty_Employee = base.Columns["Duty_Employee"];
  617. columnProbation_Employee = base.Columns["Probation_Employee"];
  618. columnOnJobDate_Employee = base.Columns["OnJobDate_Employee"];
  619. columnOnDuty_Employee = base.Columns["OnDuty_Employee"];
  620. columnObJobStatus_Employee = base.Columns["ObJobStatus_Employee"];
  621. columnOffDuty_Employee = base.Columns["OffDuty_Employee"];
  622. columnSuspendDate_Employee = base.Columns["SuspendDate_Employee"];
  623. columnTel_Employee = base.Columns["Tel_Employee"];
  624. columnEMail_Employee = base.Columns["EMail_Employee"];
  625. columnAddress_Employee = base.Columns["Address_Employee"];
  626. columnComment_Employee = base.Columns["Comment_Employee"];
  627. columnLastModDate_Employee = base.Columns["LastModDate_Employee"];
  628. }
  629. [DebuggerNonUserCode]
  630. private void InitClass()
  631. {
  632. columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
  633. base.Columns.Add(columnNo_Employee);
  634. columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
  635. base.Columns.Add(columnName_Employee);
  636. columnEmployeeNo_Employee = new DataColumn("EmployeeNo_Employee", typeof(string), null, MappingType.Element);
  637. base.Columns.Add(columnEmployeeNo_Employee);
  638. columnNameEng_Employee = new DataColumn("NameEng_Employee", typeof(string), null, MappingType.Element);
  639. base.Columns.Add(columnNameEng_Employee);
  640. columnGender_Employee = new DataColumn("Gender_Employee", typeof(bool), null, MappingType.Element);
  641. base.Columns.Add(columnGender_Employee);
  642. columnCountry_Employee = new DataColumn("Country_Employee", typeof(int), null, MappingType.Element);
  643. base.Columns.Add(columnCountry_Employee);
  644. columnHomeplace_Employee = new DataColumn("Homeplace_Employee", typeof(string), null, MappingType.Element);
  645. base.Columns.Add(columnHomeplace_Employee);
  646. columnNation_Employee = new DataColumn("Nation_Employee", typeof(string), null, MappingType.Element);
  647. base.Columns.Add(columnNation_Employee);
  648. columnIDNo_Employee = new DataColumn("IDNo_Employee", typeof(string), null, MappingType.Element);
  649. base.Columns.Add(columnIDNo_Employee);
  650. columnPassport_Employee = new DataColumn("Passport_Employee", typeof(string), null, MappingType.Element);
  651. base.Columns.Add(columnPassport_Employee);
  652. columnIsMarried_Employee = new DataColumn("IsMarried_Employee", typeof(bool), null, MappingType.Element);
  653. base.Columns.Add(columnIsMarried_Employee);
  654. columnCreateDate_Employee = new DataColumn("CreateDate_Employee", typeof(DateTime), null, MappingType.Element);
  655. base.Columns.Add(columnCreateDate_Employee);
  656. columnDuty_Employee = new DataColumn("Duty_Employee", typeof(string), null, MappingType.Element);
  657. base.Columns.Add(columnDuty_Employee);
  658. columnProbation_Employee = new DataColumn("Probation_Employee", typeof(decimal), null, MappingType.Element);
  659. base.Columns.Add(columnProbation_Employee);
  660. columnOnJobDate_Employee = new DataColumn("OnJobDate_Employee", typeof(DateTime), null, MappingType.Element);
  661. base.Columns.Add(columnOnJobDate_Employee);
  662. columnOnDuty_Employee = new DataColumn("OnDuty_Employee", typeof(DateTime), null, MappingType.Element);
  663. base.Columns.Add(columnOnDuty_Employee);
  664. columnObJobStatus_Employee = new DataColumn("ObJobStatus_Employee", typeof(int), null, MappingType.Element);
  665. base.Columns.Add(columnObJobStatus_Employee);
  666. columnOffDuty_Employee = new DataColumn("OffDuty_Employee", typeof(DateTime), null, MappingType.Element);
  667. base.Columns.Add(columnOffDuty_Employee);
  668. columnSuspendDate_Employee = new DataColumn("SuspendDate_Employee", typeof(DateTime), null, MappingType.Element);
  669. base.Columns.Add(columnSuspendDate_Employee);
  670. columnTel_Employee = new DataColumn("Tel_Employee", typeof(string), null, MappingType.Element);
  671. base.Columns.Add(columnTel_Employee);
  672. columnEMail_Employee = new DataColumn("EMail_Employee", typeof(string), null, MappingType.Element);
  673. base.Columns.Add(columnEMail_Employee);
  674. columnAddress_Employee = new DataColumn("Address_Employee", typeof(string), null, MappingType.Element);
  675. base.Columns.Add(columnAddress_Employee);
  676. columnComment_Employee = new DataColumn("Comment_Employee", typeof(string), null, MappingType.Element);
  677. base.Columns.Add(columnComment_Employee);
  678. columnLastModDate_Employee = new DataColumn("LastModDate_Employee", typeof(DateTime), null, MappingType.Element);
  679. base.Columns.Add(columnLastModDate_Employee);
  680. }
  681. [DebuggerNonUserCode]
  682. public EmployeeRow NewEmployeeRow()
  683. {
  684. return (EmployeeRow)NewRow();
  685. }
  686. [DebuggerNonUserCode]
  687. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  688. {
  689. return new EmployeeRow(builder);
  690. }
  691. [DebuggerNonUserCode]
  692. protected override Type GetRowType()
  693. {
  694. return typeof(EmployeeRow);
  695. }
  696. [DebuggerNonUserCode]
  697. protected override void OnRowChanged(DataRowChangeEventArgs e)
  698. {
  699. base.OnRowChanged(e);
  700. if (this.EmployeeRowChanged != null)
  701. {
  702. this.EmployeeRowChanged(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  703. }
  704. }
  705. [DebuggerNonUserCode]
  706. protected override void OnRowChanging(DataRowChangeEventArgs e)
  707. {
  708. base.OnRowChanging(e);
  709. if (this.EmployeeRowChanging != null)
  710. {
  711. this.EmployeeRowChanging(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  712. }
  713. }
  714. [DebuggerNonUserCode]
  715. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  716. {
  717. base.OnRowDeleted(e);
  718. if (this.EmployeeRowDeleted != null)
  719. {
  720. this.EmployeeRowDeleted(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  721. }
  722. }
  723. [DebuggerNonUserCode]
  724. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  725. {
  726. base.OnRowDeleting(e);
  727. if (this.EmployeeRowDeleting != null)
  728. {
  729. this.EmployeeRowDeleting(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  730. }
  731. }
  732. [DebuggerNonUserCode]
  733. public void RemoveEmployeeRow(EmployeeRow row)
  734. {
  735. base.Rows.Remove(row);
  736. }
  737. [DebuggerNonUserCode]
  738. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  739. {
  740. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  741. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  742. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  743. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  744. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  745. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  746. xmlSchemaAny.MinOccurs = 0m;
  747. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  748. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  749. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  750. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  751. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  752. xmlSchemaAny2.MinOccurs = 1m;
  753. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  754. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  755. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  756. xmlSchemaAttribute.Name = "namespace";
  757. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  758. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  759. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  760. xmlSchemaAttribute2.Name = "tableTypeName";
  761. xmlSchemaAttribute2.FixedValue = "EmployeeDataTable";
  762. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  763. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  764. return xmlSchemaComplexType;
  765. }
  766. }
  767. [Serializable]
  768. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  769. [XmlSchemaProvider("GetTypedTableSchema")]
  770. public class FaxDataTable : DataTable, IEnumerable
  771. {
  772. private DataColumn columnName_Fax;
  773. private DataColumn columnNo_Fax;
  774. private DataColumn columnFocus_Fax;
  775. [DebuggerNonUserCode]
  776. public DataColumn Name_FaxColumn => columnName_Fax;
  777. [DebuggerNonUserCode]
  778. public DataColumn No_FaxColumn => columnNo_Fax;
  779. [DebuggerNonUserCode]
  780. public DataColumn Focus_FaxColumn => columnFocus_Fax;
  781. [Browsable(false)]
  782. [DebuggerNonUserCode]
  783. public int Count => base.Rows.Count;
  784. [DebuggerNonUserCode]
  785. public FaxRow this[int index] => (FaxRow)base.Rows[index];
  786. public event FaxRowChangeEventHandler FaxRowChanging;
  787. public event FaxRowChangeEventHandler FaxRowChanged;
  788. public event FaxRowChangeEventHandler FaxRowDeleting;
  789. public event FaxRowChangeEventHandler FaxRowDeleted;
  790. [DebuggerNonUserCode]
  791. public FaxDataTable()
  792. {
  793. base.TableName = "Fax";
  794. BeginInit();
  795. InitClass();
  796. EndInit();
  797. }
  798. [DebuggerNonUserCode]
  799. internal FaxDataTable(DataTable table)
  800. {
  801. base.TableName = table.TableName;
  802. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  803. {
  804. base.CaseSensitive = table.CaseSensitive;
  805. }
  806. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  807. {
  808. base.Locale = table.Locale;
  809. }
  810. if (table.Namespace != table.DataSet.Namespace)
  811. {
  812. base.Namespace = table.Namespace;
  813. }
  814. base.Prefix = table.Prefix;
  815. base.MinimumCapacity = table.MinimumCapacity;
  816. }
  817. [DebuggerNonUserCode]
  818. protected FaxDataTable(SerializationInfo info, StreamingContext context)
  819. : base(info, context)
  820. {
  821. InitVars();
  822. }
  823. [DebuggerNonUserCode]
  824. public void AddFaxRow(FaxRow row)
  825. {
  826. base.Rows.Add(row);
  827. }
  828. [DebuggerNonUserCode]
  829. public FaxRow AddFaxRow(string Name_Fax, string No_Fax, bool Focus_Fax)
  830. {
  831. FaxRow faxRow = (FaxRow)NewRow();
  832. faxRow.ItemArray = new object[3]
  833. {
  834. Name_Fax,
  835. No_Fax,
  836. Focus_Fax
  837. };
  838. base.Rows.Add(faxRow);
  839. return faxRow;
  840. }
  841. [DebuggerNonUserCode]
  842. public virtual IEnumerator GetEnumerator()
  843. {
  844. return base.Rows.GetEnumerator();
  845. }
  846. [DebuggerNonUserCode]
  847. public override DataTable Clone()
  848. {
  849. FaxDataTable faxDataTable = (FaxDataTable)base.Clone();
  850. faxDataTable.InitVars();
  851. return faxDataTable;
  852. }
  853. [DebuggerNonUserCode]
  854. protected override DataTable CreateInstance()
  855. {
  856. return new FaxDataTable();
  857. }
  858. [DebuggerNonUserCode]
  859. internal void InitVars()
  860. {
  861. columnName_Fax = base.Columns["Name_Fax"];
  862. columnNo_Fax = base.Columns["No_Fax"];
  863. columnFocus_Fax = base.Columns["Focus_Fax"];
  864. }
  865. [DebuggerNonUserCode]
  866. private void InitClass()
  867. {
  868. columnName_Fax = new DataColumn("Name_Fax", typeof(string), null, MappingType.Element);
  869. base.Columns.Add(columnName_Fax);
  870. columnNo_Fax = new DataColumn("No_Fax", typeof(string), null, MappingType.Element);
  871. base.Columns.Add(columnNo_Fax);
  872. columnFocus_Fax = new DataColumn("Focus_Fax", typeof(bool), null, MappingType.Element);
  873. base.Columns.Add(columnFocus_Fax);
  874. }
  875. [DebuggerNonUserCode]
  876. public FaxRow NewFaxRow()
  877. {
  878. return (FaxRow)NewRow();
  879. }
  880. [DebuggerNonUserCode]
  881. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  882. {
  883. return new FaxRow(builder);
  884. }
  885. [DebuggerNonUserCode]
  886. protected override Type GetRowType()
  887. {
  888. return typeof(FaxRow);
  889. }
  890. [DebuggerNonUserCode]
  891. protected override void OnRowChanged(DataRowChangeEventArgs e)
  892. {
  893. base.OnRowChanged(e);
  894. if (this.FaxRowChanged != null)
  895. {
  896. this.FaxRowChanged(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  897. }
  898. }
  899. [DebuggerNonUserCode]
  900. protected override void OnRowChanging(DataRowChangeEventArgs e)
  901. {
  902. base.OnRowChanging(e);
  903. if (this.FaxRowChanging != null)
  904. {
  905. this.FaxRowChanging(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  906. }
  907. }
  908. [DebuggerNonUserCode]
  909. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  910. {
  911. base.OnRowDeleted(e);
  912. if (this.FaxRowDeleted != null)
  913. {
  914. this.FaxRowDeleted(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  915. }
  916. }
  917. [DebuggerNonUserCode]
  918. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  919. {
  920. base.OnRowDeleting(e);
  921. if (this.FaxRowDeleting != null)
  922. {
  923. this.FaxRowDeleting(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  924. }
  925. }
  926. [DebuggerNonUserCode]
  927. public void RemoveFaxRow(FaxRow row)
  928. {
  929. base.Rows.Remove(row);
  930. }
  931. [DebuggerNonUserCode]
  932. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  933. {
  934. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  935. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  936. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  937. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  938. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  939. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  940. xmlSchemaAny.MinOccurs = 0m;
  941. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  942. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  943. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  944. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  945. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  946. xmlSchemaAny2.MinOccurs = 1m;
  947. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  948. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  949. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  950. xmlSchemaAttribute.Name = "namespace";
  951. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  952. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  953. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  954. xmlSchemaAttribute2.Name = "tableTypeName";
  955. xmlSchemaAttribute2.FixedValue = "FaxDataTable";
  956. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  957. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  958. return xmlSchemaComplexType;
  959. }
  960. }
  961. [Serializable]
  962. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  963. [XmlSchemaProvider("GetTypedTableSchema")]
  964. public class SupplierDataTable : DataTable, IEnumerable
  965. {
  966. private DataColumn columnNo_Supplier;
  967. private DataColumn columnShortName_Supplier;
  968. private DataColumn columnName_Supplier;
  969. private DataColumn columnRegistedAddress_Supplier;
  970. private DataColumn columnCountry_Supplier;
  971. private DataColumn columnPostalCode_Supplier;
  972. private DataColumn columnCreateDate_Supplier;
  973. private DataColumn columnComment_Supplier;
  974. private DataColumn columnSuspendDate_Supplier;
  975. private DataColumn columnLastModDate_Supplier;
  976. private DataColumn columnCreatorName_Supplier;
  977. private DataColumn columnLastModUser_SupplierName;
  978. private DataColumn columnCountryName;
  979. [DebuggerNonUserCode]
  980. public DataColumn No_SupplierColumn => columnNo_Supplier;
  981. [DebuggerNonUserCode]
  982. public DataColumn ShortName_SupplierColumn => columnShortName_Supplier;
  983. [DebuggerNonUserCode]
  984. public DataColumn Name_SupplierColumn => columnName_Supplier;
  985. [DebuggerNonUserCode]
  986. public DataColumn RegistedAddress_SupplierColumn => columnRegistedAddress_Supplier;
  987. [DebuggerNonUserCode]
  988. public DataColumn Country_SupplierColumn => columnCountry_Supplier;
  989. [DebuggerNonUserCode]
  990. public DataColumn PostalCode_SupplierColumn => columnPostalCode_Supplier;
  991. [DebuggerNonUserCode]
  992. public DataColumn CreateDate_SupplierColumn => columnCreateDate_Supplier;
  993. [DebuggerNonUserCode]
  994. public DataColumn Comment_SupplierColumn => columnComment_Supplier;
  995. [DebuggerNonUserCode]
  996. public DataColumn SuspendDate_SupplierColumn => columnSuspendDate_Supplier;
  997. [DebuggerNonUserCode]
  998. public DataColumn LastModDate_SupplierColumn => columnLastModDate_Supplier;
  999. [DebuggerNonUserCode]
  1000. public DataColumn CreatorName_SupplierColumn => columnCreatorName_Supplier;
  1001. [DebuggerNonUserCode]
  1002. public DataColumn LastModUser_SupplierNameColumn => columnLastModUser_SupplierName;
  1003. [DebuggerNonUserCode]
  1004. public DataColumn CountryNameColumn => columnCountryName;
  1005. [Browsable(false)]
  1006. [DebuggerNonUserCode]
  1007. public int Count => base.Rows.Count;
  1008. [DebuggerNonUserCode]
  1009. public SupplierRow this[int index] => (SupplierRow)base.Rows[index];
  1010. public event SupplierRowChangeEventHandler SupplierRowChanging;
  1011. public event SupplierRowChangeEventHandler SupplierRowChanged;
  1012. public event SupplierRowChangeEventHandler SupplierRowDeleting;
  1013. public event SupplierRowChangeEventHandler SupplierRowDeleted;
  1014. [DebuggerNonUserCode]
  1015. public SupplierDataTable()
  1016. {
  1017. base.TableName = "Supplier";
  1018. BeginInit();
  1019. InitClass();
  1020. EndInit();
  1021. }
  1022. [DebuggerNonUserCode]
  1023. internal SupplierDataTable(DataTable table)
  1024. {
  1025. base.TableName = table.TableName;
  1026. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1027. {
  1028. base.CaseSensitive = table.CaseSensitive;
  1029. }
  1030. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1031. {
  1032. base.Locale = table.Locale;
  1033. }
  1034. if (table.Namespace != table.DataSet.Namespace)
  1035. {
  1036. base.Namespace = table.Namespace;
  1037. }
  1038. base.Prefix = table.Prefix;
  1039. base.MinimumCapacity = table.MinimumCapacity;
  1040. }
  1041. [DebuggerNonUserCode]
  1042. protected SupplierDataTable(SerializationInfo info, StreamingContext context)
  1043. : base(info, context)
  1044. {
  1045. InitVars();
  1046. }
  1047. [DebuggerNonUserCode]
  1048. public void AddSupplierRow(SupplierRow row)
  1049. {
  1050. base.Rows.Add(row);
  1051. }
  1052. [DebuggerNonUserCode]
  1053. 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)
  1054. {
  1055. SupplierRow supplierRow = (SupplierRow)NewRow();
  1056. supplierRow.ItemArray = new object[13]
  1057. {
  1058. No_Supplier,
  1059. ShortName_Supplier,
  1060. Name_Supplier,
  1061. RegistedAddress_Supplier,
  1062. Country_Supplier,
  1063. PostalCode_Supplier,
  1064. CreateDate_Supplier,
  1065. Comment_Supplier,
  1066. SuspendDate_Supplier,
  1067. LastModDate_Supplier,
  1068. CreatorName_Supplier,
  1069. LastModUser_SupplierName,
  1070. CountryName
  1071. };
  1072. base.Rows.Add(supplierRow);
  1073. return supplierRow;
  1074. }
  1075. [DebuggerNonUserCode]
  1076. public virtual IEnumerator GetEnumerator()
  1077. {
  1078. return base.Rows.GetEnumerator();
  1079. }
  1080. [DebuggerNonUserCode]
  1081. public override DataTable Clone()
  1082. {
  1083. SupplierDataTable supplierDataTable = (SupplierDataTable)base.Clone();
  1084. supplierDataTable.InitVars();
  1085. return supplierDataTable;
  1086. }
  1087. [DebuggerNonUserCode]
  1088. protected override DataTable CreateInstance()
  1089. {
  1090. return new SupplierDataTable();
  1091. }
  1092. [DebuggerNonUserCode]
  1093. internal void InitVars()
  1094. {
  1095. columnNo_Supplier = base.Columns["No_Supplier"];
  1096. columnShortName_Supplier = base.Columns["ShortName_Supplier"];
  1097. columnName_Supplier = base.Columns["Name_Supplier"];
  1098. columnRegistedAddress_Supplier = base.Columns["RegistedAddress_Supplier"];
  1099. columnCountry_Supplier = base.Columns["Country_Supplier"];
  1100. columnPostalCode_Supplier = base.Columns["PostalCode_Supplier"];
  1101. columnCreateDate_Supplier = base.Columns["CreateDate_Supplier"];
  1102. columnComment_Supplier = base.Columns["Comment_Supplier"];
  1103. columnSuspendDate_Supplier = base.Columns["SuspendDate_Supplier"];
  1104. columnLastModDate_Supplier = base.Columns["LastModDate_Supplier"];
  1105. columnCreatorName_Supplier = base.Columns["CreatorName_Supplier"];
  1106. columnLastModUser_SupplierName = base.Columns["LastModUser_SupplierName"];
  1107. columnCountryName = base.Columns["CountryName"];
  1108. }
  1109. [DebuggerNonUserCode]
  1110. private void InitClass()
  1111. {
  1112. columnNo_Supplier = new DataColumn("No_Supplier", typeof(string), null, MappingType.Element);
  1113. base.Columns.Add(columnNo_Supplier);
  1114. columnShortName_Supplier = new DataColumn("ShortName_Supplier", typeof(string), null, MappingType.Element);
  1115. base.Columns.Add(columnShortName_Supplier);
  1116. columnName_Supplier = new DataColumn("Name_Supplier", typeof(string), null, MappingType.Element);
  1117. base.Columns.Add(columnName_Supplier);
  1118. columnRegistedAddress_Supplier = new DataColumn("RegistedAddress_Supplier", typeof(string), null, MappingType.Element);
  1119. base.Columns.Add(columnRegistedAddress_Supplier);
  1120. columnCountry_Supplier = new DataColumn("Country_Supplier", typeof(int), null, MappingType.Element);
  1121. base.Columns.Add(columnCountry_Supplier);
  1122. columnPostalCode_Supplier = new DataColumn("PostalCode_Supplier", typeof(string), null, MappingType.Element);
  1123. base.Columns.Add(columnPostalCode_Supplier);
  1124. columnCreateDate_Supplier = new DataColumn("CreateDate_Supplier", typeof(DateTime), null, MappingType.Element);
  1125. base.Columns.Add(columnCreateDate_Supplier);
  1126. columnComment_Supplier = new DataColumn("Comment_Supplier", typeof(string), null, MappingType.Element);
  1127. base.Columns.Add(columnComment_Supplier);
  1128. columnSuspendDate_Supplier = new DataColumn("SuspendDate_Supplier", typeof(DateTime), null, MappingType.Element);
  1129. base.Columns.Add(columnSuspendDate_Supplier);
  1130. columnLastModDate_Supplier = new DataColumn("LastModDate_Supplier", typeof(DateTime), null, MappingType.Element);
  1131. base.Columns.Add(columnLastModDate_Supplier);
  1132. columnCreatorName_Supplier = new DataColumn("CreatorName_Supplier", typeof(string), null, MappingType.Element);
  1133. base.Columns.Add(columnCreatorName_Supplier);
  1134. columnLastModUser_SupplierName = new DataColumn("LastModUser_SupplierName", typeof(string), null, MappingType.Element);
  1135. base.Columns.Add(columnLastModUser_SupplierName);
  1136. columnCountryName = new DataColumn("CountryName", typeof(string), null, MappingType.Element);
  1137. base.Columns.Add(columnCountryName);
  1138. }
  1139. [DebuggerNonUserCode]
  1140. public SupplierRow NewSupplierRow()
  1141. {
  1142. return (SupplierRow)NewRow();
  1143. }
  1144. [DebuggerNonUserCode]
  1145. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1146. {
  1147. return new SupplierRow(builder);
  1148. }
  1149. [DebuggerNonUserCode]
  1150. protected override Type GetRowType()
  1151. {
  1152. return typeof(SupplierRow);
  1153. }
  1154. [DebuggerNonUserCode]
  1155. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1156. {
  1157. base.OnRowChanged(e);
  1158. if (this.SupplierRowChanged != null)
  1159. {
  1160. this.SupplierRowChanged(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
  1161. }
  1162. }
  1163. [DebuggerNonUserCode]
  1164. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1165. {
  1166. base.OnRowChanging(e);
  1167. if (this.SupplierRowChanging != null)
  1168. {
  1169. this.SupplierRowChanging(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
  1170. }
  1171. }
  1172. [DebuggerNonUserCode]
  1173. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1174. {
  1175. base.OnRowDeleted(e);
  1176. if (this.SupplierRowDeleted != null)
  1177. {
  1178. this.SupplierRowDeleted(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
  1179. }
  1180. }
  1181. [DebuggerNonUserCode]
  1182. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1183. {
  1184. base.OnRowDeleting(e);
  1185. if (this.SupplierRowDeleting != null)
  1186. {
  1187. this.SupplierRowDeleting(this, new SupplierRowChangeEvent((SupplierRow)e.Row, e.Action));
  1188. }
  1189. }
  1190. [DebuggerNonUserCode]
  1191. public void RemoveSupplierRow(SupplierRow row)
  1192. {
  1193. base.Rows.Remove(row);
  1194. }
  1195. [DebuggerNonUserCode]
  1196. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1197. {
  1198. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1199. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1200. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  1201. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  1202. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1203. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1204. xmlSchemaAny.MinOccurs = 0m;
  1205. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1206. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1207. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1208. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1209. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1210. xmlSchemaAny2.MinOccurs = 1m;
  1211. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1212. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1213. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1214. xmlSchemaAttribute.Name = "namespace";
  1215. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  1216. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1217. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1218. xmlSchemaAttribute2.Name = "tableTypeName";
  1219. xmlSchemaAttribute2.FixedValue = "SupplierDataTable";
  1220. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1221. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1222. return xmlSchemaComplexType;
  1223. }
  1224. }
  1225. [Serializable]
  1226. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1227. [XmlSchemaProvider("GetTypedTableSchema")]
  1228. public class LinkmanDataTable : DataTable, IEnumerable
  1229. {
  1230. private DataColumn columnName_Linkman;
  1231. private DataColumn columnDepartment_Linkman;
  1232. private DataColumn columnDuty_Linkman;
  1233. private DataColumn columnTel_Linkman;
  1234. private DataColumn columnFax_Linkman;
  1235. private DataColumn columnMobile_Linkman;
  1236. private DataColumn columnEmail_Linkman;
  1237. private DataColumn columnIsMain_Linkman;
  1238. private DataColumn columnComment_Linkman;
  1239. [DebuggerNonUserCode]
  1240. public DataColumn Name_LinkmanColumn => columnName_Linkman;
  1241. [DebuggerNonUserCode]
  1242. public DataColumn Department_LinkmanColumn => columnDepartment_Linkman;
  1243. [DebuggerNonUserCode]
  1244. public DataColumn Duty_LinkmanColumn => columnDuty_Linkman;
  1245. [DebuggerNonUserCode]
  1246. public DataColumn Tel_LinkmanColumn => columnTel_Linkman;
  1247. [DebuggerNonUserCode]
  1248. public DataColumn Fax_LinkmanColumn => columnFax_Linkman;
  1249. [DebuggerNonUserCode]
  1250. public DataColumn Mobile_LinkmanColumn => columnMobile_Linkman;
  1251. [DebuggerNonUserCode]
  1252. public DataColumn Email_LinkmanColumn => columnEmail_Linkman;
  1253. [DebuggerNonUserCode]
  1254. public DataColumn IsMain_LinkmanColumn => columnIsMain_Linkman;
  1255. [DebuggerNonUserCode]
  1256. public DataColumn Comment_LinkmanColumn => columnComment_Linkman;
  1257. [Browsable(false)]
  1258. [DebuggerNonUserCode]
  1259. public int Count => base.Rows.Count;
  1260. [DebuggerNonUserCode]
  1261. public LinkmanRow this[int index] => (LinkmanRow)base.Rows[index];
  1262. public event LinkmanRowChangeEventHandler LinkmanRowChanging;
  1263. public event LinkmanRowChangeEventHandler LinkmanRowChanged;
  1264. public event LinkmanRowChangeEventHandler LinkmanRowDeleting;
  1265. public event LinkmanRowChangeEventHandler LinkmanRowDeleted;
  1266. [DebuggerNonUserCode]
  1267. public LinkmanDataTable()
  1268. {
  1269. base.TableName = "Linkman";
  1270. BeginInit();
  1271. InitClass();
  1272. EndInit();
  1273. }
  1274. [DebuggerNonUserCode]
  1275. internal LinkmanDataTable(DataTable table)
  1276. {
  1277. base.TableName = table.TableName;
  1278. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1279. {
  1280. base.CaseSensitive = table.CaseSensitive;
  1281. }
  1282. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1283. {
  1284. base.Locale = table.Locale;
  1285. }
  1286. if (table.Namespace != table.DataSet.Namespace)
  1287. {
  1288. base.Namespace = table.Namespace;
  1289. }
  1290. base.Prefix = table.Prefix;
  1291. base.MinimumCapacity = table.MinimumCapacity;
  1292. }
  1293. [DebuggerNonUserCode]
  1294. protected LinkmanDataTable(SerializationInfo info, StreamingContext context)
  1295. : base(info, context)
  1296. {
  1297. InitVars();
  1298. }
  1299. [DebuggerNonUserCode]
  1300. public void AddLinkmanRow(LinkmanRow row)
  1301. {
  1302. base.Rows.Add(row);
  1303. }
  1304. [DebuggerNonUserCode]
  1305. 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)
  1306. {
  1307. LinkmanRow linkmanRow = (LinkmanRow)NewRow();
  1308. linkmanRow.ItemArray = new object[9]
  1309. {
  1310. Name_Linkman,
  1311. Department_Linkman,
  1312. Duty_Linkman,
  1313. Tel_Linkman,
  1314. Fax_Linkman,
  1315. Mobile_Linkman,
  1316. Email_Linkman,
  1317. IsMain_Linkman,
  1318. Comment_Linkman
  1319. };
  1320. base.Rows.Add(linkmanRow);
  1321. return linkmanRow;
  1322. }
  1323. [DebuggerNonUserCode]
  1324. public virtual IEnumerator GetEnumerator()
  1325. {
  1326. return base.Rows.GetEnumerator();
  1327. }
  1328. [DebuggerNonUserCode]
  1329. public override DataTable Clone()
  1330. {
  1331. LinkmanDataTable linkmanDataTable = (LinkmanDataTable)base.Clone();
  1332. linkmanDataTable.InitVars();
  1333. return linkmanDataTable;
  1334. }
  1335. [DebuggerNonUserCode]
  1336. protected override DataTable CreateInstance()
  1337. {
  1338. return new LinkmanDataTable();
  1339. }
  1340. [DebuggerNonUserCode]
  1341. internal void InitVars()
  1342. {
  1343. columnName_Linkman = base.Columns["Name_Linkman"];
  1344. columnDepartment_Linkman = base.Columns["Department_Linkman"];
  1345. columnDuty_Linkman = base.Columns["Duty_Linkman"];
  1346. columnTel_Linkman = base.Columns["Tel_Linkman"];
  1347. columnFax_Linkman = base.Columns["Fax_Linkman"];
  1348. columnMobile_Linkman = base.Columns["Mobile_Linkman"];
  1349. columnEmail_Linkman = base.Columns["Email_Linkman"];
  1350. columnIsMain_Linkman = base.Columns["IsMain_Linkman"];
  1351. columnComment_Linkman = base.Columns["Comment_Linkman"];
  1352. }
  1353. [DebuggerNonUserCode]
  1354. private void InitClass()
  1355. {
  1356. columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element);
  1357. base.Columns.Add(columnName_Linkman);
  1358. columnDepartment_Linkman = new DataColumn("Department_Linkman", typeof(string), null, MappingType.Element);
  1359. base.Columns.Add(columnDepartment_Linkman);
  1360. columnDuty_Linkman = new DataColumn("Duty_Linkman", typeof(string), null, MappingType.Element);
  1361. base.Columns.Add(columnDuty_Linkman);
  1362. columnTel_Linkman = new DataColumn("Tel_Linkman", typeof(string), null, MappingType.Element);
  1363. base.Columns.Add(columnTel_Linkman);
  1364. columnFax_Linkman = new DataColumn("Fax_Linkman", typeof(string), null, MappingType.Element);
  1365. base.Columns.Add(columnFax_Linkman);
  1366. columnMobile_Linkman = new DataColumn("Mobile_Linkman", typeof(string), null, MappingType.Element);
  1367. base.Columns.Add(columnMobile_Linkman);
  1368. columnEmail_Linkman = new DataColumn("Email_Linkman", typeof(string), null, MappingType.Element);
  1369. base.Columns.Add(columnEmail_Linkman);
  1370. columnIsMain_Linkman = new DataColumn("IsMain_Linkman", typeof(bool), null, MappingType.Element);
  1371. base.Columns.Add(columnIsMain_Linkman);
  1372. columnComment_Linkman = new DataColumn("Comment_Linkman", typeof(string), null, MappingType.Element);
  1373. base.Columns.Add(columnComment_Linkman);
  1374. }
  1375. [DebuggerNonUserCode]
  1376. public LinkmanRow NewLinkmanRow()
  1377. {
  1378. return (LinkmanRow)NewRow();
  1379. }
  1380. [DebuggerNonUserCode]
  1381. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1382. {
  1383. return new LinkmanRow(builder);
  1384. }
  1385. [DebuggerNonUserCode]
  1386. protected override Type GetRowType()
  1387. {
  1388. return typeof(LinkmanRow);
  1389. }
  1390. [DebuggerNonUserCode]
  1391. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1392. {
  1393. base.OnRowChanged(e);
  1394. if (this.LinkmanRowChanged != null)
  1395. {
  1396. this.LinkmanRowChanged(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1397. }
  1398. }
  1399. [DebuggerNonUserCode]
  1400. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1401. {
  1402. base.OnRowChanging(e);
  1403. if (this.LinkmanRowChanging != null)
  1404. {
  1405. this.LinkmanRowChanging(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1406. }
  1407. }
  1408. [DebuggerNonUserCode]
  1409. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1410. {
  1411. base.OnRowDeleted(e);
  1412. if (this.LinkmanRowDeleted != null)
  1413. {
  1414. this.LinkmanRowDeleted(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1415. }
  1416. }
  1417. [DebuggerNonUserCode]
  1418. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1419. {
  1420. base.OnRowDeleting(e);
  1421. if (this.LinkmanRowDeleting != null)
  1422. {
  1423. this.LinkmanRowDeleting(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1424. }
  1425. }
  1426. [DebuggerNonUserCode]
  1427. public void RemoveLinkmanRow(LinkmanRow row)
  1428. {
  1429. base.Rows.Remove(row);
  1430. }
  1431. [DebuggerNonUserCode]
  1432. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1433. {
  1434. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1435. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1436. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  1437. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  1438. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1439. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1440. xmlSchemaAny.MinOccurs = 0m;
  1441. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1442. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1443. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1444. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1445. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1446. xmlSchemaAny2.MinOccurs = 1m;
  1447. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1448. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1449. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1450. xmlSchemaAttribute.Name = "namespace";
  1451. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  1452. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1453. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1454. xmlSchemaAttribute2.Name = "tableTypeName";
  1455. xmlSchemaAttribute2.FixedValue = "LinkmanDataTable";
  1456. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1457. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1458. return xmlSchemaComplexType;
  1459. }
  1460. }
  1461. [Serializable]
  1462. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1463. [XmlSchemaProvider("GetTypedTableSchema")]
  1464. public class AppendInfoDataTable : DataTable, IEnumerable
  1465. {
  1466. private DataColumn columnCurrentCompany;
  1467. private DataColumn columnCurrentUser;
  1468. [DebuggerNonUserCode]
  1469. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  1470. [DebuggerNonUserCode]
  1471. public DataColumn CurrentUserColumn => columnCurrentUser;
  1472. [Browsable(false)]
  1473. [DebuggerNonUserCode]
  1474. public int Count => base.Rows.Count;
  1475. [DebuggerNonUserCode]
  1476. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  1477. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  1478. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  1479. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  1480. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  1481. [DebuggerNonUserCode]
  1482. public AppendInfoDataTable()
  1483. {
  1484. base.TableName = "AppendInfo";
  1485. BeginInit();
  1486. InitClass();
  1487. EndInit();
  1488. }
  1489. [DebuggerNonUserCode]
  1490. internal AppendInfoDataTable(DataTable table)
  1491. {
  1492. base.TableName = table.TableName;
  1493. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1494. {
  1495. base.CaseSensitive = table.CaseSensitive;
  1496. }
  1497. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1498. {
  1499. base.Locale = table.Locale;
  1500. }
  1501. if (table.Namespace != table.DataSet.Namespace)
  1502. {
  1503. base.Namespace = table.Namespace;
  1504. }
  1505. base.Prefix = table.Prefix;
  1506. base.MinimumCapacity = table.MinimumCapacity;
  1507. }
  1508. [DebuggerNonUserCode]
  1509. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  1510. : base(info, context)
  1511. {
  1512. InitVars();
  1513. }
  1514. [DebuggerNonUserCode]
  1515. public void AddAppendInfoRow(AppendInfoRow row)
  1516. {
  1517. base.Rows.Add(row);
  1518. }
  1519. [DebuggerNonUserCode]
  1520. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  1521. {
  1522. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  1523. appendInfoRow.ItemArray = new object[2]
  1524. {
  1525. CurrentCompany,
  1526. CurrentUser
  1527. };
  1528. base.Rows.Add(appendInfoRow);
  1529. return appendInfoRow;
  1530. }
  1531. [DebuggerNonUserCode]
  1532. public virtual IEnumerator GetEnumerator()
  1533. {
  1534. return base.Rows.GetEnumerator();
  1535. }
  1536. [DebuggerNonUserCode]
  1537. public override DataTable Clone()
  1538. {
  1539. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  1540. appendInfoDataTable.InitVars();
  1541. return appendInfoDataTable;
  1542. }
  1543. [DebuggerNonUserCode]
  1544. protected override DataTable CreateInstance()
  1545. {
  1546. return new AppendInfoDataTable();
  1547. }
  1548. [DebuggerNonUserCode]
  1549. internal void InitVars()
  1550. {
  1551. columnCurrentCompany = base.Columns["CurrentCompany"];
  1552. columnCurrentUser = base.Columns["CurrentUser"];
  1553. }
  1554. [DebuggerNonUserCode]
  1555. private void InitClass()
  1556. {
  1557. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  1558. base.Columns.Add(columnCurrentCompany);
  1559. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  1560. base.Columns.Add(columnCurrentUser);
  1561. }
  1562. [DebuggerNonUserCode]
  1563. public AppendInfoRow NewAppendInfoRow()
  1564. {
  1565. return (AppendInfoRow)NewRow();
  1566. }
  1567. [DebuggerNonUserCode]
  1568. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1569. {
  1570. return new AppendInfoRow(builder);
  1571. }
  1572. [DebuggerNonUserCode]
  1573. protected override Type GetRowType()
  1574. {
  1575. return typeof(AppendInfoRow);
  1576. }
  1577. [DebuggerNonUserCode]
  1578. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1579. {
  1580. base.OnRowChanged(e);
  1581. if (this.AppendInfoRowChanged != null)
  1582. {
  1583. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1584. }
  1585. }
  1586. [DebuggerNonUserCode]
  1587. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1588. {
  1589. base.OnRowChanging(e);
  1590. if (this.AppendInfoRowChanging != null)
  1591. {
  1592. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1593. }
  1594. }
  1595. [DebuggerNonUserCode]
  1596. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1597. {
  1598. base.OnRowDeleted(e);
  1599. if (this.AppendInfoRowDeleted != null)
  1600. {
  1601. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1602. }
  1603. }
  1604. [DebuggerNonUserCode]
  1605. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1606. {
  1607. base.OnRowDeleting(e);
  1608. if (this.AppendInfoRowDeleting != null)
  1609. {
  1610. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1611. }
  1612. }
  1613. [DebuggerNonUserCode]
  1614. public void RemoveAppendInfoRow(AppendInfoRow row)
  1615. {
  1616. base.Rows.Remove(row);
  1617. }
  1618. [DebuggerNonUserCode]
  1619. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1620. {
  1621. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1622. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1623. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  1624. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  1625. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1626. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1627. xmlSchemaAny.MinOccurs = 0m;
  1628. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1629. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1630. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1631. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1632. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1633. xmlSchemaAny2.MinOccurs = 1m;
  1634. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1635. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1636. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1637. xmlSchemaAttribute.Name = "namespace";
  1638. xmlSchemaAttribute.FixedValue = dsFrmSupplier.Namespace;
  1639. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1640. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1641. xmlSchemaAttribute2.Name = "tableTypeName";
  1642. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  1643. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1644. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1645. return xmlSchemaComplexType;
  1646. }
  1647. }
  1648. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1649. public class TelephoneRow : DataRow
  1650. {
  1651. private TelephoneDataTable tableTelephone;
  1652. [DebuggerNonUserCode]
  1653. public string Name_Telephone
  1654. {
  1655. get
  1656. {
  1657. try
  1658. {
  1659. return (string)base[tableTelephone.Name_TelephoneColumn];
  1660. }
  1661. catch (InvalidCastException innerException)
  1662. {
  1663. throw new StrongTypingException("The value for column 'Name_Telephone' in table 'Telephone' is DBNull.", innerException);
  1664. }
  1665. }
  1666. set
  1667. {
  1668. base[tableTelephone.Name_TelephoneColumn] = value;
  1669. }
  1670. }
  1671. [DebuggerNonUserCode]
  1672. public string No_Telephone
  1673. {
  1674. get
  1675. {
  1676. try
  1677. {
  1678. return (string)base[tableTelephone.No_TelephoneColumn];
  1679. }
  1680. catch (InvalidCastException innerException)
  1681. {
  1682. throw new StrongTypingException("The value for column 'No_Telephone' in table 'Telephone' is DBNull.", innerException);
  1683. }
  1684. }
  1685. set
  1686. {
  1687. base[tableTelephone.No_TelephoneColumn] = value;
  1688. }
  1689. }
  1690. [DebuggerNonUserCode]
  1691. public bool Focus_Telephone
  1692. {
  1693. get
  1694. {
  1695. try
  1696. {
  1697. return (bool)base[tableTelephone.Focus_TelephoneColumn];
  1698. }
  1699. catch (InvalidCastException innerException)
  1700. {
  1701. throw new StrongTypingException("The value for column 'Focus_Telephone' in table 'Telephone' is DBNull.", innerException);
  1702. }
  1703. }
  1704. set
  1705. {
  1706. base[tableTelephone.Focus_TelephoneColumn] = value;
  1707. }
  1708. }
  1709. [DebuggerNonUserCode]
  1710. internal TelephoneRow(DataRowBuilder rb)
  1711. : base(rb)
  1712. {
  1713. tableTelephone = (TelephoneDataTable)base.Table;
  1714. }
  1715. [DebuggerNonUserCode]
  1716. public bool IsName_TelephoneNull()
  1717. {
  1718. return IsNull(tableTelephone.Name_TelephoneColumn);
  1719. }
  1720. [DebuggerNonUserCode]
  1721. public void SetName_TelephoneNull()
  1722. {
  1723. base[tableTelephone.Name_TelephoneColumn] = Convert.DBNull;
  1724. }
  1725. [DebuggerNonUserCode]
  1726. public bool IsNo_TelephoneNull()
  1727. {
  1728. return IsNull(tableTelephone.No_TelephoneColumn);
  1729. }
  1730. [DebuggerNonUserCode]
  1731. public void SetNo_TelephoneNull()
  1732. {
  1733. base[tableTelephone.No_TelephoneColumn] = Convert.DBNull;
  1734. }
  1735. [DebuggerNonUserCode]
  1736. public bool IsFocus_TelephoneNull()
  1737. {
  1738. return IsNull(tableTelephone.Focus_TelephoneColumn);
  1739. }
  1740. [DebuggerNonUserCode]
  1741. public void SetFocus_TelephoneNull()
  1742. {
  1743. base[tableTelephone.Focus_TelephoneColumn] = Convert.DBNull;
  1744. }
  1745. }
  1746. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1747. public class PrincipalRow : DataRow
  1748. {
  1749. private PrincipalDataTable tablePrincipal;
  1750. [DebuggerNonUserCode]
  1751. public bool IsMain_Principal
  1752. {
  1753. get
  1754. {
  1755. try
  1756. {
  1757. return (bool)base[tablePrincipal.IsMain_PrincipalColumn];
  1758. }
  1759. catch (InvalidCastException innerException)
  1760. {
  1761. throw new StrongTypingException("The value for column 'IsMain_Principal' in table 'Principal' is DBNull.", innerException);
  1762. }
  1763. }
  1764. set
  1765. {
  1766. base[tablePrincipal.IsMain_PrincipalColumn] = value;
  1767. }
  1768. }
  1769. [DebuggerNonUserCode]
  1770. public string Comment_Principal
  1771. {
  1772. get
  1773. {
  1774. try
  1775. {
  1776. return (string)base[tablePrincipal.Comment_PrincipalColumn];
  1777. }
  1778. catch (InvalidCastException innerException)
  1779. {
  1780. throw new StrongTypingException("The value for column 'Comment_Principal' in table 'Principal' is DBNull.", innerException);
  1781. }
  1782. }
  1783. set
  1784. {
  1785. base[tablePrincipal.Comment_PrincipalColumn] = value;
  1786. }
  1787. }
  1788. [DebuggerNonUserCode]
  1789. public string Name_Employee
  1790. {
  1791. get
  1792. {
  1793. try
  1794. {
  1795. return (string)base[tablePrincipal.Name_EmployeeColumn];
  1796. }
  1797. catch (InvalidCastException innerException)
  1798. {
  1799. throw new StrongTypingException("The value for column 'Name_Employee' in table 'Principal' is DBNull.", innerException);
  1800. }
  1801. }
  1802. set
  1803. {
  1804. base[tablePrincipal.Name_EmployeeColumn] = value;
  1805. }
  1806. }
  1807. [DebuggerNonUserCode]
  1808. public string No_Employee
  1809. {
  1810. get
  1811. {
  1812. try
  1813. {
  1814. return (string)base[tablePrincipal.No_EmployeeColumn];
  1815. }
  1816. catch (InvalidCastException innerException)
  1817. {
  1818. throw new StrongTypingException("The value for column 'No_Employee' in table 'Principal' is DBNull.", innerException);
  1819. }
  1820. }
  1821. set
  1822. {
  1823. base[tablePrincipal.No_EmployeeColumn] = value;
  1824. }
  1825. }
  1826. [DebuggerNonUserCode]
  1827. internal PrincipalRow(DataRowBuilder rb)
  1828. : base(rb)
  1829. {
  1830. tablePrincipal = (PrincipalDataTable)base.Table;
  1831. }
  1832. [DebuggerNonUserCode]
  1833. public bool IsIsMain_PrincipalNull()
  1834. {
  1835. return IsNull(tablePrincipal.IsMain_PrincipalColumn);
  1836. }
  1837. [DebuggerNonUserCode]
  1838. public void SetIsMain_PrincipalNull()
  1839. {
  1840. base[tablePrincipal.IsMain_PrincipalColumn] = Convert.DBNull;
  1841. }
  1842. [DebuggerNonUserCode]
  1843. public bool IsComment_PrincipalNull()
  1844. {
  1845. return IsNull(tablePrincipal.Comment_PrincipalColumn);
  1846. }
  1847. [DebuggerNonUserCode]
  1848. public void SetComment_PrincipalNull()
  1849. {
  1850. base[tablePrincipal.Comment_PrincipalColumn] = Convert.DBNull;
  1851. }
  1852. [DebuggerNonUserCode]
  1853. public bool IsName_EmployeeNull()
  1854. {
  1855. return IsNull(tablePrincipal.Name_EmployeeColumn);
  1856. }
  1857. [DebuggerNonUserCode]
  1858. public void SetName_EmployeeNull()
  1859. {
  1860. base[tablePrincipal.Name_EmployeeColumn] = Convert.DBNull;
  1861. }
  1862. [DebuggerNonUserCode]
  1863. public bool IsNo_EmployeeNull()
  1864. {
  1865. return IsNull(tablePrincipal.No_EmployeeColumn);
  1866. }
  1867. [DebuggerNonUserCode]
  1868. public void SetNo_EmployeeNull()
  1869. {
  1870. base[tablePrincipal.No_EmployeeColumn] = Convert.DBNull;
  1871. }
  1872. }
  1873. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1874. public class EmployeeRow : DataRow
  1875. {
  1876. private EmployeeDataTable tableEmployee;
  1877. [DebuggerNonUserCode]
  1878. public string No_Employee
  1879. {
  1880. get
  1881. {
  1882. try
  1883. {
  1884. return (string)base[tableEmployee.No_EmployeeColumn];
  1885. }
  1886. catch (InvalidCastException innerException)
  1887. {
  1888. throw new StrongTypingException("The value for column 'No_Employee' in table 'Employee' is DBNull.", innerException);
  1889. }
  1890. }
  1891. set
  1892. {
  1893. base[tableEmployee.No_EmployeeColumn] = value;
  1894. }
  1895. }
  1896. [DebuggerNonUserCode]
  1897. public string Name_Employee
  1898. {
  1899. get
  1900. {
  1901. try
  1902. {
  1903. return (string)base[tableEmployee.Name_EmployeeColumn];
  1904. }
  1905. catch (InvalidCastException innerException)
  1906. {
  1907. throw new StrongTypingException("The value for column 'Name_Employee' in table 'Employee' is DBNull.", innerException);
  1908. }
  1909. }
  1910. set
  1911. {
  1912. base[tableEmployee.Name_EmployeeColumn] = value;
  1913. }
  1914. }
  1915. [DebuggerNonUserCode]
  1916. public string EmployeeNo_Employee
  1917. {
  1918. get
  1919. {
  1920. try
  1921. {
  1922. return (string)base[tableEmployee.EmployeeNo_EmployeeColumn];
  1923. }
  1924. catch (InvalidCastException innerException)
  1925. {
  1926. throw new StrongTypingException("The value for column 'EmployeeNo_Employee' in table 'Employee' is DBNull.", innerException);
  1927. }
  1928. }
  1929. set
  1930. {
  1931. base[tableEmployee.EmployeeNo_EmployeeColumn] = value;
  1932. }
  1933. }
  1934. [DebuggerNonUserCode]
  1935. public string NameEng_Employee
  1936. {
  1937. get
  1938. {
  1939. try
  1940. {
  1941. return (string)base[tableEmployee.NameEng_EmployeeColumn];
  1942. }
  1943. catch (InvalidCastException innerException)
  1944. {
  1945. throw new StrongTypingException("The value for column 'NameEng_Employee' in table 'Employee' is DBNull.", innerException);
  1946. }
  1947. }
  1948. set
  1949. {
  1950. base[tableEmployee.NameEng_EmployeeColumn] = value;
  1951. }
  1952. }
  1953. [DebuggerNonUserCode]
  1954. public bool Gender_Employee
  1955. {
  1956. get
  1957. {
  1958. try
  1959. {
  1960. return (bool)base[tableEmployee.Gender_EmployeeColumn];
  1961. }
  1962. catch (InvalidCastException innerException)
  1963. {
  1964. throw new StrongTypingException("The value for column 'Gender_Employee' in table 'Employee' is DBNull.", innerException);
  1965. }
  1966. }
  1967. set
  1968. {
  1969. base[tableEmployee.Gender_EmployeeColumn] = value;
  1970. }
  1971. }
  1972. [DebuggerNonUserCode]
  1973. public int Country_Employee
  1974. {
  1975. get
  1976. {
  1977. try
  1978. {
  1979. return (int)base[tableEmployee.Country_EmployeeColumn];
  1980. }
  1981. catch (InvalidCastException innerException)
  1982. {
  1983. throw new StrongTypingException("The value for column 'Country_Employee' in table 'Employee' is DBNull.", innerException);
  1984. }
  1985. }
  1986. set
  1987. {
  1988. base[tableEmployee.Country_EmployeeColumn] = value;
  1989. }
  1990. }
  1991. [DebuggerNonUserCode]
  1992. public string Homeplace_Employee
  1993. {
  1994. get
  1995. {
  1996. try
  1997. {
  1998. return (string)base[tableEmployee.Homeplace_EmployeeColumn];
  1999. }
  2000. catch (InvalidCastException innerException)
  2001. {
  2002. throw new StrongTypingException("The value for column 'Homeplace_Employee' in table 'Employee' is DBNull.", innerException);
  2003. }
  2004. }
  2005. set
  2006. {
  2007. base[tableEmployee.Homeplace_EmployeeColumn] = value;
  2008. }
  2009. }
  2010. [DebuggerNonUserCode]
  2011. public string Nation_Employee
  2012. {
  2013. get
  2014. {
  2015. try
  2016. {
  2017. return (string)base[tableEmployee.Nation_EmployeeColumn];
  2018. }
  2019. catch (InvalidCastException innerException)
  2020. {
  2021. throw new StrongTypingException("The value for column 'Nation_Employee' in table 'Employee' is DBNull.", innerException);
  2022. }
  2023. }
  2024. set
  2025. {
  2026. base[tableEmployee.Nation_EmployeeColumn] = value;
  2027. }
  2028. }
  2029. [DebuggerNonUserCode]
  2030. public string IDNo_Employee
  2031. {
  2032. get
  2033. {
  2034. try
  2035. {
  2036. return (string)base[tableEmployee.IDNo_EmployeeColumn];
  2037. }
  2038. catch (InvalidCastException innerException)
  2039. {
  2040. throw new StrongTypingException("The value for column 'IDNo_Employee' in table 'Employee' is DBNull.", innerException);
  2041. }
  2042. }
  2043. set
  2044. {
  2045. base[tableEmployee.IDNo_EmployeeColumn] = value;
  2046. }
  2047. }
  2048. [DebuggerNonUserCode]
  2049. public string Passport_Employee
  2050. {
  2051. get
  2052. {
  2053. try
  2054. {
  2055. return (string)base[tableEmployee.Passport_EmployeeColumn];
  2056. }
  2057. catch (InvalidCastException innerException)
  2058. {
  2059. throw new StrongTypingException("The value for column 'Passport_Employee' in table 'Employee' is DBNull.", innerException);
  2060. }
  2061. }
  2062. set
  2063. {
  2064. base[tableEmployee.Passport_EmployeeColumn] = value;
  2065. }
  2066. }
  2067. [DebuggerNonUserCode]
  2068. public bool IsMarried_Employee
  2069. {
  2070. get
  2071. {
  2072. try
  2073. {
  2074. return (bool)base[tableEmployee.IsMarried_EmployeeColumn];
  2075. }
  2076. catch (InvalidCastException innerException)
  2077. {
  2078. throw new StrongTypingException("The value for column 'IsMarried_Employee' in table 'Employee' is DBNull.", innerException);
  2079. }
  2080. }
  2081. set
  2082. {
  2083. base[tableEmployee.IsMarried_EmployeeColumn] = value;
  2084. }
  2085. }
  2086. [DebuggerNonUserCode]
  2087. public DateTime CreateDate_Employee
  2088. {
  2089. get
  2090. {
  2091. try
  2092. {
  2093. return (DateTime)base[tableEmployee.CreateDate_EmployeeColumn];
  2094. }
  2095. catch (InvalidCastException innerException)
  2096. {
  2097. throw new StrongTypingException("The value for column 'CreateDate_Employee' in table 'Employee' is DBNull.", innerException);
  2098. }
  2099. }
  2100. set
  2101. {
  2102. base[tableEmployee.CreateDate_EmployeeColumn] = value;
  2103. }
  2104. }
  2105. [DebuggerNonUserCode]
  2106. public string Duty_Employee
  2107. {
  2108. get
  2109. {
  2110. try
  2111. {
  2112. return (string)base[tableEmployee.Duty_EmployeeColumn];
  2113. }
  2114. catch (InvalidCastException innerException)
  2115. {
  2116. throw new StrongTypingException("The value for column 'Duty_Employee' in table 'Employee' is DBNull.", innerException);
  2117. }
  2118. }
  2119. set
  2120. {
  2121. base[tableEmployee.Duty_EmployeeColumn] = value;
  2122. }
  2123. }
  2124. [DebuggerNonUserCode]
  2125. public decimal Probation_Employee
  2126. {
  2127. get
  2128. {
  2129. try
  2130. {
  2131. return (decimal)base[tableEmployee.Probation_EmployeeColumn];
  2132. }
  2133. catch (InvalidCastException innerException)
  2134. {
  2135. throw new StrongTypingException("The value for column 'Probation_Employee' in table 'Employee' is DBNull.", innerException);
  2136. }
  2137. }
  2138. set
  2139. {
  2140. base[tableEmployee.Probation_EmployeeColumn] = value;
  2141. }
  2142. }
  2143. [DebuggerNonUserCode]
  2144. public DateTime OnJobDate_Employee
  2145. {
  2146. get
  2147. {
  2148. try
  2149. {
  2150. return (DateTime)base[tableEmployee.OnJobDate_EmployeeColumn];
  2151. }
  2152. catch (InvalidCastException innerException)
  2153. {
  2154. throw new StrongTypingException("The value for column 'OnJobDate_Employee' in table 'Employee' is DBNull.", innerException);
  2155. }
  2156. }
  2157. set
  2158. {
  2159. base[tableEmployee.OnJobDate_EmployeeColumn] = value;
  2160. }
  2161. }
  2162. [DebuggerNonUserCode]
  2163. public DateTime OnDuty_Employee
  2164. {
  2165. get
  2166. {
  2167. try
  2168. {
  2169. return (DateTime)base[tableEmployee.OnDuty_EmployeeColumn];
  2170. }
  2171. catch (InvalidCastException innerException)
  2172. {
  2173. throw new StrongTypingException("The value for column 'OnDuty_Employee' in table 'Employee' is DBNull.", innerException);
  2174. }
  2175. }
  2176. set
  2177. {
  2178. base[tableEmployee.OnDuty_EmployeeColumn] = value;
  2179. }
  2180. }
  2181. [DebuggerNonUserCode]
  2182. public int ObJobStatus_Employee
  2183. {
  2184. get
  2185. {
  2186. try
  2187. {
  2188. return (int)base[tableEmployee.ObJobStatus_EmployeeColumn];
  2189. }
  2190. catch (InvalidCastException innerException)
  2191. {
  2192. throw new StrongTypingException("The value for column 'ObJobStatus_Employee' in table 'Employee' is DBNull.", innerException);
  2193. }
  2194. }
  2195. set
  2196. {
  2197. base[tableEmployee.ObJobStatus_EmployeeColumn] = value;
  2198. }
  2199. }
  2200. [DebuggerNonUserCode]
  2201. public DateTime OffDuty_Employee
  2202. {
  2203. get
  2204. {
  2205. try
  2206. {
  2207. return (DateTime)base[tableEmployee.OffDuty_EmployeeColumn];
  2208. }
  2209. catch (InvalidCastException innerException)
  2210. {
  2211. throw new StrongTypingException("The value for column 'OffDuty_Employee' in table 'Employee' is DBNull.", innerException);
  2212. }
  2213. }
  2214. set
  2215. {
  2216. base[tableEmployee.OffDuty_EmployeeColumn] = value;
  2217. }
  2218. }
  2219. [DebuggerNonUserCode]
  2220. public DateTime SuspendDate_Employee
  2221. {
  2222. get
  2223. {
  2224. try
  2225. {
  2226. return (DateTime)base[tableEmployee.SuspendDate_EmployeeColumn];
  2227. }
  2228. catch (InvalidCastException innerException)
  2229. {
  2230. throw new StrongTypingException("The value for column 'SuspendDate_Employee' in table 'Employee' is DBNull.", innerException);
  2231. }
  2232. }
  2233. set
  2234. {
  2235. base[tableEmployee.SuspendDate_EmployeeColumn] = value;
  2236. }
  2237. }
  2238. [DebuggerNonUserCode]
  2239. public string Tel_Employee
  2240. {
  2241. get
  2242. {
  2243. try
  2244. {
  2245. return (string)base[tableEmployee.Tel_EmployeeColumn];
  2246. }
  2247. catch (InvalidCastException innerException)
  2248. {
  2249. throw new StrongTypingException("The value for column 'Tel_Employee' in table 'Employee' is DBNull.", innerException);
  2250. }
  2251. }
  2252. set
  2253. {
  2254. base[tableEmployee.Tel_EmployeeColumn] = value;
  2255. }
  2256. }
  2257. [DebuggerNonUserCode]
  2258. public string EMail_Employee
  2259. {
  2260. get
  2261. {
  2262. try
  2263. {
  2264. return (string)base[tableEmployee.EMail_EmployeeColumn];
  2265. }
  2266. catch (InvalidCastException innerException)
  2267. {
  2268. throw new StrongTypingException("The value for column 'EMail_Employee' in table 'Employee' is DBNull.", innerException);
  2269. }
  2270. }
  2271. set
  2272. {
  2273. base[tableEmployee.EMail_EmployeeColumn] = value;
  2274. }
  2275. }
  2276. [DebuggerNonUserCode]
  2277. public string Address_Employee
  2278. {
  2279. get
  2280. {
  2281. try
  2282. {
  2283. return (string)base[tableEmployee.Address_EmployeeColumn];
  2284. }
  2285. catch (InvalidCastException innerException)
  2286. {
  2287. throw new StrongTypingException("The value for column 'Address_Employee' in table 'Employee' is DBNull.", innerException);
  2288. }
  2289. }
  2290. set
  2291. {
  2292. base[tableEmployee.Address_EmployeeColumn] = value;
  2293. }
  2294. }
  2295. [DebuggerNonUserCode]
  2296. public string Comment_Employee
  2297. {
  2298. get
  2299. {
  2300. try
  2301. {
  2302. return (string)base[tableEmployee.Comment_EmployeeColumn];
  2303. }
  2304. catch (InvalidCastException innerException)
  2305. {
  2306. throw new StrongTypingException("The value for column 'Comment_Employee' in table 'Employee' is DBNull.", innerException);
  2307. }
  2308. }
  2309. set
  2310. {
  2311. base[tableEmployee.Comment_EmployeeColumn] = value;
  2312. }
  2313. }
  2314. [DebuggerNonUserCode]
  2315. public DateTime LastModDate_Employee
  2316. {
  2317. get
  2318. {
  2319. try
  2320. {
  2321. return (DateTime)base[tableEmployee.LastModDate_EmployeeColumn];
  2322. }
  2323. catch (InvalidCastException innerException)
  2324. {
  2325. throw new StrongTypingException("The value for column 'LastModDate_Employee' in table 'Employee' is DBNull.", innerException);
  2326. }
  2327. }
  2328. set
  2329. {
  2330. base[tableEmployee.LastModDate_EmployeeColumn] = value;
  2331. }
  2332. }
  2333. [DebuggerNonUserCode]
  2334. internal EmployeeRow(DataRowBuilder rb)
  2335. : base(rb)
  2336. {
  2337. tableEmployee = (EmployeeDataTable)base.Table;
  2338. }
  2339. [DebuggerNonUserCode]
  2340. public bool IsNo_EmployeeNull()
  2341. {
  2342. return IsNull(tableEmployee.No_EmployeeColumn);
  2343. }
  2344. [DebuggerNonUserCode]
  2345. public void SetNo_EmployeeNull()
  2346. {
  2347. base[tableEmployee.No_EmployeeColumn] = Convert.DBNull;
  2348. }
  2349. [DebuggerNonUserCode]
  2350. public bool IsName_EmployeeNull()
  2351. {
  2352. return IsNull(tableEmployee.Name_EmployeeColumn);
  2353. }
  2354. [DebuggerNonUserCode]
  2355. public void SetName_EmployeeNull()
  2356. {
  2357. base[tableEmployee.Name_EmployeeColumn] = Convert.DBNull;
  2358. }
  2359. [DebuggerNonUserCode]
  2360. public bool IsEmployeeNo_EmployeeNull()
  2361. {
  2362. return IsNull(tableEmployee.EmployeeNo_EmployeeColumn);
  2363. }
  2364. [DebuggerNonUserCode]
  2365. public void SetEmployeeNo_EmployeeNull()
  2366. {
  2367. base[tableEmployee.EmployeeNo_EmployeeColumn] = Convert.DBNull;
  2368. }
  2369. [DebuggerNonUserCode]
  2370. public bool IsNameEng_EmployeeNull()
  2371. {
  2372. return IsNull(tableEmployee.NameEng_EmployeeColumn);
  2373. }
  2374. [DebuggerNonUserCode]
  2375. public void SetNameEng_EmployeeNull()
  2376. {
  2377. base[tableEmployee.NameEng_EmployeeColumn] = Convert.DBNull;
  2378. }
  2379. [DebuggerNonUserCode]
  2380. public bool IsGender_EmployeeNull()
  2381. {
  2382. return IsNull(tableEmployee.Gender_EmployeeColumn);
  2383. }
  2384. [DebuggerNonUserCode]
  2385. public void SetGender_EmployeeNull()
  2386. {
  2387. base[tableEmployee.Gender_EmployeeColumn] = Convert.DBNull;
  2388. }
  2389. [DebuggerNonUserCode]
  2390. public bool IsCountry_EmployeeNull()
  2391. {
  2392. return IsNull(tableEmployee.Country_EmployeeColumn);
  2393. }
  2394. [DebuggerNonUserCode]
  2395. public void SetCountry_EmployeeNull()
  2396. {
  2397. base[tableEmployee.Country_EmployeeColumn] = Convert.DBNull;
  2398. }
  2399. [DebuggerNonUserCode]
  2400. public bool IsHomeplace_EmployeeNull()
  2401. {
  2402. return IsNull(tableEmployee.Homeplace_EmployeeColumn);
  2403. }
  2404. [DebuggerNonUserCode]
  2405. public void SetHomeplace_EmployeeNull()
  2406. {
  2407. base[tableEmployee.Homeplace_EmployeeColumn] = Convert.DBNull;
  2408. }
  2409. [DebuggerNonUserCode]
  2410. public bool IsNation_EmployeeNull()
  2411. {
  2412. return IsNull(tableEmployee.Nation_EmployeeColumn);
  2413. }
  2414. [DebuggerNonUserCode]
  2415. public void SetNation_EmployeeNull()
  2416. {
  2417. base[tableEmployee.Nation_EmployeeColumn] = Convert.DBNull;
  2418. }
  2419. [DebuggerNonUserCode]
  2420. public bool IsIDNo_EmployeeNull()
  2421. {
  2422. return IsNull(tableEmployee.IDNo_EmployeeColumn);
  2423. }
  2424. [DebuggerNonUserCode]
  2425. public void SetIDNo_EmployeeNull()
  2426. {
  2427. base[tableEmployee.IDNo_EmployeeColumn] = Convert.DBNull;
  2428. }
  2429. [DebuggerNonUserCode]
  2430. public bool IsPassport_EmployeeNull()
  2431. {
  2432. return IsNull(tableEmployee.Passport_EmployeeColumn);
  2433. }
  2434. [DebuggerNonUserCode]
  2435. public void SetPassport_EmployeeNull()
  2436. {
  2437. base[tableEmployee.Passport_EmployeeColumn] = Convert.DBNull;
  2438. }
  2439. [DebuggerNonUserCode]
  2440. public bool IsIsMarried_EmployeeNull()
  2441. {
  2442. return IsNull(tableEmployee.IsMarried_EmployeeColumn);
  2443. }
  2444. [DebuggerNonUserCode]
  2445. public void SetIsMarried_EmployeeNull()
  2446. {
  2447. base[tableEmployee.IsMarried_EmployeeColumn] = Convert.DBNull;
  2448. }
  2449. [DebuggerNonUserCode]
  2450. public bool IsCreateDate_EmployeeNull()
  2451. {
  2452. return IsNull(tableEmployee.CreateDate_EmployeeColumn);
  2453. }
  2454. [DebuggerNonUserCode]
  2455. public void SetCreateDate_EmployeeNull()
  2456. {
  2457. base[tableEmployee.CreateDate_EmployeeColumn] = Convert.DBNull;
  2458. }
  2459. [DebuggerNonUserCode]
  2460. public bool IsDuty_EmployeeNull()
  2461. {
  2462. return IsNull(tableEmployee.Duty_EmployeeColumn);
  2463. }
  2464. [DebuggerNonUserCode]
  2465. public void SetDuty_EmployeeNull()
  2466. {
  2467. base[tableEmployee.Duty_EmployeeColumn] = Convert.DBNull;
  2468. }
  2469. [DebuggerNonUserCode]
  2470. public bool IsProbation_EmployeeNull()
  2471. {
  2472. return IsNull(tableEmployee.Probation_EmployeeColumn);
  2473. }
  2474. [DebuggerNonUserCode]
  2475. public void SetProbation_EmployeeNull()
  2476. {
  2477. base[tableEmployee.Probation_EmployeeColumn] = Convert.DBNull;
  2478. }
  2479. [DebuggerNonUserCode]
  2480. public bool IsOnJobDate_EmployeeNull()
  2481. {
  2482. return IsNull(tableEmployee.OnJobDate_EmployeeColumn);
  2483. }
  2484. [DebuggerNonUserCode]
  2485. public void SetOnJobDate_EmployeeNull()
  2486. {
  2487. base[tableEmployee.OnJobDate_EmployeeColumn] = Convert.DBNull;
  2488. }
  2489. [DebuggerNonUserCode]
  2490. public bool IsOnDuty_EmployeeNull()
  2491. {
  2492. return IsNull(tableEmployee.OnDuty_EmployeeColumn);
  2493. }
  2494. [DebuggerNonUserCode]
  2495. public void SetOnDuty_EmployeeNull()
  2496. {
  2497. base[tableEmployee.OnDuty_EmployeeColumn] = Convert.DBNull;
  2498. }
  2499. [DebuggerNonUserCode]
  2500. public bool IsObJobStatus_EmployeeNull()
  2501. {
  2502. return IsNull(tableEmployee.ObJobStatus_EmployeeColumn);
  2503. }
  2504. [DebuggerNonUserCode]
  2505. public void SetObJobStatus_EmployeeNull()
  2506. {
  2507. base[tableEmployee.ObJobStatus_EmployeeColumn] = Convert.DBNull;
  2508. }
  2509. [DebuggerNonUserCode]
  2510. public bool IsOffDuty_EmployeeNull()
  2511. {
  2512. return IsNull(tableEmployee.OffDuty_EmployeeColumn);
  2513. }
  2514. [DebuggerNonUserCode]
  2515. public void SetOffDuty_EmployeeNull()
  2516. {
  2517. base[tableEmployee.OffDuty_EmployeeColumn] = Convert.DBNull;
  2518. }
  2519. [DebuggerNonUserCode]
  2520. public bool IsSuspendDate_EmployeeNull()
  2521. {
  2522. return IsNull(tableEmployee.SuspendDate_EmployeeColumn);
  2523. }
  2524. [DebuggerNonUserCode]
  2525. public void SetSuspendDate_EmployeeNull()
  2526. {
  2527. base[tableEmployee.SuspendDate_EmployeeColumn] = Convert.DBNull;
  2528. }
  2529. [DebuggerNonUserCode]
  2530. public bool IsTel_EmployeeNull()
  2531. {
  2532. return IsNull(tableEmployee.Tel_EmployeeColumn);
  2533. }
  2534. [DebuggerNonUserCode]
  2535. public void SetTel_EmployeeNull()
  2536. {
  2537. base[tableEmployee.Tel_EmployeeColumn] = Convert.DBNull;
  2538. }
  2539. [DebuggerNonUserCode]
  2540. public bool IsEMail_EmployeeNull()
  2541. {
  2542. return IsNull(tableEmployee.EMail_EmployeeColumn);
  2543. }
  2544. [DebuggerNonUserCode]
  2545. public void SetEMail_EmployeeNull()
  2546. {
  2547. base[tableEmployee.EMail_EmployeeColumn] = Convert.DBNull;
  2548. }
  2549. [DebuggerNonUserCode]
  2550. public bool IsAddress_EmployeeNull()
  2551. {
  2552. return IsNull(tableEmployee.Address_EmployeeColumn);
  2553. }
  2554. [DebuggerNonUserCode]
  2555. public void SetAddress_EmployeeNull()
  2556. {
  2557. base[tableEmployee.Address_EmployeeColumn] = Convert.DBNull;
  2558. }
  2559. [DebuggerNonUserCode]
  2560. public bool IsComment_EmployeeNull()
  2561. {
  2562. return IsNull(tableEmployee.Comment_EmployeeColumn);
  2563. }
  2564. [DebuggerNonUserCode]
  2565. public void SetComment_EmployeeNull()
  2566. {
  2567. base[tableEmployee.Comment_EmployeeColumn] = Convert.DBNull;
  2568. }
  2569. [DebuggerNonUserCode]
  2570. public bool IsLastModDate_EmployeeNull()
  2571. {
  2572. return IsNull(tableEmployee.LastModDate_EmployeeColumn);
  2573. }
  2574. [DebuggerNonUserCode]
  2575. public void SetLastModDate_EmployeeNull()
  2576. {
  2577. base[tableEmployee.LastModDate_EmployeeColumn] = Convert.DBNull;
  2578. }
  2579. }
  2580. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2581. public class FaxRow : DataRow
  2582. {
  2583. private FaxDataTable tableFax;
  2584. [DebuggerNonUserCode]
  2585. public string Name_Fax
  2586. {
  2587. get
  2588. {
  2589. try
  2590. {
  2591. return (string)base[tableFax.Name_FaxColumn];
  2592. }
  2593. catch (InvalidCastException innerException)
  2594. {
  2595. throw new StrongTypingException("The value for column 'Name_Fax' in table 'Fax' is DBNull.", innerException);
  2596. }
  2597. }
  2598. set
  2599. {
  2600. base[tableFax.Name_FaxColumn] = value;
  2601. }
  2602. }
  2603. [DebuggerNonUserCode]
  2604. public string No_Fax
  2605. {
  2606. get
  2607. {
  2608. try
  2609. {
  2610. return (string)base[tableFax.No_FaxColumn];
  2611. }
  2612. catch (InvalidCastException innerException)
  2613. {
  2614. throw new StrongTypingException("The value for column 'No_Fax' in table 'Fax' is DBNull.", innerException);
  2615. }
  2616. }
  2617. set
  2618. {
  2619. base[tableFax.No_FaxColumn] = value;
  2620. }
  2621. }
  2622. [DebuggerNonUserCode]
  2623. public bool Focus_Fax
  2624. {
  2625. get
  2626. {
  2627. try
  2628. {
  2629. return (bool)base[tableFax.Focus_FaxColumn];
  2630. }
  2631. catch (InvalidCastException innerException)
  2632. {
  2633. throw new StrongTypingException("The value for column 'Focus_Fax' in table 'Fax' is DBNull.", innerException);
  2634. }
  2635. }
  2636. set
  2637. {
  2638. base[tableFax.Focus_FaxColumn] = value;
  2639. }
  2640. }
  2641. [DebuggerNonUserCode]
  2642. internal FaxRow(DataRowBuilder rb)
  2643. : base(rb)
  2644. {
  2645. tableFax = (FaxDataTable)base.Table;
  2646. }
  2647. [DebuggerNonUserCode]
  2648. public bool IsName_FaxNull()
  2649. {
  2650. return IsNull(tableFax.Name_FaxColumn);
  2651. }
  2652. [DebuggerNonUserCode]
  2653. public void SetName_FaxNull()
  2654. {
  2655. base[tableFax.Name_FaxColumn] = Convert.DBNull;
  2656. }
  2657. [DebuggerNonUserCode]
  2658. public bool IsNo_FaxNull()
  2659. {
  2660. return IsNull(tableFax.No_FaxColumn);
  2661. }
  2662. [DebuggerNonUserCode]
  2663. public void SetNo_FaxNull()
  2664. {
  2665. base[tableFax.No_FaxColumn] = Convert.DBNull;
  2666. }
  2667. [DebuggerNonUserCode]
  2668. public bool IsFocus_FaxNull()
  2669. {
  2670. return IsNull(tableFax.Focus_FaxColumn);
  2671. }
  2672. [DebuggerNonUserCode]
  2673. public void SetFocus_FaxNull()
  2674. {
  2675. base[tableFax.Focus_FaxColumn] = Convert.DBNull;
  2676. }
  2677. }
  2678. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2679. public class SupplierRow : DataRow
  2680. {
  2681. private SupplierDataTable tableSupplier;
  2682. [DebuggerNonUserCode]
  2683. public string No_Supplier
  2684. {
  2685. get
  2686. {
  2687. try
  2688. {
  2689. return (string)base[tableSupplier.No_SupplierColumn];
  2690. }
  2691. catch (InvalidCastException innerException)
  2692. {
  2693. throw new StrongTypingException("The value for column 'No_Supplier' in table 'Supplier' is DBNull.", innerException);
  2694. }
  2695. }
  2696. set
  2697. {
  2698. base[tableSupplier.No_SupplierColumn] = value;
  2699. }
  2700. }
  2701. [DebuggerNonUserCode]
  2702. public string ShortName_Supplier
  2703. {
  2704. get
  2705. {
  2706. try
  2707. {
  2708. return (string)base[tableSupplier.ShortName_SupplierColumn];
  2709. }
  2710. catch (InvalidCastException innerException)
  2711. {
  2712. throw new StrongTypingException("The value for column 'ShortName_Supplier' in table 'Supplier' is DBNull.", innerException);
  2713. }
  2714. }
  2715. set
  2716. {
  2717. base[tableSupplier.ShortName_SupplierColumn] = value;
  2718. }
  2719. }
  2720. [DebuggerNonUserCode]
  2721. public string Name_Supplier
  2722. {
  2723. get
  2724. {
  2725. try
  2726. {
  2727. return (string)base[tableSupplier.Name_SupplierColumn];
  2728. }
  2729. catch (InvalidCastException innerException)
  2730. {
  2731. throw new StrongTypingException("The value for column 'Name_Supplier' in table 'Supplier' is DBNull.", innerException);
  2732. }
  2733. }
  2734. set
  2735. {
  2736. base[tableSupplier.Name_SupplierColumn] = value;
  2737. }
  2738. }
  2739. [DebuggerNonUserCode]
  2740. public string RegistedAddress_Supplier
  2741. {
  2742. get
  2743. {
  2744. try
  2745. {
  2746. return (string)base[tableSupplier.RegistedAddress_SupplierColumn];
  2747. }
  2748. catch (InvalidCastException innerException)
  2749. {
  2750. throw new StrongTypingException("The value for column 'RegistedAddress_Supplier' in table 'Supplier' is DBNull.", innerException);
  2751. }
  2752. }
  2753. set
  2754. {
  2755. base[tableSupplier.RegistedAddress_SupplierColumn] = value;
  2756. }
  2757. }
  2758. [DebuggerNonUserCode]
  2759. public int Country_Supplier
  2760. {
  2761. get
  2762. {
  2763. try
  2764. {
  2765. return (int)base[tableSupplier.Country_SupplierColumn];
  2766. }
  2767. catch (InvalidCastException innerException)
  2768. {
  2769. throw new StrongTypingException("The value for column 'Country_Supplier' in table 'Supplier' is DBNull.", innerException);
  2770. }
  2771. }
  2772. set
  2773. {
  2774. base[tableSupplier.Country_SupplierColumn] = value;
  2775. }
  2776. }
  2777. [DebuggerNonUserCode]
  2778. public string PostalCode_Supplier
  2779. {
  2780. get
  2781. {
  2782. try
  2783. {
  2784. return (string)base[tableSupplier.PostalCode_SupplierColumn];
  2785. }
  2786. catch (InvalidCastException innerException)
  2787. {
  2788. throw new StrongTypingException("The value for column 'PostalCode_Supplier' in table 'Supplier' is DBNull.", innerException);
  2789. }
  2790. }
  2791. set
  2792. {
  2793. base[tableSupplier.PostalCode_SupplierColumn] = value;
  2794. }
  2795. }
  2796. [DebuggerNonUserCode]
  2797. public DateTime CreateDate_Supplier
  2798. {
  2799. get
  2800. {
  2801. try
  2802. {
  2803. return (DateTime)base[tableSupplier.CreateDate_SupplierColumn];
  2804. }
  2805. catch (InvalidCastException innerException)
  2806. {
  2807. throw new StrongTypingException("The value for column 'CreateDate_Supplier' in table 'Supplier' is DBNull.", innerException);
  2808. }
  2809. }
  2810. set
  2811. {
  2812. base[tableSupplier.CreateDate_SupplierColumn] = value;
  2813. }
  2814. }
  2815. [DebuggerNonUserCode]
  2816. public string Comment_Supplier
  2817. {
  2818. get
  2819. {
  2820. try
  2821. {
  2822. return (string)base[tableSupplier.Comment_SupplierColumn];
  2823. }
  2824. catch (InvalidCastException innerException)
  2825. {
  2826. throw new StrongTypingException("The value for column 'Comment_Supplier' in table 'Supplier' is DBNull.", innerException);
  2827. }
  2828. }
  2829. set
  2830. {
  2831. base[tableSupplier.Comment_SupplierColumn] = value;
  2832. }
  2833. }
  2834. [DebuggerNonUserCode]
  2835. public DateTime SuspendDate_Supplier
  2836. {
  2837. get
  2838. {
  2839. try
  2840. {
  2841. return (DateTime)base[tableSupplier.SuspendDate_SupplierColumn];
  2842. }
  2843. catch (InvalidCastException innerException)
  2844. {
  2845. throw new StrongTypingException("The value for column 'SuspendDate_Supplier' in table 'Supplier' is DBNull.", innerException);
  2846. }
  2847. }
  2848. set
  2849. {
  2850. base[tableSupplier.SuspendDate_SupplierColumn] = value;
  2851. }
  2852. }
  2853. [DebuggerNonUserCode]
  2854. public DateTime LastModDate_Supplier
  2855. {
  2856. get
  2857. {
  2858. try
  2859. {
  2860. return (DateTime)base[tableSupplier.LastModDate_SupplierColumn];
  2861. }
  2862. catch (InvalidCastException innerException)
  2863. {
  2864. throw new StrongTypingException("The value for column 'LastModDate_Supplier' in table 'Supplier' is DBNull.", innerException);
  2865. }
  2866. }
  2867. set
  2868. {
  2869. base[tableSupplier.LastModDate_SupplierColumn] = value;
  2870. }
  2871. }
  2872. [DebuggerNonUserCode]
  2873. public string CreatorName_Supplier
  2874. {
  2875. get
  2876. {
  2877. try
  2878. {
  2879. return (string)base[tableSupplier.CreatorName_SupplierColumn];
  2880. }
  2881. catch (InvalidCastException innerException)
  2882. {
  2883. throw new StrongTypingException("The value for column 'CreatorName_Supplier' in table 'Supplier' is DBNull.", innerException);
  2884. }
  2885. }
  2886. set
  2887. {
  2888. base[tableSupplier.CreatorName_SupplierColumn] = value;
  2889. }
  2890. }
  2891. [DebuggerNonUserCode]
  2892. public string LastModUser_SupplierName
  2893. {
  2894. get
  2895. {
  2896. try
  2897. {
  2898. return (string)base[tableSupplier.LastModUser_SupplierNameColumn];
  2899. }
  2900. catch (InvalidCastException innerException)
  2901. {
  2902. throw new StrongTypingException("The value for column 'LastModUser_SupplierName' in table 'Supplier' is DBNull.", innerException);
  2903. }
  2904. }
  2905. set
  2906. {
  2907. base[tableSupplier.LastModUser_SupplierNameColumn] = value;
  2908. }
  2909. }
  2910. [DebuggerNonUserCode]
  2911. public string CountryName
  2912. {
  2913. get
  2914. {
  2915. try
  2916. {
  2917. return (string)base[tableSupplier.CountryNameColumn];
  2918. }
  2919. catch (InvalidCastException innerException)
  2920. {
  2921. throw new StrongTypingException("The value for column 'CountryName' in table 'Supplier' is DBNull.", innerException);
  2922. }
  2923. }
  2924. set
  2925. {
  2926. base[tableSupplier.CountryNameColumn] = value;
  2927. }
  2928. }
  2929. [DebuggerNonUserCode]
  2930. internal SupplierRow(DataRowBuilder rb)
  2931. : base(rb)
  2932. {
  2933. tableSupplier = (SupplierDataTable)base.Table;
  2934. }
  2935. [DebuggerNonUserCode]
  2936. public bool IsNo_SupplierNull()
  2937. {
  2938. return IsNull(tableSupplier.No_SupplierColumn);
  2939. }
  2940. [DebuggerNonUserCode]
  2941. public void SetNo_SupplierNull()
  2942. {
  2943. base[tableSupplier.No_SupplierColumn] = Convert.DBNull;
  2944. }
  2945. [DebuggerNonUserCode]
  2946. public bool IsShortName_SupplierNull()
  2947. {
  2948. return IsNull(tableSupplier.ShortName_SupplierColumn);
  2949. }
  2950. [DebuggerNonUserCode]
  2951. public void SetShortName_SupplierNull()
  2952. {
  2953. base[tableSupplier.ShortName_SupplierColumn] = Convert.DBNull;
  2954. }
  2955. [DebuggerNonUserCode]
  2956. public bool IsName_SupplierNull()
  2957. {
  2958. return IsNull(tableSupplier.Name_SupplierColumn);
  2959. }
  2960. [DebuggerNonUserCode]
  2961. public void SetName_SupplierNull()
  2962. {
  2963. base[tableSupplier.Name_SupplierColumn] = Convert.DBNull;
  2964. }
  2965. [DebuggerNonUserCode]
  2966. public bool IsRegistedAddress_SupplierNull()
  2967. {
  2968. return IsNull(tableSupplier.RegistedAddress_SupplierColumn);
  2969. }
  2970. [DebuggerNonUserCode]
  2971. public void SetRegistedAddress_SupplierNull()
  2972. {
  2973. base[tableSupplier.RegistedAddress_SupplierColumn] = Convert.DBNull;
  2974. }
  2975. [DebuggerNonUserCode]
  2976. public bool IsCountry_SupplierNull()
  2977. {
  2978. return IsNull(tableSupplier.Country_SupplierColumn);
  2979. }
  2980. [DebuggerNonUserCode]
  2981. public void SetCountry_SupplierNull()
  2982. {
  2983. base[tableSupplier.Country_SupplierColumn] = Convert.DBNull;
  2984. }
  2985. [DebuggerNonUserCode]
  2986. public bool IsPostalCode_SupplierNull()
  2987. {
  2988. return IsNull(tableSupplier.PostalCode_SupplierColumn);
  2989. }
  2990. [DebuggerNonUserCode]
  2991. public void SetPostalCode_SupplierNull()
  2992. {
  2993. base[tableSupplier.PostalCode_SupplierColumn] = Convert.DBNull;
  2994. }
  2995. [DebuggerNonUserCode]
  2996. public bool IsCreateDate_SupplierNull()
  2997. {
  2998. return IsNull(tableSupplier.CreateDate_SupplierColumn);
  2999. }
  3000. [DebuggerNonUserCode]
  3001. public void SetCreateDate_SupplierNull()
  3002. {
  3003. base[tableSupplier.CreateDate_SupplierColumn] = Convert.DBNull;
  3004. }
  3005. [DebuggerNonUserCode]
  3006. public bool IsComment_SupplierNull()
  3007. {
  3008. return IsNull(tableSupplier.Comment_SupplierColumn);
  3009. }
  3010. [DebuggerNonUserCode]
  3011. public void SetComment_SupplierNull()
  3012. {
  3013. base[tableSupplier.Comment_SupplierColumn] = Convert.DBNull;
  3014. }
  3015. [DebuggerNonUserCode]
  3016. public bool IsSuspendDate_SupplierNull()
  3017. {
  3018. return IsNull(tableSupplier.SuspendDate_SupplierColumn);
  3019. }
  3020. [DebuggerNonUserCode]
  3021. public void SetSuspendDate_SupplierNull()
  3022. {
  3023. base[tableSupplier.SuspendDate_SupplierColumn] = Convert.DBNull;
  3024. }
  3025. [DebuggerNonUserCode]
  3026. public bool IsLastModDate_SupplierNull()
  3027. {
  3028. return IsNull(tableSupplier.LastModDate_SupplierColumn);
  3029. }
  3030. [DebuggerNonUserCode]
  3031. public void SetLastModDate_SupplierNull()
  3032. {
  3033. base[tableSupplier.LastModDate_SupplierColumn] = Convert.DBNull;
  3034. }
  3035. [DebuggerNonUserCode]
  3036. public bool IsCreatorName_SupplierNull()
  3037. {
  3038. return IsNull(tableSupplier.CreatorName_SupplierColumn);
  3039. }
  3040. [DebuggerNonUserCode]
  3041. public void SetCreatorName_SupplierNull()
  3042. {
  3043. base[tableSupplier.CreatorName_SupplierColumn] = Convert.DBNull;
  3044. }
  3045. [DebuggerNonUserCode]
  3046. public bool IsLastModUser_SupplierNameNull()
  3047. {
  3048. return IsNull(tableSupplier.LastModUser_SupplierNameColumn);
  3049. }
  3050. [DebuggerNonUserCode]
  3051. public void SetLastModUser_SupplierNameNull()
  3052. {
  3053. base[tableSupplier.LastModUser_SupplierNameColumn] = Convert.DBNull;
  3054. }
  3055. [DebuggerNonUserCode]
  3056. public bool IsCountryNameNull()
  3057. {
  3058. return IsNull(tableSupplier.CountryNameColumn);
  3059. }
  3060. [DebuggerNonUserCode]
  3061. public void SetCountryNameNull()
  3062. {
  3063. base[tableSupplier.CountryNameColumn] = Convert.DBNull;
  3064. }
  3065. }
  3066. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3067. public class LinkmanRow : DataRow
  3068. {
  3069. private LinkmanDataTable tableLinkman;
  3070. [DebuggerNonUserCode]
  3071. public string Name_Linkman
  3072. {
  3073. get
  3074. {
  3075. try
  3076. {
  3077. return (string)base[tableLinkman.Name_LinkmanColumn];
  3078. }
  3079. catch (InvalidCastException innerException)
  3080. {
  3081. throw new StrongTypingException("The value for column 'Name_Linkman' in table 'Linkman' is DBNull.", innerException);
  3082. }
  3083. }
  3084. set
  3085. {
  3086. base[tableLinkman.Name_LinkmanColumn] = value;
  3087. }
  3088. }
  3089. [DebuggerNonUserCode]
  3090. public string Department_Linkman
  3091. {
  3092. get
  3093. {
  3094. try
  3095. {
  3096. return (string)base[tableLinkman.Department_LinkmanColumn];
  3097. }
  3098. catch (InvalidCastException innerException)
  3099. {
  3100. throw new StrongTypingException("The value for column 'Department_Linkman' in table 'Linkman' is DBNull.", innerException);
  3101. }
  3102. }
  3103. set
  3104. {
  3105. base[tableLinkman.Department_LinkmanColumn] = value;
  3106. }
  3107. }
  3108. [DebuggerNonUserCode]
  3109. public string Duty_Linkman
  3110. {
  3111. get
  3112. {
  3113. try
  3114. {
  3115. return (string)base[tableLinkman.Duty_LinkmanColumn];
  3116. }
  3117. catch (InvalidCastException innerException)
  3118. {
  3119. throw new StrongTypingException("The value for column 'Duty_Linkman' in table 'Linkman' is DBNull.", innerException);
  3120. }
  3121. }
  3122. set
  3123. {
  3124. base[tableLinkman.Duty_LinkmanColumn] = value;
  3125. }
  3126. }
  3127. [DebuggerNonUserCode]
  3128. public string Tel_Linkman
  3129. {
  3130. get
  3131. {
  3132. try
  3133. {
  3134. return (string)base[tableLinkman.Tel_LinkmanColumn];
  3135. }
  3136. catch (InvalidCastException innerException)
  3137. {
  3138. throw new StrongTypingException("The value for column 'Tel_Linkman' in table 'Linkman' is DBNull.", innerException);
  3139. }
  3140. }
  3141. set
  3142. {
  3143. base[tableLinkman.Tel_LinkmanColumn] = value;
  3144. }
  3145. }
  3146. [DebuggerNonUserCode]
  3147. public string Fax_Linkman
  3148. {
  3149. get
  3150. {
  3151. try
  3152. {
  3153. return (string)base[tableLinkman.Fax_LinkmanColumn];
  3154. }
  3155. catch (InvalidCastException innerException)
  3156. {
  3157. throw new StrongTypingException("The value for column 'Fax_Linkman' in table 'Linkman' is DBNull.", innerException);
  3158. }
  3159. }
  3160. set
  3161. {
  3162. base[tableLinkman.Fax_LinkmanColumn] = value;
  3163. }
  3164. }
  3165. [DebuggerNonUserCode]
  3166. public string Mobile_Linkman
  3167. {
  3168. get
  3169. {
  3170. try
  3171. {
  3172. return (string)base[tableLinkman.Mobile_LinkmanColumn];
  3173. }
  3174. catch (InvalidCastException innerException)
  3175. {
  3176. throw new StrongTypingException("The value for column 'Mobile_Linkman' in table 'Linkman' is DBNull.", innerException);
  3177. }
  3178. }
  3179. set
  3180. {
  3181. base[tableLinkman.Mobile_LinkmanColumn] = value;
  3182. }
  3183. }
  3184. [DebuggerNonUserCode]
  3185. public string Email_Linkman
  3186. {
  3187. get
  3188. {
  3189. try
  3190. {
  3191. return (string)base[tableLinkman.Email_LinkmanColumn];
  3192. }
  3193. catch (InvalidCastException innerException)
  3194. {
  3195. throw new StrongTypingException("The value for column 'Email_Linkman' in table 'Linkman' is DBNull.", innerException);
  3196. }
  3197. }
  3198. set
  3199. {
  3200. base[tableLinkman.Email_LinkmanColumn] = value;
  3201. }
  3202. }
  3203. [DebuggerNonUserCode]
  3204. public bool IsMain_Linkman
  3205. {
  3206. get
  3207. {
  3208. try
  3209. {
  3210. return (bool)base[tableLinkman.IsMain_LinkmanColumn];
  3211. }
  3212. catch (InvalidCastException innerException)
  3213. {
  3214. throw new StrongTypingException("The value for column 'IsMain_Linkman' in table 'Linkman' is DBNull.", innerException);
  3215. }
  3216. }
  3217. set
  3218. {
  3219. base[tableLinkman.IsMain_LinkmanColumn] = value;
  3220. }
  3221. }
  3222. [DebuggerNonUserCode]
  3223. public string Comment_Linkman
  3224. {
  3225. get
  3226. {
  3227. try
  3228. {
  3229. return (string)base[tableLinkman.Comment_LinkmanColumn];
  3230. }
  3231. catch (InvalidCastException innerException)
  3232. {
  3233. throw new StrongTypingException("The value for column 'Comment_Linkman' in table 'Linkman' is DBNull.", innerException);
  3234. }
  3235. }
  3236. set
  3237. {
  3238. base[tableLinkman.Comment_LinkmanColumn] = value;
  3239. }
  3240. }
  3241. [DebuggerNonUserCode]
  3242. internal LinkmanRow(DataRowBuilder rb)
  3243. : base(rb)
  3244. {
  3245. tableLinkman = (LinkmanDataTable)base.Table;
  3246. }
  3247. [DebuggerNonUserCode]
  3248. public bool IsName_LinkmanNull()
  3249. {
  3250. return IsNull(tableLinkman.Name_LinkmanColumn);
  3251. }
  3252. [DebuggerNonUserCode]
  3253. public void SetName_LinkmanNull()
  3254. {
  3255. base[tableLinkman.Name_LinkmanColumn] = Convert.DBNull;
  3256. }
  3257. [DebuggerNonUserCode]
  3258. public bool IsDepartment_LinkmanNull()
  3259. {
  3260. return IsNull(tableLinkman.Department_LinkmanColumn);
  3261. }
  3262. [DebuggerNonUserCode]
  3263. public void SetDepartment_LinkmanNull()
  3264. {
  3265. base[tableLinkman.Department_LinkmanColumn] = Convert.DBNull;
  3266. }
  3267. [DebuggerNonUserCode]
  3268. public bool IsDuty_LinkmanNull()
  3269. {
  3270. return IsNull(tableLinkman.Duty_LinkmanColumn);
  3271. }
  3272. [DebuggerNonUserCode]
  3273. public void SetDuty_LinkmanNull()
  3274. {
  3275. base[tableLinkman.Duty_LinkmanColumn] = Convert.DBNull;
  3276. }
  3277. [DebuggerNonUserCode]
  3278. public bool IsTel_LinkmanNull()
  3279. {
  3280. return IsNull(tableLinkman.Tel_LinkmanColumn);
  3281. }
  3282. [DebuggerNonUserCode]
  3283. public void SetTel_LinkmanNull()
  3284. {
  3285. base[tableLinkman.Tel_LinkmanColumn] = Convert.DBNull;
  3286. }
  3287. [DebuggerNonUserCode]
  3288. public bool IsFax_LinkmanNull()
  3289. {
  3290. return IsNull(tableLinkman.Fax_LinkmanColumn);
  3291. }
  3292. [DebuggerNonUserCode]
  3293. public void SetFax_LinkmanNull()
  3294. {
  3295. base[tableLinkman.Fax_LinkmanColumn] = Convert.DBNull;
  3296. }
  3297. [DebuggerNonUserCode]
  3298. public bool IsMobile_LinkmanNull()
  3299. {
  3300. return IsNull(tableLinkman.Mobile_LinkmanColumn);
  3301. }
  3302. [DebuggerNonUserCode]
  3303. public void SetMobile_LinkmanNull()
  3304. {
  3305. base[tableLinkman.Mobile_LinkmanColumn] = Convert.DBNull;
  3306. }
  3307. [DebuggerNonUserCode]
  3308. public bool IsEmail_LinkmanNull()
  3309. {
  3310. return IsNull(tableLinkman.Email_LinkmanColumn);
  3311. }
  3312. [DebuggerNonUserCode]
  3313. public void SetEmail_LinkmanNull()
  3314. {
  3315. base[tableLinkman.Email_LinkmanColumn] = Convert.DBNull;
  3316. }
  3317. [DebuggerNonUserCode]
  3318. public bool IsIsMain_LinkmanNull()
  3319. {
  3320. return IsNull(tableLinkman.IsMain_LinkmanColumn);
  3321. }
  3322. [DebuggerNonUserCode]
  3323. public void SetIsMain_LinkmanNull()
  3324. {
  3325. base[tableLinkman.IsMain_LinkmanColumn] = Convert.DBNull;
  3326. }
  3327. [DebuggerNonUserCode]
  3328. public bool IsComment_LinkmanNull()
  3329. {
  3330. return IsNull(tableLinkman.Comment_LinkmanColumn);
  3331. }
  3332. [DebuggerNonUserCode]
  3333. public void SetComment_LinkmanNull()
  3334. {
  3335. base[tableLinkman.Comment_LinkmanColumn] = Convert.DBNull;
  3336. }
  3337. }
  3338. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3339. public class AppendInfoRow : DataRow
  3340. {
  3341. private AppendInfoDataTable tableAppendInfo;
  3342. [DebuggerNonUserCode]
  3343. public string CurrentCompany
  3344. {
  3345. get
  3346. {
  3347. try
  3348. {
  3349. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  3350. }
  3351. catch (InvalidCastException innerException)
  3352. {
  3353. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  3354. }
  3355. }
  3356. set
  3357. {
  3358. base[tableAppendInfo.CurrentCompanyColumn] = value;
  3359. }
  3360. }
  3361. [DebuggerNonUserCode]
  3362. public string CurrentUser
  3363. {
  3364. get
  3365. {
  3366. try
  3367. {
  3368. return (string)base[tableAppendInfo.CurrentUserColumn];
  3369. }
  3370. catch (InvalidCastException innerException)
  3371. {
  3372. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  3373. }
  3374. }
  3375. set
  3376. {
  3377. base[tableAppendInfo.CurrentUserColumn] = value;
  3378. }
  3379. }
  3380. [DebuggerNonUserCode]
  3381. internal AppendInfoRow(DataRowBuilder rb)
  3382. : base(rb)
  3383. {
  3384. tableAppendInfo = (AppendInfoDataTable)base.Table;
  3385. }
  3386. [DebuggerNonUserCode]
  3387. public bool IsCurrentCompanyNull()
  3388. {
  3389. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  3390. }
  3391. [DebuggerNonUserCode]
  3392. public void SetCurrentCompanyNull()
  3393. {
  3394. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  3395. }
  3396. [DebuggerNonUserCode]
  3397. public bool IsCurrentUserNull()
  3398. {
  3399. return IsNull(tableAppendInfo.CurrentUserColumn);
  3400. }
  3401. [DebuggerNonUserCode]
  3402. public void SetCurrentUserNull()
  3403. {
  3404. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  3405. }
  3406. }
  3407. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3408. public class TelephoneRowChangeEvent : EventArgs
  3409. {
  3410. private TelephoneRow eventRow;
  3411. private DataRowAction eventAction;
  3412. [DebuggerNonUserCode]
  3413. public TelephoneRow Row => eventRow;
  3414. [DebuggerNonUserCode]
  3415. public DataRowAction Action => eventAction;
  3416. [DebuggerNonUserCode]
  3417. public TelephoneRowChangeEvent(TelephoneRow row, DataRowAction action)
  3418. {
  3419. eventRow = row;
  3420. eventAction = action;
  3421. }
  3422. }
  3423. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3424. public class PrincipalRowChangeEvent : EventArgs
  3425. {
  3426. private PrincipalRow eventRow;
  3427. private DataRowAction eventAction;
  3428. [DebuggerNonUserCode]
  3429. public PrincipalRow Row => eventRow;
  3430. [DebuggerNonUserCode]
  3431. public DataRowAction Action => eventAction;
  3432. [DebuggerNonUserCode]
  3433. public PrincipalRowChangeEvent(PrincipalRow row, DataRowAction action)
  3434. {
  3435. eventRow = row;
  3436. eventAction = action;
  3437. }
  3438. }
  3439. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3440. public class EmployeeRowChangeEvent : EventArgs
  3441. {
  3442. private EmployeeRow eventRow;
  3443. private DataRowAction eventAction;
  3444. [DebuggerNonUserCode]
  3445. public EmployeeRow Row => eventRow;
  3446. [DebuggerNonUserCode]
  3447. public DataRowAction Action => eventAction;
  3448. [DebuggerNonUserCode]
  3449. public EmployeeRowChangeEvent(EmployeeRow row, DataRowAction action)
  3450. {
  3451. eventRow = row;
  3452. eventAction = action;
  3453. }
  3454. }
  3455. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3456. public class FaxRowChangeEvent : EventArgs
  3457. {
  3458. private FaxRow eventRow;
  3459. private DataRowAction eventAction;
  3460. [DebuggerNonUserCode]
  3461. public FaxRow Row => eventRow;
  3462. [DebuggerNonUserCode]
  3463. public DataRowAction Action => eventAction;
  3464. [DebuggerNonUserCode]
  3465. public FaxRowChangeEvent(FaxRow row, DataRowAction action)
  3466. {
  3467. eventRow = row;
  3468. eventAction = action;
  3469. }
  3470. }
  3471. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3472. public class SupplierRowChangeEvent : EventArgs
  3473. {
  3474. private SupplierRow eventRow;
  3475. private DataRowAction eventAction;
  3476. [DebuggerNonUserCode]
  3477. public SupplierRow Row => eventRow;
  3478. [DebuggerNonUserCode]
  3479. public DataRowAction Action => eventAction;
  3480. [DebuggerNonUserCode]
  3481. public SupplierRowChangeEvent(SupplierRow row, DataRowAction action)
  3482. {
  3483. eventRow = row;
  3484. eventAction = action;
  3485. }
  3486. }
  3487. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3488. public class LinkmanRowChangeEvent : EventArgs
  3489. {
  3490. private LinkmanRow eventRow;
  3491. private DataRowAction eventAction;
  3492. [DebuggerNonUserCode]
  3493. public LinkmanRow Row => eventRow;
  3494. [DebuggerNonUserCode]
  3495. public DataRowAction Action => eventAction;
  3496. [DebuggerNonUserCode]
  3497. public LinkmanRowChangeEvent(LinkmanRow row, DataRowAction action)
  3498. {
  3499. eventRow = row;
  3500. eventAction = action;
  3501. }
  3502. }
  3503. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3504. public class AppendInfoRowChangeEvent : EventArgs
  3505. {
  3506. private AppendInfoRow eventRow;
  3507. private DataRowAction eventAction;
  3508. [DebuggerNonUserCode]
  3509. public AppendInfoRow Row => eventRow;
  3510. [DebuggerNonUserCode]
  3511. public DataRowAction Action => eventAction;
  3512. [DebuggerNonUserCode]
  3513. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  3514. {
  3515. eventRow = row;
  3516. eventAction = action;
  3517. }
  3518. }
  3519. private TelephoneDataTable tableTelephone;
  3520. private PrincipalDataTable tablePrincipal;
  3521. private EmployeeDataTable tableEmployee;
  3522. private FaxDataTable tableFax;
  3523. private SupplierDataTable tableSupplier;
  3524. private LinkmanDataTable tableLinkman;
  3525. private AppendInfoDataTable tableAppendInfo;
  3526. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  3527. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3528. [Browsable(false)]
  3529. [DebuggerNonUserCode]
  3530. public TelephoneDataTable Telephone => tableTelephone;
  3531. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3532. [DebuggerNonUserCode]
  3533. [Browsable(false)]
  3534. public PrincipalDataTable Principal => tablePrincipal;
  3535. [DebuggerNonUserCode]
  3536. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3537. [Browsable(false)]
  3538. public EmployeeDataTable Employee => tableEmployee;
  3539. [DebuggerNonUserCode]
  3540. [Browsable(false)]
  3541. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3542. public FaxDataTable Fax => tableFax;
  3543. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3544. [DebuggerNonUserCode]
  3545. [Browsable(false)]
  3546. public SupplierDataTable Supplier => tableSupplier;
  3547. [DebuggerNonUserCode]
  3548. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3549. [Browsable(false)]
  3550. public LinkmanDataTable Linkman => tableLinkman;
  3551. [Browsable(false)]
  3552. [DebuggerNonUserCode]
  3553. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  3554. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  3555. [DebuggerNonUserCode]
  3556. [Browsable(true)]
  3557. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  3558. public override SchemaSerializationMode SchemaSerializationMode
  3559. {
  3560. get
  3561. {
  3562. return _schemaSerializationMode;
  3563. }
  3564. set
  3565. {
  3566. _schemaSerializationMode = value;
  3567. }
  3568. }
  3569. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  3570. [DebuggerNonUserCode]
  3571. public new DataTableCollection Tables => base.Tables;
  3572. [DebuggerNonUserCode]
  3573. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  3574. public new DataRelationCollection Relations => base.Relations;
  3575. [DebuggerNonUserCode]
  3576. public dsFrmSupplier()
  3577. {
  3578. BeginInit();
  3579. InitClass();
  3580. CollectionChangeEventHandler value = SchemaChanged;
  3581. base.Tables.CollectionChanged += value;
  3582. base.Relations.CollectionChanged += value;
  3583. EndInit();
  3584. }
  3585. [DebuggerNonUserCode]
  3586. protected dsFrmSupplier(SerializationInfo info, StreamingContext context)
  3587. : base(info, context, ConstructSchema: false)
  3588. {
  3589. if (IsBinarySerialized(info, context))
  3590. {
  3591. InitVars(initTable: false);
  3592. CollectionChangeEventHandler value = SchemaChanged;
  3593. Tables.CollectionChanged += value;
  3594. Relations.CollectionChanged += value;
  3595. return;
  3596. }
  3597. string s = (string)info.GetValue("XmlSchema", typeof(string));
  3598. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  3599. {
  3600. DataSet dataSet = new DataSet();
  3601. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  3602. if (dataSet.Tables["Telephone"] != null)
  3603. {
  3604. base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
  3605. }
  3606. if (dataSet.Tables["Principal"] != null)
  3607. {
  3608. base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
  3609. }
  3610. if (dataSet.Tables["Employee"] != null)
  3611. {
  3612. base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
  3613. }
  3614. if (dataSet.Tables["Fax"] != null)
  3615. {
  3616. base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
  3617. }
  3618. if (dataSet.Tables["Supplier"] != null)
  3619. {
  3620. base.Tables.Add(new SupplierDataTable(dataSet.Tables["Supplier"]));
  3621. }
  3622. if (dataSet.Tables["Linkman"] != null)
  3623. {
  3624. base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
  3625. }
  3626. if (dataSet.Tables["AppendInfo"] != null)
  3627. {
  3628. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  3629. }
  3630. base.DataSetName = dataSet.DataSetName;
  3631. base.Prefix = dataSet.Prefix;
  3632. base.Namespace = dataSet.Namespace;
  3633. base.Locale = dataSet.Locale;
  3634. base.CaseSensitive = dataSet.CaseSensitive;
  3635. base.EnforceConstraints = dataSet.EnforceConstraints;
  3636. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  3637. InitVars();
  3638. }
  3639. else
  3640. {
  3641. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  3642. }
  3643. GetSerializationData(info, context);
  3644. CollectionChangeEventHandler value2 = SchemaChanged;
  3645. base.Tables.CollectionChanged += value2;
  3646. Relations.CollectionChanged += value2;
  3647. }
  3648. [DebuggerNonUserCode]
  3649. protected override void InitializeDerivedDataSet()
  3650. {
  3651. BeginInit();
  3652. InitClass();
  3653. EndInit();
  3654. }
  3655. [DebuggerNonUserCode]
  3656. public override DataSet Clone()
  3657. {
  3658. dsFrmSupplier dsFrmSupplier = (dsFrmSupplier)base.Clone();
  3659. dsFrmSupplier.InitVars();
  3660. dsFrmSupplier.SchemaSerializationMode = SchemaSerializationMode;
  3661. return dsFrmSupplier;
  3662. }
  3663. [DebuggerNonUserCode]
  3664. protected override bool ShouldSerializeTables()
  3665. {
  3666. return false;
  3667. }
  3668. [DebuggerNonUserCode]
  3669. protected override bool ShouldSerializeRelations()
  3670. {
  3671. return false;
  3672. }
  3673. [DebuggerNonUserCode]
  3674. protected override void ReadXmlSerializable(XmlReader reader)
  3675. {
  3676. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  3677. {
  3678. Reset();
  3679. DataSet dataSet = new DataSet();
  3680. dataSet.ReadXml(reader);
  3681. if (dataSet.Tables["Telephone"] != null)
  3682. {
  3683. base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
  3684. }
  3685. if (dataSet.Tables["Principal"] != null)
  3686. {
  3687. base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
  3688. }
  3689. if (dataSet.Tables["Employee"] != null)
  3690. {
  3691. base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
  3692. }
  3693. if (dataSet.Tables["Fax"] != null)
  3694. {
  3695. base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
  3696. }
  3697. if (dataSet.Tables["Supplier"] != null)
  3698. {
  3699. base.Tables.Add(new SupplierDataTable(dataSet.Tables["Supplier"]));
  3700. }
  3701. if (dataSet.Tables["Linkman"] != null)
  3702. {
  3703. base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
  3704. }
  3705. if (dataSet.Tables["AppendInfo"] != null)
  3706. {
  3707. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  3708. }
  3709. base.DataSetName = dataSet.DataSetName;
  3710. base.Prefix = dataSet.Prefix;
  3711. base.Namespace = dataSet.Namespace;
  3712. base.Locale = dataSet.Locale;
  3713. base.CaseSensitive = dataSet.CaseSensitive;
  3714. base.EnforceConstraints = dataSet.EnforceConstraints;
  3715. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  3716. InitVars();
  3717. }
  3718. else
  3719. {
  3720. ReadXml(reader);
  3721. InitVars();
  3722. }
  3723. }
  3724. [DebuggerNonUserCode]
  3725. protected override XmlSchema GetSchemaSerializable()
  3726. {
  3727. MemoryStream memoryStream = new MemoryStream();
  3728. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  3729. memoryStream.Position = 0L;
  3730. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  3731. }
  3732. [DebuggerNonUserCode]
  3733. internal void InitVars()
  3734. {
  3735. InitVars(initTable: true);
  3736. }
  3737. [DebuggerNonUserCode]
  3738. internal void InitVars(bool initTable)
  3739. {
  3740. tableTelephone = (TelephoneDataTable)base.Tables["Telephone"];
  3741. if (initTable && tableTelephone != null)
  3742. {
  3743. tableTelephone.InitVars();
  3744. }
  3745. tablePrincipal = (PrincipalDataTable)base.Tables["Principal"];
  3746. if (initTable && tablePrincipal != null)
  3747. {
  3748. tablePrincipal.InitVars();
  3749. }
  3750. tableEmployee = (EmployeeDataTable)base.Tables["Employee"];
  3751. if (initTable && tableEmployee != null)
  3752. {
  3753. tableEmployee.InitVars();
  3754. }
  3755. tableFax = (FaxDataTable)base.Tables["Fax"];
  3756. if (initTable && tableFax != null)
  3757. {
  3758. tableFax.InitVars();
  3759. }
  3760. tableSupplier = (SupplierDataTable)base.Tables["Supplier"];
  3761. if (initTable && tableSupplier != null)
  3762. {
  3763. tableSupplier.InitVars();
  3764. }
  3765. tableLinkman = (LinkmanDataTable)base.Tables["Linkman"];
  3766. if (initTable && tableLinkman != null)
  3767. {
  3768. tableLinkman.InitVars();
  3769. }
  3770. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  3771. if (initTable && tableAppendInfo != null)
  3772. {
  3773. tableAppendInfo.InitVars();
  3774. }
  3775. }
  3776. [DebuggerNonUserCode]
  3777. private void InitClass()
  3778. {
  3779. base.DataSetName = "dsFrmSupplier";
  3780. base.Prefix = "";
  3781. base.Namespace = "http://tempuri.org/dsFrmSupplier.xsd";
  3782. base.EnforceConstraints = true;
  3783. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  3784. tableTelephone = new TelephoneDataTable();
  3785. base.Tables.Add(tableTelephone);
  3786. tablePrincipal = new PrincipalDataTable();
  3787. base.Tables.Add(tablePrincipal);
  3788. tableEmployee = new EmployeeDataTable();
  3789. base.Tables.Add(tableEmployee);
  3790. tableFax = new FaxDataTable();
  3791. base.Tables.Add(tableFax);
  3792. tableSupplier = new SupplierDataTable();
  3793. base.Tables.Add(tableSupplier);
  3794. tableLinkman = new LinkmanDataTable();
  3795. base.Tables.Add(tableLinkman);
  3796. tableAppendInfo = new AppendInfoDataTable();
  3797. base.Tables.Add(tableAppendInfo);
  3798. }
  3799. [DebuggerNonUserCode]
  3800. private bool ShouldSerializeTelephone()
  3801. {
  3802. return false;
  3803. }
  3804. [DebuggerNonUserCode]
  3805. private bool ShouldSerializePrincipal()
  3806. {
  3807. return false;
  3808. }
  3809. [DebuggerNonUserCode]
  3810. private bool ShouldSerializeEmployee()
  3811. {
  3812. return false;
  3813. }
  3814. [DebuggerNonUserCode]
  3815. private bool ShouldSerializeFax()
  3816. {
  3817. return false;
  3818. }
  3819. [DebuggerNonUserCode]
  3820. private bool ShouldSerializeSupplier()
  3821. {
  3822. return false;
  3823. }
  3824. [DebuggerNonUserCode]
  3825. private bool ShouldSerializeLinkman()
  3826. {
  3827. return false;
  3828. }
  3829. [DebuggerNonUserCode]
  3830. private bool ShouldSerializeAppendInfo()
  3831. {
  3832. return false;
  3833. }
  3834. [DebuggerNonUserCode]
  3835. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  3836. {
  3837. if (e.Action == CollectionChangeAction.Remove)
  3838. {
  3839. InitVars();
  3840. }
  3841. }
  3842. [DebuggerNonUserCode]
  3843. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  3844. {
  3845. dsFrmSupplier dsFrmSupplier = new dsFrmSupplier();
  3846. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  3847. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  3848. xs.Add(dsFrmSupplier.GetSchemaSerializable());
  3849. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  3850. xmlSchemaAny.Namespace = dsFrmSupplier.Namespace;
  3851. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  3852. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  3853. return xmlSchemaComplexType;
  3854. }
  3855. }
  3856. }