12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621 |
- using System;
- using System.CodeDom.Compiler;
- using System.Collections;
- using System.ComponentModel;
- using System.ComponentModel.Design;
- using System.Data;
- using System.Diagnostics;
- using System.IO;
- using System.Runtime.Serialization;
- using System.Xml;
- using System.Xml.Schema;
- using System.Xml.Serialization;
- namespace SunRoxm.BizPeri.ReportDataSet.ReportDataSet
- {
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlRoot("dsFrmCustomer")]
- [HelpKeyword("vs.data.DataSet")]
- [ToolboxItem(true)]
- [XmlSchemaProvider("GetTypedDataSetSchema")]
- [DesignerCategory("code")]
- public class dsFrmCustomer : DataSet
- {
- public delegate void TelephoneRowChangeEventHandler(object sender, TelephoneRowChangeEvent e);
- public delegate void CustomerRowChangeEventHandler(object sender, CustomerRowChangeEvent e);
- public delegate void EmployeeRowChangeEventHandler(object sender, EmployeeRowChangeEvent e);
- public delegate void InvoiceRowChangeEventHandler(object sender, InvoiceRowChangeEvent e);
- public delegate void PrincipalRowChangeEventHandler(object sender, PrincipalRowChangeEvent e);
- public delegate void LinkmanRowChangeEventHandler(object sender, LinkmanRowChangeEvent e);
- public delegate void FaxRowChangeEventHandler(object sender, FaxRowChangeEvent e);
- public delegate void AppendInfoRowChangeEventHandler(object sender, AppendInfoRowChangeEvent e);
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class TelephoneDataTable : DataTable, IEnumerable
- {
- private DataColumn columnName_Telephone;
- private DataColumn columnNo_Telephone;
- private DataColumn columnFocus_Telephone;
- [DebuggerNonUserCode]
- public DataColumn Name_TelephoneColumn => columnName_Telephone;
- [DebuggerNonUserCode]
- public DataColumn No_TelephoneColumn => columnNo_Telephone;
- [DebuggerNonUserCode]
- public DataColumn Focus_TelephoneColumn => columnFocus_Telephone;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public TelephoneRow this[int index] => (TelephoneRow)base.Rows[index];
- public event TelephoneRowChangeEventHandler TelephoneRowChanging;
- public event TelephoneRowChangeEventHandler TelephoneRowChanged;
- public event TelephoneRowChangeEventHandler TelephoneRowDeleting;
- public event TelephoneRowChangeEventHandler TelephoneRowDeleted;
- [DebuggerNonUserCode]
- public TelephoneDataTable()
- {
- base.TableName = "Telephone";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal TelephoneDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected TelephoneDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddTelephoneRow(TelephoneRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public TelephoneRow AddTelephoneRow(string Name_Telephone, string No_Telephone, bool Focus_Telephone)
- {
- TelephoneRow telephoneRow = (TelephoneRow)NewRow();
- telephoneRow.ItemArray = new object[3]
- {
- Name_Telephone,
- No_Telephone,
- Focus_Telephone
- };
- base.Rows.Add(telephoneRow);
- return telephoneRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- TelephoneDataTable telephoneDataTable = (TelephoneDataTable)base.Clone();
- telephoneDataTable.InitVars();
- return telephoneDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new TelephoneDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnName_Telephone = base.Columns["Name_Telephone"];
- columnNo_Telephone = base.Columns["No_Telephone"];
- columnFocus_Telephone = base.Columns["Focus_Telephone"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnName_Telephone = new DataColumn("Name_Telephone", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Telephone);
- columnNo_Telephone = new DataColumn("No_Telephone", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Telephone);
- columnFocus_Telephone = new DataColumn("Focus_Telephone", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnFocus_Telephone);
- }
- [DebuggerNonUserCode]
- public TelephoneRow NewTelephoneRow()
- {
- return (TelephoneRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new TelephoneRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(TelephoneRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.TelephoneRowChanged != null)
- {
- this.TelephoneRowChanged(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.TelephoneRowChanging != null)
- {
- this.TelephoneRowChanging(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.TelephoneRowDeleted != null)
- {
- this.TelephoneRowDeleted(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.TelephoneRowDeleting != null)
- {
- this.TelephoneRowDeleting(this, new TelephoneRowChangeEvent((TelephoneRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveTelephoneRow(TelephoneRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "TelephoneDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class CustomerDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_Customer;
- private DataColumn columnShortName_Customer;
- private DataColumn columnName_Customer;
- private DataColumn columnRegistedAddress_Customer;
- private DataColumn columnCountry_Customer;
- private DataColumn columnPostalCode_Customer;
- private DataColumn columnType_Customer;
- private DataColumn columnIsGeneric_Customer;
- private DataColumn columnPayLimitCurrency;
- private DataColumn columnPayLimit_Customer;
- private DataColumn columnGetMethod_Customer;
- private DataColumn columnCreateDate_Customer;
- private DataColumn columnSendAddr_Customer;
- private DataColumn columnComment_Customer;
- private DataColumn columnIndustry_Customer;
- private DataColumn columnZone_Customer;
- private DataColumn columnSource_Customer;
- private DataColumn columnLevel_Customer;
- private DataColumn columnBank_Customer;
- private DataColumn columnAccount_Customer;
- private DataColumn columnRevenueRegisterNo_Customer;
- private DataColumn columnLastDiscount_Customer;
- private DataColumn columnSuspendDate_Customer;
- private DataColumn columnToGetBalance_Customer;
- private DataColumn columnPrePayBalance_Customer;
- private DataColumn columnLastTax_Customer;
- private DataColumn columnLastModDate_Customer;
- private DataColumn columnCreatorName_Customer;
- private DataColumn columnLastModUser;
- private DataColumn columnCountryName;
- [DebuggerNonUserCode]
- public DataColumn No_CustomerColumn => columnNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn ShortName_CustomerColumn => columnShortName_Customer;
- [DebuggerNonUserCode]
- public DataColumn Name_CustomerColumn => columnName_Customer;
- [DebuggerNonUserCode]
- public DataColumn RegistedAddress_CustomerColumn => columnRegistedAddress_Customer;
- [DebuggerNonUserCode]
- public DataColumn Country_CustomerColumn => columnCountry_Customer;
- [DebuggerNonUserCode]
- public DataColumn PostalCode_CustomerColumn => columnPostalCode_Customer;
- [DebuggerNonUserCode]
- public DataColumn Type_CustomerColumn => columnType_Customer;
- [DebuggerNonUserCode]
- public DataColumn IsGeneric_CustomerColumn => columnIsGeneric_Customer;
- [DebuggerNonUserCode]
- public DataColumn PayLimitCurrencyColumn => columnPayLimitCurrency;
- [DebuggerNonUserCode]
- public DataColumn PayLimit_CustomerColumn => columnPayLimit_Customer;
- [DebuggerNonUserCode]
- public DataColumn GetMethod_CustomerColumn => columnGetMethod_Customer;
- [DebuggerNonUserCode]
- public DataColumn CreateDate_CustomerColumn => columnCreateDate_Customer;
- [DebuggerNonUserCode]
- public DataColumn SendAddr_CustomerColumn => columnSendAddr_Customer;
- [DebuggerNonUserCode]
- public DataColumn Comment_CustomerColumn => columnComment_Customer;
- [DebuggerNonUserCode]
- public DataColumn Industry_CustomerColumn => columnIndustry_Customer;
- [DebuggerNonUserCode]
- public DataColumn Zone_CustomerColumn => columnZone_Customer;
- [DebuggerNonUserCode]
- public DataColumn Source_CustomerColumn => columnSource_Customer;
- [DebuggerNonUserCode]
- public DataColumn Level_CustomerColumn => columnLevel_Customer;
- [DebuggerNonUserCode]
- public DataColumn Bank_CustomerColumn => columnBank_Customer;
- [DebuggerNonUserCode]
- public DataColumn Account_CustomerColumn => columnAccount_Customer;
- [DebuggerNonUserCode]
- public DataColumn RevenueRegisterNo_CustomerColumn => columnRevenueRegisterNo_Customer;
- [DebuggerNonUserCode]
- public DataColumn LastDiscount_CustomerColumn => columnLastDiscount_Customer;
- [DebuggerNonUserCode]
- public DataColumn SuspendDate_CustomerColumn => columnSuspendDate_Customer;
- [DebuggerNonUserCode]
- public DataColumn ToGetBalance_CustomerColumn => columnToGetBalance_Customer;
- [DebuggerNonUserCode]
- public DataColumn PrePayBalance_CustomerColumn => columnPrePayBalance_Customer;
- [DebuggerNonUserCode]
- public DataColumn LastTax_CustomerColumn => columnLastTax_Customer;
- [DebuggerNonUserCode]
- public DataColumn LastModDate_CustomerColumn => columnLastModDate_Customer;
- [DebuggerNonUserCode]
- public DataColumn CreatorName_CustomerColumn => columnCreatorName_Customer;
- [DebuggerNonUserCode]
- public DataColumn LastModUserColumn => columnLastModUser;
- [DebuggerNonUserCode]
- public DataColumn CountryNameColumn => columnCountryName;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public CustomerRow this[int index] => (CustomerRow)base.Rows[index];
- public event CustomerRowChangeEventHandler CustomerRowChanging;
- public event CustomerRowChangeEventHandler CustomerRowChanged;
- public event CustomerRowChangeEventHandler CustomerRowDeleting;
- public event CustomerRowChangeEventHandler CustomerRowDeleted;
- [DebuggerNonUserCode]
- public CustomerDataTable()
- {
- base.TableName = "Customer";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal CustomerDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected CustomerDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddCustomerRow(CustomerRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- 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)
- {
- CustomerRow customerRow = (CustomerRow)NewRow();
- customerRow.ItemArray = new object[30]
- {
- No_Customer,
- ShortName_Customer,
- Name_Customer,
- RegistedAddress_Customer,
- Country_Customer,
- PostalCode_Customer,
- Type_Customer,
- IsGeneric_Customer,
- PayLimitCurrency,
- PayLimit_Customer,
- GetMethod_Customer,
- CreateDate_Customer,
- SendAddr_Customer,
- Comment_Customer,
- Industry_Customer,
- Zone_Customer,
- Source_Customer,
- Level_Customer,
- Bank_Customer,
- Account_Customer,
- RevenueRegisterNo_Customer,
- LastDiscount_Customer,
- SuspendDate_Customer,
- ToGetBalance_Customer,
- PrePayBalance_Customer,
- LastTax_Customer,
- LastModDate_Customer,
- CreatorName_Customer,
- LastModUser,
- CountryName
- };
- base.Rows.Add(customerRow);
- return customerRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- CustomerDataTable customerDataTable = (CustomerDataTable)base.Clone();
- customerDataTable.InitVars();
- return customerDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new CustomerDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_Customer = base.Columns["No_Customer"];
- columnShortName_Customer = base.Columns["ShortName_Customer"];
- columnName_Customer = base.Columns["Name_Customer"];
- columnRegistedAddress_Customer = base.Columns["RegistedAddress_Customer"];
- columnCountry_Customer = base.Columns["Country_Customer"];
- columnPostalCode_Customer = base.Columns["PostalCode_Customer"];
- columnType_Customer = base.Columns["Type_Customer"];
- columnIsGeneric_Customer = base.Columns["IsGeneric_Customer"];
- columnPayLimitCurrency = base.Columns["PayLimitCurrency"];
- columnPayLimit_Customer = base.Columns["PayLimit_Customer"];
- columnGetMethod_Customer = base.Columns["GetMethod_Customer"];
- columnCreateDate_Customer = base.Columns["CreateDate_Customer"];
- columnSendAddr_Customer = base.Columns["SendAddr_Customer"];
- columnComment_Customer = base.Columns["Comment_Customer"];
- columnIndustry_Customer = base.Columns["Industry_Customer"];
- columnZone_Customer = base.Columns["Zone_Customer"];
- columnSource_Customer = base.Columns["Source_Customer"];
- columnLevel_Customer = base.Columns["Level_Customer"];
- columnBank_Customer = base.Columns["Bank_Customer"];
- columnAccount_Customer = base.Columns["Account_Customer"];
- columnRevenueRegisterNo_Customer = base.Columns["RevenueRegisterNo_Customer"];
- columnLastDiscount_Customer = base.Columns["LastDiscount_Customer"];
- columnSuspendDate_Customer = base.Columns["SuspendDate_Customer"];
- columnToGetBalance_Customer = base.Columns["ToGetBalance_Customer"];
- columnPrePayBalance_Customer = base.Columns["PrePayBalance_Customer"];
- columnLastTax_Customer = base.Columns["LastTax_Customer"];
- columnLastModDate_Customer = base.Columns["LastModDate_Customer"];
- columnCreatorName_Customer = base.Columns["CreatorName_Customer"];
- columnLastModUser = base.Columns["LastModUser"];
- columnCountryName = base.Columns["CountryName"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_Customer = new DataColumn("No_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Customer);
- columnShortName_Customer = new DataColumn("ShortName_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnShortName_Customer);
- columnName_Customer = new DataColumn("Name_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Customer);
- columnRegistedAddress_Customer = new DataColumn("RegistedAddress_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnRegistedAddress_Customer);
- columnCountry_Customer = new DataColumn("Country_Customer", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnCountry_Customer);
- columnPostalCode_Customer = new DataColumn("PostalCode_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPostalCode_Customer);
- columnType_Customer = new DataColumn("Type_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnType_Customer);
- columnIsGeneric_Customer = new DataColumn("IsGeneric_Customer", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsGeneric_Customer);
- columnPayLimitCurrency = new DataColumn("PayLimitCurrency", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPayLimitCurrency);
- columnPayLimit_Customer = new DataColumn("PayLimit_Customer", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnPayLimit_Customer);
- columnGetMethod_Customer = new DataColumn("GetMethod_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnGetMethod_Customer);
- columnCreateDate_Customer = new DataColumn("CreateDate_Customer", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate_Customer);
- columnSendAddr_Customer = new DataColumn("SendAddr_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnSendAddr_Customer);
- columnComment_Customer = new DataColumn("Comment_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Customer);
- columnIndustry_Customer = new DataColumn("Industry_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnIndustry_Customer);
- columnZone_Customer = new DataColumn("Zone_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnZone_Customer);
- columnSource_Customer = new DataColumn("Source_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnSource_Customer);
- columnLevel_Customer = new DataColumn("Level_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnLevel_Customer);
- columnBank_Customer = new DataColumn("Bank_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnBank_Customer);
- columnAccount_Customer = new DataColumn("Account_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnAccount_Customer);
- columnRevenueRegisterNo_Customer = new DataColumn("RevenueRegisterNo_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnRevenueRegisterNo_Customer);
- columnLastDiscount_Customer = new DataColumn("LastDiscount_Customer", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnLastDiscount_Customer);
- columnSuspendDate_Customer = new DataColumn("SuspendDate_Customer", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnSuspendDate_Customer);
- columnToGetBalance_Customer = new DataColumn("ToGetBalance_Customer", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnToGetBalance_Customer);
- columnPrePayBalance_Customer = new DataColumn("PrePayBalance_Customer", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnPrePayBalance_Customer);
- columnLastTax_Customer = new DataColumn("LastTax_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnLastTax_Customer);
- columnLastModDate_Customer = new DataColumn("LastModDate_Customer", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnLastModDate_Customer);
- columnCreatorName_Customer = new DataColumn("CreatorName_Customer", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCreatorName_Customer);
- columnLastModUser = new DataColumn("LastModUser", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnLastModUser);
- columnCountryName = new DataColumn("CountryName", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCountryName);
- }
- [DebuggerNonUserCode]
- public CustomerRow NewCustomerRow()
- {
- return (CustomerRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new CustomerRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(CustomerRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.CustomerRowChanged != null)
- {
- this.CustomerRowChanged(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.CustomerRowChanging != null)
- {
- this.CustomerRowChanging(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.CustomerRowDeleted != null)
- {
- this.CustomerRowDeleted(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.CustomerRowDeleting != null)
- {
- this.CustomerRowDeleting(this, new CustomerRowChangeEvent((CustomerRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveCustomerRow(CustomerRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "CustomerDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class EmployeeDataTable : DataTable, IEnumerable
- {
- private DataColumn columnNo_Employee;
- private DataColumn columnName_Employee;
- private DataColumn columnEmployeeNo_Employee;
- private DataColumn columnNameEng_Employee;
- private DataColumn columnGender_Employee;
- private DataColumn columnCountry_Employee;
- private DataColumn columnHomeplace_Employee;
- private DataColumn columnNation_Employee;
- private DataColumn columnIDNo_Employee;
- private DataColumn columnPassport_Employee;
- private DataColumn columnIsMarried_Employee;
- private DataColumn columnCreateDate_Employee;
- private DataColumn columnDuty_Employee;
- private DataColumn columnProbation_Employee;
- private DataColumn columnOnJobDate_Employee;
- private DataColumn columnOnDuty_Employee;
- private DataColumn columnObJobStatus_Employee;
- private DataColumn columnOffDuty_Employee;
- private DataColumn columnSuspendDate_Employee;
- private DataColumn columnTel_Employee;
- private DataColumn columnEMail_Employee;
- private DataColumn columnAddress_Employee;
- private DataColumn columnComment_Employee;
- private DataColumn columnLastModDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn No_EmployeeColumn => columnNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn Name_EmployeeColumn => columnName_Employee;
- [DebuggerNonUserCode]
- public DataColumn EmployeeNo_EmployeeColumn => columnEmployeeNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn NameEng_EmployeeColumn => columnNameEng_Employee;
- [DebuggerNonUserCode]
- public DataColumn Gender_EmployeeColumn => columnGender_Employee;
- [DebuggerNonUserCode]
- public DataColumn Country_EmployeeColumn => columnCountry_Employee;
- [DebuggerNonUserCode]
- public DataColumn Homeplace_EmployeeColumn => columnHomeplace_Employee;
- [DebuggerNonUserCode]
- public DataColumn Nation_EmployeeColumn => columnNation_Employee;
- [DebuggerNonUserCode]
- public DataColumn IDNo_EmployeeColumn => columnIDNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn Passport_EmployeeColumn => columnPassport_Employee;
- [DebuggerNonUserCode]
- public DataColumn IsMarried_EmployeeColumn => columnIsMarried_Employee;
- [DebuggerNonUserCode]
- public DataColumn CreateDate_EmployeeColumn => columnCreateDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn Duty_EmployeeColumn => columnDuty_Employee;
- [DebuggerNonUserCode]
- public DataColumn Probation_EmployeeColumn => columnProbation_Employee;
- [DebuggerNonUserCode]
- public DataColumn OnJobDate_EmployeeColumn => columnOnJobDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn OnDuty_EmployeeColumn => columnOnDuty_Employee;
- [DebuggerNonUserCode]
- public DataColumn ObJobStatus_EmployeeColumn => columnObJobStatus_Employee;
- [DebuggerNonUserCode]
- public DataColumn OffDuty_EmployeeColumn => columnOffDuty_Employee;
- [DebuggerNonUserCode]
- public DataColumn SuspendDate_EmployeeColumn => columnSuspendDate_Employee;
- [DebuggerNonUserCode]
- public DataColumn Tel_EmployeeColumn => columnTel_Employee;
- [DebuggerNonUserCode]
- public DataColumn EMail_EmployeeColumn => columnEMail_Employee;
- [DebuggerNonUserCode]
- public DataColumn Address_EmployeeColumn => columnAddress_Employee;
- [DebuggerNonUserCode]
- public DataColumn Comment_EmployeeColumn => columnComment_Employee;
- [DebuggerNonUserCode]
- public DataColumn LastModDate_EmployeeColumn => columnLastModDate_Employee;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public EmployeeRow this[int index] => (EmployeeRow)base.Rows[index];
- public event EmployeeRowChangeEventHandler EmployeeRowChanging;
- public event EmployeeRowChangeEventHandler EmployeeRowChanged;
- public event EmployeeRowChangeEventHandler EmployeeRowDeleting;
- public event EmployeeRowChangeEventHandler EmployeeRowDeleted;
- [DebuggerNonUserCode]
- public EmployeeDataTable()
- {
- base.TableName = "Employee";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal EmployeeDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected EmployeeDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddEmployeeRow(EmployeeRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public EmployeeRow AddEmployeeRow(string No_Employee, string Name_Employee, string EmployeeNo_Employee, string NameEng_Employee, bool Gender_Employee, int Country_Employee, string Homeplace_Employee, string Nation_Employee, string IDNo_Employee, string Passport_Employee, bool IsMarried_Employee, DateTime CreateDate_Employee, string Duty_Employee, decimal Probation_Employee, DateTime OnJobDate_Employee, DateTime OnDuty_Employee, int ObJobStatus_Employee, DateTime OffDuty_Employee, DateTime SuspendDate_Employee, string Tel_Employee, string EMail_Employee, string Address_Employee, string Comment_Employee, DateTime LastModDate_Employee)
- {
- EmployeeRow employeeRow = (EmployeeRow)NewRow();
- employeeRow.ItemArray = new object[24]
- {
- No_Employee,
- Name_Employee,
- EmployeeNo_Employee,
- NameEng_Employee,
- Gender_Employee,
- Country_Employee,
- Homeplace_Employee,
- Nation_Employee,
- IDNo_Employee,
- Passport_Employee,
- IsMarried_Employee,
- CreateDate_Employee,
- Duty_Employee,
- Probation_Employee,
- OnJobDate_Employee,
- OnDuty_Employee,
- ObJobStatus_Employee,
- OffDuty_Employee,
- SuspendDate_Employee,
- Tel_Employee,
- EMail_Employee,
- Address_Employee,
- Comment_Employee,
- LastModDate_Employee
- };
- base.Rows.Add(employeeRow);
- return employeeRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- EmployeeDataTable employeeDataTable = (EmployeeDataTable)base.Clone();
- employeeDataTable.InitVars();
- return employeeDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new EmployeeDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnNo_Employee = base.Columns["No_Employee"];
- columnName_Employee = base.Columns["Name_Employee"];
- columnEmployeeNo_Employee = base.Columns["EmployeeNo_Employee"];
- columnNameEng_Employee = base.Columns["NameEng_Employee"];
- columnGender_Employee = base.Columns["Gender_Employee"];
- columnCountry_Employee = base.Columns["Country_Employee"];
- columnHomeplace_Employee = base.Columns["Homeplace_Employee"];
- columnNation_Employee = base.Columns["Nation_Employee"];
- columnIDNo_Employee = base.Columns["IDNo_Employee"];
- columnPassport_Employee = base.Columns["Passport_Employee"];
- columnIsMarried_Employee = base.Columns["IsMarried_Employee"];
- columnCreateDate_Employee = base.Columns["CreateDate_Employee"];
- columnDuty_Employee = base.Columns["Duty_Employee"];
- columnProbation_Employee = base.Columns["Probation_Employee"];
- columnOnJobDate_Employee = base.Columns["OnJobDate_Employee"];
- columnOnDuty_Employee = base.Columns["OnDuty_Employee"];
- columnObJobStatus_Employee = base.Columns["ObJobStatus_Employee"];
- columnOffDuty_Employee = base.Columns["OffDuty_Employee"];
- columnSuspendDate_Employee = base.Columns["SuspendDate_Employee"];
- columnTel_Employee = base.Columns["Tel_Employee"];
- columnEMail_Employee = base.Columns["EMail_Employee"];
- columnAddress_Employee = base.Columns["Address_Employee"];
- columnComment_Employee = base.Columns["Comment_Employee"];
- columnLastModDate_Employee = base.Columns["LastModDate_Employee"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Employee);
- columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Employee);
- columnEmployeeNo_Employee = new DataColumn("EmployeeNo_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEmployeeNo_Employee);
- columnNameEng_Employee = new DataColumn("NameEng_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNameEng_Employee);
- columnGender_Employee = new DataColumn("Gender_Employee", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnGender_Employee);
- columnCountry_Employee = new DataColumn("Country_Employee", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnCountry_Employee);
- columnHomeplace_Employee = new DataColumn("Homeplace_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnHomeplace_Employee);
- columnNation_Employee = new DataColumn("Nation_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNation_Employee);
- columnIDNo_Employee = new DataColumn("IDNo_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnIDNo_Employee);
- columnPassport_Employee = new DataColumn("Passport_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnPassport_Employee);
- columnIsMarried_Employee = new DataColumn("IsMarried_Employee", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsMarried_Employee);
- columnCreateDate_Employee = new DataColumn("CreateDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnCreateDate_Employee);
- columnDuty_Employee = new DataColumn("Duty_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnDuty_Employee);
- columnProbation_Employee = new DataColumn("Probation_Employee", typeof(decimal), null, MappingType.Element);
- base.Columns.Add(columnProbation_Employee);
- columnOnJobDate_Employee = new DataColumn("OnJobDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnOnJobDate_Employee);
- columnOnDuty_Employee = new DataColumn("OnDuty_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnOnDuty_Employee);
- columnObJobStatus_Employee = new DataColumn("ObJobStatus_Employee", typeof(int), null, MappingType.Element);
- base.Columns.Add(columnObJobStatus_Employee);
- columnOffDuty_Employee = new DataColumn("OffDuty_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnOffDuty_Employee);
- columnSuspendDate_Employee = new DataColumn("SuspendDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnSuspendDate_Employee);
- columnTel_Employee = new DataColumn("Tel_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTel_Employee);
- columnEMail_Employee = new DataColumn("EMail_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEMail_Employee);
- columnAddress_Employee = new DataColumn("Address_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnAddress_Employee);
- columnComment_Employee = new DataColumn("Comment_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Employee);
- columnLastModDate_Employee = new DataColumn("LastModDate_Employee", typeof(DateTime), null, MappingType.Element);
- base.Columns.Add(columnLastModDate_Employee);
- }
- [DebuggerNonUserCode]
- public EmployeeRow NewEmployeeRow()
- {
- return (EmployeeRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new EmployeeRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(EmployeeRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.EmployeeRowChanged != null)
- {
- this.EmployeeRowChanged(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.EmployeeRowChanging != null)
- {
- this.EmployeeRowChanging(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.EmployeeRowDeleted != null)
- {
- this.EmployeeRowDeleted(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.EmployeeRowDeleting != null)
- {
- this.EmployeeRowDeleting(this, new EmployeeRowChangeEvent((EmployeeRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveEmployeeRow(EmployeeRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "EmployeeDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class InvoiceDataTable : DataTable, IEnumerable
- {
- private DataColumn columnTitle_Invoice;
- private DataColumn columnAddress_Invoice;
- private DataColumn columnTel_Invoice;
- private DataColumn columnLinkman_Invoice;
- private DataColumn columnCommon_Invoice;
- private DataColumn columnComment_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Title_InvoiceColumn => columnTitle_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Address_InvoiceColumn => columnAddress_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Tel_InvoiceColumn => columnTel_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Linkman_InvoiceColumn => columnLinkman_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Common_InvoiceColumn => columnCommon_Invoice;
- [DebuggerNonUserCode]
- public DataColumn Comment_InvoiceColumn => columnComment_Invoice;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public InvoiceRow this[int index] => (InvoiceRow)base.Rows[index];
- public event InvoiceRowChangeEventHandler InvoiceRowChanging;
- public event InvoiceRowChangeEventHandler InvoiceRowChanged;
- public event InvoiceRowChangeEventHandler InvoiceRowDeleting;
- public event InvoiceRowChangeEventHandler InvoiceRowDeleted;
- [DebuggerNonUserCode]
- public InvoiceDataTable()
- {
- base.TableName = "Invoice";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal InvoiceDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected InvoiceDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddInvoiceRow(InvoiceRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public InvoiceRow AddInvoiceRow(string Title_Invoice, string Address_Invoice, string Tel_Invoice, string Linkman_Invoice, bool Common_Invoice, string Comment_Invoice)
- {
- InvoiceRow invoiceRow = (InvoiceRow)NewRow();
- invoiceRow.ItemArray = new object[6]
- {
- Title_Invoice,
- Address_Invoice,
- Tel_Invoice,
- Linkman_Invoice,
- Common_Invoice,
- Comment_Invoice
- };
- base.Rows.Add(invoiceRow);
- return invoiceRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- InvoiceDataTable invoiceDataTable = (InvoiceDataTable)base.Clone();
- invoiceDataTable.InitVars();
- return invoiceDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new InvoiceDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnTitle_Invoice = base.Columns["Title_Invoice"];
- columnAddress_Invoice = base.Columns["Address_Invoice"];
- columnTel_Invoice = base.Columns["Tel_Invoice"];
- columnLinkman_Invoice = base.Columns["Linkman_Invoice"];
- columnCommon_Invoice = base.Columns["Common_Invoice"];
- columnComment_Invoice = base.Columns["Comment_Invoice"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnTitle_Invoice = new DataColumn("Title_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTitle_Invoice);
- columnAddress_Invoice = new DataColumn("Address_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnAddress_Invoice);
- columnTel_Invoice = new DataColumn("Tel_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTel_Invoice);
- columnLinkman_Invoice = new DataColumn("Linkman_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnLinkman_Invoice);
- columnCommon_Invoice = new DataColumn("Common_Invoice", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnCommon_Invoice);
- columnComment_Invoice = new DataColumn("Comment_Invoice", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Invoice);
- }
- [DebuggerNonUserCode]
- public InvoiceRow NewInvoiceRow()
- {
- return (InvoiceRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new InvoiceRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(InvoiceRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.InvoiceRowChanged != null)
- {
- this.InvoiceRowChanged(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.InvoiceRowChanging != null)
- {
- this.InvoiceRowChanging(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.InvoiceRowDeleted != null)
- {
- this.InvoiceRowDeleted(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.InvoiceRowDeleting != null)
- {
- this.InvoiceRowDeleting(this, new InvoiceRowChangeEvent((InvoiceRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveInvoiceRow(InvoiceRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "InvoiceDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class PrincipalDataTable : DataTable, IEnumerable
- {
- private DataColumn columnIsMain_Principal;
- private DataColumn columnComment_Principal;
- private DataColumn columnName_Employee;
- private DataColumn columnNo_Employee;
- [DebuggerNonUserCode]
- public DataColumn IsMain_PrincipalColumn => columnIsMain_Principal;
- [DebuggerNonUserCode]
- public DataColumn Comment_PrincipalColumn => columnComment_Principal;
- [DebuggerNonUserCode]
- public DataColumn Name_EmployeeColumn => columnName_Employee;
- [DebuggerNonUserCode]
- public DataColumn No_EmployeeColumn => columnNo_Employee;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public PrincipalRow this[int index] => (PrincipalRow)base.Rows[index];
- public event PrincipalRowChangeEventHandler PrincipalRowChanging;
- public event PrincipalRowChangeEventHandler PrincipalRowChanged;
- public event PrincipalRowChangeEventHandler PrincipalRowDeleting;
- public event PrincipalRowChangeEventHandler PrincipalRowDeleted;
- [DebuggerNonUserCode]
- public PrincipalDataTable()
- {
- base.TableName = "Principal";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal PrincipalDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected PrincipalDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddPrincipalRow(PrincipalRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public PrincipalRow AddPrincipalRow(bool IsMain_Principal, string Comment_Principal, string Name_Employee, string No_Employee)
- {
- PrincipalRow principalRow = (PrincipalRow)NewRow();
- principalRow.ItemArray = new object[4]
- {
- IsMain_Principal,
- Comment_Principal,
- Name_Employee,
- No_Employee
- };
- base.Rows.Add(principalRow);
- return principalRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- PrincipalDataTable principalDataTable = (PrincipalDataTable)base.Clone();
- principalDataTable.InitVars();
- return principalDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new PrincipalDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnIsMain_Principal = base.Columns["IsMain_Principal"];
- columnComment_Principal = base.Columns["Comment_Principal"];
- columnName_Employee = base.Columns["Name_Employee"];
- columnNo_Employee = base.Columns["No_Employee"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnIsMain_Principal = new DataColumn("IsMain_Principal", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsMain_Principal);
- columnComment_Principal = new DataColumn("Comment_Principal", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Principal);
- columnName_Employee = new DataColumn("Name_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Employee);
- columnNo_Employee = new DataColumn("No_Employee", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Employee);
- }
- [DebuggerNonUserCode]
- public PrincipalRow NewPrincipalRow()
- {
- return (PrincipalRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new PrincipalRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(PrincipalRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.PrincipalRowChanged != null)
- {
- this.PrincipalRowChanged(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.PrincipalRowChanging != null)
- {
- this.PrincipalRowChanging(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.PrincipalRowDeleted != null)
- {
- this.PrincipalRowDeleted(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.PrincipalRowDeleting != null)
- {
- this.PrincipalRowDeleting(this, new PrincipalRowChangeEvent((PrincipalRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemovePrincipalRow(PrincipalRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "PrincipalDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [XmlSchemaProvider("GetTypedTableSchema")]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class LinkmanDataTable : DataTable, IEnumerable
- {
- private DataColumn columnName_Linkman;
- private DataColumn columnDepartment_Linkman;
- private DataColumn columnDuty_Linkman;
- private DataColumn columnTel_Linkman;
- private DataColumn columnFax_Linkman;
- private DataColumn columnMobile_Linkman;
- private DataColumn columnEmail_Linkman;
- private DataColumn columnIsMain_Linkman;
- private DataColumn columnComment_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Name_LinkmanColumn => columnName_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Department_LinkmanColumn => columnDepartment_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Duty_LinkmanColumn => columnDuty_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Tel_LinkmanColumn => columnTel_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Fax_LinkmanColumn => columnFax_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Mobile_LinkmanColumn => columnMobile_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Email_LinkmanColumn => columnEmail_Linkman;
- [DebuggerNonUserCode]
- public DataColumn IsMain_LinkmanColumn => columnIsMain_Linkman;
- [DebuggerNonUserCode]
- public DataColumn Comment_LinkmanColumn => columnComment_Linkman;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public LinkmanRow this[int index] => (LinkmanRow)base.Rows[index];
- public event LinkmanRowChangeEventHandler LinkmanRowChanging;
- public event LinkmanRowChangeEventHandler LinkmanRowChanged;
- public event LinkmanRowChangeEventHandler LinkmanRowDeleting;
- public event LinkmanRowChangeEventHandler LinkmanRowDeleted;
- [DebuggerNonUserCode]
- public LinkmanDataTable()
- {
- base.TableName = "Linkman";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal LinkmanDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected LinkmanDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddLinkmanRow(LinkmanRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public LinkmanRow AddLinkmanRow(string Name_Linkman, string Department_Linkman, string Duty_Linkman, string Tel_Linkman, string Fax_Linkman, string Mobile_Linkman, string Email_Linkman, bool IsMain_Linkman, string Comment_Linkman)
- {
- LinkmanRow linkmanRow = (LinkmanRow)NewRow();
- linkmanRow.ItemArray = new object[9]
- {
- Name_Linkman,
- Department_Linkman,
- Duty_Linkman,
- Tel_Linkman,
- Fax_Linkman,
- Mobile_Linkman,
- Email_Linkman,
- IsMain_Linkman,
- Comment_Linkman
- };
- base.Rows.Add(linkmanRow);
- return linkmanRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- LinkmanDataTable linkmanDataTable = (LinkmanDataTable)base.Clone();
- linkmanDataTable.InitVars();
- return linkmanDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new LinkmanDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnName_Linkman = base.Columns["Name_Linkman"];
- columnDepartment_Linkman = base.Columns["Department_Linkman"];
- columnDuty_Linkman = base.Columns["Duty_Linkman"];
- columnTel_Linkman = base.Columns["Tel_Linkman"];
- columnFax_Linkman = base.Columns["Fax_Linkman"];
- columnMobile_Linkman = base.Columns["Mobile_Linkman"];
- columnEmail_Linkman = base.Columns["Email_Linkman"];
- columnIsMain_Linkman = base.Columns["IsMain_Linkman"];
- columnComment_Linkman = base.Columns["Comment_Linkman"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnName_Linkman = new DataColumn("Name_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Linkman);
- columnDepartment_Linkman = new DataColumn("Department_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnDepartment_Linkman);
- columnDuty_Linkman = new DataColumn("Duty_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnDuty_Linkman);
- columnTel_Linkman = new DataColumn("Tel_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnTel_Linkman);
- columnFax_Linkman = new DataColumn("Fax_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnFax_Linkman);
- columnMobile_Linkman = new DataColumn("Mobile_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnMobile_Linkman);
- columnEmail_Linkman = new DataColumn("Email_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnEmail_Linkman);
- columnIsMain_Linkman = new DataColumn("IsMain_Linkman", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnIsMain_Linkman);
- columnComment_Linkman = new DataColumn("Comment_Linkman", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnComment_Linkman);
- }
- [DebuggerNonUserCode]
- public LinkmanRow NewLinkmanRow()
- {
- return (LinkmanRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new LinkmanRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(LinkmanRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.LinkmanRowChanged != null)
- {
- this.LinkmanRowChanged(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.LinkmanRowChanging != null)
- {
- this.LinkmanRowChanging(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.LinkmanRowDeleted != null)
- {
- this.LinkmanRowDeleted(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.LinkmanRowDeleting != null)
- {
- this.LinkmanRowDeleting(this, new LinkmanRowChangeEvent((LinkmanRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveLinkmanRow(LinkmanRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "LinkmanDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class FaxDataTable : DataTable, IEnumerable
- {
- private DataColumn columnName_Fax;
- private DataColumn columnNo_Fax;
- private DataColumn columnFocus_Fax;
- [DebuggerNonUserCode]
- public DataColumn Name_FaxColumn => columnName_Fax;
- [DebuggerNonUserCode]
- public DataColumn No_FaxColumn => columnNo_Fax;
- [DebuggerNonUserCode]
- public DataColumn Focus_FaxColumn => columnFocus_Fax;
- [Browsable(false)]
- [DebuggerNonUserCode]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public FaxRow this[int index] => (FaxRow)base.Rows[index];
- public event FaxRowChangeEventHandler FaxRowChanging;
- public event FaxRowChangeEventHandler FaxRowChanged;
- public event FaxRowChangeEventHandler FaxRowDeleting;
- public event FaxRowChangeEventHandler FaxRowDeleted;
- [DebuggerNonUserCode]
- public FaxDataTable()
- {
- base.TableName = "Fax";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal FaxDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected FaxDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddFaxRow(FaxRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public FaxRow AddFaxRow(string Name_Fax, string No_Fax, bool Focus_Fax)
- {
- FaxRow faxRow = (FaxRow)NewRow();
- faxRow.ItemArray = new object[3]
- {
- Name_Fax,
- No_Fax,
- Focus_Fax
- };
- base.Rows.Add(faxRow);
- return faxRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- FaxDataTable faxDataTable = (FaxDataTable)base.Clone();
- faxDataTable.InitVars();
- return faxDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new FaxDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnName_Fax = base.Columns["Name_Fax"];
- columnNo_Fax = base.Columns["No_Fax"];
- columnFocus_Fax = base.Columns["Focus_Fax"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnName_Fax = new DataColumn("Name_Fax", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnName_Fax);
- columnNo_Fax = new DataColumn("No_Fax", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnNo_Fax);
- columnFocus_Fax = new DataColumn("Focus_Fax", typeof(bool), null, MappingType.Element);
- base.Columns.Add(columnFocus_Fax);
- }
- [DebuggerNonUserCode]
- public FaxRow NewFaxRow()
- {
- return (FaxRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new FaxRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(FaxRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.FaxRowChanged != null)
- {
- this.FaxRowChanged(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.FaxRowChanging != null)
- {
- this.FaxRowChanging(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.FaxRowDeleted != null)
- {
- this.FaxRowDeleted(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.FaxRowDeleting != null)
- {
- this.FaxRowDeleting(this, new FaxRowChangeEvent((FaxRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveFaxRow(FaxRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "FaxDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [Serializable]
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- [XmlSchemaProvider("GetTypedTableSchema")]
- public class AppendInfoDataTable : DataTable, IEnumerable
- {
- private DataColumn columnCurrentCompany;
- private DataColumn columnCurrentUser;
- [DebuggerNonUserCode]
- public DataColumn CurrentCompanyColumn => columnCurrentCompany;
- [DebuggerNonUserCode]
- public DataColumn CurrentUserColumn => columnCurrentUser;
- [DebuggerNonUserCode]
- [Browsable(false)]
- public int Count => base.Rows.Count;
- [DebuggerNonUserCode]
- public AppendInfoRow this[int index] => (AppendInfoRow)base.Rows[index];
- public event AppendInfoRowChangeEventHandler AppendInfoRowChanging;
- public event AppendInfoRowChangeEventHandler AppendInfoRowChanged;
- public event AppendInfoRowChangeEventHandler AppendInfoRowDeleting;
- public event AppendInfoRowChangeEventHandler AppendInfoRowDeleted;
- [DebuggerNonUserCode]
- public AppendInfoDataTable()
- {
- base.TableName = "AppendInfo";
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- internal AppendInfoDataTable(DataTable table)
- {
- base.TableName = table.TableName;
- if (table.CaseSensitive != table.DataSet.CaseSensitive)
- {
- base.CaseSensitive = table.CaseSensitive;
- }
- if (table.Locale.ToString() != table.DataSet.Locale.ToString())
- {
- base.Locale = table.Locale;
- }
- if (table.Namespace != table.DataSet.Namespace)
- {
- base.Namespace = table.Namespace;
- }
- base.Prefix = table.Prefix;
- base.MinimumCapacity = table.MinimumCapacity;
- }
- [DebuggerNonUserCode]
- protected AppendInfoDataTable(SerializationInfo info, StreamingContext context)
- : base(info, context)
- {
- InitVars();
- }
- [DebuggerNonUserCode]
- public void AddAppendInfoRow(AppendInfoRow row)
- {
- base.Rows.Add(row);
- }
- [DebuggerNonUserCode]
- public AppendInfoRow AddAppendInfoRow(string CurrentCompany, string CurrentUser)
- {
- AppendInfoRow appendInfoRow = (AppendInfoRow)NewRow();
- appendInfoRow.ItemArray = new object[2]
- {
- CurrentCompany,
- CurrentUser
- };
- base.Rows.Add(appendInfoRow);
- return appendInfoRow;
- }
- [DebuggerNonUserCode]
- public virtual IEnumerator GetEnumerator()
- {
- return base.Rows.GetEnumerator();
- }
- [DebuggerNonUserCode]
- public override DataTable Clone()
- {
- AppendInfoDataTable appendInfoDataTable = (AppendInfoDataTable)base.Clone();
- appendInfoDataTable.InitVars();
- return appendInfoDataTable;
- }
- [DebuggerNonUserCode]
- protected override DataTable CreateInstance()
- {
- return new AppendInfoDataTable();
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- columnCurrentCompany = base.Columns["CurrentCompany"];
- columnCurrentUser = base.Columns["CurrentUser"];
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- columnCurrentCompany = new DataColumn("CurrentCompany", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrentCompany);
- columnCurrentUser = new DataColumn("CurrentUser", typeof(string), null, MappingType.Element);
- base.Columns.Add(columnCurrentUser);
- }
- [DebuggerNonUserCode]
- public AppendInfoRow NewAppendInfoRow()
- {
- return (AppendInfoRow)NewRow();
- }
- [DebuggerNonUserCode]
- protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
- {
- return new AppendInfoRow(builder);
- }
- [DebuggerNonUserCode]
- protected override Type GetRowType()
- {
- return typeof(AppendInfoRow);
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanged(DataRowChangeEventArgs e)
- {
- base.OnRowChanged(e);
- if (this.AppendInfoRowChanged != null)
- {
- this.AppendInfoRowChanged(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowChanging(DataRowChangeEventArgs e)
- {
- base.OnRowChanging(e);
- if (this.AppendInfoRowChanging != null)
- {
- this.AppendInfoRowChanging(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleted(DataRowChangeEventArgs e)
- {
- base.OnRowDeleted(e);
- if (this.AppendInfoRowDeleted != null)
- {
- this.AppendInfoRowDeleted(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- protected override void OnRowDeleting(DataRowChangeEventArgs e)
- {
- base.OnRowDeleting(e);
- if (this.AppendInfoRowDeleting != null)
- {
- this.AppendInfoRowDeleting(this, new AppendInfoRowChangeEvent((AppendInfoRow)e.Row, e.Action));
- }
- }
- [DebuggerNonUserCode]
- public void RemoveAppendInfoRow(AppendInfoRow row)
- {
- base.Rows.Remove(row);
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
- {
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = "http://www.w3.org/2001/XMLSchema";
- xmlSchemaAny.MinOccurs = 0m;
- xmlSchemaAny.MaxOccurs = decimal.MaxValue;
- xmlSchemaAny.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- XmlSchemaAny xmlSchemaAny2 = new XmlSchemaAny();
- xmlSchemaAny2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
- xmlSchemaAny2.MinOccurs = 1m;
- xmlSchemaAny2.ProcessContents = XmlSchemaContentProcessing.Lax;
- xmlSchemaSequence.Items.Add(xmlSchemaAny2);
- XmlSchemaAttribute xmlSchemaAttribute = new XmlSchemaAttribute();
- xmlSchemaAttribute.Name = "namespace";
- xmlSchemaAttribute.FixedValue = dsFrmCustomer.Namespace;
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute);
- XmlSchemaAttribute xmlSchemaAttribute2 = new XmlSchemaAttribute();
- xmlSchemaAttribute2.Name = "tableTypeName";
- xmlSchemaAttribute2.FixedValue = "AppendInfoDataTable";
- xmlSchemaComplexType.Attributes.Add(xmlSchemaAttribute2);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class TelephoneRow : DataRow
- {
- private TelephoneDataTable tableTelephone;
- [DebuggerNonUserCode]
- public string Name_Telephone
- {
- get
- {
- try
- {
- return (string)base[tableTelephone.Name_TelephoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Telephone' in table 'Telephone' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableTelephone.Name_TelephoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Telephone
- {
- get
- {
- try
- {
- return (string)base[tableTelephone.No_TelephoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Telephone' in table 'Telephone' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableTelephone.No_TelephoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Focus_Telephone
- {
- get
- {
- try
- {
- return (bool)base[tableTelephone.Focus_TelephoneColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Focus_Telephone' in table 'Telephone' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableTelephone.Focus_TelephoneColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal TelephoneRow(DataRowBuilder rb)
- : base(rb)
- {
- tableTelephone = (TelephoneDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsName_TelephoneNull()
- {
- return IsNull(tableTelephone.Name_TelephoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_TelephoneNull()
- {
- base[tableTelephone.Name_TelephoneColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_TelephoneNull()
- {
- return IsNull(tableTelephone.No_TelephoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_TelephoneNull()
- {
- base[tableTelephone.No_TelephoneColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsFocus_TelephoneNull()
- {
- return IsNull(tableTelephone.Focus_TelephoneColumn);
- }
- [DebuggerNonUserCode]
- public void SetFocus_TelephoneNull()
- {
- base[tableTelephone.Focus_TelephoneColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class CustomerRow : DataRow
- {
- private CustomerDataTable tableCustomer;
- [DebuggerNonUserCode]
- public string No_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.No_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.No_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string ShortName_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.ShortName_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ShortName_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.ShortName_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Name_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Name_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string RegistedAddress_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.RegistedAddress_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'RegistedAddress_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.RegistedAddress_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int Country_Customer
- {
- get
- {
- try
- {
- return (int)base[tableCustomer.Country_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Country_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Country_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string PostalCode_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.PostalCode_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'PostalCode_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.PostalCode_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Type_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Type_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Type_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Type_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool IsGeneric_Customer
- {
- get
- {
- try
- {
- return (bool)base[tableCustomer.IsGeneric_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsGeneric_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.IsGeneric_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string PayLimitCurrency
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.PayLimitCurrencyColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'PayLimitCurrency' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.PayLimitCurrencyColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal PayLimit_Customer
- {
- get
- {
- try
- {
- return (decimal)base[tableCustomer.PayLimit_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'PayLimit_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.PayLimit_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string GetMethod_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.GetMethod_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'GetMethod_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.GetMethod_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate_Customer
- {
- get
- {
- try
- {
- return (DateTime)base[tableCustomer.CreateDate_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.CreateDate_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string SendAddr_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.SendAddr_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SendAddr_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.SendAddr_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Comment_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Comment_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Industry_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Industry_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Industry_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Industry_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Zone_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Zone_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Zone_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Zone_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Source_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Source_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Source_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Source_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Level_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Level_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Level_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Level_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Bank_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Bank_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Bank_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Bank_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Account_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.Account_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Account_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.Account_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string RevenueRegisterNo_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.RevenueRegisterNo_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'RevenueRegisterNo_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.RevenueRegisterNo_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal LastDiscount_Customer
- {
- get
- {
- try
- {
- return (decimal)base[tableCustomer.LastDiscount_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastDiscount_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.LastDiscount_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime SuspendDate_Customer
- {
- get
- {
- try
- {
- return (DateTime)base[tableCustomer.SuspendDate_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SuspendDate_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.SuspendDate_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal ToGetBalance_Customer
- {
- get
- {
- try
- {
- return (decimal)base[tableCustomer.ToGetBalance_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ToGetBalance_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.ToGetBalance_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal PrePayBalance_Customer
- {
- get
- {
- try
- {
- return (decimal)base[tableCustomer.PrePayBalance_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'PrePayBalance_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.PrePayBalance_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string LastTax_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.LastTax_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastTax_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.LastTax_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime LastModDate_Customer
- {
- get
- {
- try
- {
- return (DateTime)base[tableCustomer.LastModDate_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModDate_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.LastModDate_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CreatorName_Customer
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.CreatorName_CustomerColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreatorName_Customer' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.CreatorName_CustomerColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string LastModUser
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.LastModUserColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModUser' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.LastModUserColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CountryName
- {
- get
- {
- try
- {
- return (string)base[tableCustomer.CountryNameColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CountryName' in table 'Customer' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableCustomer.CountryNameColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal CustomerRow(DataRowBuilder rb)
- : base(rb)
- {
- tableCustomer = (CustomerDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_CustomerNull()
- {
- return IsNull(tableCustomer.No_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_CustomerNull()
- {
- base[tableCustomer.No_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsShortName_CustomerNull()
- {
- return IsNull(tableCustomer.ShortName_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetShortName_CustomerNull()
- {
- base[tableCustomer.ShortName_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_CustomerNull()
- {
- return IsNull(tableCustomer.Name_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_CustomerNull()
- {
- base[tableCustomer.Name_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsRegistedAddress_CustomerNull()
- {
- return IsNull(tableCustomer.RegistedAddress_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetRegistedAddress_CustomerNull()
- {
- base[tableCustomer.RegistedAddress_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCountry_CustomerNull()
- {
- return IsNull(tableCustomer.Country_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetCountry_CustomerNull()
- {
- base[tableCustomer.Country_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPostalCode_CustomerNull()
- {
- return IsNull(tableCustomer.PostalCode_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetPostalCode_CustomerNull()
- {
- base[tableCustomer.PostalCode_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsType_CustomerNull()
- {
- return IsNull(tableCustomer.Type_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetType_CustomerNull()
- {
- base[tableCustomer.Type_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIsGeneric_CustomerNull()
- {
- return IsNull(tableCustomer.IsGeneric_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsGeneric_CustomerNull()
- {
- base[tableCustomer.IsGeneric_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPayLimitCurrencyNull()
- {
- return IsNull(tableCustomer.PayLimitCurrencyColumn);
- }
- [DebuggerNonUserCode]
- public void SetPayLimitCurrencyNull()
- {
- base[tableCustomer.PayLimitCurrencyColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPayLimit_CustomerNull()
- {
- return IsNull(tableCustomer.PayLimit_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetPayLimit_CustomerNull()
- {
- base[tableCustomer.PayLimit_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsGetMethod_CustomerNull()
- {
- return IsNull(tableCustomer.GetMethod_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetGetMethod_CustomerNull()
- {
- base[tableCustomer.GetMethod_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDate_CustomerNull()
- {
- return IsNull(tableCustomer.CreateDate_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDate_CustomerNull()
- {
- base[tableCustomer.CreateDate_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSendAddr_CustomerNull()
- {
- return IsNull(tableCustomer.SendAddr_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetSendAddr_CustomerNull()
- {
- base[tableCustomer.SendAddr_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_CustomerNull()
- {
- return IsNull(tableCustomer.Comment_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_CustomerNull()
- {
- base[tableCustomer.Comment_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIndustry_CustomerNull()
- {
- return IsNull(tableCustomer.Industry_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetIndustry_CustomerNull()
- {
- base[tableCustomer.Industry_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsZone_CustomerNull()
- {
- return IsNull(tableCustomer.Zone_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetZone_CustomerNull()
- {
- base[tableCustomer.Zone_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSource_CustomerNull()
- {
- return IsNull(tableCustomer.Source_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetSource_CustomerNull()
- {
- base[tableCustomer.Source_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLevel_CustomerNull()
- {
- return IsNull(tableCustomer.Level_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetLevel_CustomerNull()
- {
- base[tableCustomer.Level_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsBank_CustomerNull()
- {
- return IsNull(tableCustomer.Bank_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetBank_CustomerNull()
- {
- base[tableCustomer.Bank_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAccount_CustomerNull()
- {
- return IsNull(tableCustomer.Account_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetAccount_CustomerNull()
- {
- base[tableCustomer.Account_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsRevenueRegisterNo_CustomerNull()
- {
- return IsNull(tableCustomer.RevenueRegisterNo_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetRevenueRegisterNo_CustomerNull()
- {
- base[tableCustomer.RevenueRegisterNo_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastDiscount_CustomerNull()
- {
- return IsNull(tableCustomer.LastDiscount_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastDiscount_CustomerNull()
- {
- base[tableCustomer.LastDiscount_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSuspendDate_CustomerNull()
- {
- return IsNull(tableCustomer.SuspendDate_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetSuspendDate_CustomerNull()
- {
- base[tableCustomer.SuspendDate_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsToGetBalance_CustomerNull()
- {
- return IsNull(tableCustomer.ToGetBalance_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetToGetBalance_CustomerNull()
- {
- base[tableCustomer.ToGetBalance_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPrePayBalance_CustomerNull()
- {
- return IsNull(tableCustomer.PrePayBalance_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetPrePayBalance_CustomerNull()
- {
- base[tableCustomer.PrePayBalance_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastTax_CustomerNull()
- {
- return IsNull(tableCustomer.LastTax_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastTax_CustomerNull()
- {
- base[tableCustomer.LastTax_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModDate_CustomerNull()
- {
- return IsNull(tableCustomer.LastModDate_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModDate_CustomerNull()
- {
- base[tableCustomer.LastModDate_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreatorName_CustomerNull()
- {
- return IsNull(tableCustomer.CreatorName_CustomerColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreatorName_CustomerNull()
- {
- base[tableCustomer.CreatorName_CustomerColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModUserNull()
- {
- return IsNull(tableCustomer.LastModUserColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModUserNull()
- {
- base[tableCustomer.LastModUserColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCountryNameNull()
- {
- return IsNull(tableCustomer.CountryNameColumn);
- }
- [DebuggerNonUserCode]
- public void SetCountryNameNull()
- {
- base[tableCustomer.CountryNameColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class EmployeeRow : DataRow
- {
- private EmployeeDataTable tableEmployee;
- [DebuggerNonUserCode]
- public string No_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.No_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.No_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Name_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Name_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EmployeeNo_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.EmployeeNo_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EmployeeNo_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.EmployeeNo_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string NameEng_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.NameEng_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'NameEng_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.NameEng_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Gender_Employee
- {
- get
- {
- try
- {
- return (bool)base[tableEmployee.Gender_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Gender_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Gender_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int Country_Employee
- {
- get
- {
- try
- {
- return (int)base[tableEmployee.Country_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Country_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Country_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Homeplace_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Homeplace_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Homeplace_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Homeplace_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Nation_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Nation_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Nation_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Nation_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string IDNo_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.IDNo_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IDNo_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.IDNo_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Passport_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Passport_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Passport_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Passport_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool IsMarried_Employee
- {
- get
- {
- try
- {
- return (bool)base[tableEmployee.IsMarried_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsMarried_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.IsMarried_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime CreateDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.CreateDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CreateDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.CreateDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Duty_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Duty_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Duty_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Duty_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public decimal Probation_Employee
- {
- get
- {
- try
- {
- return (decimal)base[tableEmployee.Probation_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Probation_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Probation_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime OnJobDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.OnJobDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'OnJobDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.OnJobDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime OnDuty_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.OnDuty_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'OnDuty_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.OnDuty_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public int ObJobStatus_Employee
- {
- get
- {
- try
- {
- return (int)base[tableEmployee.ObJobStatus_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'ObJobStatus_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.ObJobStatus_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime OffDuty_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.OffDuty_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'OffDuty_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.OffDuty_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime SuspendDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.SuspendDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'SuspendDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.SuspendDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Tel_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Tel_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Tel_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Tel_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string EMail_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.EMail_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'EMail_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.EMail_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Address_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Address_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Address_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Address_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Employee
- {
- get
- {
- try
- {
- return (string)base[tableEmployee.Comment_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.Comment_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public DateTime LastModDate_Employee
- {
- get
- {
- try
- {
- return (DateTime)base[tableEmployee.LastModDate_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'LastModDate_Employee' in table 'Employee' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableEmployee.LastModDate_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal EmployeeRow(DataRowBuilder rb)
- : base(rb)
- {
- tableEmployee = (EmployeeDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsNo_EmployeeNull()
- {
- return IsNull(tableEmployee.No_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_EmployeeNull()
- {
- base[tableEmployee.No_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_EmployeeNull()
- {
- return IsNull(tableEmployee.Name_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_EmployeeNull()
- {
- base[tableEmployee.Name_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEmployeeNo_EmployeeNull()
- {
- return IsNull(tableEmployee.EmployeeNo_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetEmployeeNo_EmployeeNull()
- {
- base[tableEmployee.EmployeeNo_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNameEng_EmployeeNull()
- {
- return IsNull(tableEmployee.NameEng_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNameEng_EmployeeNull()
- {
- base[tableEmployee.NameEng_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsGender_EmployeeNull()
- {
- return IsNull(tableEmployee.Gender_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetGender_EmployeeNull()
- {
- base[tableEmployee.Gender_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCountry_EmployeeNull()
- {
- return IsNull(tableEmployee.Country_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetCountry_EmployeeNull()
- {
- base[tableEmployee.Country_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsHomeplace_EmployeeNull()
- {
- return IsNull(tableEmployee.Homeplace_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetHomeplace_EmployeeNull()
- {
- base[tableEmployee.Homeplace_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNation_EmployeeNull()
- {
- return IsNull(tableEmployee.Nation_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNation_EmployeeNull()
- {
- base[tableEmployee.Nation_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIDNo_EmployeeNull()
- {
- return IsNull(tableEmployee.IDNo_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetIDNo_EmployeeNull()
- {
- base[tableEmployee.IDNo_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsPassport_EmployeeNull()
- {
- return IsNull(tableEmployee.Passport_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetPassport_EmployeeNull()
- {
- base[tableEmployee.Passport_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIsMarried_EmployeeNull()
- {
- return IsNull(tableEmployee.IsMarried_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsMarried_EmployeeNull()
- {
- base[tableEmployee.IsMarried_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCreateDate_EmployeeNull()
- {
- return IsNull(tableEmployee.CreateDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetCreateDate_EmployeeNull()
- {
- base[tableEmployee.CreateDate_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDuty_EmployeeNull()
- {
- return IsNull(tableEmployee.Duty_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetDuty_EmployeeNull()
- {
- base[tableEmployee.Duty_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsProbation_EmployeeNull()
- {
- return IsNull(tableEmployee.Probation_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetProbation_EmployeeNull()
- {
- base[tableEmployee.Probation_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOnJobDate_EmployeeNull()
- {
- return IsNull(tableEmployee.OnJobDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetOnJobDate_EmployeeNull()
- {
- base[tableEmployee.OnJobDate_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOnDuty_EmployeeNull()
- {
- return IsNull(tableEmployee.OnDuty_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetOnDuty_EmployeeNull()
- {
- base[tableEmployee.OnDuty_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsObJobStatus_EmployeeNull()
- {
- return IsNull(tableEmployee.ObJobStatus_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetObJobStatus_EmployeeNull()
- {
- base[tableEmployee.ObJobStatus_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsOffDuty_EmployeeNull()
- {
- return IsNull(tableEmployee.OffDuty_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetOffDuty_EmployeeNull()
- {
- base[tableEmployee.OffDuty_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsSuspendDate_EmployeeNull()
- {
- return IsNull(tableEmployee.SuspendDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetSuspendDate_EmployeeNull()
- {
- base[tableEmployee.SuspendDate_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTel_EmployeeNull()
- {
- return IsNull(tableEmployee.Tel_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetTel_EmployeeNull()
- {
- base[tableEmployee.Tel_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEMail_EmployeeNull()
- {
- return IsNull(tableEmployee.EMail_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetEMail_EmployeeNull()
- {
- base[tableEmployee.EMail_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAddress_EmployeeNull()
- {
- return IsNull(tableEmployee.Address_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetAddress_EmployeeNull()
- {
- base[tableEmployee.Address_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_EmployeeNull()
- {
- return IsNull(tableEmployee.Comment_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_EmployeeNull()
- {
- base[tableEmployee.Comment_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLastModDate_EmployeeNull()
- {
- return IsNull(tableEmployee.LastModDate_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetLastModDate_EmployeeNull()
- {
- base[tableEmployee.LastModDate_EmployeeColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class InvoiceRow : DataRow
- {
- private InvoiceDataTable tableInvoice;
- [DebuggerNonUserCode]
- public string Title_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableInvoice.Title_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Title_Invoice' in table 'Invoice' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableInvoice.Title_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Address_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableInvoice.Address_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Address_Invoice' in table 'Invoice' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableInvoice.Address_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Tel_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableInvoice.Tel_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Tel_Invoice' in table 'Invoice' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableInvoice.Tel_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Linkman_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableInvoice.Linkman_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Linkman_Invoice' in table 'Invoice' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableInvoice.Linkman_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Common_Invoice
- {
- get
- {
- try
- {
- return (bool)base[tableInvoice.Common_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Common_Invoice' in table 'Invoice' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableInvoice.Common_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Invoice
- {
- get
- {
- try
- {
- return (string)base[tableInvoice.Comment_InvoiceColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Invoice' in table 'Invoice' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableInvoice.Comment_InvoiceColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal InvoiceRow(DataRowBuilder rb)
- : base(rb)
- {
- tableInvoice = (InvoiceDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsTitle_InvoiceNull()
- {
- return IsNull(tableInvoice.Title_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetTitle_InvoiceNull()
- {
- base[tableInvoice.Title_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsAddress_InvoiceNull()
- {
- return IsNull(tableInvoice.Address_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetAddress_InvoiceNull()
- {
- base[tableInvoice.Address_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTel_InvoiceNull()
- {
- return IsNull(tableInvoice.Tel_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetTel_InvoiceNull()
- {
- base[tableInvoice.Tel_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsLinkman_InvoiceNull()
- {
- return IsNull(tableInvoice.Linkman_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetLinkman_InvoiceNull()
- {
- base[tableInvoice.Linkman_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCommon_InvoiceNull()
- {
- return IsNull(tableInvoice.Common_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetCommon_InvoiceNull()
- {
- base[tableInvoice.Common_InvoiceColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_InvoiceNull()
- {
- return IsNull(tableInvoice.Comment_InvoiceColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_InvoiceNull()
- {
- base[tableInvoice.Comment_InvoiceColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PrincipalRow : DataRow
- {
- private PrincipalDataTable tablePrincipal;
- [DebuggerNonUserCode]
- public bool IsMain_Principal
- {
- get
- {
- try
- {
- return (bool)base[tablePrincipal.IsMain_PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsMain_Principal' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.IsMain_PrincipalColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Principal
- {
- get
- {
- try
- {
- return (string)base[tablePrincipal.Comment_PrincipalColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Principal' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.Comment_PrincipalColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Name_Employee
- {
- get
- {
- try
- {
- return (string)base[tablePrincipal.Name_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Employee' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.Name_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Employee
- {
- get
- {
- try
- {
- return (string)base[tablePrincipal.No_EmployeeColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Employee' in table 'Principal' is DBNull.", innerException);
- }
- }
- set
- {
- base[tablePrincipal.No_EmployeeColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal PrincipalRow(DataRowBuilder rb)
- : base(rb)
- {
- tablePrincipal = (PrincipalDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsIsMain_PrincipalNull()
- {
- return IsNull(tablePrincipal.IsMain_PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsMain_PrincipalNull()
- {
- base[tablePrincipal.IsMain_PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_PrincipalNull()
- {
- return IsNull(tablePrincipal.Comment_PrincipalColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_PrincipalNull()
- {
- base[tablePrincipal.Comment_PrincipalColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsName_EmployeeNull()
- {
- return IsNull(tablePrincipal.Name_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_EmployeeNull()
- {
- base[tablePrincipal.Name_EmployeeColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_EmployeeNull()
- {
- return IsNull(tablePrincipal.No_EmployeeColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_EmployeeNull()
- {
- base[tablePrincipal.No_EmployeeColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class LinkmanRow : DataRow
- {
- private LinkmanDataTable tableLinkman;
- [DebuggerNonUserCode]
- public string Name_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Name_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Name_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Department_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Department_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Department_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Department_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Duty_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Duty_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Duty_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Duty_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Tel_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Tel_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Tel_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Tel_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Fax_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Fax_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Fax_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Fax_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Mobile_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Mobile_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Mobile_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Mobile_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Email_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Email_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Email_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Email_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool IsMain_Linkman
- {
- get
- {
- try
- {
- return (bool)base[tableLinkman.IsMain_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'IsMain_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.IsMain_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string Comment_Linkman
- {
- get
- {
- try
- {
- return (string)base[tableLinkman.Comment_LinkmanColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Comment_Linkman' in table 'Linkman' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableLinkman.Comment_LinkmanColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal LinkmanRow(DataRowBuilder rb)
- : base(rb)
- {
- tableLinkman = (LinkmanDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsName_LinkmanNull()
- {
- return IsNull(tableLinkman.Name_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_LinkmanNull()
- {
- base[tableLinkman.Name_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDepartment_LinkmanNull()
- {
- return IsNull(tableLinkman.Department_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetDepartment_LinkmanNull()
- {
- base[tableLinkman.Department_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsDuty_LinkmanNull()
- {
- return IsNull(tableLinkman.Duty_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetDuty_LinkmanNull()
- {
- base[tableLinkman.Duty_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsTel_LinkmanNull()
- {
- return IsNull(tableLinkman.Tel_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetTel_LinkmanNull()
- {
- base[tableLinkman.Tel_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsFax_LinkmanNull()
- {
- return IsNull(tableLinkman.Fax_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetFax_LinkmanNull()
- {
- base[tableLinkman.Fax_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsMobile_LinkmanNull()
- {
- return IsNull(tableLinkman.Mobile_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetMobile_LinkmanNull()
- {
- base[tableLinkman.Mobile_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsEmail_LinkmanNull()
- {
- return IsNull(tableLinkman.Email_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetEmail_LinkmanNull()
- {
- base[tableLinkman.Email_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsIsMain_LinkmanNull()
- {
- return IsNull(tableLinkman.IsMain_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetIsMain_LinkmanNull()
- {
- base[tableLinkman.IsMain_LinkmanColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsComment_LinkmanNull()
- {
- return IsNull(tableLinkman.Comment_LinkmanColumn);
- }
- [DebuggerNonUserCode]
- public void SetComment_LinkmanNull()
- {
- base[tableLinkman.Comment_LinkmanColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FaxRow : DataRow
- {
- private FaxDataTable tableFax;
- [DebuggerNonUserCode]
- public string Name_Fax
- {
- get
- {
- try
- {
- return (string)base[tableFax.Name_FaxColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Name_Fax' in table 'Fax' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFax.Name_FaxColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string No_Fax
- {
- get
- {
- try
- {
- return (string)base[tableFax.No_FaxColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'No_Fax' in table 'Fax' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFax.No_FaxColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public bool Focus_Fax
- {
- get
- {
- try
- {
- return (bool)base[tableFax.Focus_FaxColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'Focus_Fax' in table 'Fax' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableFax.Focus_FaxColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal FaxRow(DataRowBuilder rb)
- : base(rb)
- {
- tableFax = (FaxDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsName_FaxNull()
- {
- return IsNull(tableFax.Name_FaxColumn);
- }
- [DebuggerNonUserCode]
- public void SetName_FaxNull()
- {
- base[tableFax.Name_FaxColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsNo_FaxNull()
- {
- return IsNull(tableFax.No_FaxColumn);
- }
- [DebuggerNonUserCode]
- public void SetNo_FaxNull()
- {
- base[tableFax.No_FaxColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsFocus_FaxNull()
- {
- return IsNull(tableFax.Focus_FaxColumn);
- }
- [DebuggerNonUserCode]
- public void SetFocus_FaxNull()
- {
- base[tableFax.Focus_FaxColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoRow : DataRow
- {
- private AppendInfoDataTable tableAppendInfo;
- [DebuggerNonUserCode]
- public string CurrentCompany
- {
- get
- {
- try
- {
- return (string)base[tableAppendInfo.CurrentCompanyColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CurrentCompany' in table 'AppendInfo' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableAppendInfo.CurrentCompanyColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- public string CurrentUser
- {
- get
- {
- try
- {
- return (string)base[tableAppendInfo.CurrentUserColumn];
- }
- catch (InvalidCastException innerException)
- {
- throw new StrongTypingException("The value for column 'CurrentUser' in table 'AppendInfo' is DBNull.", innerException);
- }
- }
- set
- {
- base[tableAppendInfo.CurrentUserColumn] = value;
- }
- }
- [DebuggerNonUserCode]
- internal AppendInfoRow(DataRowBuilder rb)
- : base(rb)
- {
- tableAppendInfo = (AppendInfoDataTable)base.Table;
- }
- [DebuggerNonUserCode]
- public bool IsCurrentCompanyNull()
- {
- return IsNull(tableAppendInfo.CurrentCompanyColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrentCompanyNull()
- {
- base[tableAppendInfo.CurrentCompanyColumn] = Convert.DBNull;
- }
- [DebuggerNonUserCode]
- public bool IsCurrentUserNull()
- {
- return IsNull(tableAppendInfo.CurrentUserColumn);
- }
- [DebuggerNonUserCode]
- public void SetCurrentUserNull()
- {
- base[tableAppendInfo.CurrentUserColumn] = Convert.DBNull;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class TelephoneRowChangeEvent : EventArgs
- {
- private TelephoneRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public TelephoneRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public TelephoneRowChangeEvent(TelephoneRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class CustomerRowChangeEvent : EventArgs
- {
- private CustomerRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public CustomerRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public CustomerRowChangeEvent(CustomerRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class EmployeeRowChangeEvent : EventArgs
- {
- private EmployeeRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public EmployeeRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public EmployeeRowChangeEvent(EmployeeRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class InvoiceRowChangeEvent : EventArgs
- {
- private InvoiceRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public InvoiceRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public InvoiceRowChangeEvent(InvoiceRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class PrincipalRowChangeEvent : EventArgs
- {
- private PrincipalRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public PrincipalRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public PrincipalRowChangeEvent(PrincipalRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class LinkmanRowChangeEvent : EventArgs
- {
- private LinkmanRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public LinkmanRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public LinkmanRowChangeEvent(LinkmanRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class FaxRowChangeEvent : EventArgs
- {
- private FaxRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public FaxRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public FaxRowChangeEvent(FaxRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- [GeneratedCode("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
- public class AppendInfoRowChangeEvent : EventArgs
- {
- private AppendInfoRow eventRow;
- private DataRowAction eventAction;
- [DebuggerNonUserCode]
- public AppendInfoRow Row => eventRow;
- [DebuggerNonUserCode]
- public DataRowAction Action => eventAction;
- [DebuggerNonUserCode]
- public AppendInfoRowChangeEvent(AppendInfoRow row, DataRowAction action)
- {
- eventRow = row;
- eventAction = action;
- }
- }
- private TelephoneDataTable tableTelephone;
- private CustomerDataTable tableCustomer;
- private EmployeeDataTable tableEmployee;
- private InvoiceDataTable tableInvoice;
- private PrincipalDataTable tablePrincipal;
- private LinkmanDataTable tableLinkman;
- private FaxDataTable tableFax;
- private AppendInfoDataTable tableAppendInfo;
- private SchemaSerializationMode _schemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- [Browsable(false)]
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- public TelephoneDataTable Telephone => tableTelephone;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- [Browsable(false)]
- public CustomerDataTable Customer => tableCustomer;
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- public EmployeeDataTable Employee => tableEmployee;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- [DebuggerNonUserCode]
- public InvoiceDataTable Invoice => tableInvoice;
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- public PrincipalDataTable Principal => tablePrincipal;
- [Browsable(false)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [DebuggerNonUserCode]
- public LinkmanDataTable Linkman => tableLinkman;
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- public FaxDataTable Fax => tableFax;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
- [Browsable(false)]
- [DebuggerNonUserCode]
- public AppendInfoDataTable AppendInfo => tableAppendInfo;
- [Browsable(true)]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
- [DebuggerNonUserCode]
- public override SchemaSerializationMode SchemaSerializationMode
- {
- get
- {
- return _schemaSerializationMode;
- }
- set
- {
- _schemaSerializationMode = value;
- }
- }
- [DebuggerNonUserCode]
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- public new DataTableCollection Tables => base.Tables;
- [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
- [DebuggerNonUserCode]
- public new DataRelationCollection Relations => base.Relations;
- [DebuggerNonUserCode]
- public dsFrmCustomer()
- {
- BeginInit();
- InitClass();
- CollectionChangeEventHandler value = SchemaChanged;
- base.Tables.CollectionChanged += value;
- base.Relations.CollectionChanged += value;
- EndInit();
- }
- [DebuggerNonUserCode]
- protected dsFrmCustomer(SerializationInfo info, StreamingContext context)
- : base(info, context, ConstructSchema: false)
- {
- if (IsBinarySerialized(info, context))
- {
- InitVars(initTable: false);
- CollectionChangeEventHandler value = SchemaChanged;
- Tables.CollectionChanged += value;
- Relations.CollectionChanged += value;
- return;
- }
- string s = (string)info.GetValue("XmlSchema", typeof(string));
- if (DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)
- {
- DataSet dataSet = new DataSet();
- dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- if (dataSet.Tables["Telephone"] != null)
- {
- base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
- }
- if (dataSet.Tables["Customer"] != null)
- {
- base.Tables.Add(new CustomerDataTable(dataSet.Tables["Customer"]));
- }
- if (dataSet.Tables["Employee"] != null)
- {
- base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
- }
- if (dataSet.Tables["Invoice"] != null)
- {
- base.Tables.Add(new InvoiceDataTable(dataSet.Tables["Invoice"]));
- }
- if (dataSet.Tables["Principal"] != null)
- {
- base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
- }
- if (dataSet.Tables["Linkman"] != null)
- {
- base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
- }
- if (dataSet.Tables["Fax"] != null)
- {
- base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
- }
- if (dataSet.Tables["AppendInfo"] != null)
- {
- base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXmlSchema(new XmlTextReader(new StringReader(s)));
- }
- GetSerializationData(info, context);
- CollectionChangeEventHandler value2 = SchemaChanged;
- base.Tables.CollectionChanged += value2;
- Relations.CollectionChanged += value2;
- }
- [DebuggerNonUserCode]
- protected override void InitializeDerivedDataSet()
- {
- BeginInit();
- InitClass();
- EndInit();
- }
- [DebuggerNonUserCode]
- public override DataSet Clone()
- {
- dsFrmCustomer dsFrmCustomer = (dsFrmCustomer)base.Clone();
- dsFrmCustomer.InitVars();
- dsFrmCustomer.SchemaSerializationMode = SchemaSerializationMode;
- return dsFrmCustomer;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeTables()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override bool ShouldSerializeRelations()
- {
- return false;
- }
- [DebuggerNonUserCode]
- protected override void ReadXmlSerializable(XmlReader reader)
- {
- if (DetermineSchemaSerializationMode(reader) == SchemaSerializationMode.IncludeSchema)
- {
- Reset();
- DataSet dataSet = new DataSet();
- dataSet.ReadXml(reader);
- if (dataSet.Tables["Telephone"] != null)
- {
- base.Tables.Add(new TelephoneDataTable(dataSet.Tables["Telephone"]));
- }
- if (dataSet.Tables["Customer"] != null)
- {
- base.Tables.Add(new CustomerDataTable(dataSet.Tables["Customer"]));
- }
- if (dataSet.Tables["Employee"] != null)
- {
- base.Tables.Add(new EmployeeDataTable(dataSet.Tables["Employee"]));
- }
- if (dataSet.Tables["Invoice"] != null)
- {
- base.Tables.Add(new InvoiceDataTable(dataSet.Tables["Invoice"]));
- }
- if (dataSet.Tables["Principal"] != null)
- {
- base.Tables.Add(new PrincipalDataTable(dataSet.Tables["Principal"]));
- }
- if (dataSet.Tables["Linkman"] != null)
- {
- base.Tables.Add(new LinkmanDataTable(dataSet.Tables["Linkman"]));
- }
- if (dataSet.Tables["Fax"] != null)
- {
- base.Tables.Add(new FaxDataTable(dataSet.Tables["Fax"]));
- }
- if (dataSet.Tables["AppendInfo"] != null)
- {
- base.Tables.Add(new AppendInfoDataTable(dataSet.Tables["AppendInfo"]));
- }
- base.DataSetName = dataSet.DataSetName;
- base.Prefix = dataSet.Prefix;
- base.Namespace = dataSet.Namespace;
- base.Locale = dataSet.Locale;
- base.CaseSensitive = dataSet.CaseSensitive;
- base.EnforceConstraints = dataSet.EnforceConstraints;
- Merge(dataSet, preserveChanges: false, MissingSchemaAction.Add);
- InitVars();
- }
- else
- {
- ReadXml(reader);
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- protected override XmlSchema GetSchemaSerializable()
- {
- MemoryStream memoryStream = new MemoryStream();
- WriteXmlSchema(new XmlTextWriter(memoryStream, null));
- memoryStream.Position = 0L;
- return XmlSchema.Read(new XmlTextReader(memoryStream), null);
- }
- [DebuggerNonUserCode]
- internal void InitVars()
- {
- InitVars(initTable: true);
- }
- [DebuggerNonUserCode]
- internal void InitVars(bool initTable)
- {
- tableTelephone = (TelephoneDataTable)base.Tables["Telephone"];
- if (initTable && tableTelephone != null)
- {
- tableTelephone.InitVars();
- }
- tableCustomer = (CustomerDataTable)base.Tables["Customer"];
- if (initTable && tableCustomer != null)
- {
- tableCustomer.InitVars();
- }
- tableEmployee = (EmployeeDataTable)base.Tables["Employee"];
- if (initTable && tableEmployee != null)
- {
- tableEmployee.InitVars();
- }
- tableInvoice = (InvoiceDataTable)base.Tables["Invoice"];
- if (initTable && tableInvoice != null)
- {
- tableInvoice.InitVars();
- }
- tablePrincipal = (PrincipalDataTable)base.Tables["Principal"];
- if (initTable && tablePrincipal != null)
- {
- tablePrincipal.InitVars();
- }
- tableLinkman = (LinkmanDataTable)base.Tables["Linkman"];
- if (initTable && tableLinkman != null)
- {
- tableLinkman.InitVars();
- }
- tableFax = (FaxDataTable)base.Tables["Fax"];
- if (initTable && tableFax != null)
- {
- tableFax.InitVars();
- }
- tableAppendInfo = (AppendInfoDataTable)base.Tables["AppendInfo"];
- if (initTable && tableAppendInfo != null)
- {
- tableAppendInfo.InitVars();
- }
- }
- [DebuggerNonUserCode]
- private void InitClass()
- {
- base.DataSetName = "dsFrmCustomer";
- base.Prefix = "";
- base.Namespace = "http://tempuri.org/dsFrmCustomer.xsd";
- base.EnforceConstraints = true;
- SchemaSerializationMode = SchemaSerializationMode.IncludeSchema;
- tableTelephone = new TelephoneDataTable();
- base.Tables.Add(tableTelephone);
- tableCustomer = new CustomerDataTable();
- base.Tables.Add(tableCustomer);
- tableEmployee = new EmployeeDataTable();
- base.Tables.Add(tableEmployee);
- tableInvoice = new InvoiceDataTable();
- base.Tables.Add(tableInvoice);
- tablePrincipal = new PrincipalDataTable();
- base.Tables.Add(tablePrincipal);
- tableLinkman = new LinkmanDataTable();
- base.Tables.Add(tableLinkman);
- tableFax = new FaxDataTable();
- base.Tables.Add(tableFax);
- tableAppendInfo = new AppendInfoDataTable();
- base.Tables.Add(tableAppendInfo);
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeTelephone()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeCustomer()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeEmployee()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeInvoice()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializePrincipal()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeLinkman()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeFax()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private bool ShouldSerializeAppendInfo()
- {
- return false;
- }
- [DebuggerNonUserCode]
- private void SchemaChanged(object sender, CollectionChangeEventArgs e)
- {
- if (e.Action == CollectionChangeAction.Remove)
- {
- InitVars();
- }
- }
- [DebuggerNonUserCode]
- public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
- {
- dsFrmCustomer dsFrmCustomer = new dsFrmCustomer();
- XmlSchemaComplexType xmlSchemaComplexType = new XmlSchemaComplexType();
- XmlSchemaSequence xmlSchemaSequence = new XmlSchemaSequence();
- xs.Add(dsFrmCustomer.GetSchemaSerializable());
- XmlSchemaAny xmlSchemaAny = new XmlSchemaAny();
- xmlSchemaAny.Namespace = dsFrmCustomer.Namespace;
- xmlSchemaSequence.Items.Add(xmlSchemaAny);
- xmlSchemaComplexType.Particle = xmlSchemaSequence;
- return xmlSchemaComplexType;
- }
- }
- }
|