dsFrmCustomer.cs 150 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621
  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. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  17. [XmlRoot("dsFrmCustomer")]
  18. [HelpKeyword("vs.data.DataSet")]
  19. [ToolboxItem(true)]
  20. [XmlSchemaProvider("GetTypedDataSetSchema")]
  21. [DesignerCategory("code")]
  22. public class dsFrmCustomer : DataSet
  23. {
  24. public delegate void TelephoneRowChangeEventHandler(object sender, TelephoneRowChangeEvent e);
  25. public delegate void CustomerRowChangeEventHandler(object sender, CustomerRowChangeEvent e);
  26. public delegate void EmployeeRowChangeEventHandler(object sender, EmployeeRowChangeEvent e);
  27. public delegate void InvoiceRowChangeEventHandler(object sender, InvoiceRowChangeEvent e);
  28. public delegate void PrincipalRowChangeEventHandler(object sender, PrincipalRowChangeEvent e);
  29. public delegate void LinkmanRowChangeEventHandler(object sender, LinkmanRowChangeEvent e);
  30. public delegate void FaxRowChangeEventHandler(object sender, FaxRowChangeEvent e);
  31. public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
  32. [Serializable]
  33. [XmlSchemaProvider("GetTypedTableSchema")]
  34. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  35. public class TelephoneDataTable : DataTable, IEnumerable
  36. {
  37. private DataColumn columnName_Telephone;
  38. private DataColumn columnNo_Telephone;
  39. private DataColumn columnFocus_Telephone;
  40. [DebuggerNonUserCode]
  41. public DataColumn Name_TelephoneColumn => columnName_Telephone;
  42. [DebuggerNonUserCode]
  43. public DataColumn No_TelephoneColumn => columnNo_Telephone;
  44. [DebuggerNonUserCode]
  45. public DataColumn Focus_TelephoneColumn => columnFocus_Telephone;
  46. [DebuggerNonUserCode]
  47. [Browsable(false)]
  48. public int Count => base.Rows.Count;
  49. [DebuggerNonUserCode]
  50. public TelephoneRow this[int index] => (TelephoneRow)base.Rows[index];
  51. public event TelephoneRowChangeEventHandler TelephoneRowChanging;
  52. public event TelephoneRowChangeEventHandler TelephoneRowChanged;
  53. public event TelephoneRowChangeEventHandler TelephoneRowDeleting;
  54. public event TelephoneRowChangeEventHandler TelephoneRowDeleted;
  55. [DebuggerNonUserCode]
  56. public TelephoneDataTable()
  57. {
  58. base.TableName = "Telephone";
  59. BeginInit();
  60. InitClass();
  61. EndInit();
  62. }
  63. [DebuggerNonUserCode]
  64. internal TelephoneDataTable(DataTable table)
  65. {
  66. base.TableName = table.TableName;
  67. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  68. {
  69. base.CaseSensitive = table.CaseSensitive;
  70. }
  71. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  72. {
  73. base.Locale = table.Locale;
  74. }
  75. if (table.Namespace != table.DataSet.Namespace)
  76. {
  77. base.Namespace = table.Namespace;
  78. }
  79. base.Prefix = table.Prefix;
  80. base.MinimumCapacity = table.MinimumCapacity;
  81. }
  82. [DebuggerNonUserCode]
  83. protected TelephoneDataTable(SerializationInfo info, StreamingContext context)
  84. : base(info, context)
  85. {
  86. InitVars();
  87. }
  88. [DebuggerNonUserCode]
  89. public void AddTelephoneRow(TelephoneRow row)
  90. {
  91. base.Rows.Add(row);
  92. }
  93. [DebuggerNonUserCode]
  94. public TelephoneRow AddTelephoneRow(string Name_Telephone, string No_Telephone, bool Focus_Telephone)
  95. {
  96. TelephoneRow telephoneRow = (TelephoneRow)NewRow();
  97. telephoneRow.ItemArray = new object[3]
  98. {
  99. Name_Telephone,
  100. No_Telephone,
  101. Focus_Telephone
  102. };
  103. base.Rows.Add(telephoneRow);
  104. return telephoneRow;
  105. }
  106. [DebuggerNonUserCode]
  107. public virtual IEnumerator GetEnumerator()
  108. {
  109. return base.Rows.GetEnumerator();
  110. }
  111. [DebuggerNonUserCode]
  112. public override DataTable Clone()
  113. {
  114. TelephoneDataTable telephoneDataTable = (TelephoneDataTable)base.Clone();
  115. telephoneDataTable.InitVars();
  116. return telephoneDataTable;
  117. }
  118. [DebuggerNonUserCode]
  119. protected override DataTable CreateInstance()
  120. {
  121. return new TelephoneDataTable();
  122. }
  123. [DebuggerNonUserCode]
  124. internal void InitVars()
  125. {
  126. columnName_Telephone = base.Columns["Name_Telephone"];
  127. columnNo_Telephone = base.Columns["No_Telephone"];
  128. columnFocus_Telephone = base.Columns["Focus_Telephone"];
  129. }
  130. [DebuggerNonUserCode]
  131. private void InitClass()
  132. {
  133. columnName_Telephone = new DataColumn("Name_Telephone", typeof(string), null, MappingType.Element);
  134. base.Columns.Add(columnName_Telephone);
  135. columnNo_Telephone = new DataColumn("No_Telephone", typeof(string), null, MappingType.Element);
  136. base.Columns.Add(columnNo_Telephone);
  137. columnFocus_Telephone = new DataColumn("Focus_Telephone", typeof(bool), null, MappingType.Element);
  138. base.Columns.Add(columnFocus_Telephone);
  139. }
  140. [DebuggerNonUserCode]
  141. public TelephoneRow NewTelephoneRow()
  142. {
  143. return (TelephoneRow)NewRow();
  144. }
  145. [DebuggerNonUserCode]
  146. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  147. {
  148. return new TelephoneRow(builder);
  149. }
  150. [DebuggerNonUserCode]
  151. protected override Type GetRowType()
  152. {
  153. return typeof(TelephoneRow);
  154. }
  155. [DebuggerNonUserCode]
  156. protected override void OnRowChanged(DataRowChangeEventArgs e)
  157. {
  158. base.OnRowChanged(e);
  159. if (this.TelephoneRowChanged != null)
  160. {
  161. this.TelephoneRowChanged(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  162. }
  163. }
  164. [DebuggerNonUserCode]
  165. protected override void OnRowChanging(DataRowChangeEventArgs e)
  166. {
  167. base.OnRowChanging(e);
  168. if (this.TelephoneRowChanging != null)
  169. {
  170. this.TelephoneRowChanging(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  171. }
  172. }
  173. [DebuggerNonUserCode]
  174. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  175. {
  176. base.OnRowDeleted(e);
  177. if (this.TelephoneRowDeleted != null)
  178. {
  179. this.TelephoneRowDeleted(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  180. }
  181. }
  182. [DebuggerNonUserCode]
  183. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  184. {
  185. base.OnRowDeleting(e);
  186. if (this.TelephoneRowDeleting != null)
  187. {
  188. this.TelephoneRowDeleting(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
  189. }
  190. }
  191. [DebuggerNonUserCode]
  192. public void RemoveTelephoneRow(TelephoneRow row)
  193. {
  194. base.Rows.Remove(row);
  195. }
  196. [DebuggerNonUserCode]
  197. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  198. {
  199. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  200. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  201. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  202. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  203. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  204. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  205. xmlSchemaAny.MinOccurs = 0m;
  206. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  207. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  208. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  209. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  210. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  211. xmlSchemaAny2.MinOccurs = 1m;
  212. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  213. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  214. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  215. xmlSchemaAttribute.Name = "namespace";
  216. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  217. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  218. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  219. xmlSchemaAttribute2.Name = "tableTypeName";
  220. xmlSchemaAttribute2.FixedValue = "TelephoneDataTable";
  221. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  222. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  223. return xmlSchemaComplexType;
  224. }
  225. }
  226. [Serializable]
  227. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  228. [XmlSchemaProvider("GetTypedTableSchema")]
  229. public class CustomerDataTable : DataTable, IEnumerable
  230. {
  231. private DataColumn columnNo_Customer;
  232. private DataColumn columnShortName_Customer;
  233. private DataColumn columnName_Customer;
  234. private DataColumn columnRegistedAddress_Customer;
  235. private DataColumn columnCountry_Customer;
  236. private DataColumn columnPostalCode_Customer;
  237. private DataColumn columnType_Customer;
  238. private DataColumn columnIsGeneric_Customer;
  239. private DataColumn columnPayLimitCurrency;
  240. private DataColumn columnPayLimit_Customer;
  241. private DataColumn columnGetMethod_Customer;
  242. private DataColumn columnCreateDate_Customer;
  243. private DataColumn columnSendAddr_Customer;
  244. private DataColumn columnComment_Customer;
  245. private DataColumn columnIndustry_Customer;
  246. private DataColumn columnZone_Customer;
  247. private DataColumn columnSource_Customer;
  248. private DataColumn columnLevel_Customer;
  249. private DataColumn columnBank_Customer;
  250. private DataColumn columnAccount_Customer;
  251. private DataColumn columnRevenueRegisterNo_Customer;
  252. private DataColumn columnLastDiscount_Customer;
  253. private DataColumn columnSuspendDate_Customer;
  254. private DataColumn columnToGetBalance_Customer;
  255. private DataColumn columnPrePayBalance_Customer;
  256. private DataColumn columnLastTax_Customer;
  257. private DataColumn columnLastModDate_Customer;
  258. private DataColumn columnCreatorName_Customer;
  259. private DataColumn columnLastModUser;
  260. private DataColumn columnCountryName;
  261. [DebuggerNonUserCode]
  262. public DataColumn No_CustomerColumn => columnNo_Customer;
  263. [DebuggerNonUserCode]
  264. public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
  265. [DebuggerNonUserCode]
  266. public DataColumn Name_CustomerColumn => columnName_Customer;
  267. [DebuggerNonUserCode]
  268. public DataColumn RegistedAddress_CustomerColumn => columnRegistedAddress_Customer;
  269. [DebuggerNonUserCode]
  270. public DataColumn Country_CustomerColumn => columnCountry_Customer;
  271. [DebuggerNonUserCode]
  272. public DataColumn PostalCode_CustomerColumn => columnPostalCode_Customer;
  273. [DebuggerNonUserCode]
  274. public DataColumn Type_CustomerColumn => columnType_Customer;
  275. [DebuggerNonUserCode]
  276. public DataColumn IsGeneric_CustomerColumn => columnIsGeneric_Customer;
  277. [DebuggerNonUserCode]
  278. public DataColumn PayLimitCurrencyColumn => columnPayLimitCurrency;
  279. [DebuggerNonUserCode]
  280. public DataColumn PayLimit_CustomerColumn => columnPayLimit_Customer;
  281. [DebuggerNonUserCode]
  282. public DataColumn GetMethod_CustomerColumn => columnGetMethod_Customer;
  283. [DebuggerNonUserCode]
  284. public DataColumn CreateDate_CustomerColumn => columnCreateDate_Customer;
  285. [DebuggerNonUserCode]
  286. public DataColumn SendAddr_CustomerColumn => columnSendAddr_Customer;
  287. [DebuggerNonUserCode]
  288. public DataColumn Comment_CustomerColumn => columnComment_Customer;
  289. [DebuggerNonUserCode]
  290. public DataColumn Industry_CustomerColumn => columnIndustry_Customer;
  291. [DebuggerNonUserCode]
  292. public DataColumn Zone_CustomerColumn => columnZone_Customer;
  293. [DebuggerNonUserCode]
  294. public DataColumn Source_CustomerColumn => columnSource_Customer;
  295. [DebuggerNonUserCode]
  296. public DataColumn Level_CustomerColumn => columnLevel_Customer;
  297. [DebuggerNonUserCode]
  298. public DataColumn Bank_CustomerColumn => columnBank_Customer;
  299. [DebuggerNonUserCode]
  300. public DataColumn Account_CustomerColumn => columnAccount_Customer;
  301. [DebuggerNonUserCode]
  302. public DataColumn RevenueRegisterNo_CustomerColumn => columnRevenueRegisterNo_Customer;
  303. [DebuggerNonUserCode]
  304. public DataColumn LastDiscount_CustomerColumn => columnLastDiscount_Customer;
  305. [DebuggerNonUserCode]
  306. public DataColumn SuspendDate_CustomerColumn => columnSuspendDate_Customer;
  307. [DebuggerNonUserCode]
  308. public DataColumn ToGetBalance_CustomerColumn => columnToGetBalance_Customer;
  309. [DebuggerNonUserCode]
  310. public DataColumn PrePayBalance_CustomerColumn => columnPrePayBalance_Customer;
  311. [DebuggerNonUserCode]
  312. public DataColumn LastTax_CustomerColumn => columnLastTax_Customer;
  313. [DebuggerNonUserCode]
  314. public DataColumn LastModDate_CustomerColumn => columnLastModDate_Customer;
  315. [DebuggerNonUserCode]
  316. public DataColumn CreatorName_CustomerColumn => columnCreatorName_Customer;
  317. [DebuggerNonUserCode]
  318. public DataColumn LastModUserColumn => columnLastModUser;
  319. [DebuggerNonUserCode]
  320. public DataColumn CountryNameColumn => columnCountryName;
  321. [DebuggerNonUserCode]
  322. [Browsable(false)]
  323. public int Count => base.Rows.Count;
  324. [DebuggerNonUserCode]
  325. public CustomerRow this[int index] => (CustomerRow)base.Rows[index];
  326. public event CustomerRowChangeEventHandler CustomerRowChanging;
  327. public event CustomerRowChangeEventHandler CustomerRowChanged;
  328. public event CustomerRowChangeEventHandler CustomerRowDeleting;
  329. public event CustomerRowChangeEventHandler CustomerRowDeleted;
  330. [DebuggerNonUserCode]
  331. public CustomerDataTable()
  332. {
  333. base.TableName = "Customer";
  334. BeginInit();
  335. InitClass();
  336. EndInit();
  337. }
  338. [DebuggerNonUserCode]
  339. internal CustomerDataTable(DataTable table)
  340. {
  341. base.TableName = table.TableName;
  342. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  343. {
  344. base.CaseSensitive = table.CaseSensitive;
  345. }
  346. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  347. {
  348. base.Locale = table.Locale;
  349. }
  350. if (table.Namespace != table.DataSet.Namespace)
  351. {
  352. base.Namespace = table.Namespace;
  353. }
  354. base.Prefix = table.Prefix;
  355. base.MinimumCapacity = table.MinimumCapacity;
  356. }
  357. [DebuggerNonUserCode]
  358. protected CustomerDataTable(SerializationInfo info, StreamingContext context)
  359. : base(info, context)
  360. {
  361. InitVars();
  362. }
  363. [DebuggerNonUserCode]
  364. public void AddCustomerRow(CustomerRow row)
  365. {
  366. base.Rows.Add(row);
  367. }
  368. [DebuggerNonUserCode]
  369. public CustomerRow AddCustomerRow(string No_Customer, string ShortName_Customer, string Name_Customer, string RegistedAddress_Customer, int Country_Customer, string PostalCode_Customer, string Type_Customer, bool IsGeneric_Customer, string PayLimitCurrency, decimal PayLimit_Customer, string GetMethod_Customer, DateTime CreateDate_Customer, string SendAddr_Customer, string Comment_Customer, string Industry_Customer, string Zone_Customer, string Source_Customer, string Level_Customer, string Bank_Customer, string Account_Customer, string RevenueRegisterNo_Customer, decimal LastDiscount_Customer, DateTime SuspendDate_Customer, decimal ToGetBalance_Customer, decimal PrePayBalance_Customer, string LastTax_Customer, DateTime LastModDate_Customer, string CreatorName_Customer, string LastModUser, string CountryName)
  370. {
  371. CustomerRow customerRow = (CustomerRow)NewRow();
  372. customerRow.ItemArray = new object[30]
  373. {
  374. No_Customer,
  375. ShortName_Customer,
  376. Name_Customer,
  377. RegistedAddress_Customer,
  378. Country_Customer,
  379. PostalCode_Customer,
  380. Type_Customer,
  381. IsGeneric_Customer,
  382. PayLimitCurrency,
  383. PayLimit_Customer,
  384. GetMethod_Customer,
  385. CreateDate_Customer,
  386. SendAddr_Customer,
  387. Comment_Customer,
  388. Industry_Customer,
  389. Zone_Customer,
  390. Source_Customer,
  391. Level_Customer,
  392. Bank_Customer,
  393. Account_Customer,
  394. RevenueRegisterNo_Customer,
  395. LastDiscount_Customer,
  396. SuspendDate_Customer,
  397. ToGetBalance_Customer,
  398. PrePayBalance_Customer,
  399. LastTax_Customer,
  400. LastModDate_Customer,
  401. CreatorName_Customer,
  402. LastModUser,
  403. CountryName
  404. };
  405. base.Rows.Add(customerRow);
  406. return customerRow;
  407. }
  408. [DebuggerNonUserCode]
  409. public virtual IEnumerator GetEnumerator()
  410. {
  411. return base.Rows.GetEnumerator();
  412. }
  413. [DebuggerNonUserCode]
  414. public override DataTable Clone()
  415. {
  416. CustomerDataTable customerDataTable = (CustomerDataTable)base.Clone();
  417. customerDataTable.InitVars();
  418. return customerDataTable;
  419. }
  420. [DebuggerNonUserCode]
  421. protected override DataTable CreateInstance()
  422. {
  423. return new CustomerDataTable();
  424. }
  425. [DebuggerNonUserCode]
  426. internal void InitVars()
  427. {
  428. columnNo_Customer = base.Columns["No_Customer"];
  429. columnShortName_Customer = base.Columns["ShortName_Customer"];
  430. columnName_Customer = base.Columns["Name_Customer"];
  431. columnRegistedAddress_Customer = base.Columns["RegistedAddress_Customer"];
  432. columnCountry_Customer = base.Columns["Country_Customer"];
  433. columnPostalCode_Customer = base.Columns["PostalCode_Customer"];
  434. columnType_Customer = base.Columns["Type_Customer"];
  435. columnIsGeneric_Customer = base.Columns["IsGeneric_Customer"];
  436. columnPayLimitCurrency = base.Columns["PayLimitCurrency"];
  437. columnPayLimit_Customer = base.Columns["PayLimit_Customer"];
  438. columnGetMethod_Customer = base.Columns["GetMethod_Customer"];
  439. columnCreateDate_Customer = base.Columns["CreateDate_Customer"];
  440. columnSendAddr_Customer = base.Columns["SendAddr_Customer"];
  441. columnComment_Customer = base.Columns["Comment_Customer"];
  442. columnIndustry_Customer = base.Columns["Industry_Customer"];
  443. columnZone_Customer = base.Columns["Zone_Customer"];
  444. columnSource_Customer = base.Columns["Source_Customer"];
  445. columnLevel_Customer = base.Columns["Level_Customer"];
  446. columnBank_Customer = base.Columns["Bank_Customer"];
  447. columnAccount_Customer = base.Columns["Account_Customer"];
  448. columnRevenueRegisterNo_Customer = base.Columns["RevenueRegisterNo_Customer"];
  449. columnLastDiscount_Customer = base.Columns["LastDiscount_Customer"];
  450. columnSuspendDate_Customer = base.Columns["SuspendDate_Customer"];
  451. columnToGetBalance_Customer = base.Columns["ToGetBalance_Customer"];
  452. columnPrePayBalance_Customer = base.Columns["PrePayBalance_Customer"];
  453. columnLastTax_Customer = base.Columns["LastTax_Customer"];
  454. columnLastModDate_Customer = base.Columns["LastModDate_Customer"];
  455. columnCreatorName_Customer = base.Columns["CreatorName_Customer"];
  456. columnLastModUser = base.Columns["LastModUser"];
  457. columnCountryName = base.Columns["CountryName"];
  458. }
  459. [DebuggerNonUserCode]
  460. private void InitClass()
  461. {
  462. columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
  463. base.Columns.Add(columnNo_Customer);
  464. columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
  465. base.Columns.Add(columnShortName_Customer);
  466. columnName_Customer = new DataColumn("Name_Customer", typeof(string), null, MappingType.Element);
  467. base.Columns.Add(columnName_Customer);
  468. columnRegistedAddress_Customer = new DataColumn("RegistedAddress_Customer", typeof(string), null, MappingType.Element);
  469. base.Columns.Add(columnRegistedAddress_Customer);
  470. columnCountry_Customer = new DataColumn("Country_Customer", typeof(int), null, MappingType.Element);
  471. base.Columns.Add(columnCountry_Customer);
  472. columnPostalCode_Customer = new DataColumn("PostalCode_Customer", typeof(string), null, MappingType.Element);
  473. base.Columns.Add(columnPostalCode_Customer);
  474. columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element);
  475. base.Columns.Add(columnType_Customer);
  476. columnIsGeneric_Customer = new DataColumn("IsGeneric_Customer", typeof(bool), null, MappingType.Element);
  477. base.Columns.Add(columnIsGeneric_Customer);
  478. columnPayLimitCurrency = new DataColumn("PayLimitCurrency", typeof(string), null, MappingType.Element);
  479. base.Columns.Add(columnPayLimitCurrency);
  480. columnPayLimit_Customer = new DataColumn("PayLimit_Customer", typeof(decimal), null, MappingType.Element);
  481. base.Columns.Add(columnPayLimit_Customer);
  482. columnGetMethod_Customer = new DataColumn("GetMethod_Customer", typeof(string), null, MappingType.Element);
  483. base.Columns.Add(columnGetMethod_Customer);
  484. columnCreateDate_Customer = new DataColumn("CreateDate_Customer", typeof(DateTime), null, MappingType.Element);
  485. base.Columns.Add(columnCreateDate_Customer);
  486. columnSendAddr_Customer = new DataColumn("SendAddr_Customer", typeof(string), null, MappingType.Element);
  487. base.Columns.Add(columnSendAddr_Customer);
  488. columnComment_Customer = new DataColumn("Comment_Customer", typeof(string), null, MappingType.Element);
  489. base.Columns.Add(columnComment_Customer);
  490. columnIndustry_Customer = new DataColumn("Industry_Customer", typeof(string), null, MappingType.Element);
  491. base.Columns.Add(columnIndustry_Customer);
  492. columnZone_Customer = new DataColumn("Zone_Customer", typeof(string), null, MappingType.Element);
  493. base.Columns.Add(columnZone_Customer);
  494. columnSource_Customer = new DataColumn("Source_Customer", typeof(string), null, MappingType.Element);
  495. base.Columns.Add(columnSource_Customer);
  496. columnLevel_Customer = new DataColumn("Level_Customer", typeof(string), null, MappingType.Element);
  497. base.Columns.Add(columnLevel_Customer);
  498. columnBank_Customer = new DataColumn("Bank_Customer", typeof(string), null, MappingType.Element);
  499. base.Columns.Add(columnBank_Customer);
  500. columnAccount_Customer = new DataColumn("Account_Customer", typeof(string), null, MappingType.Element);
  501. base.Columns.Add(columnAccount_Customer);
  502. columnRevenueRegisterNo_Customer = new DataColumn("RevenueRegisterNo_Customer", typeof(string), null, MappingType.Element);
  503. base.Columns.Add(columnRevenueRegisterNo_Customer);
  504. columnLastDiscount_Customer = new DataColumn("LastDiscount_Customer", typeof(decimal), null, MappingType.Element);
  505. base.Columns.Add(columnLastDiscount_Customer);
  506. columnSuspendDate_Customer = new DataColumn("SuspendDate_Customer", typeof(DateTime), null, MappingType.Element);
  507. base.Columns.Add(columnSuspendDate_Customer);
  508. columnToGetBalance_Customer = new DataColumn("ToGetBalance_Customer", typeof(decimal), null, MappingType.Element);
  509. base.Columns.Add(columnToGetBalance_Customer);
  510. columnPrePayBalance_Customer = new DataColumn("PrePayBalance_Customer", typeof(decimal), null, MappingType.Element);
  511. base.Columns.Add(columnPrePayBalance_Customer);
  512. columnLastTax_Customer = new DataColumn("LastTax_Customer", typeof(string), null, MappingType.Element);
  513. base.Columns.Add(columnLastTax_Customer);
  514. columnLastModDate_Customer = new DataColumn("LastModDate_Customer", typeof(DateTime), null, MappingType.Element);
  515. base.Columns.Add(columnLastModDate_Customer);
  516. columnCreatorName_Customer = new DataColumn("CreatorName_Customer", typeof(string), null, MappingType.Element);
  517. base.Columns.Add(columnCreatorName_Customer);
  518. columnLastModUser = new DataColumn("LastModUser", typeof(string), null, MappingType.Element);
  519. base.Columns.Add(columnLastModUser);
  520. columnCountryName = new DataColumn("CountryName", typeof(string), null, MappingType.Element);
  521. base.Columns.Add(columnCountryName);
  522. }
  523. [DebuggerNonUserCode]
  524. public CustomerRow NewCustomerRow()
  525. {
  526. return (CustomerRow)NewRow();
  527. }
  528. [DebuggerNonUserCode]
  529. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  530. {
  531. return new CustomerRow(builder);
  532. }
  533. [DebuggerNonUserCode]
  534. protected override Type GetRowType()
  535. {
  536. return typeof(CustomerRow);
  537. }
  538. [DebuggerNonUserCode]
  539. protected override void OnRowChanged(DataRowChangeEventArgs e)
  540. {
  541. base.OnRowChanged(e);
  542. if (this.CustomerRowChanged != null)
  543. {
  544. this.CustomerRowChanged(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
  545. }
  546. }
  547. [DebuggerNonUserCode]
  548. protected override void OnRowChanging(DataRowChangeEventArgs e)
  549. {
  550. base.OnRowChanging(e);
  551. if (this.CustomerRowChanging != null)
  552. {
  553. this.CustomerRowChanging(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
  554. }
  555. }
  556. [DebuggerNonUserCode]
  557. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  558. {
  559. base.OnRowDeleted(e);
  560. if (this.CustomerRowDeleted != null)
  561. {
  562. this.CustomerRowDeleted(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
  563. }
  564. }
  565. [DebuggerNonUserCode]
  566. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  567. {
  568. base.OnRowDeleting(e);
  569. if (this.CustomerRowDeleting != null)
  570. {
  571. this.CustomerRowDeleting(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
  572. }
  573. }
  574. [DebuggerNonUserCode]
  575. public void RemoveCustomerRow(CustomerRow row)
  576. {
  577. base.Rows.Remove(row);
  578. }
  579. [DebuggerNonUserCode]
  580. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  581. {
  582. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  583. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  584. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  585. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  586. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  587. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  588. xmlSchemaAny.MinOccurs = 0m;
  589. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  590. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  591. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  592. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  593. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  594. xmlSchemaAny2.MinOccurs = 1m;
  595. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  596. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  597. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  598. xmlSchemaAttribute.Name = "namespace";
  599. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  600. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  601. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  602. xmlSchemaAttribute2.Name = "tableTypeName";
  603. xmlSchemaAttribute2.FixedValue = "CustomerDataTable";
  604. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  605. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  606. return xmlSchemaComplexType;
  607. }
  608. }
  609. [Serializable]
  610. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  611. [XmlSchemaProvider("GetTypedTableSchema")]
  612. public class EmployeeDataTable : DataTable, IEnumerable
  613. {
  614. private DataColumn columnNo_Employee;
  615. private DataColumn columnName_Employee;
  616. private DataColumn columnEmployeeNo_Employee;
  617. private DataColumn columnNameEng_Employee;
  618. private DataColumn columnGender_Employee;
  619. private DataColumn columnCountry_Employee;
  620. private DataColumn columnHomeplace_Employee;
  621. private DataColumn columnNation_Employee;
  622. private DataColumn columnIDNo_Employee;
  623. private DataColumn columnPassport_Employee;
  624. private DataColumn columnIsMarried_Employee;
  625. private DataColumn columnCreateDate_Employee;
  626. private DataColumn columnDuty_Employee;
  627. private DataColumn columnProbation_Employee;
  628. private DataColumn columnOnJobDate_Employee;
  629. private DataColumn columnOnDuty_Employee;
  630. private DataColumn columnObJobStatus_Employee;
  631. private DataColumn columnOffDuty_Employee;
  632. private DataColumn columnSuspendDate_Employee;
  633. private DataColumn columnTel_Employee;
  634. private DataColumn columnEMail_Employee;
  635. private DataColumn columnAddress_Employee;
  636. private DataColumn columnComment_Employee;
  637. private DataColumn columnLastModDate_Employee;
  638. [DebuggerNonUserCode]
  639. public DataColumn No_EmployeeColumn => columnNo_Employee;
  640. [DebuggerNonUserCode]
  641. public DataColumn Name_EmployeeColumn => columnName_Employee;
  642. [DebuggerNonUserCode]
  643. public DataColumn EmployeeNo_EmployeeColumn => columnEmployeeNo_Employee;
  644. [DebuggerNonUserCode]
  645. public DataColumn NameEng_EmployeeColumn => columnNameEng_Employee;
  646. [DebuggerNonUserCode]
  647. public DataColumn Gender_EmployeeColumn => columnGender_Employee;
  648. [DebuggerNonUserCode]
  649. public DataColumn Country_EmployeeColumn => columnCountry_Employee;
  650. [DebuggerNonUserCode]
  651. public DataColumn Homeplace_EmployeeColumn => columnHomeplace_Employee;
  652. [DebuggerNonUserCode]
  653. public DataColumn Nation_EmployeeColumn => columnNation_Employee;
  654. [DebuggerNonUserCode]
  655. public DataColumn IDNo_EmployeeColumn => columnIDNo_Employee;
  656. [DebuggerNonUserCode]
  657. public DataColumn Passport_EmployeeColumn => columnPassport_Employee;
  658. [DebuggerNonUserCode]
  659. public DataColumn IsMarried_EmployeeColumn => columnIsMarried_Employee;
  660. [DebuggerNonUserCode]
  661. public DataColumn CreateDate_EmployeeColumn => columnCreateDate_Employee;
  662. [DebuggerNonUserCode]
  663. public DataColumn Duty_EmployeeColumn => columnDuty_Employee;
  664. [DebuggerNonUserCode]
  665. public DataColumn Probation_EmployeeColumn => columnProbation_Employee;
  666. [DebuggerNonUserCode]
  667. public DataColumn OnJobDate_EmployeeColumn => columnOnJobDate_Employee;
  668. [DebuggerNonUserCode]
  669. public DataColumn OnDuty_EmployeeColumn => columnOnDuty_Employee;
  670. [DebuggerNonUserCode]
  671. public DataColumn ObJobStatus_EmployeeColumn => columnObJobStatus_Employee;
  672. [DebuggerNonUserCode]
  673. public DataColumn OffDuty_EmployeeColumn => columnOffDuty_Employee;
  674. [DebuggerNonUserCode]
  675. public DataColumn SuspendDate_EmployeeColumn => columnSuspendDate_Employee;
  676. [DebuggerNonUserCode]
  677. public DataColumn Tel_EmployeeColumn => columnTel_Employee;
  678. [DebuggerNonUserCode]
  679. public DataColumn EMail_EmployeeColumn => columnEMail_Employee;
  680. [DebuggerNonUserCode]
  681. public DataColumn Address_EmployeeColumn => columnAddress_Employee;
  682. [DebuggerNonUserCode]
  683. public DataColumn Comment_EmployeeColumn => columnComment_Employee;
  684. [DebuggerNonUserCode]
  685. public DataColumn LastModDate_EmployeeColumn => columnLastModDate_Employee;
  686. [Browsable(false)]
  687. [DebuggerNonUserCode]
  688. public int Count => base.Rows.Count;
  689. [DebuggerNonUserCode]
  690. public EmployeeRow this[int index] => (EmployeeRow)base.Rows[index];
  691. public event EmployeeRowChangeEventHandler EmployeeRowChanging;
  692. public event EmployeeRowChangeEventHandler EmployeeRowChanged;
  693. public event EmployeeRowChangeEventHandler EmployeeRowDeleting;
  694. public event EmployeeRowChangeEventHandler EmployeeRowDeleted;
  695. [DebuggerNonUserCode]
  696. public EmployeeDataTable()
  697. {
  698. base.TableName = "Employee";
  699. BeginInit();
  700. InitClass();
  701. EndInit();
  702. }
  703. [DebuggerNonUserCode]
  704. internal EmployeeDataTable(DataTable table)
  705. {
  706. base.TableName = table.TableName;
  707. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  708. {
  709. base.CaseSensitive = table.CaseSensitive;
  710. }
  711. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  712. {
  713. base.Locale = table.Locale;
  714. }
  715. if (table.Namespace != table.DataSet.Namespace)
  716. {
  717. base.Namespace = table.Namespace;
  718. }
  719. base.Prefix = table.Prefix;
  720. base.MinimumCapacity = table.MinimumCapacity;
  721. }
  722. [DebuggerNonUserCode]
  723. protected EmployeeDataTable(SerializationInfo info, StreamingContext context)
  724. : base(info, context)
  725. {
  726. InitVars();
  727. }
  728. [DebuggerNonUserCode]
  729. public void AddEmployeeRow(EmployeeRow row)
  730. {
  731. base.Rows.Add(row);
  732. }
  733. [DebuggerNonUserCode]
  734. 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)
  735. {
  736. EmployeeRow employeeRow = (EmployeeRow)NewRow();
  737. employeeRow.ItemArray = new object[24]
  738. {
  739. No_Employee,
  740. Name_Employee,
  741. EmployeeNo_Employee,
  742. NameEng_Employee,
  743. Gender_Employee,
  744. Country_Employee,
  745. Homeplace_Employee,
  746. Nation_Employee,
  747. IDNo_Employee,
  748. Passport_Employee,
  749. IsMarried_Employee,
  750. CreateDate_Employee,
  751. Duty_Employee,
  752. Probation_Employee,
  753. OnJobDate_Employee,
  754. OnDuty_Employee,
  755. ObJobStatus_Employee,
  756. OffDuty_Employee,
  757. SuspendDate_Employee,
  758. Tel_Employee,
  759. EMail_Employee,
  760. Address_Employee,
  761. Comment_Employee,
  762. LastModDate_Employee
  763. };
  764. base.Rows.Add(employeeRow);
  765. return employeeRow;
  766. }
  767. [DebuggerNonUserCode]
  768. public virtual IEnumerator GetEnumerator()
  769. {
  770. return base.Rows.GetEnumerator();
  771. }
  772. [DebuggerNonUserCode]
  773. public override DataTable Clone()
  774. {
  775. EmployeeDataTable employeeDataTable = (EmployeeDataTable)base.Clone();
  776. employeeDataTable.InitVars();
  777. return employeeDataTable;
  778. }
  779. [DebuggerNonUserCode]
  780. protected override DataTable CreateInstance()
  781. {
  782. return new EmployeeDataTable();
  783. }
  784. [DebuggerNonUserCode]
  785. internal void InitVars()
  786. {
  787. columnNo_Employee = base.Columns["No_Employee"];
  788. columnName_Employee = base.Columns["Name_Employee"];
  789. columnEmployeeNo_Employee = base.Columns["EmployeeNo_Employee"];
  790. columnNameEng_Employee = base.Columns["NameEng_Employee"];
  791. columnGender_Employee = base.Columns["Gender_Employee"];
  792. columnCountry_Employee = base.Columns["Country_Employee"];
  793. columnHomeplace_Employee = base.Columns["Homeplace_Employee"];
  794. columnNation_Employee = base.Columns["Nation_Employee"];
  795. columnIDNo_Employee = base.Columns["IDNo_Employee"];
  796. columnPassport_Employee = base.Columns["Passport_Employee"];
  797. columnIsMarried_Employee = base.Columns["IsMarried_Employee"];
  798. columnCreateDate_Employee = base.Columns["CreateDate_Employee"];
  799. columnDuty_Employee = base.Columns["Duty_Employee"];
  800. columnProbation_Employee = base.Columns["Probation_Employee"];
  801. columnOnJobDate_Employee = base.Columns["OnJobDate_Employee"];
  802. columnOnDuty_Employee = base.Columns["OnDuty_Employee"];
  803. columnObJobStatus_Employee = base.Columns["ObJobStatus_Employee"];
  804. columnOffDuty_Employee = base.Columns["OffDuty_Employee"];
  805. columnSuspendDate_Employee = base.Columns["SuspendDate_Employee"];
  806. columnTel_Employee = base.Columns["Tel_Employee"];
  807. columnEMail_Employee = base.Columns["EMail_Employee"];
  808. columnAddress_Employee = base.Columns["Address_Employee"];
  809. columnComment_Employee = base.Columns["Comment_Employee"];
  810. columnLastModDate_Employee = base.Columns["LastModDate_Employee"];
  811. }
  812. [DebuggerNonUserCode]
  813. private void InitClass()
  814. {
  815. columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
  816. base.Columns.Add(columnNo_Employee);
  817. columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
  818. base.Columns.Add(columnName_Employee);
  819. columnEmployeeNo_Employee = new DataColumn("EmployeeNo_Employee", typeof(string), null, MappingType.Element);
  820. base.Columns.Add(columnEmployeeNo_Employee);
  821. columnNameEng_Employee = new DataColumn("NameEng_Employee", typeof(string), null, MappingType.Element);
  822. base.Columns.Add(columnNameEng_Employee);
  823. columnGender_Employee = new DataColumn("Gender_Employee", typeof(bool), null, MappingType.Element);
  824. base.Columns.Add(columnGender_Employee);
  825. columnCountry_Employee = new DataColumn("Country_Employee", typeof(int), null, MappingType.Element);
  826. base.Columns.Add(columnCountry_Employee);
  827. columnHomeplace_Employee = new DataColumn("Homeplace_Employee", typeof(string), null, MappingType.Element);
  828. base.Columns.Add(columnHomeplace_Employee);
  829. columnNation_Employee = new DataColumn("Nation_Employee", typeof(string), null, MappingType.Element);
  830. base.Columns.Add(columnNation_Employee);
  831. columnIDNo_Employee = new DataColumn("IDNo_Employee", typeof(string), null, MappingType.Element);
  832. base.Columns.Add(columnIDNo_Employee);
  833. columnPassport_Employee = new DataColumn("Passport_Employee", typeof(string), null, MappingType.Element);
  834. base.Columns.Add(columnPassport_Employee);
  835. columnIsMarried_Employee = new DataColumn("IsMarried_Employee", typeof(bool), null, MappingType.Element);
  836. base.Columns.Add(columnIsMarried_Employee);
  837. columnCreateDate_Employee = new DataColumn("CreateDate_Employee", typeof(DateTime), null, MappingType.Element);
  838. base.Columns.Add(columnCreateDate_Employee);
  839. columnDuty_Employee = new DataColumn("Duty_Employee", typeof(string), null, MappingType.Element);
  840. base.Columns.Add(columnDuty_Employee);
  841. columnProbation_Employee = new DataColumn("Probation_Employee", typeof(decimal), null, MappingType.Element);
  842. base.Columns.Add(columnProbation_Employee);
  843. columnOnJobDate_Employee = new DataColumn("OnJobDate_Employee", typeof(DateTime), null, MappingType.Element);
  844. base.Columns.Add(columnOnJobDate_Employee);
  845. columnOnDuty_Employee = new DataColumn("OnDuty_Employee", typeof(DateTime), null, MappingType.Element);
  846. base.Columns.Add(columnOnDuty_Employee);
  847. columnObJobStatus_Employee = new DataColumn("ObJobStatus_Employee", typeof(int), null, MappingType.Element);
  848. base.Columns.Add(columnObJobStatus_Employee);
  849. columnOffDuty_Employee = new DataColumn("OffDuty_Employee", typeof(DateTime), null, MappingType.Element);
  850. base.Columns.Add(columnOffDuty_Employee);
  851. columnSuspendDate_Employee = new DataColumn("SuspendDate_Employee", typeof(DateTime), null, MappingType.Element);
  852. base.Columns.Add(columnSuspendDate_Employee);
  853. columnTel_Employee = new DataColumn("Tel_Employee", typeof(string), null, MappingType.Element);
  854. base.Columns.Add(columnTel_Employee);
  855. columnEMail_Employee = new DataColumn("EMail_Employee", typeof(string), null, MappingType.Element);
  856. base.Columns.Add(columnEMail_Employee);
  857. columnAddress_Employee = new DataColumn("Address_Employee", typeof(string), null, MappingType.Element);
  858. base.Columns.Add(columnAddress_Employee);
  859. columnComment_Employee = new DataColumn("Comment_Employee", typeof(string), null, MappingType.Element);
  860. base.Columns.Add(columnComment_Employee);
  861. columnLastModDate_Employee = new DataColumn("LastModDate_Employee", typeof(DateTime), null, MappingType.Element);
  862. base.Columns.Add(columnLastModDate_Employee);
  863. }
  864. [DebuggerNonUserCode]
  865. public EmployeeRow NewEmployeeRow()
  866. {
  867. return (EmployeeRow)NewRow();
  868. }
  869. [DebuggerNonUserCode]
  870. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  871. {
  872. return new EmployeeRow(builder);
  873. }
  874. [DebuggerNonUserCode]
  875. protected override Type GetRowType()
  876. {
  877. return typeof(EmployeeRow);
  878. }
  879. [DebuggerNonUserCode]
  880. protected override void OnRowChanged(DataRowChangeEventArgs e)
  881. {
  882. base.OnRowChanged(e);
  883. if (this.EmployeeRowChanged != null)
  884. {
  885. this.EmployeeRowChanged(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  886. }
  887. }
  888. [DebuggerNonUserCode]
  889. protected override void OnRowChanging(DataRowChangeEventArgs e)
  890. {
  891. base.OnRowChanging(e);
  892. if (this.EmployeeRowChanging != null)
  893. {
  894. this.EmployeeRowChanging(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  895. }
  896. }
  897. [DebuggerNonUserCode]
  898. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  899. {
  900. base.OnRowDeleted(e);
  901. if (this.EmployeeRowDeleted != null)
  902. {
  903. this.EmployeeRowDeleted(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  904. }
  905. }
  906. [DebuggerNonUserCode]
  907. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  908. {
  909. base.OnRowDeleting(e);
  910. if (this.EmployeeRowDeleting != null)
  911. {
  912. this.EmployeeRowDeleting(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
  913. }
  914. }
  915. [DebuggerNonUserCode]
  916. public void RemoveEmployeeRow(EmployeeRow row)
  917. {
  918. base.Rows.Remove(row);
  919. }
  920. [DebuggerNonUserCode]
  921. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  922. {
  923. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  924. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  925. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  926. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  927. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  928. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  929. xmlSchemaAny.MinOccurs = 0m;
  930. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  931. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  932. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  933. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  934. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  935. xmlSchemaAny2.MinOccurs = 1m;
  936. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  937. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  938. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  939. xmlSchemaAttribute.Name = "namespace";
  940. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  941. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  942. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  943. xmlSchemaAttribute2.Name = "tableTypeName";
  944. xmlSchemaAttribute2.FixedValue = "EmployeeDataTable";
  945. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  946. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  947. return xmlSchemaComplexType;
  948. }
  949. }
  950. [Serializable]
  951. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  952. [XmlSchemaProvider("GetTypedTableSchema")]
  953. public class InvoiceDataTable : DataTable, IEnumerable
  954. {
  955. private DataColumn columnTitle_Invoice;
  956. private DataColumn columnAddress_Invoice;
  957. private DataColumn columnTel_Invoice;
  958. private DataColumn columnLinkman_Invoice;
  959. private DataColumn columnCommon_Invoice;
  960. private DataColumn columnComment_Invoice;
  961. [DebuggerNonUserCode]
  962. public DataColumn Title_InvoiceColumn => columnTitle_Invoice;
  963. [DebuggerNonUserCode]
  964. public DataColumn Address_InvoiceColumn => columnAddress_Invoice;
  965. [DebuggerNonUserCode]
  966. public DataColumn Tel_InvoiceColumn => columnTel_Invoice;
  967. [DebuggerNonUserCode]
  968. public DataColumn Linkman_InvoiceColumn => columnLinkman_Invoice;
  969. [DebuggerNonUserCode]
  970. public DataColumn Common_InvoiceColumn => columnCommon_Invoice;
  971. [DebuggerNonUserCode]
  972. public DataColumn Comment_InvoiceColumn => columnComment_Invoice;
  973. [Browsable(false)]
  974. [DebuggerNonUserCode]
  975. public int Count => base.Rows.Count;
  976. [DebuggerNonUserCode]
  977. public InvoiceRow this[int index] => (InvoiceRow)base.Rows[index];
  978. public event InvoiceRowChangeEventHandler InvoiceRowChanging;
  979. public event InvoiceRowChangeEventHandler InvoiceRowChanged;
  980. public event InvoiceRowChangeEventHandler InvoiceRowDeleting;
  981. public event InvoiceRowChangeEventHandler InvoiceRowDeleted;
  982. [DebuggerNonUserCode]
  983. public InvoiceDataTable()
  984. {
  985. base.TableName = "Invoice";
  986. BeginInit();
  987. InitClass();
  988. EndInit();
  989. }
  990. [DebuggerNonUserCode]
  991. internal InvoiceDataTable(DataTable table)
  992. {
  993. base.TableName = table.TableName;
  994. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  995. {
  996. base.CaseSensitive = table.CaseSensitive;
  997. }
  998. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  999. {
  1000. base.Locale = table.Locale;
  1001. }
  1002. if (table.Namespace != table.DataSet.Namespace)
  1003. {
  1004. base.Namespace = table.Namespace;
  1005. }
  1006. base.Prefix = table.Prefix;
  1007. base.MinimumCapacity = table.MinimumCapacity;
  1008. }
  1009. [DebuggerNonUserCode]
  1010. protected InvoiceDataTable(SerializationInfo info, StreamingContext context)
  1011. : base(info, context)
  1012. {
  1013. InitVars();
  1014. }
  1015. [DebuggerNonUserCode]
  1016. public void AddInvoiceRow(InvoiceRow row)
  1017. {
  1018. base.Rows.Add(row);
  1019. }
  1020. [DebuggerNonUserCode]
  1021. public InvoiceRow AddInvoiceRow(string Title_Invoice, string Address_Invoice, string Tel_Invoice, string Linkman_Invoice, bool Common_Invoice, string Comment_Invoice)
  1022. {
  1023. InvoiceRow invoiceRow = (InvoiceRow)NewRow();
  1024. invoiceRow.ItemArray = new object[6]
  1025. {
  1026. Title_Invoice,
  1027. Address_Invoice,
  1028. Tel_Invoice,
  1029. Linkman_Invoice,
  1030. Common_Invoice,
  1031. Comment_Invoice
  1032. };
  1033. base.Rows.Add(invoiceRow);
  1034. return invoiceRow;
  1035. }
  1036. [DebuggerNonUserCode]
  1037. public virtual IEnumerator GetEnumerator()
  1038. {
  1039. return base.Rows.GetEnumerator();
  1040. }
  1041. [DebuggerNonUserCode]
  1042. public override DataTable Clone()
  1043. {
  1044. InvoiceDataTable invoiceDataTable = (InvoiceDataTable)base.Clone();
  1045. invoiceDataTable.InitVars();
  1046. return invoiceDataTable;
  1047. }
  1048. [DebuggerNonUserCode]
  1049. protected override DataTable CreateInstance()
  1050. {
  1051. return new InvoiceDataTable();
  1052. }
  1053. [DebuggerNonUserCode]
  1054. internal void InitVars()
  1055. {
  1056. columnTitle_Invoice = base.Columns["Title_Invoice"];
  1057. columnAddress_Invoice = base.Columns["Address_Invoice"];
  1058. columnTel_Invoice = base.Columns["Tel_Invoice"];
  1059. columnLinkman_Invoice = base.Columns["Linkman_Invoice"];
  1060. columnCommon_Invoice = base.Columns["Common_Invoice"];
  1061. columnComment_Invoice = base.Columns["Comment_Invoice"];
  1062. }
  1063. [DebuggerNonUserCode]
  1064. private void InitClass()
  1065. {
  1066. columnTitle_Invoice = new DataColumn("Title_Invoice", typeof(string), null, MappingType.Element);
  1067. base.Columns.Add(columnTitle_Invoice);
  1068. columnAddress_Invoice = new DataColumn("Address_Invoice", typeof(string), null, MappingType.Element);
  1069. base.Columns.Add(columnAddress_Invoice);
  1070. columnTel_Invoice = new DataColumn("Tel_Invoice", typeof(string), null, MappingType.Element);
  1071. base.Columns.Add(columnTel_Invoice);
  1072. columnLinkman_Invoice = new DataColumn("Linkman_Invoice", typeof(string), null, MappingType.Element);
  1073. base.Columns.Add(columnLinkman_Invoice);
  1074. columnCommon_Invoice = new DataColumn("Common_Invoice", typeof(bool), null, MappingType.Element);
  1075. base.Columns.Add(columnCommon_Invoice);
  1076. columnComment_Invoice = new DataColumn("Comment_Invoice", typeof(string), null, MappingType.Element);
  1077. base.Columns.Add(columnComment_Invoice);
  1078. }
  1079. [DebuggerNonUserCode]
  1080. public InvoiceRow NewInvoiceRow()
  1081. {
  1082. return (InvoiceRow)NewRow();
  1083. }
  1084. [DebuggerNonUserCode]
  1085. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1086. {
  1087. return new InvoiceRow(builder);
  1088. }
  1089. [DebuggerNonUserCode]
  1090. protected override Type GetRowType()
  1091. {
  1092. return typeof(InvoiceRow);
  1093. }
  1094. [DebuggerNonUserCode]
  1095. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1096. {
  1097. base.OnRowChanged(e);
  1098. if (this.InvoiceRowChanged != null)
  1099. {
  1100. this.InvoiceRowChanged(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
  1101. }
  1102. }
  1103. [DebuggerNonUserCode]
  1104. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1105. {
  1106. base.OnRowChanging(e);
  1107. if (this.InvoiceRowChanging != null)
  1108. {
  1109. this.InvoiceRowChanging(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
  1110. }
  1111. }
  1112. [DebuggerNonUserCode]
  1113. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1114. {
  1115. base.OnRowDeleted(e);
  1116. if (this.InvoiceRowDeleted != null)
  1117. {
  1118. this.InvoiceRowDeleted(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
  1119. }
  1120. }
  1121. [DebuggerNonUserCode]
  1122. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1123. {
  1124. base.OnRowDeleting(e);
  1125. if (this.InvoiceRowDeleting != null)
  1126. {
  1127. this.InvoiceRowDeleting(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
  1128. }
  1129. }
  1130. [DebuggerNonUserCode]
  1131. public void RemoveInvoiceRow(InvoiceRow row)
  1132. {
  1133. base.Rows.Remove(row);
  1134. }
  1135. [DebuggerNonUserCode]
  1136. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1137. {
  1138. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1139. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1140. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  1141. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  1142. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1143. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1144. xmlSchemaAny.MinOccurs = 0m;
  1145. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1146. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1147. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1148. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1149. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1150. xmlSchemaAny2.MinOccurs = 1m;
  1151. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1152. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1153. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1154. xmlSchemaAttribute.Name = "namespace";
  1155. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  1156. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1157. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1158. xmlSchemaAttribute2.Name = "tableTypeName";
  1159. xmlSchemaAttribute2.FixedValue = "InvoiceDataTable";
  1160. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1161. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1162. return xmlSchemaComplexType;
  1163. }
  1164. }
  1165. [Serializable]
  1166. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1167. [XmlSchemaProvider("GetTypedTableSchema")]
  1168. public class PrincipalDataTable : DataTable, IEnumerable
  1169. {
  1170. private DataColumn columnIsMain_Principal;
  1171. private DataColumn columnComment_Principal;
  1172. private DataColumn columnName_Employee;
  1173. private DataColumn columnNo_Employee;
  1174. [DebuggerNonUserCode]
  1175. public DataColumn IsMain_PrincipalColumn => columnIsMain_Principal;
  1176. [DebuggerNonUserCode]
  1177. public DataColumn Comment_PrincipalColumn => columnComment_Principal;
  1178. [DebuggerNonUserCode]
  1179. public DataColumn Name_EmployeeColumn => columnName_Employee;
  1180. [DebuggerNonUserCode]
  1181. public DataColumn No_EmployeeColumn => columnNo_Employee;
  1182. [DebuggerNonUserCode]
  1183. [Browsable(false)]
  1184. public int Count => base.Rows.Count;
  1185. [DebuggerNonUserCode]
  1186. public PrincipalRow this[int index] => (PrincipalRow)base.Rows[index];
  1187. public event PrincipalRowChangeEventHandler PrincipalRowChanging;
  1188. public event PrincipalRowChangeEventHandler PrincipalRowChanged;
  1189. public event PrincipalRowChangeEventHandler PrincipalRowDeleting;
  1190. public event PrincipalRowChangeEventHandler PrincipalRowDeleted;
  1191. [DebuggerNonUserCode]
  1192. public PrincipalDataTable()
  1193. {
  1194. base.TableName = "Principal";
  1195. BeginInit();
  1196. InitClass();
  1197. EndInit();
  1198. }
  1199. [DebuggerNonUserCode]
  1200. internal PrincipalDataTable(DataTable table)
  1201. {
  1202. base.TableName = table.TableName;
  1203. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1204. {
  1205. base.CaseSensitive = table.CaseSensitive;
  1206. }
  1207. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1208. {
  1209. base.Locale = table.Locale;
  1210. }
  1211. if (table.Namespace != table.DataSet.Namespace)
  1212. {
  1213. base.Namespace = table.Namespace;
  1214. }
  1215. base.Prefix = table.Prefix;
  1216. base.MinimumCapacity = table.MinimumCapacity;
  1217. }
  1218. [DebuggerNonUserCode]
  1219. protected PrincipalDataTable(SerializationInfo info, StreamingContext context)
  1220. : base(info, context)
  1221. {
  1222. InitVars();
  1223. }
  1224. [DebuggerNonUserCode]
  1225. public void AddPrincipalRow(PrincipalRow row)
  1226. {
  1227. base.Rows.Add(row);
  1228. }
  1229. [DebuggerNonUserCode]
  1230. public PrincipalRow AddPrincipalRow(bool IsMain_Principal, string Comment_Principal, string Name_Employee, string No_Employee)
  1231. {
  1232. PrincipalRow principalRow = (PrincipalRow)NewRow();
  1233. principalRow.ItemArray = new object[4]
  1234. {
  1235. IsMain_Principal,
  1236. Comment_Principal,
  1237. Name_Employee,
  1238. No_Employee
  1239. };
  1240. base.Rows.Add(principalRow);
  1241. return principalRow;
  1242. }
  1243. [DebuggerNonUserCode]
  1244. public virtual IEnumerator GetEnumerator()
  1245. {
  1246. return base.Rows.GetEnumerator();
  1247. }
  1248. [DebuggerNonUserCode]
  1249. public override DataTable Clone()
  1250. {
  1251. PrincipalDataTable principalDataTable = (PrincipalDataTable)base.Clone();
  1252. principalDataTable.InitVars();
  1253. return principalDataTable;
  1254. }
  1255. [DebuggerNonUserCode]
  1256. protected override DataTable CreateInstance()
  1257. {
  1258. return new PrincipalDataTable();
  1259. }
  1260. [DebuggerNonUserCode]
  1261. internal void InitVars()
  1262. {
  1263. columnIsMain_Principal = base.Columns["IsMain_Principal"];
  1264. columnComment_Principal = base.Columns["Comment_Principal"];
  1265. columnName_Employee = base.Columns["Name_Employee"];
  1266. columnNo_Employee = base.Columns["No_Employee"];
  1267. }
  1268. [DebuggerNonUserCode]
  1269. private void InitClass()
  1270. {
  1271. columnIsMain_Principal = new DataColumn("IsMain_Principal", typeof(bool), null, MappingType.Element);
  1272. base.Columns.Add(columnIsMain_Principal);
  1273. columnComment_Principal = new DataColumn("Comment_Principal", typeof(string), null, MappingType.Element);
  1274. base.Columns.Add(columnComment_Principal);
  1275. columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
  1276. base.Columns.Add(columnName_Employee);
  1277. columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
  1278. base.Columns.Add(columnNo_Employee);
  1279. }
  1280. [DebuggerNonUserCode]
  1281. public PrincipalRow NewPrincipalRow()
  1282. {
  1283. return (PrincipalRow)NewRow();
  1284. }
  1285. [DebuggerNonUserCode]
  1286. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1287. {
  1288. return new PrincipalRow(builder);
  1289. }
  1290. [DebuggerNonUserCode]
  1291. protected override Type GetRowType()
  1292. {
  1293. return typeof(PrincipalRow);
  1294. }
  1295. [DebuggerNonUserCode]
  1296. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1297. {
  1298. base.OnRowChanged(e);
  1299. if (this.PrincipalRowChanged != null)
  1300. {
  1301. this.PrincipalRowChanged(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  1302. }
  1303. }
  1304. [DebuggerNonUserCode]
  1305. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1306. {
  1307. base.OnRowChanging(e);
  1308. if (this.PrincipalRowChanging != null)
  1309. {
  1310. this.PrincipalRowChanging(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  1311. }
  1312. }
  1313. [DebuggerNonUserCode]
  1314. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1315. {
  1316. base.OnRowDeleted(e);
  1317. if (this.PrincipalRowDeleted != null)
  1318. {
  1319. this.PrincipalRowDeleted(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  1320. }
  1321. }
  1322. [DebuggerNonUserCode]
  1323. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1324. {
  1325. base.OnRowDeleting(e);
  1326. if (this.PrincipalRowDeleting != null)
  1327. {
  1328. this.PrincipalRowDeleting(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
  1329. }
  1330. }
  1331. [DebuggerNonUserCode]
  1332. public void RemovePrincipalRow(PrincipalRow row)
  1333. {
  1334. base.Rows.Remove(row);
  1335. }
  1336. [DebuggerNonUserCode]
  1337. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1338. {
  1339. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1340. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1341. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  1342. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  1343. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1344. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1345. xmlSchemaAny.MinOccurs = 0m;
  1346. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1347. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1348. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1349. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1350. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1351. xmlSchemaAny2.MinOccurs = 1m;
  1352. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1353. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1354. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1355. xmlSchemaAttribute.Name = "namespace";
  1356. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  1357. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1358. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1359. xmlSchemaAttribute2.Name = "tableTypeName";
  1360. xmlSchemaAttribute2.FixedValue = "PrincipalDataTable";
  1361. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1362. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1363. return xmlSchemaComplexType;
  1364. }
  1365. }
  1366. [Serializable]
  1367. [XmlSchemaProvider("GetTypedTableSchema")]
  1368. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1369. public class LinkmanDataTable : DataTable, IEnumerable
  1370. {
  1371. private DataColumn columnName_Linkman;
  1372. private DataColumn columnDepartment_Linkman;
  1373. private DataColumn columnDuty_Linkman;
  1374. private DataColumn columnTel_Linkman;
  1375. private DataColumn columnFax_Linkman;
  1376. private DataColumn columnMobile_Linkman;
  1377. private DataColumn columnEmail_Linkman;
  1378. private DataColumn columnIsMain_Linkman;
  1379. private DataColumn columnComment_Linkman;
  1380. [DebuggerNonUserCode]
  1381. public DataColumn Name_LinkmanColumn => columnName_Linkman;
  1382. [DebuggerNonUserCode]
  1383. public DataColumn Department_LinkmanColumn => columnDepartment_Linkman;
  1384. [DebuggerNonUserCode]
  1385. public DataColumn Duty_LinkmanColumn => columnDuty_Linkman;
  1386. [DebuggerNonUserCode]
  1387. public DataColumn Tel_LinkmanColumn => columnTel_Linkman;
  1388. [DebuggerNonUserCode]
  1389. public DataColumn Fax_LinkmanColumn => columnFax_Linkman;
  1390. [DebuggerNonUserCode]
  1391. public DataColumn Mobile_LinkmanColumn => columnMobile_Linkman;
  1392. [DebuggerNonUserCode]
  1393. public DataColumn Email_LinkmanColumn => columnEmail_Linkman;
  1394. [DebuggerNonUserCode]
  1395. public DataColumn IsMain_LinkmanColumn => columnIsMain_Linkman;
  1396. [DebuggerNonUserCode]
  1397. public DataColumn Comment_LinkmanColumn => columnComment_Linkman;
  1398. [DebuggerNonUserCode]
  1399. [Browsable(false)]
  1400. public int Count => base.Rows.Count;
  1401. [DebuggerNonUserCode]
  1402. public LinkmanRow this[int index] => (LinkmanRow)base.Rows[index];
  1403. public event LinkmanRowChangeEventHandler LinkmanRowChanging;
  1404. public event LinkmanRowChangeEventHandler LinkmanRowChanged;
  1405. public event LinkmanRowChangeEventHandler LinkmanRowDeleting;
  1406. public event LinkmanRowChangeEventHandler LinkmanRowDeleted;
  1407. [DebuggerNonUserCode]
  1408. public LinkmanDataTable()
  1409. {
  1410. base.TableName = "Linkman";
  1411. BeginInit();
  1412. InitClass();
  1413. EndInit();
  1414. }
  1415. [DebuggerNonUserCode]
  1416. internal LinkmanDataTable(DataTable table)
  1417. {
  1418. base.TableName = table.TableName;
  1419. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1420. {
  1421. base.CaseSensitive = table.CaseSensitive;
  1422. }
  1423. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1424. {
  1425. base.Locale = table.Locale;
  1426. }
  1427. if (table.Namespace != table.DataSet.Namespace)
  1428. {
  1429. base.Namespace = table.Namespace;
  1430. }
  1431. base.Prefix = table.Prefix;
  1432. base.MinimumCapacity = table.MinimumCapacity;
  1433. }
  1434. [DebuggerNonUserCode]
  1435. protected LinkmanDataTable(SerializationInfo info, StreamingContext context)
  1436. : base(info, context)
  1437. {
  1438. InitVars();
  1439. }
  1440. [DebuggerNonUserCode]
  1441. public void AddLinkmanRow(LinkmanRow row)
  1442. {
  1443. base.Rows.Add(row);
  1444. }
  1445. [DebuggerNonUserCode]
  1446. 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)
  1447. {
  1448. LinkmanRow linkmanRow = (LinkmanRow)NewRow();
  1449. linkmanRow.ItemArray = new object[9]
  1450. {
  1451. Name_Linkman,
  1452. Department_Linkman,
  1453. Duty_Linkman,
  1454. Tel_Linkman,
  1455. Fax_Linkman,
  1456. Mobile_Linkman,
  1457. Email_Linkman,
  1458. IsMain_Linkman,
  1459. Comment_Linkman
  1460. };
  1461. base.Rows.Add(linkmanRow);
  1462. return linkmanRow;
  1463. }
  1464. [DebuggerNonUserCode]
  1465. public virtual IEnumerator GetEnumerator()
  1466. {
  1467. return base.Rows.GetEnumerator();
  1468. }
  1469. [DebuggerNonUserCode]
  1470. public override DataTable Clone()
  1471. {
  1472. LinkmanDataTable linkmanDataTable = (LinkmanDataTable)base.Clone();
  1473. linkmanDataTable.InitVars();
  1474. return linkmanDataTable;
  1475. }
  1476. [DebuggerNonUserCode]
  1477. protected override DataTable CreateInstance()
  1478. {
  1479. return new LinkmanDataTable();
  1480. }
  1481. [DebuggerNonUserCode]
  1482. internal void InitVars()
  1483. {
  1484. columnName_Linkman = base.Columns["Name_Linkman"];
  1485. columnDepartment_Linkman = base.Columns["Department_Linkman"];
  1486. columnDuty_Linkman = base.Columns["Duty_Linkman"];
  1487. columnTel_Linkman = base.Columns["Tel_Linkman"];
  1488. columnFax_Linkman = base.Columns["Fax_Linkman"];
  1489. columnMobile_Linkman = base.Columns["Mobile_Linkman"];
  1490. columnEmail_Linkman = base.Columns["Email_Linkman"];
  1491. columnIsMain_Linkman = base.Columns["IsMain_Linkman"];
  1492. columnComment_Linkman = base.Columns["Comment_Linkman"];
  1493. }
  1494. [DebuggerNonUserCode]
  1495. private void InitClass()
  1496. {
  1497. columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element);
  1498. base.Columns.Add(columnName_Linkman);
  1499. columnDepartment_Linkman = new DataColumn("Department_Linkman", typeof(string), null, MappingType.Element);
  1500. base.Columns.Add(columnDepartment_Linkman);
  1501. columnDuty_Linkman = new DataColumn("Duty_Linkman", typeof(string), null, MappingType.Element);
  1502. base.Columns.Add(columnDuty_Linkman);
  1503. columnTel_Linkman = new DataColumn("Tel_Linkman", typeof(string), null, MappingType.Element);
  1504. base.Columns.Add(columnTel_Linkman);
  1505. columnFax_Linkman = new DataColumn("Fax_Linkman", typeof(string), null, MappingType.Element);
  1506. base.Columns.Add(columnFax_Linkman);
  1507. columnMobile_Linkman = new DataColumn("Mobile_Linkman", typeof(string), null, MappingType.Element);
  1508. base.Columns.Add(columnMobile_Linkman);
  1509. columnEmail_Linkman = new DataColumn("Email_Linkman", typeof(string), null, MappingType.Element);
  1510. base.Columns.Add(columnEmail_Linkman);
  1511. columnIsMain_Linkman = new DataColumn("IsMain_Linkman", typeof(bool), null, MappingType.Element);
  1512. base.Columns.Add(columnIsMain_Linkman);
  1513. columnComment_Linkman = new DataColumn("Comment_Linkman", typeof(string), null, MappingType.Element);
  1514. base.Columns.Add(columnComment_Linkman);
  1515. }
  1516. [DebuggerNonUserCode]
  1517. public LinkmanRow NewLinkmanRow()
  1518. {
  1519. return (LinkmanRow)NewRow();
  1520. }
  1521. [DebuggerNonUserCode]
  1522. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1523. {
  1524. return new LinkmanRow(builder);
  1525. }
  1526. [DebuggerNonUserCode]
  1527. protected override Type GetRowType()
  1528. {
  1529. return typeof(LinkmanRow);
  1530. }
  1531. [DebuggerNonUserCode]
  1532. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1533. {
  1534. base.OnRowChanged(e);
  1535. if (this.LinkmanRowChanged != null)
  1536. {
  1537. this.LinkmanRowChanged(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1538. }
  1539. }
  1540. [DebuggerNonUserCode]
  1541. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1542. {
  1543. base.OnRowChanging(e);
  1544. if (this.LinkmanRowChanging != null)
  1545. {
  1546. this.LinkmanRowChanging(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1547. }
  1548. }
  1549. [DebuggerNonUserCode]
  1550. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1551. {
  1552. base.OnRowDeleted(e);
  1553. if (this.LinkmanRowDeleted != null)
  1554. {
  1555. this.LinkmanRowDeleted(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1556. }
  1557. }
  1558. [DebuggerNonUserCode]
  1559. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1560. {
  1561. base.OnRowDeleting(e);
  1562. if (this.LinkmanRowDeleting != null)
  1563. {
  1564. this.LinkmanRowDeleting(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
  1565. }
  1566. }
  1567. [DebuggerNonUserCode]
  1568. public void RemoveLinkmanRow(LinkmanRow row)
  1569. {
  1570. base.Rows.Remove(row);
  1571. }
  1572. [DebuggerNonUserCode]
  1573. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1574. {
  1575. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1576. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1577. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  1578. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  1579. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1580. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1581. xmlSchemaAny.MinOccurs = 0m;
  1582. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1583. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1584. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1585. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1586. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1587. xmlSchemaAny2.MinOccurs = 1m;
  1588. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1589. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1590. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1591. xmlSchemaAttribute.Name = "namespace";
  1592. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  1593. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1594. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1595. xmlSchemaAttribute2.Name = "tableTypeName";
  1596. xmlSchemaAttribute2.FixedValue = "LinkmanDataTable";
  1597. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1598. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1599. return xmlSchemaComplexType;
  1600. }
  1601. }
  1602. [Serializable]
  1603. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1604. [XmlSchemaProvider("GetTypedTableSchema")]
  1605. public class FaxDataTable : DataTable, IEnumerable
  1606. {
  1607. private DataColumn columnName_Fax;
  1608. private DataColumn columnNo_Fax;
  1609. private DataColumn columnFocus_Fax;
  1610. [DebuggerNonUserCode]
  1611. public DataColumn Name_FaxColumn => columnName_Fax;
  1612. [DebuggerNonUserCode]
  1613. public DataColumn No_FaxColumn => columnNo_Fax;
  1614. [DebuggerNonUserCode]
  1615. public DataColumn Focus_FaxColumn => columnFocus_Fax;
  1616. [Browsable(false)]
  1617. [DebuggerNonUserCode]
  1618. public int Count => base.Rows.Count;
  1619. [DebuggerNonUserCode]
  1620. public FaxRow this[int index] => (FaxRow)base.Rows[index];
  1621. public event FaxRowChangeEventHandler FaxRowChanging;
  1622. public event FaxRowChangeEventHandler FaxRowChanged;
  1623. public event FaxRowChangeEventHandler FaxRowDeleting;
  1624. public event FaxRowChangeEventHandler FaxRowDeleted;
  1625. [DebuggerNonUserCode]
  1626. public FaxDataTable()
  1627. {
  1628. base.TableName = "Fax";
  1629. BeginInit();
  1630. InitClass();
  1631. EndInit();
  1632. }
  1633. [DebuggerNonUserCode]
  1634. internal FaxDataTable(DataTable table)
  1635. {
  1636. base.TableName = table.TableName;
  1637. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1638. {
  1639. base.CaseSensitive = table.CaseSensitive;
  1640. }
  1641. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1642. {
  1643. base.Locale = table.Locale;
  1644. }
  1645. if (table.Namespace != table.DataSet.Namespace)
  1646. {
  1647. base.Namespace = table.Namespace;
  1648. }
  1649. base.Prefix = table.Prefix;
  1650. base.MinimumCapacity = table.MinimumCapacity;
  1651. }
  1652. [DebuggerNonUserCode]
  1653. protected FaxDataTable(SerializationInfo info, StreamingContext context)
  1654. : base(info, context)
  1655. {
  1656. InitVars();
  1657. }
  1658. [DebuggerNonUserCode]
  1659. public void AddFaxRow(FaxRow row)
  1660. {
  1661. base.Rows.Add(row);
  1662. }
  1663. [DebuggerNonUserCode]
  1664. public FaxRow AddFaxRow(string Name_Fax, string No_Fax, bool Focus_Fax)
  1665. {
  1666. FaxRow faxRow = (FaxRow)NewRow();
  1667. faxRow.ItemArray = new object[3]
  1668. {
  1669. Name_Fax,
  1670. No_Fax,
  1671. Focus_Fax
  1672. };
  1673. base.Rows.Add(faxRow);
  1674. return faxRow;
  1675. }
  1676. [DebuggerNonUserCode]
  1677. public virtual IEnumerator GetEnumerator()
  1678. {
  1679. return base.Rows.GetEnumerator();
  1680. }
  1681. [DebuggerNonUserCode]
  1682. public override DataTable Clone()
  1683. {
  1684. FaxDataTable faxDataTable = (FaxDataTable)base.Clone();
  1685. faxDataTable.InitVars();
  1686. return faxDataTable;
  1687. }
  1688. [DebuggerNonUserCode]
  1689. protected override DataTable CreateInstance()
  1690. {
  1691. return new FaxDataTable();
  1692. }
  1693. [DebuggerNonUserCode]
  1694. internal void InitVars()
  1695. {
  1696. columnName_Fax = base.Columns["Name_Fax"];
  1697. columnNo_Fax = base.Columns["No_Fax"];
  1698. columnFocus_Fax = base.Columns["Focus_Fax"];
  1699. }
  1700. [DebuggerNonUserCode]
  1701. private void InitClass()
  1702. {
  1703. columnName_Fax = new DataColumn("Name_Fax", typeof(string), null, MappingType.Element);
  1704. base.Columns.Add(columnName_Fax);
  1705. columnNo_Fax = new DataColumn("No_Fax", typeof(string), null, MappingType.Element);
  1706. base.Columns.Add(columnNo_Fax);
  1707. columnFocus_Fax = new DataColumn("Focus_Fax", typeof(bool), null, MappingType.Element);
  1708. base.Columns.Add(columnFocus_Fax);
  1709. }
  1710. [DebuggerNonUserCode]
  1711. public FaxRow NewFaxRow()
  1712. {
  1713. return (FaxRow)NewRow();
  1714. }
  1715. [DebuggerNonUserCode]
  1716. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1717. {
  1718. return new FaxRow(builder);
  1719. }
  1720. [DebuggerNonUserCode]
  1721. protected override Type GetRowType()
  1722. {
  1723. return typeof(FaxRow);
  1724. }
  1725. [DebuggerNonUserCode]
  1726. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1727. {
  1728. base.OnRowChanged(e);
  1729. if (this.FaxRowChanged != null)
  1730. {
  1731. this.FaxRowChanged(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  1732. }
  1733. }
  1734. [DebuggerNonUserCode]
  1735. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1736. {
  1737. base.OnRowChanging(e);
  1738. if (this.FaxRowChanging != null)
  1739. {
  1740. this.FaxRowChanging(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  1741. }
  1742. }
  1743. [DebuggerNonUserCode]
  1744. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1745. {
  1746. base.OnRowDeleted(e);
  1747. if (this.FaxRowDeleted != null)
  1748. {
  1749. this.FaxRowDeleted(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  1750. }
  1751. }
  1752. [DebuggerNonUserCode]
  1753. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1754. {
  1755. base.OnRowDeleting(e);
  1756. if (this.FaxRowDeleting != null)
  1757. {
  1758. this.FaxRowDeleting(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
  1759. }
  1760. }
  1761. [DebuggerNonUserCode]
  1762. public void RemoveFaxRow(FaxRow row)
  1763. {
  1764. base.Rows.Remove(row);
  1765. }
  1766. [DebuggerNonUserCode]
  1767. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1768. {
  1769. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1770. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1771. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  1772. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  1773. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1774. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1775. xmlSchemaAny.MinOccurs = 0m;
  1776. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1777. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1778. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1779. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1780. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1781. xmlSchemaAny2.MinOccurs = 1m;
  1782. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1783. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1784. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1785. xmlSchemaAttribute.Name = "namespace";
  1786. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  1787. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1788. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1789. xmlSchemaAttribute2.Name = "tableTypeName";
  1790. xmlSchemaAttribute2.FixedValue = "FaxDataTable";
  1791. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1792. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1793. return xmlSchemaComplexType;
  1794. }
  1795. }
  1796. [Serializable]
  1797. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1798. [XmlSchemaProvider("GetTypedTableSchema")]
  1799. public class AppendInfoDataTable : DataTable, IEnumerable
  1800. {
  1801. private DataColumn columnCurrentCompany;
  1802. private DataColumn columnCurrentUser;
  1803. [DebuggerNonUserCode]
  1804. public DataColumn CurrentCompanyColumn => columnCurrentCompany;
  1805. [DebuggerNonUserCode]
  1806. public DataColumn CurrentUserColumn => columnCurrentUser;
  1807. [DebuggerNonUserCode]
  1808. [Browsable(false)]
  1809. public int Count => base.Rows.Count;
  1810. [DebuggerNonUserCode]
  1811. public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
  1812. public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
  1813. public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
  1814. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
  1815. public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
  1816. [DebuggerNonUserCode]
  1817. public AppendInfoDataTable()
  1818. {
  1819. base.TableName = "AppendInfo";
  1820. BeginInit();
  1821. InitClass();
  1822. EndInit();
  1823. }
  1824. [DebuggerNonUserCode]
  1825. internal AppendInfoDataTable(DataTable table)
  1826. {
  1827. base.TableName = table.TableName;
  1828. if (table.CaseSensitive != table.DataSet.CaseSensitive)
  1829. {
  1830. base.CaseSensitive = table.CaseSensitive;
  1831. }
  1832. if (table.Locale.ToString() != table.DataSet.Locale.ToString())
  1833. {
  1834. base.Locale = table.Locale;
  1835. }
  1836. if (table.Namespace != table.DataSet.Namespace)
  1837. {
  1838. base.Namespace = table.Namespace;
  1839. }
  1840. base.Prefix = table.Prefix;
  1841. base.MinimumCapacity = table.MinimumCapacity;
  1842. }
  1843. [DebuggerNonUserCode]
  1844. protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
  1845. : base(info, context)
  1846. {
  1847. InitVars();
  1848. }
  1849. [DebuggerNonUserCode]
  1850. public void AddAppendInfoRow(AppendInfoRow row)
  1851. {
  1852. base.Rows.Add(row);
  1853. }
  1854. [DebuggerNonUserCode]
  1855. public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
  1856. {
  1857. AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
  1858. appendInfoRow.ItemArray = new object[2]
  1859. {
  1860. CurrentCompany,
  1861. CurrentUser
  1862. };
  1863. base.Rows.Add(appendInfoRow);
  1864. return appendInfoRow;
  1865. }
  1866. [DebuggerNonUserCode]
  1867. public virtual IEnumerator GetEnumerator()
  1868. {
  1869. return base.Rows.GetEnumerator();
  1870. }
  1871. [DebuggerNonUserCode]
  1872. public override DataTable Clone()
  1873. {
  1874. AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
  1875. appendInfoDataTable.InitVars();
  1876. return appendInfoDataTable;
  1877. }
  1878. [DebuggerNonUserCode]
  1879. protected override DataTable CreateInstance()
  1880. {
  1881. return new AppendInfoDataTable();
  1882. }
  1883. [DebuggerNonUserCode]
  1884. internal void InitVars()
  1885. {
  1886. columnCurrentCompany = base.Columns["CurrentCompany"];
  1887. columnCurrentUser = base.Columns["CurrentUser"];
  1888. }
  1889. [DebuggerNonUserCode]
  1890. private void InitClass()
  1891. {
  1892. columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
  1893. base.Columns.Add(columnCurrentCompany);
  1894. columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
  1895. base.Columns.Add(columnCurrentUser);
  1896. }
  1897. [DebuggerNonUserCode]
  1898. public AppendInfoRow NewAppendInfoRow()
  1899. {
  1900. return (AppendInfoRow)NewRow();
  1901. }
  1902. [DebuggerNonUserCode]
  1903. protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
  1904. {
  1905. return new AppendInfoRow(builder);
  1906. }
  1907. [DebuggerNonUserCode]
  1908. protected override Type GetRowType()
  1909. {
  1910. return typeof(AppendInfoRow);
  1911. }
  1912. [DebuggerNonUserCode]
  1913. protected override void OnRowChanged(DataRowChangeEventArgs e)
  1914. {
  1915. base.OnRowChanged(e);
  1916. if (this.AppendInfoRowChanged != null)
  1917. {
  1918. this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1919. }
  1920. }
  1921. [DebuggerNonUserCode]
  1922. protected override void OnRowChanging(DataRowChangeEventArgs e)
  1923. {
  1924. base.OnRowChanging(e);
  1925. if (this.AppendInfoRowChanging != null)
  1926. {
  1927. this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1928. }
  1929. }
  1930. [DebuggerNonUserCode]
  1931. protected override void OnRowDeleted(DataRowChangeEventArgs e)
  1932. {
  1933. base.OnRowDeleted(e);
  1934. if (this.AppendInfoRowDeleted != null)
  1935. {
  1936. this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1937. }
  1938. }
  1939. [DebuggerNonUserCode]
  1940. protected override void OnRowDeleting(DataRowChangeEventArgs e)
  1941. {
  1942. base.OnRowDeleting(e);
  1943. if (this.AppendInfoRowDeleting != null)
  1944. {
  1945. this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
  1946. }
  1947. }
  1948. [DebuggerNonUserCode]
  1949. public void RemoveAppendInfoRow(AppendInfoRow row)
  1950. {
  1951. base.Rows.Remove(row);
  1952. }
  1953. [DebuggerNonUserCode]
  1954. public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
  1955. {
  1956. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  1957. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  1958. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  1959. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  1960. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  1961. xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
  1962. xmlSchemaAny.MinOccurs = 0m;
  1963. xmlSchemaAny.MaxOccurs = decimal.MaxValue;
  1964. xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
  1965. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  1966. XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
  1967. xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1968. xmlSchemaAny2.MinOccurs = 1m;
  1969. xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
  1970. xmlSchemaSequence.Items.Add(xmlSchemaAny2);
  1971. XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
  1972. xmlSchemaAttribute.Name = "namespace";
  1973. xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
  1974. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
  1975. XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
  1976. xmlSchemaAttribute2.Name = "tableTypeName";
  1977. xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
  1978. xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
  1979. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  1980. return xmlSchemaComplexType;
  1981. }
  1982. }
  1983. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  1984. public class TelephoneRow : DataRow
  1985. {
  1986. private TelephoneDataTable tableTelephone;
  1987. [DebuggerNonUserCode]
  1988. public string Name_Telephone
  1989. {
  1990. get
  1991. {
  1992. try
  1993. {
  1994. return (string)base[tableTelephone.Name_TelephoneColumn];
  1995. }
  1996. catch (InvalidCastException innerException)
  1997. {
  1998. throw new StrongTypingException("The value for column 'Name_Telephone' in table 'Telephone' is DBNull.", innerException);
  1999. }
  2000. }
  2001. set
  2002. {
  2003. base[tableTelephone.Name_TelephoneColumn] = value;
  2004. }
  2005. }
  2006. [DebuggerNonUserCode]
  2007. public string No_Telephone
  2008. {
  2009. get
  2010. {
  2011. try
  2012. {
  2013. return (string)base[tableTelephone.No_TelephoneColumn];
  2014. }
  2015. catch (InvalidCastException innerException)
  2016. {
  2017. throw new StrongTypingException("The value for column 'No_Telephone' in table 'Telephone' is DBNull.", innerException);
  2018. }
  2019. }
  2020. set
  2021. {
  2022. base[tableTelephone.No_TelephoneColumn] = value;
  2023. }
  2024. }
  2025. [DebuggerNonUserCode]
  2026. public bool Focus_Telephone
  2027. {
  2028. get
  2029. {
  2030. try
  2031. {
  2032. return (bool)base[tableTelephone.Focus_TelephoneColumn];
  2033. }
  2034. catch (InvalidCastException innerException)
  2035. {
  2036. throw new StrongTypingException("The value for column 'Focus_Telephone' in table 'Telephone' is DBNull.", innerException);
  2037. }
  2038. }
  2039. set
  2040. {
  2041. base[tableTelephone.Focus_TelephoneColumn] = value;
  2042. }
  2043. }
  2044. [DebuggerNonUserCode]
  2045. internal TelephoneRow(DataRowBuilder rb)
  2046. : base(rb)
  2047. {
  2048. tableTelephone = (TelephoneDataTable)base.Table;
  2049. }
  2050. [DebuggerNonUserCode]
  2051. public bool IsName_TelephoneNull()
  2052. {
  2053. return IsNull(tableTelephone.Name_TelephoneColumn);
  2054. }
  2055. [DebuggerNonUserCode]
  2056. public void SetName_TelephoneNull()
  2057. {
  2058. base[tableTelephone.Name_TelephoneColumn] = Convert.DBNull;
  2059. }
  2060. [DebuggerNonUserCode]
  2061. public bool IsNo_TelephoneNull()
  2062. {
  2063. return IsNull(tableTelephone.No_TelephoneColumn);
  2064. }
  2065. [DebuggerNonUserCode]
  2066. public void SetNo_TelephoneNull()
  2067. {
  2068. base[tableTelephone.No_TelephoneColumn] = Convert.DBNull;
  2069. }
  2070. [DebuggerNonUserCode]
  2071. public bool IsFocus_TelephoneNull()
  2072. {
  2073. return IsNull(tableTelephone.Focus_TelephoneColumn);
  2074. }
  2075. [DebuggerNonUserCode]
  2076. public void SetFocus_TelephoneNull()
  2077. {
  2078. base[tableTelephone.Focus_TelephoneColumn] = Convert.DBNull;
  2079. }
  2080. }
  2081. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2082. public class CustomerRow : DataRow
  2083. {
  2084. private CustomerDataTable tableCustomer;
  2085. [DebuggerNonUserCode]
  2086. public string No_Customer
  2087. {
  2088. get
  2089. {
  2090. try
  2091. {
  2092. return (string)base[tableCustomer.No_CustomerColumn];
  2093. }
  2094. catch (InvalidCastException innerException)
  2095. {
  2096. throw new StrongTypingException("The value for column 'No_Customer' in table 'Customer' is DBNull.", innerException);
  2097. }
  2098. }
  2099. set
  2100. {
  2101. base[tableCustomer.No_CustomerColumn] = value;
  2102. }
  2103. }
  2104. [DebuggerNonUserCode]
  2105. public string ShortName_Customer
  2106. {
  2107. get
  2108. {
  2109. try
  2110. {
  2111. return (string)base[tableCustomer.ShortName_CustomerColumn];
  2112. }
  2113. catch (InvalidCastException innerException)
  2114. {
  2115. throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'Customer' is DBNull.", innerException);
  2116. }
  2117. }
  2118. set
  2119. {
  2120. base[tableCustomer.ShortName_CustomerColumn] = value;
  2121. }
  2122. }
  2123. [DebuggerNonUserCode]
  2124. public string Name_Customer
  2125. {
  2126. get
  2127. {
  2128. try
  2129. {
  2130. return (string)base[tableCustomer.Name_CustomerColumn];
  2131. }
  2132. catch (InvalidCastException innerException)
  2133. {
  2134. throw new StrongTypingException("The value for column 'Name_Customer' in table 'Customer' is DBNull.", innerException);
  2135. }
  2136. }
  2137. set
  2138. {
  2139. base[tableCustomer.Name_CustomerColumn] = value;
  2140. }
  2141. }
  2142. [DebuggerNonUserCode]
  2143. public string RegistedAddress_Customer
  2144. {
  2145. get
  2146. {
  2147. try
  2148. {
  2149. return (string)base[tableCustomer.RegistedAddress_CustomerColumn];
  2150. }
  2151. catch (InvalidCastException innerException)
  2152. {
  2153. throw new StrongTypingException("The value for column 'RegistedAddress_Customer' in table 'Customer' is DBNull.", innerException);
  2154. }
  2155. }
  2156. set
  2157. {
  2158. base[tableCustomer.RegistedAddress_CustomerColumn] = value;
  2159. }
  2160. }
  2161. [DebuggerNonUserCode]
  2162. public int Country_Customer
  2163. {
  2164. get
  2165. {
  2166. try
  2167. {
  2168. return (int)base[tableCustomer.Country_CustomerColumn];
  2169. }
  2170. catch (InvalidCastException innerException)
  2171. {
  2172. throw new StrongTypingException("The value for column 'Country_Customer' in table 'Customer' is DBNull.", innerException);
  2173. }
  2174. }
  2175. set
  2176. {
  2177. base[tableCustomer.Country_CustomerColumn] = value;
  2178. }
  2179. }
  2180. [DebuggerNonUserCode]
  2181. public string PostalCode_Customer
  2182. {
  2183. get
  2184. {
  2185. try
  2186. {
  2187. return (string)base[tableCustomer.PostalCode_CustomerColumn];
  2188. }
  2189. catch (InvalidCastException innerException)
  2190. {
  2191. throw new StrongTypingException("The value for column 'PostalCode_Customer' in table 'Customer' is DBNull.", innerException);
  2192. }
  2193. }
  2194. set
  2195. {
  2196. base[tableCustomer.PostalCode_CustomerColumn] = value;
  2197. }
  2198. }
  2199. [DebuggerNonUserCode]
  2200. public string Type_Customer
  2201. {
  2202. get
  2203. {
  2204. try
  2205. {
  2206. return (string)base[tableCustomer.Type_CustomerColumn];
  2207. }
  2208. catch (InvalidCastException innerException)
  2209. {
  2210. throw new StrongTypingException("The value for column 'Type_Customer' in table 'Customer' is DBNull.", innerException);
  2211. }
  2212. }
  2213. set
  2214. {
  2215. base[tableCustomer.Type_CustomerColumn] = value;
  2216. }
  2217. }
  2218. [DebuggerNonUserCode]
  2219. public bool IsGeneric_Customer
  2220. {
  2221. get
  2222. {
  2223. try
  2224. {
  2225. return (bool)base[tableCustomer.IsGeneric_CustomerColumn];
  2226. }
  2227. catch (InvalidCastException innerException)
  2228. {
  2229. throw new StrongTypingException("The value for column 'IsGeneric_Customer' in table 'Customer' is DBNull.", innerException);
  2230. }
  2231. }
  2232. set
  2233. {
  2234. base[tableCustomer.IsGeneric_CustomerColumn] = value;
  2235. }
  2236. }
  2237. [DebuggerNonUserCode]
  2238. public string PayLimitCurrency
  2239. {
  2240. get
  2241. {
  2242. try
  2243. {
  2244. return (string)base[tableCustomer.PayLimitCurrencyColumn];
  2245. }
  2246. catch (InvalidCastException innerException)
  2247. {
  2248. throw new StrongTypingException("The value for column 'PayLimitCurrency' in table 'Customer' is DBNull.", innerException);
  2249. }
  2250. }
  2251. set
  2252. {
  2253. base[tableCustomer.PayLimitCurrencyColumn] = value;
  2254. }
  2255. }
  2256. [DebuggerNonUserCode]
  2257. public decimal PayLimit_Customer
  2258. {
  2259. get
  2260. {
  2261. try
  2262. {
  2263. return (decimal)base[tableCustomer.PayLimit_CustomerColumn];
  2264. }
  2265. catch (InvalidCastException innerException)
  2266. {
  2267. throw new StrongTypingException("The value for column 'PayLimit_Customer' in table 'Customer' is DBNull.", innerException);
  2268. }
  2269. }
  2270. set
  2271. {
  2272. base[tableCustomer.PayLimit_CustomerColumn] = value;
  2273. }
  2274. }
  2275. [DebuggerNonUserCode]
  2276. public string GetMethod_Customer
  2277. {
  2278. get
  2279. {
  2280. try
  2281. {
  2282. return (string)base[tableCustomer.GetMethod_CustomerColumn];
  2283. }
  2284. catch (InvalidCastException innerException)
  2285. {
  2286. throw new StrongTypingException("The value for column 'GetMethod_Customer' in table 'Customer' is DBNull.", innerException);
  2287. }
  2288. }
  2289. set
  2290. {
  2291. base[tableCustomer.GetMethod_CustomerColumn] = value;
  2292. }
  2293. }
  2294. [DebuggerNonUserCode]
  2295. public DateTime CreateDate_Customer
  2296. {
  2297. get
  2298. {
  2299. try
  2300. {
  2301. return (DateTime)base[tableCustomer.CreateDate_CustomerColumn];
  2302. }
  2303. catch (InvalidCastException innerException)
  2304. {
  2305. throw new StrongTypingException("The value for column 'CreateDate_Customer' in table 'Customer' is DBNull.", innerException);
  2306. }
  2307. }
  2308. set
  2309. {
  2310. base[tableCustomer.CreateDate_CustomerColumn] = value;
  2311. }
  2312. }
  2313. [DebuggerNonUserCode]
  2314. public string SendAddr_Customer
  2315. {
  2316. get
  2317. {
  2318. try
  2319. {
  2320. return (string)base[tableCustomer.SendAddr_CustomerColumn];
  2321. }
  2322. catch (InvalidCastException innerException)
  2323. {
  2324. throw new StrongTypingException("The value for column 'SendAddr_Customer' in table 'Customer' is DBNull.", innerException);
  2325. }
  2326. }
  2327. set
  2328. {
  2329. base[tableCustomer.SendAddr_CustomerColumn] = value;
  2330. }
  2331. }
  2332. [DebuggerNonUserCode]
  2333. public string Comment_Customer
  2334. {
  2335. get
  2336. {
  2337. try
  2338. {
  2339. return (string)base[tableCustomer.Comment_CustomerColumn];
  2340. }
  2341. catch (InvalidCastException innerException)
  2342. {
  2343. throw new StrongTypingException("The value for column 'Comment_Customer' in table 'Customer' is DBNull.", innerException);
  2344. }
  2345. }
  2346. set
  2347. {
  2348. base[tableCustomer.Comment_CustomerColumn] = value;
  2349. }
  2350. }
  2351. [DebuggerNonUserCode]
  2352. public string Industry_Customer
  2353. {
  2354. get
  2355. {
  2356. try
  2357. {
  2358. return (string)base[tableCustomer.Industry_CustomerColumn];
  2359. }
  2360. catch (InvalidCastException innerException)
  2361. {
  2362. throw new StrongTypingException("The value for column 'Industry_Customer' in table 'Customer' is DBNull.", innerException);
  2363. }
  2364. }
  2365. set
  2366. {
  2367. base[tableCustomer.Industry_CustomerColumn] = value;
  2368. }
  2369. }
  2370. [DebuggerNonUserCode]
  2371. public string Zone_Customer
  2372. {
  2373. get
  2374. {
  2375. try
  2376. {
  2377. return (string)base[tableCustomer.Zone_CustomerColumn];
  2378. }
  2379. catch (InvalidCastException innerException)
  2380. {
  2381. throw new StrongTypingException("The value for column 'Zone_Customer' in table 'Customer' is DBNull.", innerException);
  2382. }
  2383. }
  2384. set
  2385. {
  2386. base[tableCustomer.Zone_CustomerColumn] = value;
  2387. }
  2388. }
  2389. [DebuggerNonUserCode]
  2390. public string Source_Customer
  2391. {
  2392. get
  2393. {
  2394. try
  2395. {
  2396. return (string)base[tableCustomer.Source_CustomerColumn];
  2397. }
  2398. catch (InvalidCastException innerException)
  2399. {
  2400. throw new StrongTypingException("The value for column 'Source_Customer' in table 'Customer' is DBNull.", innerException);
  2401. }
  2402. }
  2403. set
  2404. {
  2405. base[tableCustomer.Source_CustomerColumn] = value;
  2406. }
  2407. }
  2408. [DebuggerNonUserCode]
  2409. public string Level_Customer
  2410. {
  2411. get
  2412. {
  2413. try
  2414. {
  2415. return (string)base[tableCustomer.Level_CustomerColumn];
  2416. }
  2417. catch (InvalidCastException innerException)
  2418. {
  2419. throw new StrongTypingException("The value for column 'Level_Customer' in table 'Customer' is DBNull.", innerException);
  2420. }
  2421. }
  2422. set
  2423. {
  2424. base[tableCustomer.Level_CustomerColumn] = value;
  2425. }
  2426. }
  2427. [DebuggerNonUserCode]
  2428. public string Bank_Customer
  2429. {
  2430. get
  2431. {
  2432. try
  2433. {
  2434. return (string)base[tableCustomer.Bank_CustomerColumn];
  2435. }
  2436. catch (InvalidCastException innerException)
  2437. {
  2438. throw new StrongTypingException("The value for column 'Bank_Customer' in table 'Customer' is DBNull.", innerException);
  2439. }
  2440. }
  2441. set
  2442. {
  2443. base[tableCustomer.Bank_CustomerColumn] = value;
  2444. }
  2445. }
  2446. [DebuggerNonUserCode]
  2447. public string Account_Customer
  2448. {
  2449. get
  2450. {
  2451. try
  2452. {
  2453. return (string)base[tableCustomer.Account_CustomerColumn];
  2454. }
  2455. catch (InvalidCastException innerException)
  2456. {
  2457. throw new StrongTypingException("The value for column 'Account_Customer' in table 'Customer' is DBNull.", innerException);
  2458. }
  2459. }
  2460. set
  2461. {
  2462. base[tableCustomer.Account_CustomerColumn] = value;
  2463. }
  2464. }
  2465. [DebuggerNonUserCode]
  2466. public string RevenueRegisterNo_Customer
  2467. {
  2468. get
  2469. {
  2470. try
  2471. {
  2472. return (string)base[tableCustomer.RevenueRegisterNo_CustomerColumn];
  2473. }
  2474. catch (InvalidCastException innerException)
  2475. {
  2476. throw new StrongTypingException("The value for column 'RevenueRegisterNo_Customer' in table 'Customer' is DBNull.", innerException);
  2477. }
  2478. }
  2479. set
  2480. {
  2481. base[tableCustomer.RevenueRegisterNo_CustomerColumn] = value;
  2482. }
  2483. }
  2484. [DebuggerNonUserCode]
  2485. public decimal LastDiscount_Customer
  2486. {
  2487. get
  2488. {
  2489. try
  2490. {
  2491. return (decimal)base[tableCustomer.LastDiscount_CustomerColumn];
  2492. }
  2493. catch (InvalidCastException innerException)
  2494. {
  2495. throw new StrongTypingException("The value for column 'LastDiscount_Customer' in table 'Customer' is DBNull.", innerException);
  2496. }
  2497. }
  2498. set
  2499. {
  2500. base[tableCustomer.LastDiscount_CustomerColumn] = value;
  2501. }
  2502. }
  2503. [DebuggerNonUserCode]
  2504. public DateTime SuspendDate_Customer
  2505. {
  2506. get
  2507. {
  2508. try
  2509. {
  2510. return (DateTime)base[tableCustomer.SuspendDate_CustomerColumn];
  2511. }
  2512. catch (InvalidCastException innerException)
  2513. {
  2514. throw new StrongTypingException("The value for column 'SuspendDate_Customer' in table 'Customer' is DBNull.", innerException);
  2515. }
  2516. }
  2517. set
  2518. {
  2519. base[tableCustomer.SuspendDate_CustomerColumn] = value;
  2520. }
  2521. }
  2522. [DebuggerNonUserCode]
  2523. public decimal ToGetBalance_Customer
  2524. {
  2525. get
  2526. {
  2527. try
  2528. {
  2529. return (decimal)base[tableCustomer.ToGetBalance_CustomerColumn];
  2530. }
  2531. catch (InvalidCastException innerException)
  2532. {
  2533. throw new StrongTypingException("The value for column 'ToGetBalance_Customer' in table 'Customer' is DBNull.", innerException);
  2534. }
  2535. }
  2536. set
  2537. {
  2538. base[tableCustomer.ToGetBalance_CustomerColumn] = value;
  2539. }
  2540. }
  2541. [DebuggerNonUserCode]
  2542. public decimal PrePayBalance_Customer
  2543. {
  2544. get
  2545. {
  2546. try
  2547. {
  2548. return (decimal)base[tableCustomer.PrePayBalance_CustomerColumn];
  2549. }
  2550. catch (InvalidCastException innerException)
  2551. {
  2552. throw new StrongTypingException("The value for column 'PrePayBalance_Customer' in table 'Customer' is DBNull.", innerException);
  2553. }
  2554. }
  2555. set
  2556. {
  2557. base[tableCustomer.PrePayBalance_CustomerColumn] = value;
  2558. }
  2559. }
  2560. [DebuggerNonUserCode]
  2561. public string LastTax_Customer
  2562. {
  2563. get
  2564. {
  2565. try
  2566. {
  2567. return (string)base[tableCustomer.LastTax_CustomerColumn];
  2568. }
  2569. catch (InvalidCastException innerException)
  2570. {
  2571. throw new StrongTypingException("The value for column 'LastTax_Customer' in table 'Customer' is DBNull.", innerException);
  2572. }
  2573. }
  2574. set
  2575. {
  2576. base[tableCustomer.LastTax_CustomerColumn] = value;
  2577. }
  2578. }
  2579. [DebuggerNonUserCode]
  2580. public DateTime LastModDate_Customer
  2581. {
  2582. get
  2583. {
  2584. try
  2585. {
  2586. return (DateTime)base[tableCustomer.LastModDate_CustomerColumn];
  2587. }
  2588. catch (InvalidCastException innerException)
  2589. {
  2590. throw new StrongTypingException("The value for column 'LastModDate_Customer' in table 'Customer' is DBNull.", innerException);
  2591. }
  2592. }
  2593. set
  2594. {
  2595. base[tableCustomer.LastModDate_CustomerColumn] = value;
  2596. }
  2597. }
  2598. [DebuggerNonUserCode]
  2599. public string CreatorName_Customer
  2600. {
  2601. get
  2602. {
  2603. try
  2604. {
  2605. return (string)base[tableCustomer.CreatorName_CustomerColumn];
  2606. }
  2607. catch (InvalidCastException innerException)
  2608. {
  2609. throw new StrongTypingException("The value for column 'CreatorName_Customer' in table 'Customer' is DBNull.", innerException);
  2610. }
  2611. }
  2612. set
  2613. {
  2614. base[tableCustomer.CreatorName_CustomerColumn] = value;
  2615. }
  2616. }
  2617. [DebuggerNonUserCode]
  2618. public string LastModUser
  2619. {
  2620. get
  2621. {
  2622. try
  2623. {
  2624. return (string)base[tableCustomer.LastModUserColumn];
  2625. }
  2626. catch (InvalidCastException innerException)
  2627. {
  2628. throw new StrongTypingException("The value for column 'LastModUser' in table 'Customer' is DBNull.", innerException);
  2629. }
  2630. }
  2631. set
  2632. {
  2633. base[tableCustomer.LastModUserColumn] = value;
  2634. }
  2635. }
  2636. [DebuggerNonUserCode]
  2637. public string CountryName
  2638. {
  2639. get
  2640. {
  2641. try
  2642. {
  2643. return (string)base[tableCustomer.CountryNameColumn];
  2644. }
  2645. catch (InvalidCastException innerException)
  2646. {
  2647. throw new StrongTypingException("The value for column 'CountryName' in table 'Customer' is DBNull.", innerException);
  2648. }
  2649. }
  2650. set
  2651. {
  2652. base[tableCustomer.CountryNameColumn] = value;
  2653. }
  2654. }
  2655. [DebuggerNonUserCode]
  2656. internal CustomerRow(DataRowBuilder rb)
  2657. : base(rb)
  2658. {
  2659. tableCustomer = (CustomerDataTable)base.Table;
  2660. }
  2661. [DebuggerNonUserCode]
  2662. public bool IsNo_CustomerNull()
  2663. {
  2664. return IsNull(tableCustomer.No_CustomerColumn);
  2665. }
  2666. [DebuggerNonUserCode]
  2667. public void SetNo_CustomerNull()
  2668. {
  2669. base[tableCustomer.No_CustomerColumn] = Convert.DBNull;
  2670. }
  2671. [DebuggerNonUserCode]
  2672. public bool IsShortName_CustomerNull()
  2673. {
  2674. return IsNull(tableCustomer.ShortName_CustomerColumn);
  2675. }
  2676. [DebuggerNonUserCode]
  2677. public void SetShortName_CustomerNull()
  2678. {
  2679. base[tableCustomer.ShortName_CustomerColumn] = Convert.DBNull;
  2680. }
  2681. [DebuggerNonUserCode]
  2682. public bool IsName_CustomerNull()
  2683. {
  2684. return IsNull(tableCustomer.Name_CustomerColumn);
  2685. }
  2686. [DebuggerNonUserCode]
  2687. public void SetName_CustomerNull()
  2688. {
  2689. base[tableCustomer.Name_CustomerColumn] = Convert.DBNull;
  2690. }
  2691. [DebuggerNonUserCode]
  2692. public bool IsRegistedAddress_CustomerNull()
  2693. {
  2694. return IsNull(tableCustomer.RegistedAddress_CustomerColumn);
  2695. }
  2696. [DebuggerNonUserCode]
  2697. public void SetRegistedAddress_CustomerNull()
  2698. {
  2699. base[tableCustomer.RegistedAddress_CustomerColumn] = Convert.DBNull;
  2700. }
  2701. [DebuggerNonUserCode]
  2702. public bool IsCountry_CustomerNull()
  2703. {
  2704. return IsNull(tableCustomer.Country_CustomerColumn);
  2705. }
  2706. [DebuggerNonUserCode]
  2707. public void SetCountry_CustomerNull()
  2708. {
  2709. base[tableCustomer.Country_CustomerColumn] = Convert.DBNull;
  2710. }
  2711. [DebuggerNonUserCode]
  2712. public bool IsPostalCode_CustomerNull()
  2713. {
  2714. return IsNull(tableCustomer.PostalCode_CustomerColumn);
  2715. }
  2716. [DebuggerNonUserCode]
  2717. public void SetPostalCode_CustomerNull()
  2718. {
  2719. base[tableCustomer.PostalCode_CustomerColumn] = Convert.DBNull;
  2720. }
  2721. [DebuggerNonUserCode]
  2722. public bool IsType_CustomerNull()
  2723. {
  2724. return IsNull(tableCustomer.Type_CustomerColumn);
  2725. }
  2726. [DebuggerNonUserCode]
  2727. public void SetType_CustomerNull()
  2728. {
  2729. base[tableCustomer.Type_CustomerColumn] = Convert.DBNull;
  2730. }
  2731. [DebuggerNonUserCode]
  2732. public bool IsIsGeneric_CustomerNull()
  2733. {
  2734. return IsNull(tableCustomer.IsGeneric_CustomerColumn);
  2735. }
  2736. [DebuggerNonUserCode]
  2737. public void SetIsGeneric_CustomerNull()
  2738. {
  2739. base[tableCustomer.IsGeneric_CustomerColumn] = Convert.DBNull;
  2740. }
  2741. [DebuggerNonUserCode]
  2742. public bool IsPayLimitCurrencyNull()
  2743. {
  2744. return IsNull(tableCustomer.PayLimitCurrencyColumn);
  2745. }
  2746. [DebuggerNonUserCode]
  2747. public void SetPayLimitCurrencyNull()
  2748. {
  2749. base[tableCustomer.PayLimitCurrencyColumn] = Convert.DBNull;
  2750. }
  2751. [DebuggerNonUserCode]
  2752. public bool IsPayLimit_CustomerNull()
  2753. {
  2754. return IsNull(tableCustomer.PayLimit_CustomerColumn);
  2755. }
  2756. [DebuggerNonUserCode]
  2757. public void SetPayLimit_CustomerNull()
  2758. {
  2759. base[tableCustomer.PayLimit_CustomerColumn] = Convert.DBNull;
  2760. }
  2761. [DebuggerNonUserCode]
  2762. public bool IsGetMethod_CustomerNull()
  2763. {
  2764. return IsNull(tableCustomer.GetMethod_CustomerColumn);
  2765. }
  2766. [DebuggerNonUserCode]
  2767. public void SetGetMethod_CustomerNull()
  2768. {
  2769. base[tableCustomer.GetMethod_CustomerColumn] = Convert.DBNull;
  2770. }
  2771. [DebuggerNonUserCode]
  2772. public bool IsCreateDate_CustomerNull()
  2773. {
  2774. return IsNull(tableCustomer.CreateDate_CustomerColumn);
  2775. }
  2776. [DebuggerNonUserCode]
  2777. public void SetCreateDate_CustomerNull()
  2778. {
  2779. base[tableCustomer.CreateDate_CustomerColumn] = Convert.DBNull;
  2780. }
  2781. [DebuggerNonUserCode]
  2782. public bool IsSendAddr_CustomerNull()
  2783. {
  2784. return IsNull(tableCustomer.SendAddr_CustomerColumn);
  2785. }
  2786. [DebuggerNonUserCode]
  2787. public void SetSendAddr_CustomerNull()
  2788. {
  2789. base[tableCustomer.SendAddr_CustomerColumn] = Convert.DBNull;
  2790. }
  2791. [DebuggerNonUserCode]
  2792. public bool IsComment_CustomerNull()
  2793. {
  2794. return IsNull(tableCustomer.Comment_CustomerColumn);
  2795. }
  2796. [DebuggerNonUserCode]
  2797. public void SetComment_CustomerNull()
  2798. {
  2799. base[tableCustomer.Comment_CustomerColumn] = Convert.DBNull;
  2800. }
  2801. [DebuggerNonUserCode]
  2802. public bool IsIndustry_CustomerNull()
  2803. {
  2804. return IsNull(tableCustomer.Industry_CustomerColumn);
  2805. }
  2806. [DebuggerNonUserCode]
  2807. public void SetIndustry_CustomerNull()
  2808. {
  2809. base[tableCustomer.Industry_CustomerColumn] = Convert.DBNull;
  2810. }
  2811. [DebuggerNonUserCode]
  2812. public bool IsZone_CustomerNull()
  2813. {
  2814. return IsNull(tableCustomer.Zone_CustomerColumn);
  2815. }
  2816. [DebuggerNonUserCode]
  2817. public void SetZone_CustomerNull()
  2818. {
  2819. base[tableCustomer.Zone_CustomerColumn] = Convert.DBNull;
  2820. }
  2821. [DebuggerNonUserCode]
  2822. public bool IsSource_CustomerNull()
  2823. {
  2824. return IsNull(tableCustomer.Source_CustomerColumn);
  2825. }
  2826. [DebuggerNonUserCode]
  2827. public void SetSource_CustomerNull()
  2828. {
  2829. base[tableCustomer.Source_CustomerColumn] = Convert.DBNull;
  2830. }
  2831. [DebuggerNonUserCode]
  2832. public bool IsLevel_CustomerNull()
  2833. {
  2834. return IsNull(tableCustomer.Level_CustomerColumn);
  2835. }
  2836. [DebuggerNonUserCode]
  2837. public void SetLevel_CustomerNull()
  2838. {
  2839. base[tableCustomer.Level_CustomerColumn] = Convert.DBNull;
  2840. }
  2841. [DebuggerNonUserCode]
  2842. public bool IsBank_CustomerNull()
  2843. {
  2844. return IsNull(tableCustomer.Bank_CustomerColumn);
  2845. }
  2846. [DebuggerNonUserCode]
  2847. public void SetBank_CustomerNull()
  2848. {
  2849. base[tableCustomer.Bank_CustomerColumn] = Convert.DBNull;
  2850. }
  2851. [DebuggerNonUserCode]
  2852. public bool IsAccount_CustomerNull()
  2853. {
  2854. return IsNull(tableCustomer.Account_CustomerColumn);
  2855. }
  2856. [DebuggerNonUserCode]
  2857. public void SetAccount_CustomerNull()
  2858. {
  2859. base[tableCustomer.Account_CustomerColumn] = Convert.DBNull;
  2860. }
  2861. [DebuggerNonUserCode]
  2862. public bool IsRevenueRegisterNo_CustomerNull()
  2863. {
  2864. return IsNull(tableCustomer.RevenueRegisterNo_CustomerColumn);
  2865. }
  2866. [DebuggerNonUserCode]
  2867. public void SetRevenueRegisterNo_CustomerNull()
  2868. {
  2869. base[tableCustomer.RevenueRegisterNo_CustomerColumn] = Convert.DBNull;
  2870. }
  2871. [DebuggerNonUserCode]
  2872. public bool IsLastDiscount_CustomerNull()
  2873. {
  2874. return IsNull(tableCustomer.LastDiscount_CustomerColumn);
  2875. }
  2876. [DebuggerNonUserCode]
  2877. public void SetLastDiscount_CustomerNull()
  2878. {
  2879. base[tableCustomer.LastDiscount_CustomerColumn] = Convert.DBNull;
  2880. }
  2881. [DebuggerNonUserCode]
  2882. public bool IsSuspendDate_CustomerNull()
  2883. {
  2884. return IsNull(tableCustomer.SuspendDate_CustomerColumn);
  2885. }
  2886. [DebuggerNonUserCode]
  2887. public void SetSuspendDate_CustomerNull()
  2888. {
  2889. base[tableCustomer.SuspendDate_CustomerColumn] = Convert.DBNull;
  2890. }
  2891. [DebuggerNonUserCode]
  2892. public bool IsToGetBalance_CustomerNull()
  2893. {
  2894. return IsNull(tableCustomer.ToGetBalance_CustomerColumn);
  2895. }
  2896. [DebuggerNonUserCode]
  2897. public void SetToGetBalance_CustomerNull()
  2898. {
  2899. base[tableCustomer.ToGetBalance_CustomerColumn] = Convert.DBNull;
  2900. }
  2901. [DebuggerNonUserCode]
  2902. public bool IsPrePayBalance_CustomerNull()
  2903. {
  2904. return IsNull(tableCustomer.PrePayBalance_CustomerColumn);
  2905. }
  2906. [DebuggerNonUserCode]
  2907. public void SetPrePayBalance_CustomerNull()
  2908. {
  2909. base[tableCustomer.PrePayBalance_CustomerColumn] = Convert.DBNull;
  2910. }
  2911. [DebuggerNonUserCode]
  2912. public bool IsLastTax_CustomerNull()
  2913. {
  2914. return IsNull(tableCustomer.LastTax_CustomerColumn);
  2915. }
  2916. [DebuggerNonUserCode]
  2917. public void SetLastTax_CustomerNull()
  2918. {
  2919. base[tableCustomer.LastTax_CustomerColumn] = Convert.DBNull;
  2920. }
  2921. [DebuggerNonUserCode]
  2922. public bool IsLastModDate_CustomerNull()
  2923. {
  2924. return IsNull(tableCustomer.LastModDate_CustomerColumn);
  2925. }
  2926. [DebuggerNonUserCode]
  2927. public void SetLastModDate_CustomerNull()
  2928. {
  2929. base[tableCustomer.LastModDate_CustomerColumn] = Convert.DBNull;
  2930. }
  2931. [DebuggerNonUserCode]
  2932. public bool IsCreatorName_CustomerNull()
  2933. {
  2934. return IsNull(tableCustomer.CreatorName_CustomerColumn);
  2935. }
  2936. [DebuggerNonUserCode]
  2937. public void SetCreatorName_CustomerNull()
  2938. {
  2939. base[tableCustomer.CreatorName_CustomerColumn] = Convert.DBNull;
  2940. }
  2941. [DebuggerNonUserCode]
  2942. public bool IsLastModUserNull()
  2943. {
  2944. return IsNull(tableCustomer.LastModUserColumn);
  2945. }
  2946. [DebuggerNonUserCode]
  2947. public void SetLastModUserNull()
  2948. {
  2949. base[tableCustomer.LastModUserColumn] = Convert.DBNull;
  2950. }
  2951. [DebuggerNonUserCode]
  2952. public bool IsCountryNameNull()
  2953. {
  2954. return IsNull(tableCustomer.CountryNameColumn);
  2955. }
  2956. [DebuggerNonUserCode]
  2957. public void SetCountryNameNull()
  2958. {
  2959. base[tableCustomer.CountryNameColumn] = Convert.DBNull;
  2960. }
  2961. }
  2962. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  2963. public class EmployeeRow : DataRow
  2964. {
  2965. private EmployeeDataTable tableEmployee;
  2966. [DebuggerNonUserCode]
  2967. public string No_Employee
  2968. {
  2969. get
  2970. {
  2971. try
  2972. {
  2973. return (string)base[tableEmployee.No_EmployeeColumn];
  2974. }
  2975. catch (InvalidCastException innerException)
  2976. {
  2977. throw new StrongTypingException("The value for column 'No_Employee' in table 'Employee' is DBNull.", innerException);
  2978. }
  2979. }
  2980. set
  2981. {
  2982. base[tableEmployee.No_EmployeeColumn] = value;
  2983. }
  2984. }
  2985. [DebuggerNonUserCode]
  2986. public string Name_Employee
  2987. {
  2988. get
  2989. {
  2990. try
  2991. {
  2992. return (string)base[tableEmployee.Name_EmployeeColumn];
  2993. }
  2994. catch (InvalidCastException innerException)
  2995. {
  2996. throw new StrongTypingException("The value for column 'Name_Employee' in table 'Employee' is DBNull.", innerException);
  2997. }
  2998. }
  2999. set
  3000. {
  3001. base[tableEmployee.Name_EmployeeColumn] = value;
  3002. }
  3003. }
  3004. [DebuggerNonUserCode]
  3005. public string EmployeeNo_Employee
  3006. {
  3007. get
  3008. {
  3009. try
  3010. {
  3011. return (string)base[tableEmployee.EmployeeNo_EmployeeColumn];
  3012. }
  3013. catch (InvalidCastException innerException)
  3014. {
  3015. throw new StrongTypingException("The value for column 'EmployeeNo_Employee' in table 'Employee' is DBNull.", innerException);
  3016. }
  3017. }
  3018. set
  3019. {
  3020. base[tableEmployee.EmployeeNo_EmployeeColumn] = value;
  3021. }
  3022. }
  3023. [DebuggerNonUserCode]
  3024. public string NameEng_Employee
  3025. {
  3026. get
  3027. {
  3028. try
  3029. {
  3030. return (string)base[tableEmployee.NameEng_EmployeeColumn];
  3031. }
  3032. catch (InvalidCastException innerException)
  3033. {
  3034. throw new StrongTypingException("The value for column 'NameEng_Employee' in table 'Employee' is DBNull.", innerException);
  3035. }
  3036. }
  3037. set
  3038. {
  3039. base[tableEmployee.NameEng_EmployeeColumn] = value;
  3040. }
  3041. }
  3042. [DebuggerNonUserCode]
  3043. public bool Gender_Employee
  3044. {
  3045. get
  3046. {
  3047. try
  3048. {
  3049. return (bool)base[tableEmployee.Gender_EmployeeColumn];
  3050. }
  3051. catch (InvalidCastException innerException)
  3052. {
  3053. throw new StrongTypingException("The value for column 'Gender_Employee' in table 'Employee' is DBNull.", innerException);
  3054. }
  3055. }
  3056. set
  3057. {
  3058. base[tableEmployee.Gender_EmployeeColumn] = value;
  3059. }
  3060. }
  3061. [DebuggerNonUserCode]
  3062. public int Country_Employee
  3063. {
  3064. get
  3065. {
  3066. try
  3067. {
  3068. return (int)base[tableEmployee.Country_EmployeeColumn];
  3069. }
  3070. catch (InvalidCastException innerException)
  3071. {
  3072. throw new StrongTypingException("The value for column 'Country_Employee' in table 'Employee' is DBNull.", innerException);
  3073. }
  3074. }
  3075. set
  3076. {
  3077. base[tableEmployee.Country_EmployeeColumn] = value;
  3078. }
  3079. }
  3080. [DebuggerNonUserCode]
  3081. public string Homeplace_Employee
  3082. {
  3083. get
  3084. {
  3085. try
  3086. {
  3087. return (string)base[tableEmployee.Homeplace_EmployeeColumn];
  3088. }
  3089. catch (InvalidCastException innerException)
  3090. {
  3091. throw new StrongTypingException("The value for column 'Homeplace_Employee' in table 'Employee' is DBNull.", innerException);
  3092. }
  3093. }
  3094. set
  3095. {
  3096. base[tableEmployee.Homeplace_EmployeeColumn] = value;
  3097. }
  3098. }
  3099. [DebuggerNonUserCode]
  3100. public string Nation_Employee
  3101. {
  3102. get
  3103. {
  3104. try
  3105. {
  3106. return (string)base[tableEmployee.Nation_EmployeeColumn];
  3107. }
  3108. catch (InvalidCastException innerException)
  3109. {
  3110. throw new StrongTypingException("The value for column 'Nation_Employee' in table 'Employee' is DBNull.", innerException);
  3111. }
  3112. }
  3113. set
  3114. {
  3115. base[tableEmployee.Nation_EmployeeColumn] = value;
  3116. }
  3117. }
  3118. [DebuggerNonUserCode]
  3119. public string IDNo_Employee
  3120. {
  3121. get
  3122. {
  3123. try
  3124. {
  3125. return (string)base[tableEmployee.IDNo_EmployeeColumn];
  3126. }
  3127. catch (InvalidCastException innerException)
  3128. {
  3129. throw new StrongTypingException("The value for column 'IDNo_Employee' in table 'Employee' is DBNull.", innerException);
  3130. }
  3131. }
  3132. set
  3133. {
  3134. base[tableEmployee.IDNo_EmployeeColumn] = value;
  3135. }
  3136. }
  3137. [DebuggerNonUserCode]
  3138. public string Passport_Employee
  3139. {
  3140. get
  3141. {
  3142. try
  3143. {
  3144. return (string)base[tableEmployee.Passport_EmployeeColumn];
  3145. }
  3146. catch (InvalidCastException innerException)
  3147. {
  3148. throw new StrongTypingException("The value for column 'Passport_Employee' in table 'Employee' is DBNull.", innerException);
  3149. }
  3150. }
  3151. set
  3152. {
  3153. base[tableEmployee.Passport_EmployeeColumn] = value;
  3154. }
  3155. }
  3156. [DebuggerNonUserCode]
  3157. public bool IsMarried_Employee
  3158. {
  3159. get
  3160. {
  3161. try
  3162. {
  3163. return (bool)base[tableEmployee.IsMarried_EmployeeColumn];
  3164. }
  3165. catch (InvalidCastException innerException)
  3166. {
  3167. throw new StrongTypingException("The value for column 'IsMarried_Employee' in table 'Employee' is DBNull.", innerException);
  3168. }
  3169. }
  3170. set
  3171. {
  3172. base[tableEmployee.IsMarried_EmployeeColumn] = value;
  3173. }
  3174. }
  3175. [DebuggerNonUserCode]
  3176. public DateTime CreateDate_Employee
  3177. {
  3178. get
  3179. {
  3180. try
  3181. {
  3182. return (DateTime)base[tableEmployee.CreateDate_EmployeeColumn];
  3183. }
  3184. catch (InvalidCastException innerException)
  3185. {
  3186. throw new StrongTypingException("The value for column 'CreateDate_Employee' in table 'Employee' is DBNull.", innerException);
  3187. }
  3188. }
  3189. set
  3190. {
  3191. base[tableEmployee.CreateDate_EmployeeColumn] = value;
  3192. }
  3193. }
  3194. [DebuggerNonUserCode]
  3195. public string Duty_Employee
  3196. {
  3197. get
  3198. {
  3199. try
  3200. {
  3201. return (string)base[tableEmployee.Duty_EmployeeColumn];
  3202. }
  3203. catch (InvalidCastException innerException)
  3204. {
  3205. throw new StrongTypingException("The value for column 'Duty_Employee' in table 'Employee' is DBNull.", innerException);
  3206. }
  3207. }
  3208. set
  3209. {
  3210. base[tableEmployee.Duty_EmployeeColumn] = value;
  3211. }
  3212. }
  3213. [DebuggerNonUserCode]
  3214. public decimal Probation_Employee
  3215. {
  3216. get
  3217. {
  3218. try
  3219. {
  3220. return (decimal)base[tableEmployee.Probation_EmployeeColumn];
  3221. }
  3222. catch (InvalidCastException innerException)
  3223. {
  3224. throw new StrongTypingException("The value for column 'Probation_Employee' in table 'Employee' is DBNull.", innerException);
  3225. }
  3226. }
  3227. set
  3228. {
  3229. base[tableEmployee.Probation_EmployeeColumn] = value;
  3230. }
  3231. }
  3232. [DebuggerNonUserCode]
  3233. public DateTime OnJobDate_Employee
  3234. {
  3235. get
  3236. {
  3237. try
  3238. {
  3239. return (DateTime)base[tableEmployee.OnJobDate_EmployeeColumn];
  3240. }
  3241. catch (InvalidCastException innerException)
  3242. {
  3243. throw new StrongTypingException("The value for column 'OnJobDate_Employee' in table 'Employee' is DBNull.", innerException);
  3244. }
  3245. }
  3246. set
  3247. {
  3248. base[tableEmployee.OnJobDate_EmployeeColumn] = value;
  3249. }
  3250. }
  3251. [DebuggerNonUserCode]
  3252. public DateTime OnDuty_Employee
  3253. {
  3254. get
  3255. {
  3256. try
  3257. {
  3258. return (DateTime)base[tableEmployee.OnDuty_EmployeeColumn];
  3259. }
  3260. catch (InvalidCastException innerException)
  3261. {
  3262. throw new StrongTypingException("The value for column 'OnDuty_Employee' in table 'Employee' is DBNull.", innerException);
  3263. }
  3264. }
  3265. set
  3266. {
  3267. base[tableEmployee.OnDuty_EmployeeColumn] = value;
  3268. }
  3269. }
  3270. [DebuggerNonUserCode]
  3271. public int ObJobStatus_Employee
  3272. {
  3273. get
  3274. {
  3275. try
  3276. {
  3277. return (int)base[tableEmployee.ObJobStatus_EmployeeColumn];
  3278. }
  3279. catch (InvalidCastException innerException)
  3280. {
  3281. throw new StrongTypingException("The value for column 'ObJobStatus_Employee' in table 'Employee' is DBNull.", innerException);
  3282. }
  3283. }
  3284. set
  3285. {
  3286. base[tableEmployee.ObJobStatus_EmployeeColumn] = value;
  3287. }
  3288. }
  3289. [DebuggerNonUserCode]
  3290. public DateTime OffDuty_Employee
  3291. {
  3292. get
  3293. {
  3294. try
  3295. {
  3296. return (DateTime)base[tableEmployee.OffDuty_EmployeeColumn];
  3297. }
  3298. catch (InvalidCastException innerException)
  3299. {
  3300. throw new StrongTypingException("The value for column 'OffDuty_Employee' in table 'Employee' is DBNull.", innerException);
  3301. }
  3302. }
  3303. set
  3304. {
  3305. base[tableEmployee.OffDuty_EmployeeColumn] = value;
  3306. }
  3307. }
  3308. [DebuggerNonUserCode]
  3309. public DateTime SuspendDate_Employee
  3310. {
  3311. get
  3312. {
  3313. try
  3314. {
  3315. return (DateTime)base[tableEmployee.SuspendDate_EmployeeColumn];
  3316. }
  3317. catch (InvalidCastException innerException)
  3318. {
  3319. throw new StrongTypingException("The value for column 'SuspendDate_Employee' in table 'Employee' is DBNull.", innerException);
  3320. }
  3321. }
  3322. set
  3323. {
  3324. base[tableEmployee.SuspendDate_EmployeeColumn] = value;
  3325. }
  3326. }
  3327. [DebuggerNonUserCode]
  3328. public string Tel_Employee
  3329. {
  3330. get
  3331. {
  3332. try
  3333. {
  3334. return (string)base[tableEmployee.Tel_EmployeeColumn];
  3335. }
  3336. catch (InvalidCastException innerException)
  3337. {
  3338. throw new StrongTypingException("The value for column 'Tel_Employee' in table 'Employee' is DBNull.", innerException);
  3339. }
  3340. }
  3341. set
  3342. {
  3343. base[tableEmployee.Tel_EmployeeColumn] = value;
  3344. }
  3345. }
  3346. [DebuggerNonUserCode]
  3347. public string EMail_Employee
  3348. {
  3349. get
  3350. {
  3351. try
  3352. {
  3353. return (string)base[tableEmployee.EMail_EmployeeColumn];
  3354. }
  3355. catch (InvalidCastException innerException)
  3356. {
  3357. throw new StrongTypingException("The value for column 'EMail_Employee' in table 'Employee' is DBNull.", innerException);
  3358. }
  3359. }
  3360. set
  3361. {
  3362. base[tableEmployee.EMail_EmployeeColumn] = value;
  3363. }
  3364. }
  3365. [DebuggerNonUserCode]
  3366. public string Address_Employee
  3367. {
  3368. get
  3369. {
  3370. try
  3371. {
  3372. return (string)base[tableEmployee.Address_EmployeeColumn];
  3373. }
  3374. catch (InvalidCastException innerException)
  3375. {
  3376. throw new StrongTypingException("The value for column 'Address_Employee' in table 'Employee' is DBNull.", innerException);
  3377. }
  3378. }
  3379. set
  3380. {
  3381. base[tableEmployee.Address_EmployeeColumn] = value;
  3382. }
  3383. }
  3384. [DebuggerNonUserCode]
  3385. public string Comment_Employee
  3386. {
  3387. get
  3388. {
  3389. try
  3390. {
  3391. return (string)base[tableEmployee.Comment_EmployeeColumn];
  3392. }
  3393. catch (InvalidCastException innerException)
  3394. {
  3395. throw new StrongTypingException("The value for column 'Comment_Employee' in table 'Employee' is DBNull.", innerException);
  3396. }
  3397. }
  3398. set
  3399. {
  3400. base[tableEmployee.Comment_EmployeeColumn] = value;
  3401. }
  3402. }
  3403. [DebuggerNonUserCode]
  3404. public DateTime LastModDate_Employee
  3405. {
  3406. get
  3407. {
  3408. try
  3409. {
  3410. return (DateTime)base[tableEmployee.LastModDate_EmployeeColumn];
  3411. }
  3412. catch (InvalidCastException innerException)
  3413. {
  3414. throw new StrongTypingException("The value for column 'LastModDate_Employee' in table 'Employee' is DBNull.", innerException);
  3415. }
  3416. }
  3417. set
  3418. {
  3419. base[tableEmployee.LastModDate_EmployeeColumn] = value;
  3420. }
  3421. }
  3422. [DebuggerNonUserCode]
  3423. internal EmployeeRow(DataRowBuilder rb)
  3424. : base(rb)
  3425. {
  3426. tableEmployee = (EmployeeDataTable)base.Table;
  3427. }
  3428. [DebuggerNonUserCode]
  3429. public bool IsNo_EmployeeNull()
  3430. {
  3431. return IsNull(tableEmployee.No_EmployeeColumn);
  3432. }
  3433. [DebuggerNonUserCode]
  3434. public void SetNo_EmployeeNull()
  3435. {
  3436. base[tableEmployee.No_EmployeeColumn] = Convert.DBNull;
  3437. }
  3438. [DebuggerNonUserCode]
  3439. public bool IsName_EmployeeNull()
  3440. {
  3441. return IsNull(tableEmployee.Name_EmployeeColumn);
  3442. }
  3443. [DebuggerNonUserCode]
  3444. public void SetName_EmployeeNull()
  3445. {
  3446. base[tableEmployee.Name_EmployeeColumn] = Convert.DBNull;
  3447. }
  3448. [DebuggerNonUserCode]
  3449. public bool IsEmployeeNo_EmployeeNull()
  3450. {
  3451. return IsNull(tableEmployee.EmployeeNo_EmployeeColumn);
  3452. }
  3453. [DebuggerNonUserCode]
  3454. public void SetEmployeeNo_EmployeeNull()
  3455. {
  3456. base[tableEmployee.EmployeeNo_EmployeeColumn] = Convert.DBNull;
  3457. }
  3458. [DebuggerNonUserCode]
  3459. public bool IsNameEng_EmployeeNull()
  3460. {
  3461. return IsNull(tableEmployee.NameEng_EmployeeColumn);
  3462. }
  3463. [DebuggerNonUserCode]
  3464. public void SetNameEng_EmployeeNull()
  3465. {
  3466. base[tableEmployee.NameEng_EmployeeColumn] = Convert.DBNull;
  3467. }
  3468. [DebuggerNonUserCode]
  3469. public bool IsGender_EmployeeNull()
  3470. {
  3471. return IsNull(tableEmployee.Gender_EmployeeColumn);
  3472. }
  3473. [DebuggerNonUserCode]
  3474. public void SetGender_EmployeeNull()
  3475. {
  3476. base[tableEmployee.Gender_EmployeeColumn] = Convert.DBNull;
  3477. }
  3478. [DebuggerNonUserCode]
  3479. public bool IsCountry_EmployeeNull()
  3480. {
  3481. return IsNull(tableEmployee.Country_EmployeeColumn);
  3482. }
  3483. [DebuggerNonUserCode]
  3484. public void SetCountry_EmployeeNull()
  3485. {
  3486. base[tableEmployee.Country_EmployeeColumn] = Convert.DBNull;
  3487. }
  3488. [DebuggerNonUserCode]
  3489. public bool IsHomeplace_EmployeeNull()
  3490. {
  3491. return IsNull(tableEmployee.Homeplace_EmployeeColumn);
  3492. }
  3493. [DebuggerNonUserCode]
  3494. public void SetHomeplace_EmployeeNull()
  3495. {
  3496. base[tableEmployee.Homeplace_EmployeeColumn] = Convert.DBNull;
  3497. }
  3498. [DebuggerNonUserCode]
  3499. public bool IsNation_EmployeeNull()
  3500. {
  3501. return IsNull(tableEmployee.Nation_EmployeeColumn);
  3502. }
  3503. [DebuggerNonUserCode]
  3504. public void SetNation_EmployeeNull()
  3505. {
  3506. base[tableEmployee.Nation_EmployeeColumn] = Convert.DBNull;
  3507. }
  3508. [DebuggerNonUserCode]
  3509. public bool IsIDNo_EmployeeNull()
  3510. {
  3511. return IsNull(tableEmployee.IDNo_EmployeeColumn);
  3512. }
  3513. [DebuggerNonUserCode]
  3514. public void SetIDNo_EmployeeNull()
  3515. {
  3516. base[tableEmployee.IDNo_EmployeeColumn] = Convert.DBNull;
  3517. }
  3518. [DebuggerNonUserCode]
  3519. public bool IsPassport_EmployeeNull()
  3520. {
  3521. return IsNull(tableEmployee.Passport_EmployeeColumn);
  3522. }
  3523. [DebuggerNonUserCode]
  3524. public void SetPassport_EmployeeNull()
  3525. {
  3526. base[tableEmployee.Passport_EmployeeColumn] = Convert.DBNull;
  3527. }
  3528. [DebuggerNonUserCode]
  3529. public bool IsIsMarried_EmployeeNull()
  3530. {
  3531. return IsNull(tableEmployee.IsMarried_EmployeeColumn);
  3532. }
  3533. [DebuggerNonUserCode]
  3534. public void SetIsMarried_EmployeeNull()
  3535. {
  3536. base[tableEmployee.IsMarried_EmployeeColumn] = Convert.DBNull;
  3537. }
  3538. [DebuggerNonUserCode]
  3539. public bool IsCreateDate_EmployeeNull()
  3540. {
  3541. return IsNull(tableEmployee.CreateDate_EmployeeColumn);
  3542. }
  3543. [DebuggerNonUserCode]
  3544. public void SetCreateDate_EmployeeNull()
  3545. {
  3546. base[tableEmployee.CreateDate_EmployeeColumn] = Convert.DBNull;
  3547. }
  3548. [DebuggerNonUserCode]
  3549. public bool IsDuty_EmployeeNull()
  3550. {
  3551. return IsNull(tableEmployee.Duty_EmployeeColumn);
  3552. }
  3553. [DebuggerNonUserCode]
  3554. public void SetDuty_EmployeeNull()
  3555. {
  3556. base[tableEmployee.Duty_EmployeeColumn] = Convert.DBNull;
  3557. }
  3558. [DebuggerNonUserCode]
  3559. public bool IsProbation_EmployeeNull()
  3560. {
  3561. return IsNull(tableEmployee.Probation_EmployeeColumn);
  3562. }
  3563. [DebuggerNonUserCode]
  3564. public void SetProbation_EmployeeNull()
  3565. {
  3566. base[tableEmployee.Probation_EmployeeColumn] = Convert.DBNull;
  3567. }
  3568. [DebuggerNonUserCode]
  3569. public bool IsOnJobDate_EmployeeNull()
  3570. {
  3571. return IsNull(tableEmployee.OnJobDate_EmployeeColumn);
  3572. }
  3573. [DebuggerNonUserCode]
  3574. public void SetOnJobDate_EmployeeNull()
  3575. {
  3576. base[tableEmployee.OnJobDate_EmployeeColumn] = Convert.DBNull;
  3577. }
  3578. [DebuggerNonUserCode]
  3579. public bool IsOnDuty_EmployeeNull()
  3580. {
  3581. return IsNull(tableEmployee.OnDuty_EmployeeColumn);
  3582. }
  3583. [DebuggerNonUserCode]
  3584. public void SetOnDuty_EmployeeNull()
  3585. {
  3586. base[tableEmployee.OnDuty_EmployeeColumn] = Convert.DBNull;
  3587. }
  3588. [DebuggerNonUserCode]
  3589. public bool IsObJobStatus_EmployeeNull()
  3590. {
  3591. return IsNull(tableEmployee.ObJobStatus_EmployeeColumn);
  3592. }
  3593. [DebuggerNonUserCode]
  3594. public void SetObJobStatus_EmployeeNull()
  3595. {
  3596. base[tableEmployee.ObJobStatus_EmployeeColumn] = Convert.DBNull;
  3597. }
  3598. [DebuggerNonUserCode]
  3599. public bool IsOffDuty_EmployeeNull()
  3600. {
  3601. return IsNull(tableEmployee.OffDuty_EmployeeColumn);
  3602. }
  3603. [DebuggerNonUserCode]
  3604. public void SetOffDuty_EmployeeNull()
  3605. {
  3606. base[tableEmployee.OffDuty_EmployeeColumn] = Convert.DBNull;
  3607. }
  3608. [DebuggerNonUserCode]
  3609. public bool IsSuspendDate_EmployeeNull()
  3610. {
  3611. return IsNull(tableEmployee.SuspendDate_EmployeeColumn);
  3612. }
  3613. [DebuggerNonUserCode]
  3614. public void SetSuspendDate_EmployeeNull()
  3615. {
  3616. base[tableEmployee.SuspendDate_EmployeeColumn] = Convert.DBNull;
  3617. }
  3618. [DebuggerNonUserCode]
  3619. public bool IsTel_EmployeeNull()
  3620. {
  3621. return IsNull(tableEmployee.Tel_EmployeeColumn);
  3622. }
  3623. [DebuggerNonUserCode]
  3624. public void SetTel_EmployeeNull()
  3625. {
  3626. base[tableEmployee.Tel_EmployeeColumn] = Convert.DBNull;
  3627. }
  3628. [DebuggerNonUserCode]
  3629. public bool IsEMail_EmployeeNull()
  3630. {
  3631. return IsNull(tableEmployee.EMail_EmployeeColumn);
  3632. }
  3633. [DebuggerNonUserCode]
  3634. public void SetEMail_EmployeeNull()
  3635. {
  3636. base[tableEmployee.EMail_EmployeeColumn] = Convert.DBNull;
  3637. }
  3638. [DebuggerNonUserCode]
  3639. public bool IsAddress_EmployeeNull()
  3640. {
  3641. return IsNull(tableEmployee.Address_EmployeeColumn);
  3642. }
  3643. [DebuggerNonUserCode]
  3644. public void SetAddress_EmployeeNull()
  3645. {
  3646. base[tableEmployee.Address_EmployeeColumn] = Convert.DBNull;
  3647. }
  3648. [DebuggerNonUserCode]
  3649. public bool IsComment_EmployeeNull()
  3650. {
  3651. return IsNull(tableEmployee.Comment_EmployeeColumn);
  3652. }
  3653. [DebuggerNonUserCode]
  3654. public void SetComment_EmployeeNull()
  3655. {
  3656. base[tableEmployee.Comment_EmployeeColumn] = Convert.DBNull;
  3657. }
  3658. [DebuggerNonUserCode]
  3659. public bool IsLastModDate_EmployeeNull()
  3660. {
  3661. return IsNull(tableEmployee.LastModDate_EmployeeColumn);
  3662. }
  3663. [DebuggerNonUserCode]
  3664. public void SetLastModDate_EmployeeNull()
  3665. {
  3666. base[tableEmployee.LastModDate_EmployeeColumn] = Convert.DBNull;
  3667. }
  3668. }
  3669. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3670. public class InvoiceRow : DataRow
  3671. {
  3672. private InvoiceDataTable tableInvoice;
  3673. [DebuggerNonUserCode]
  3674. public string Title_Invoice
  3675. {
  3676. get
  3677. {
  3678. try
  3679. {
  3680. return (string)base[tableInvoice.Title_InvoiceColumn];
  3681. }
  3682. catch (InvalidCastException innerException)
  3683. {
  3684. throw new StrongTypingException("The value for column 'Title_Invoice' in table 'Invoice' is DBNull.", innerException);
  3685. }
  3686. }
  3687. set
  3688. {
  3689. base[tableInvoice.Title_InvoiceColumn] = value;
  3690. }
  3691. }
  3692. [DebuggerNonUserCode]
  3693. public string Address_Invoice
  3694. {
  3695. get
  3696. {
  3697. try
  3698. {
  3699. return (string)base[tableInvoice.Address_InvoiceColumn];
  3700. }
  3701. catch (InvalidCastException innerException)
  3702. {
  3703. throw new StrongTypingException("The value for column 'Address_Invoice' in table 'Invoice' is DBNull.", innerException);
  3704. }
  3705. }
  3706. set
  3707. {
  3708. base[tableInvoice.Address_InvoiceColumn] = value;
  3709. }
  3710. }
  3711. [DebuggerNonUserCode]
  3712. public string Tel_Invoice
  3713. {
  3714. get
  3715. {
  3716. try
  3717. {
  3718. return (string)base[tableInvoice.Tel_InvoiceColumn];
  3719. }
  3720. catch (InvalidCastException innerException)
  3721. {
  3722. throw new StrongTypingException("The value for column 'Tel_Invoice' in table 'Invoice' is DBNull.", innerException);
  3723. }
  3724. }
  3725. set
  3726. {
  3727. base[tableInvoice.Tel_InvoiceColumn] = value;
  3728. }
  3729. }
  3730. [DebuggerNonUserCode]
  3731. public string Linkman_Invoice
  3732. {
  3733. get
  3734. {
  3735. try
  3736. {
  3737. return (string)base[tableInvoice.Linkman_InvoiceColumn];
  3738. }
  3739. catch (InvalidCastException innerException)
  3740. {
  3741. throw new StrongTypingException("The value for column 'Linkman_Invoice' in table 'Invoice' is DBNull.", innerException);
  3742. }
  3743. }
  3744. set
  3745. {
  3746. base[tableInvoice.Linkman_InvoiceColumn] = value;
  3747. }
  3748. }
  3749. [DebuggerNonUserCode]
  3750. public bool Common_Invoice
  3751. {
  3752. get
  3753. {
  3754. try
  3755. {
  3756. return (bool)base[tableInvoice.Common_InvoiceColumn];
  3757. }
  3758. catch (InvalidCastException innerException)
  3759. {
  3760. throw new StrongTypingException("The value for column 'Common_Invoice' in table 'Invoice' is DBNull.", innerException);
  3761. }
  3762. }
  3763. set
  3764. {
  3765. base[tableInvoice.Common_InvoiceColumn] = value;
  3766. }
  3767. }
  3768. [DebuggerNonUserCode]
  3769. public string Comment_Invoice
  3770. {
  3771. get
  3772. {
  3773. try
  3774. {
  3775. return (string)base[tableInvoice.Comment_InvoiceColumn];
  3776. }
  3777. catch (InvalidCastException innerException)
  3778. {
  3779. throw new StrongTypingException("The value for column 'Comment_Invoice' in table 'Invoice' is DBNull.", innerException);
  3780. }
  3781. }
  3782. set
  3783. {
  3784. base[tableInvoice.Comment_InvoiceColumn] = value;
  3785. }
  3786. }
  3787. [DebuggerNonUserCode]
  3788. internal InvoiceRow(DataRowBuilder rb)
  3789. : base(rb)
  3790. {
  3791. tableInvoice = (InvoiceDataTable)base.Table;
  3792. }
  3793. [DebuggerNonUserCode]
  3794. public bool IsTitle_InvoiceNull()
  3795. {
  3796. return IsNull(tableInvoice.Title_InvoiceColumn);
  3797. }
  3798. [DebuggerNonUserCode]
  3799. public void SetTitle_InvoiceNull()
  3800. {
  3801. base[tableInvoice.Title_InvoiceColumn] = Convert.DBNull;
  3802. }
  3803. [DebuggerNonUserCode]
  3804. public bool IsAddress_InvoiceNull()
  3805. {
  3806. return IsNull(tableInvoice.Address_InvoiceColumn);
  3807. }
  3808. [DebuggerNonUserCode]
  3809. public void SetAddress_InvoiceNull()
  3810. {
  3811. base[tableInvoice.Address_InvoiceColumn] = Convert.DBNull;
  3812. }
  3813. [DebuggerNonUserCode]
  3814. public bool IsTel_InvoiceNull()
  3815. {
  3816. return IsNull(tableInvoice.Tel_InvoiceColumn);
  3817. }
  3818. [DebuggerNonUserCode]
  3819. public void SetTel_InvoiceNull()
  3820. {
  3821. base[tableInvoice.Tel_InvoiceColumn] = Convert.DBNull;
  3822. }
  3823. [DebuggerNonUserCode]
  3824. public bool IsLinkman_InvoiceNull()
  3825. {
  3826. return IsNull(tableInvoice.Linkman_InvoiceColumn);
  3827. }
  3828. [DebuggerNonUserCode]
  3829. public void SetLinkman_InvoiceNull()
  3830. {
  3831. base[tableInvoice.Linkman_InvoiceColumn] = Convert.DBNull;
  3832. }
  3833. [DebuggerNonUserCode]
  3834. public bool IsCommon_InvoiceNull()
  3835. {
  3836. return IsNull(tableInvoice.Common_InvoiceColumn);
  3837. }
  3838. [DebuggerNonUserCode]
  3839. public void SetCommon_InvoiceNull()
  3840. {
  3841. base[tableInvoice.Common_InvoiceColumn] = Convert.DBNull;
  3842. }
  3843. [DebuggerNonUserCode]
  3844. public bool IsComment_InvoiceNull()
  3845. {
  3846. return IsNull(tableInvoice.Comment_InvoiceColumn);
  3847. }
  3848. [DebuggerNonUserCode]
  3849. public void SetComment_InvoiceNull()
  3850. {
  3851. base[tableInvoice.Comment_InvoiceColumn] = Convert.DBNull;
  3852. }
  3853. }
  3854. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3855. public class PrincipalRow : DataRow
  3856. {
  3857. private PrincipalDataTable tablePrincipal;
  3858. [DebuggerNonUserCode]
  3859. public bool IsMain_Principal
  3860. {
  3861. get
  3862. {
  3863. try
  3864. {
  3865. return (bool)base[tablePrincipal.IsMain_PrincipalColumn];
  3866. }
  3867. catch (InvalidCastException innerException)
  3868. {
  3869. throw new StrongTypingException("The value for column 'IsMain_Principal' in table 'Principal' is DBNull.", innerException);
  3870. }
  3871. }
  3872. set
  3873. {
  3874. base[tablePrincipal.IsMain_PrincipalColumn] = value;
  3875. }
  3876. }
  3877. [DebuggerNonUserCode]
  3878. public string Comment_Principal
  3879. {
  3880. get
  3881. {
  3882. try
  3883. {
  3884. return (string)base[tablePrincipal.Comment_PrincipalColumn];
  3885. }
  3886. catch (InvalidCastException innerException)
  3887. {
  3888. throw new StrongTypingException("The value for column 'Comment_Principal' in table 'Principal' is DBNull.", innerException);
  3889. }
  3890. }
  3891. set
  3892. {
  3893. base[tablePrincipal.Comment_PrincipalColumn] = value;
  3894. }
  3895. }
  3896. [DebuggerNonUserCode]
  3897. public string Name_Employee
  3898. {
  3899. get
  3900. {
  3901. try
  3902. {
  3903. return (string)base[tablePrincipal.Name_EmployeeColumn];
  3904. }
  3905. catch (InvalidCastException innerException)
  3906. {
  3907. throw new StrongTypingException("The value for column 'Name_Employee' in table 'Principal' is DBNull.", innerException);
  3908. }
  3909. }
  3910. set
  3911. {
  3912. base[tablePrincipal.Name_EmployeeColumn] = value;
  3913. }
  3914. }
  3915. [DebuggerNonUserCode]
  3916. public string No_Employee
  3917. {
  3918. get
  3919. {
  3920. try
  3921. {
  3922. return (string)base[tablePrincipal.No_EmployeeColumn];
  3923. }
  3924. catch (InvalidCastException innerException)
  3925. {
  3926. throw new StrongTypingException("The value for column 'No_Employee' in table 'Principal' is DBNull.", innerException);
  3927. }
  3928. }
  3929. set
  3930. {
  3931. base[tablePrincipal.No_EmployeeColumn] = value;
  3932. }
  3933. }
  3934. [DebuggerNonUserCode]
  3935. internal PrincipalRow(DataRowBuilder rb)
  3936. : base(rb)
  3937. {
  3938. tablePrincipal = (PrincipalDataTable)base.Table;
  3939. }
  3940. [DebuggerNonUserCode]
  3941. public bool IsIsMain_PrincipalNull()
  3942. {
  3943. return IsNull(tablePrincipal.IsMain_PrincipalColumn);
  3944. }
  3945. [DebuggerNonUserCode]
  3946. public void SetIsMain_PrincipalNull()
  3947. {
  3948. base[tablePrincipal.IsMain_PrincipalColumn] = Convert.DBNull;
  3949. }
  3950. [DebuggerNonUserCode]
  3951. public bool IsComment_PrincipalNull()
  3952. {
  3953. return IsNull(tablePrincipal.Comment_PrincipalColumn);
  3954. }
  3955. [DebuggerNonUserCode]
  3956. public void SetComment_PrincipalNull()
  3957. {
  3958. base[tablePrincipal.Comment_PrincipalColumn] = Convert.DBNull;
  3959. }
  3960. [DebuggerNonUserCode]
  3961. public bool IsName_EmployeeNull()
  3962. {
  3963. return IsNull(tablePrincipal.Name_EmployeeColumn);
  3964. }
  3965. [DebuggerNonUserCode]
  3966. public void SetName_EmployeeNull()
  3967. {
  3968. base[tablePrincipal.Name_EmployeeColumn] = Convert.DBNull;
  3969. }
  3970. [DebuggerNonUserCode]
  3971. public bool IsNo_EmployeeNull()
  3972. {
  3973. return IsNull(tablePrincipal.No_EmployeeColumn);
  3974. }
  3975. [DebuggerNonUserCode]
  3976. public void SetNo_EmployeeNull()
  3977. {
  3978. base[tablePrincipal.No_EmployeeColumn] = Convert.DBNull;
  3979. }
  3980. }
  3981. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  3982. public class LinkmanRow : DataRow
  3983. {
  3984. private LinkmanDataTable tableLinkman;
  3985. [DebuggerNonUserCode]
  3986. public string Name_Linkman
  3987. {
  3988. get
  3989. {
  3990. try
  3991. {
  3992. return (string)base[tableLinkman.Name_LinkmanColumn];
  3993. }
  3994. catch (InvalidCastException innerException)
  3995. {
  3996. throw new StrongTypingException("The value for column 'Name_Linkman' in table 'Linkman' is DBNull.", innerException);
  3997. }
  3998. }
  3999. set
  4000. {
  4001. base[tableLinkman.Name_LinkmanColumn] = value;
  4002. }
  4003. }
  4004. [DebuggerNonUserCode]
  4005. public string Department_Linkman
  4006. {
  4007. get
  4008. {
  4009. try
  4010. {
  4011. return (string)base[tableLinkman.Department_LinkmanColumn];
  4012. }
  4013. catch (InvalidCastException innerException)
  4014. {
  4015. throw new StrongTypingException("The value for column 'Department_Linkman' in table 'Linkman' is DBNull.", innerException);
  4016. }
  4017. }
  4018. set
  4019. {
  4020. base[tableLinkman.Department_LinkmanColumn] = value;
  4021. }
  4022. }
  4023. [DebuggerNonUserCode]
  4024. public string Duty_Linkman
  4025. {
  4026. get
  4027. {
  4028. try
  4029. {
  4030. return (string)base[tableLinkman.Duty_LinkmanColumn];
  4031. }
  4032. catch (InvalidCastException innerException)
  4033. {
  4034. throw new StrongTypingException("The value for column 'Duty_Linkman' in table 'Linkman' is DBNull.", innerException);
  4035. }
  4036. }
  4037. set
  4038. {
  4039. base[tableLinkman.Duty_LinkmanColumn] = value;
  4040. }
  4041. }
  4042. [DebuggerNonUserCode]
  4043. public string Tel_Linkman
  4044. {
  4045. get
  4046. {
  4047. try
  4048. {
  4049. return (string)base[tableLinkman.Tel_LinkmanColumn];
  4050. }
  4051. catch (InvalidCastException innerException)
  4052. {
  4053. throw new StrongTypingException("The value for column 'Tel_Linkman' in table 'Linkman' is DBNull.", innerException);
  4054. }
  4055. }
  4056. set
  4057. {
  4058. base[tableLinkman.Tel_LinkmanColumn] = value;
  4059. }
  4060. }
  4061. [DebuggerNonUserCode]
  4062. public string Fax_Linkman
  4063. {
  4064. get
  4065. {
  4066. try
  4067. {
  4068. return (string)base[tableLinkman.Fax_LinkmanColumn];
  4069. }
  4070. catch (InvalidCastException innerException)
  4071. {
  4072. throw new StrongTypingException("The value for column 'Fax_Linkman' in table 'Linkman' is DBNull.", innerException);
  4073. }
  4074. }
  4075. set
  4076. {
  4077. base[tableLinkman.Fax_LinkmanColumn] = value;
  4078. }
  4079. }
  4080. [DebuggerNonUserCode]
  4081. public string Mobile_Linkman
  4082. {
  4083. get
  4084. {
  4085. try
  4086. {
  4087. return (string)base[tableLinkman.Mobile_LinkmanColumn];
  4088. }
  4089. catch (InvalidCastException innerException)
  4090. {
  4091. throw new StrongTypingException("The value for column 'Mobile_Linkman' in table 'Linkman' is DBNull.", innerException);
  4092. }
  4093. }
  4094. set
  4095. {
  4096. base[tableLinkman.Mobile_LinkmanColumn] = value;
  4097. }
  4098. }
  4099. [DebuggerNonUserCode]
  4100. public string Email_Linkman
  4101. {
  4102. get
  4103. {
  4104. try
  4105. {
  4106. return (string)base[tableLinkman.Email_LinkmanColumn];
  4107. }
  4108. catch (InvalidCastException innerException)
  4109. {
  4110. throw new StrongTypingException("The value for column 'Email_Linkman' in table 'Linkman' is DBNull.", innerException);
  4111. }
  4112. }
  4113. set
  4114. {
  4115. base[tableLinkman.Email_LinkmanColumn] = value;
  4116. }
  4117. }
  4118. [DebuggerNonUserCode]
  4119. public bool IsMain_Linkman
  4120. {
  4121. get
  4122. {
  4123. try
  4124. {
  4125. return (bool)base[tableLinkman.IsMain_LinkmanColumn];
  4126. }
  4127. catch (InvalidCastException innerException)
  4128. {
  4129. throw new StrongTypingException("The value for column 'IsMain_Linkman' in table 'Linkman' is DBNull.", innerException);
  4130. }
  4131. }
  4132. set
  4133. {
  4134. base[tableLinkman.IsMain_LinkmanColumn] = value;
  4135. }
  4136. }
  4137. [DebuggerNonUserCode]
  4138. public string Comment_Linkman
  4139. {
  4140. get
  4141. {
  4142. try
  4143. {
  4144. return (string)base[tableLinkman.Comment_LinkmanColumn];
  4145. }
  4146. catch (InvalidCastException innerException)
  4147. {
  4148. throw new StrongTypingException("The value for column 'Comment_Linkman' in table 'Linkman' is DBNull.", innerException);
  4149. }
  4150. }
  4151. set
  4152. {
  4153. base[tableLinkman.Comment_LinkmanColumn] = value;
  4154. }
  4155. }
  4156. [DebuggerNonUserCode]
  4157. internal LinkmanRow(DataRowBuilder rb)
  4158. : base(rb)
  4159. {
  4160. tableLinkman = (LinkmanDataTable)base.Table;
  4161. }
  4162. [DebuggerNonUserCode]
  4163. public bool IsName_LinkmanNull()
  4164. {
  4165. return IsNull(tableLinkman.Name_LinkmanColumn);
  4166. }
  4167. [DebuggerNonUserCode]
  4168. public void SetName_LinkmanNull()
  4169. {
  4170. base[tableLinkman.Name_LinkmanColumn] = Convert.DBNull;
  4171. }
  4172. [DebuggerNonUserCode]
  4173. public bool IsDepartment_LinkmanNull()
  4174. {
  4175. return IsNull(tableLinkman.Department_LinkmanColumn);
  4176. }
  4177. [DebuggerNonUserCode]
  4178. public void SetDepartment_LinkmanNull()
  4179. {
  4180. base[tableLinkman.Department_LinkmanColumn] = Convert.DBNull;
  4181. }
  4182. [DebuggerNonUserCode]
  4183. public bool IsDuty_LinkmanNull()
  4184. {
  4185. return IsNull(tableLinkman.Duty_LinkmanColumn);
  4186. }
  4187. [DebuggerNonUserCode]
  4188. public void SetDuty_LinkmanNull()
  4189. {
  4190. base[tableLinkman.Duty_LinkmanColumn] = Convert.DBNull;
  4191. }
  4192. [DebuggerNonUserCode]
  4193. public bool IsTel_LinkmanNull()
  4194. {
  4195. return IsNull(tableLinkman.Tel_LinkmanColumn);
  4196. }
  4197. [DebuggerNonUserCode]
  4198. public void SetTel_LinkmanNull()
  4199. {
  4200. base[tableLinkman.Tel_LinkmanColumn] = Convert.DBNull;
  4201. }
  4202. [DebuggerNonUserCode]
  4203. public bool IsFax_LinkmanNull()
  4204. {
  4205. return IsNull(tableLinkman.Fax_LinkmanColumn);
  4206. }
  4207. [DebuggerNonUserCode]
  4208. public void SetFax_LinkmanNull()
  4209. {
  4210. base[tableLinkman.Fax_LinkmanColumn] = Convert.DBNull;
  4211. }
  4212. [DebuggerNonUserCode]
  4213. public bool IsMobile_LinkmanNull()
  4214. {
  4215. return IsNull(tableLinkman.Mobile_LinkmanColumn);
  4216. }
  4217. [DebuggerNonUserCode]
  4218. public void SetMobile_LinkmanNull()
  4219. {
  4220. base[tableLinkman.Mobile_LinkmanColumn] = Convert.DBNull;
  4221. }
  4222. [DebuggerNonUserCode]
  4223. public bool IsEmail_LinkmanNull()
  4224. {
  4225. return IsNull(tableLinkman.Email_LinkmanColumn);
  4226. }
  4227. [DebuggerNonUserCode]
  4228. public void SetEmail_LinkmanNull()
  4229. {
  4230. base[tableLinkman.Email_LinkmanColumn] = Convert.DBNull;
  4231. }
  4232. [DebuggerNonUserCode]
  4233. public bool IsIsMain_LinkmanNull()
  4234. {
  4235. return IsNull(tableLinkman.IsMain_LinkmanColumn);
  4236. }
  4237. [DebuggerNonUserCode]
  4238. public void SetIsMain_LinkmanNull()
  4239. {
  4240. base[tableLinkman.IsMain_LinkmanColumn] = Convert.DBNull;
  4241. }
  4242. [DebuggerNonUserCode]
  4243. public bool IsComment_LinkmanNull()
  4244. {
  4245. return IsNull(tableLinkman.Comment_LinkmanColumn);
  4246. }
  4247. [DebuggerNonUserCode]
  4248. public void SetComment_LinkmanNull()
  4249. {
  4250. base[tableLinkman.Comment_LinkmanColumn] = Convert.DBNull;
  4251. }
  4252. }
  4253. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4254. public class FaxRow : DataRow
  4255. {
  4256. private FaxDataTable tableFax;
  4257. [DebuggerNonUserCode]
  4258. public string Name_Fax
  4259. {
  4260. get
  4261. {
  4262. try
  4263. {
  4264. return (string)base[tableFax.Name_FaxColumn];
  4265. }
  4266. catch (InvalidCastException innerException)
  4267. {
  4268. throw new StrongTypingException("The value for column 'Name_Fax' in table 'Fax' is DBNull.", innerException);
  4269. }
  4270. }
  4271. set
  4272. {
  4273. base[tableFax.Name_FaxColumn] = value;
  4274. }
  4275. }
  4276. [DebuggerNonUserCode]
  4277. public string No_Fax
  4278. {
  4279. get
  4280. {
  4281. try
  4282. {
  4283. return (string)base[tableFax.No_FaxColumn];
  4284. }
  4285. catch (InvalidCastException innerException)
  4286. {
  4287. throw new StrongTypingException("The value for column 'No_Fax' in table 'Fax' is DBNull.", innerException);
  4288. }
  4289. }
  4290. set
  4291. {
  4292. base[tableFax.No_FaxColumn] = value;
  4293. }
  4294. }
  4295. [DebuggerNonUserCode]
  4296. public bool Focus_Fax
  4297. {
  4298. get
  4299. {
  4300. try
  4301. {
  4302. return (bool)base[tableFax.Focus_FaxColumn];
  4303. }
  4304. catch (InvalidCastException innerException)
  4305. {
  4306. throw new StrongTypingException("The value for column 'Focus_Fax' in table 'Fax' is DBNull.", innerException);
  4307. }
  4308. }
  4309. set
  4310. {
  4311. base[tableFax.Focus_FaxColumn] = value;
  4312. }
  4313. }
  4314. [DebuggerNonUserCode]
  4315. internal FaxRow(DataRowBuilder rb)
  4316. : base(rb)
  4317. {
  4318. tableFax = (FaxDataTable)base.Table;
  4319. }
  4320. [DebuggerNonUserCode]
  4321. public bool IsName_FaxNull()
  4322. {
  4323. return IsNull(tableFax.Name_FaxColumn);
  4324. }
  4325. [DebuggerNonUserCode]
  4326. public void SetName_FaxNull()
  4327. {
  4328. base[tableFax.Name_FaxColumn] = Convert.DBNull;
  4329. }
  4330. [DebuggerNonUserCode]
  4331. public bool IsNo_FaxNull()
  4332. {
  4333. return IsNull(tableFax.No_FaxColumn);
  4334. }
  4335. [DebuggerNonUserCode]
  4336. public void SetNo_FaxNull()
  4337. {
  4338. base[tableFax.No_FaxColumn] = Convert.DBNull;
  4339. }
  4340. [DebuggerNonUserCode]
  4341. public bool IsFocus_FaxNull()
  4342. {
  4343. return IsNull(tableFax.Focus_FaxColumn);
  4344. }
  4345. [DebuggerNonUserCode]
  4346. public void SetFocus_FaxNull()
  4347. {
  4348. base[tableFax.Focus_FaxColumn] = Convert.DBNull;
  4349. }
  4350. }
  4351. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4352. public class AppendInfoRow : DataRow
  4353. {
  4354. private AppendInfoDataTable tableAppendInfo;
  4355. [DebuggerNonUserCode]
  4356. public string CurrentCompany
  4357. {
  4358. get
  4359. {
  4360. try
  4361. {
  4362. return (string)base[tableAppendInfo.CurrentCompanyColumn];
  4363. }
  4364. catch (InvalidCastException innerException)
  4365. {
  4366. throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
  4367. }
  4368. }
  4369. set
  4370. {
  4371. base[tableAppendInfo.CurrentCompanyColumn] = value;
  4372. }
  4373. }
  4374. [DebuggerNonUserCode]
  4375. public string CurrentUser
  4376. {
  4377. get
  4378. {
  4379. try
  4380. {
  4381. return (string)base[tableAppendInfo.CurrentUserColumn];
  4382. }
  4383. catch (InvalidCastException innerException)
  4384. {
  4385. throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
  4386. }
  4387. }
  4388. set
  4389. {
  4390. base[tableAppendInfo.CurrentUserColumn] = value;
  4391. }
  4392. }
  4393. [DebuggerNonUserCode]
  4394. internal AppendInfoRow(DataRowBuilder rb)
  4395. : base(rb)
  4396. {
  4397. tableAppendInfo = (AppendInfoDataTable)base.Table;
  4398. }
  4399. [DebuggerNonUserCode]
  4400. public bool IsCurrentCompanyNull()
  4401. {
  4402. return IsNull(tableAppendInfo.CurrentCompanyColumn);
  4403. }
  4404. [DebuggerNonUserCode]
  4405. public void SetCurrentCompanyNull()
  4406. {
  4407. base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
  4408. }
  4409. [DebuggerNonUserCode]
  4410. public bool IsCurrentUserNull()
  4411. {
  4412. return IsNull(tableAppendInfo.CurrentUserColumn);
  4413. }
  4414. [DebuggerNonUserCode]
  4415. public void SetCurrentUserNull()
  4416. {
  4417. base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
  4418. }
  4419. }
  4420. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4421. public class TelephoneRowChangeEvent : EventArgs
  4422. {
  4423. private TelephoneRow eventRow;
  4424. private DataRowAction eventAction;
  4425. [DebuggerNonUserCode]
  4426. public TelephoneRow Row => eventRow;
  4427. [DebuggerNonUserCode]
  4428. public DataRowAction Action => eventAction;
  4429. [DebuggerNonUserCode]
  4430. public TelephoneRowChangeEvent(TelephoneRow row, DataRowAction action)
  4431. {
  4432. eventRow = row;
  4433. eventAction = action;
  4434. }
  4435. }
  4436. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4437. public class CustomerRowChangeEvent : EventArgs
  4438. {
  4439. private CustomerRow eventRow;
  4440. private DataRowAction eventAction;
  4441. [DebuggerNonUserCode]
  4442. public CustomerRow Row => eventRow;
  4443. [DebuggerNonUserCode]
  4444. public DataRowAction Action => eventAction;
  4445. [DebuggerNonUserCode]
  4446. public CustomerRowChangeEvent(CustomerRow row, DataRowAction action)
  4447. {
  4448. eventRow = row;
  4449. eventAction = action;
  4450. }
  4451. }
  4452. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4453. public class EmployeeRowChangeEvent : EventArgs
  4454. {
  4455. private EmployeeRow eventRow;
  4456. private DataRowAction eventAction;
  4457. [DebuggerNonUserCode]
  4458. public EmployeeRow Row => eventRow;
  4459. [DebuggerNonUserCode]
  4460. public DataRowAction Action => eventAction;
  4461. [DebuggerNonUserCode]
  4462. public EmployeeRowChangeEvent(EmployeeRow row, DataRowAction action)
  4463. {
  4464. eventRow = row;
  4465. eventAction = action;
  4466. }
  4467. }
  4468. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4469. public class InvoiceRowChangeEvent : EventArgs
  4470. {
  4471. private InvoiceRow eventRow;
  4472. private DataRowAction eventAction;
  4473. [DebuggerNonUserCode]
  4474. public InvoiceRow Row => eventRow;
  4475. [DebuggerNonUserCode]
  4476. public DataRowAction Action => eventAction;
  4477. [DebuggerNonUserCode]
  4478. public InvoiceRowChangeEvent(InvoiceRow row, DataRowAction action)
  4479. {
  4480. eventRow = row;
  4481. eventAction = action;
  4482. }
  4483. }
  4484. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4485. public class PrincipalRowChangeEvent : EventArgs
  4486. {
  4487. private PrincipalRow eventRow;
  4488. private DataRowAction eventAction;
  4489. [DebuggerNonUserCode]
  4490. public PrincipalRow Row => eventRow;
  4491. [DebuggerNonUserCode]
  4492. public DataRowAction Action => eventAction;
  4493. [DebuggerNonUserCode]
  4494. public PrincipalRowChangeEvent(PrincipalRow row, DataRowAction action)
  4495. {
  4496. eventRow = row;
  4497. eventAction = action;
  4498. }
  4499. }
  4500. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4501. public class LinkmanRowChangeEvent : EventArgs
  4502. {
  4503. private LinkmanRow eventRow;
  4504. private DataRowAction eventAction;
  4505. [DebuggerNonUserCode]
  4506. public LinkmanRow Row => eventRow;
  4507. [DebuggerNonUserCode]
  4508. public DataRowAction Action => eventAction;
  4509. [DebuggerNonUserCode]
  4510. public LinkmanRowChangeEvent(LinkmanRow row, DataRowAction action)
  4511. {
  4512. eventRow = row;
  4513. eventAction = action;
  4514. }
  4515. }
  4516. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4517. public class FaxRowChangeEvent : EventArgs
  4518. {
  4519. private FaxRow eventRow;
  4520. private DataRowAction eventAction;
  4521. [DebuggerNonUserCode]
  4522. public FaxRow Row => eventRow;
  4523. [DebuggerNonUserCode]
  4524. public DataRowAction Action => eventAction;
  4525. [DebuggerNonUserCode]
  4526. public FaxRowChangeEvent(FaxRow row, DataRowAction action)
  4527. {
  4528. eventRow = row;
  4529. eventAction = action;
  4530. }
  4531. }
  4532. [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
  4533. public class AppendInfoRowChangeEvent : EventArgs
  4534. {
  4535. private AppendInfoRow eventRow;
  4536. private DataRowAction eventAction;
  4537. [DebuggerNonUserCode]
  4538. public AppendInfoRow Row => eventRow;
  4539. [DebuggerNonUserCode]
  4540. public DataRowAction Action => eventAction;
  4541. [DebuggerNonUserCode]
  4542. public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
  4543. {
  4544. eventRow = row;
  4545. eventAction = action;
  4546. }
  4547. }
  4548. private TelephoneDataTable tableTelephone;
  4549. private CustomerDataTable tableCustomer;
  4550. private EmployeeDataTable tableEmployee;
  4551. private InvoiceDataTable tableInvoice;
  4552. private PrincipalDataTable tablePrincipal;
  4553. private LinkmanDataTable tableLinkman;
  4554. private FaxDataTable tableFax;
  4555. private AppendInfoDataTable tableAppendInfo;
  4556. private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  4557. [Browsable(false)]
  4558. [DebuggerNonUserCode]
  4559. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4560. public TelephoneDataTable Telephone => tableTelephone;
  4561. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4562. [DebuggerNonUserCode]
  4563. [Browsable(false)]
  4564. public CustomerDataTable Customer => tableCustomer;
  4565. [Browsable(false)]
  4566. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4567. [DebuggerNonUserCode]
  4568. public EmployeeDataTable Employee => tableEmployee;
  4569. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4570. [Browsable(false)]
  4571. [DebuggerNonUserCode]
  4572. public InvoiceDataTable Invoice => tableInvoice;
  4573. [Browsable(false)]
  4574. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4575. [DebuggerNonUserCode]
  4576. public PrincipalDataTable Principal => tablePrincipal;
  4577. [Browsable(false)]
  4578. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4579. [DebuggerNonUserCode]
  4580. public LinkmanDataTable Linkman => tableLinkman;
  4581. [DebuggerNonUserCode]
  4582. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4583. [Browsable(false)]
  4584. public FaxDataTable Fax => tableFax;
  4585. [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
  4586. [Browsable(false)]
  4587. [DebuggerNonUserCode]
  4588. public AppendInfoDataTable AppendInfo => tableAppendInfo;
  4589. [Browsable(true)]
  4590. [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
  4591. [DebuggerNonUserCode]
  4592. public override SchemaSerializationMode SchemaSerializationMode
  4593. {
  4594. get
  4595. {
  4596. return _schemaSerializationMode;
  4597. }
  4598. set
  4599. {
  4600. _schemaSerializationMode = value;
  4601. }
  4602. }
  4603. [DebuggerNonUserCode]
  4604. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  4605. public new DataTableCollection Tables => base.Tables;
  4606. [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  4607. [DebuggerNonUserCode]
  4608. public new DataRelationCollection Relations => base.Relations;
  4609. [DebuggerNonUserCode]
  4610. public dsFrmCustomer()
  4611. {
  4612. BeginInit();
  4613. InitClass();
  4614. CollectionChangeEventHandler value = SchemaChanged;
  4615. base.Tables.CollectionChanged += value;
  4616. base.Relations.CollectionChanged += value;
  4617. EndInit();
  4618. }
  4619. [DebuggerNonUserCode]
  4620. protected dsFrmCustomer(SerializationInfo info, StreamingContext context)
  4621. : base(info, context, ConstructSchema: false)
  4622. {
  4623. if (IsBinarySerialized(info, context))
  4624. {
  4625. InitVars(initTable: false);
  4626. CollectionChangeEventHandler value = SchemaChanged;
  4627. Tables.CollectionChanged += value;
  4628. Relations.CollectionChanged += value;
  4629. return;
  4630. }
  4631. string s = (string)info.GetValue("XmlSchema", typeof(string));
  4632. if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
  4633. {
  4634. DataSet dataSet = new DataSet();
  4635. dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  4636. if (dataSet.Tables["Telephone"] != null)
  4637. {
  4638. base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
  4639. }
  4640. if (dataSet.Tables["Customer"] != null)
  4641. {
  4642. base.Tables.Add(new CustomerDataTable(dataSet.Tables["Customer"]));
  4643. }
  4644. if (dataSet.Tables["Employee"] != null)
  4645. {
  4646. base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
  4647. }
  4648. if (dataSet.Tables["Invoice"] != null)
  4649. {
  4650. base.Tables.Add(new InvoiceDataTable(dataSet.Tables["Invoice"]));
  4651. }
  4652. if (dataSet.Tables["Principal"] != null)
  4653. {
  4654. base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
  4655. }
  4656. if (dataSet.Tables["Linkman"] != null)
  4657. {
  4658. base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
  4659. }
  4660. if (dataSet.Tables["Fax"] != null)
  4661. {
  4662. base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
  4663. }
  4664. if (dataSet.Tables["AppendInfo"] != null)
  4665. {
  4666. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  4667. }
  4668. base.DataSetName = dataSet.DataSetName;
  4669. base.Prefix = dataSet.Prefix;
  4670. base.Namespace = dataSet.Namespace;
  4671. base.Locale = dataSet.Locale;
  4672. base.CaseSensitive = dataSet.CaseSensitive;
  4673. base.EnforceConstraints = dataSet.EnforceConstraints;
  4674. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  4675. InitVars();
  4676. }
  4677. else
  4678. {
  4679. ReadXmlSchema(new XmlTextReader(new StringReader(s)));
  4680. }
  4681. GetSerializationData(info, context);
  4682. CollectionChangeEventHandler value2 = SchemaChanged;
  4683. base.Tables.CollectionChanged += value2;
  4684. Relations.CollectionChanged += value2;
  4685. }
  4686. [DebuggerNonUserCode]
  4687. protected override void InitializeDerivedDataSet()
  4688. {
  4689. BeginInit();
  4690. InitClass();
  4691. EndInit();
  4692. }
  4693. [DebuggerNonUserCode]
  4694. public override DataSet Clone()
  4695. {
  4696. dsFrmCustomer dsFrmCustomer = (dsFrmCustomer)base.Clone();
  4697. dsFrmCustomer.InitVars();
  4698. dsFrmCustomer.SchemaSerializationMode = SchemaSerializationMode;
  4699. return dsFrmCustomer;
  4700. }
  4701. [DebuggerNonUserCode]
  4702. protected override bool ShouldSerializeTables()
  4703. {
  4704. return false;
  4705. }
  4706. [DebuggerNonUserCode]
  4707. protected override bool ShouldSerializeRelations()
  4708. {
  4709. return false;
  4710. }
  4711. [DebuggerNonUserCode]
  4712. protected override void ReadXmlSerializable(XmlReader reader)
  4713. {
  4714. if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
  4715. {
  4716. Reset();
  4717. DataSet dataSet = new DataSet();
  4718. dataSet.ReadXml(reader);
  4719. if (dataSet.Tables["Telephone"] != null)
  4720. {
  4721. base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
  4722. }
  4723. if (dataSet.Tables["Customer"] != null)
  4724. {
  4725. base.Tables.Add(new CustomerDataTable(dataSet.Tables["Customer"]));
  4726. }
  4727. if (dataSet.Tables["Employee"] != null)
  4728. {
  4729. base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
  4730. }
  4731. if (dataSet.Tables["Invoice"] != null)
  4732. {
  4733. base.Tables.Add(new InvoiceDataTable(dataSet.Tables["Invoice"]));
  4734. }
  4735. if (dataSet.Tables["Principal"] != null)
  4736. {
  4737. base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
  4738. }
  4739. if (dataSet.Tables["Linkman"] != null)
  4740. {
  4741. base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
  4742. }
  4743. if (dataSet.Tables["Fax"] != null)
  4744. {
  4745. base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
  4746. }
  4747. if (dataSet.Tables["AppendInfo"] != null)
  4748. {
  4749. base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
  4750. }
  4751. base.DataSetName = dataSet.DataSetName;
  4752. base.Prefix = dataSet.Prefix;
  4753. base.Namespace = dataSet.Namespace;
  4754. base.Locale = dataSet.Locale;
  4755. base.CaseSensitive = dataSet.CaseSensitive;
  4756. base.EnforceConstraints = dataSet.EnforceConstraints;
  4757. Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
  4758. InitVars();
  4759. }
  4760. else
  4761. {
  4762. ReadXml(reader);
  4763. InitVars();
  4764. }
  4765. }
  4766. [DebuggerNonUserCode]
  4767. protected override XmlSchema GetSchemaSerializable()
  4768. {
  4769. MemoryStream memoryStream = new MemoryStream();
  4770. WriteXmlSchema(new XmlTextWriter(memoryStream, null));
  4771. memoryStream.Position = 0L;
  4772. return XmlSchema.Read(new XmlTextReader(memoryStream), null);
  4773. }
  4774. [DebuggerNonUserCode]
  4775. internal void InitVars()
  4776. {
  4777. InitVars(initTable: true);
  4778. }
  4779. [DebuggerNonUserCode]
  4780. internal void InitVars(bool initTable)
  4781. {
  4782. tableTelephone = (TelephoneDataTable)base.Tables["Telephone"];
  4783. if (initTable && tableTelephone != null)
  4784. {
  4785. tableTelephone.InitVars();
  4786. }
  4787. tableCustomer = (CustomerDataTable)base.Tables["Customer"];
  4788. if (initTable && tableCustomer != null)
  4789. {
  4790. tableCustomer.InitVars();
  4791. }
  4792. tableEmployee = (EmployeeDataTable)base.Tables["Employee"];
  4793. if (initTable && tableEmployee != null)
  4794. {
  4795. tableEmployee.InitVars();
  4796. }
  4797. tableInvoice = (InvoiceDataTable)base.Tables["Invoice"];
  4798. if (initTable && tableInvoice != null)
  4799. {
  4800. tableInvoice.InitVars();
  4801. }
  4802. tablePrincipal = (PrincipalDataTable)base.Tables["Principal"];
  4803. if (initTable && tablePrincipal != null)
  4804. {
  4805. tablePrincipal.InitVars();
  4806. }
  4807. tableLinkman = (LinkmanDataTable)base.Tables["Linkman"];
  4808. if (initTable && tableLinkman != null)
  4809. {
  4810. tableLinkman.InitVars();
  4811. }
  4812. tableFax = (FaxDataTable)base.Tables["Fax"];
  4813. if (initTable && tableFax != null)
  4814. {
  4815. tableFax.InitVars();
  4816. }
  4817. tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
  4818. if (initTable && tableAppendInfo != null)
  4819. {
  4820. tableAppendInfo.InitVars();
  4821. }
  4822. }
  4823. [DebuggerNonUserCode]
  4824. private void InitClass()
  4825. {
  4826. base.DataSetName = "dsFrmCustomer";
  4827. base.Prefix = "";
  4828. base.Namespace = "http://tempuri.org/dsFrmCustomer.xsd";
  4829. base.EnforceConstraints = true;
  4830. SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
  4831. tableTelephone = new TelephoneDataTable();
  4832. base.Tables.Add(tableTelephone);
  4833. tableCustomer = new CustomerDataTable();
  4834. base.Tables.Add(tableCustomer);
  4835. tableEmployee = new EmployeeDataTable();
  4836. base.Tables.Add(tableEmployee);
  4837. tableInvoice = new InvoiceDataTable();
  4838. base.Tables.Add(tableInvoice);
  4839. tablePrincipal = new PrincipalDataTable();
  4840. base.Tables.Add(tablePrincipal);
  4841. tableLinkman = new LinkmanDataTable();
  4842. base.Tables.Add(tableLinkman);
  4843. tableFax = new FaxDataTable();
  4844. base.Tables.Add(tableFax);
  4845. tableAppendInfo = new AppendInfoDataTable();
  4846. base.Tables.Add(tableAppendInfo);
  4847. }
  4848. [DebuggerNonUserCode]
  4849. private bool ShouldSerializeTelephone()
  4850. {
  4851. return false;
  4852. }
  4853. [DebuggerNonUserCode]
  4854. private bool ShouldSerializeCustomer()
  4855. {
  4856. return false;
  4857. }
  4858. [DebuggerNonUserCode]
  4859. private bool ShouldSerializeEmployee()
  4860. {
  4861. return false;
  4862. }
  4863. [DebuggerNonUserCode]
  4864. private bool ShouldSerializeInvoice()
  4865. {
  4866. return false;
  4867. }
  4868. [DebuggerNonUserCode]
  4869. private bool ShouldSerializePrincipal()
  4870. {
  4871. return false;
  4872. }
  4873. [DebuggerNonUserCode]
  4874. private bool ShouldSerializeLinkman()
  4875. {
  4876. return false;
  4877. }
  4878. [DebuggerNonUserCode]
  4879. private bool ShouldSerializeFax()
  4880. {
  4881. return false;
  4882. }
  4883. [DebuggerNonUserCode]
  4884. private bool ShouldSerializeAppendInfo()
  4885. {
  4886. return false;
  4887. }
  4888. [DebuggerNonUserCode]
  4889. private void SchemaChanged(object sender, CollectionChangeEventArgs e)
  4890. {
  4891. if (e.Action == CollectionChangeAction.Remove)
  4892. {
  4893. InitVars();
  4894. }
  4895. }
  4896. [DebuggerNonUserCode]
  4897. public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
  4898. {
  4899. dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
  4900. XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
  4901. XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
  4902. xs.Add(dsFrmCustomer.GetSchemaSerializable());
  4903. XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
  4904. xmlSchemaAny.Namespace = dsFrmCustomer.Namespace;
  4905. xmlSchemaSequence.Items.Add(xmlSchemaAny);
  4906. xmlSchemaComplexType.Particle = xmlSchemaSequence;
  4907. return xmlSchemaComplexType;
  4908. }
  4909. }
  4910. }