IS32_Chistyakov10DataSet.Designer.cs 710 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace Chistyakov_var10 {
  12. /// <summary>
  13. ///Represents a strongly typed in-memory cache of data.
  14. ///</summary>
  15. [global::System.Serializable()]
  16. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  17. [global::System.ComponentModel.ToolboxItem(true)]
  18. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
  19. [global::System.Xml.Serialization.XmlRootAttribute("IS32_Chistyakov10DataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class IS32_Chistyakov10DataSet : global::System.Data.DataSet {
  22. private ВрачиDataTable tableВрачи;
  23. private ДиагнозыDataTable tableДиагнозы;
  24. private ПациентыDataTable tableПациенты;
  25. private ПриёмыDataTable tableПриёмы;
  26. private _Врачи_ПриёмыDataTable _tableВрачи_Приёмы;
  27. private _Пациенты_ДиагнозыDataTable _tableПациенты_Диагнозы;
  28. private Фильтр_Заболевании_органов_дыханияDataTable tableФильтр_Заболевании_органов_дыхания;
  29. private Фильтр_КатегорииDataTable tableФильтр_Категории;
  30. private Фильтр_ОнкологиDataTable tableФильтр_Онкологи;
  31. private Фильтр_ПедиаторыDataTable tableФильтр_Педиаторы;
  32. private Фильтр_скидкиDataTable tableФильтр_скидки;
  33. private Фильтр_специальностиDataTable tableФильтр_специальности;
  34. private Фильтр_СтоматологиDataTable tableФильтр_Стоматологи;
  35. private Фильтр_туберкулёзDataTable tableФильтр_туберкулёз;
  36. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  37. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  38. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  39. public IS32_Chistyakov10DataSet() {
  40. this.BeginInit();
  41. this.InitClass();
  42. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  43. base.Tables.CollectionChanged += schemaChangedHandler;
  44. base.Relations.CollectionChanged += schemaChangedHandler;
  45. this.EndInit();
  46. }
  47. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  48. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  49. protected IS32_Chistyakov10DataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  50. base(info, context, false) {
  51. if ((this.IsBinarySerialized(info, context) == true)) {
  52. this.InitVars(false);
  53. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  54. this.Tables.CollectionChanged += schemaChangedHandler1;
  55. this.Relations.CollectionChanged += schemaChangedHandler1;
  56. return;
  57. }
  58. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  59. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  60. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  61. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  62. if ((ds.Tables["Врачи"] != null)) {
  63. base.Tables.Add(new ВрачиDataTable(ds.Tables["Врачи"]));
  64. }
  65. if ((ds.Tables["Диагнозы"] != null)) {
  66. base.Tables.Add(new ДиагнозыDataTable(ds.Tables["Диагнозы"]));
  67. }
  68. if ((ds.Tables["Пациенты"] != null)) {
  69. base.Tables.Add(new ПациентыDataTable(ds.Tables["Пациенты"]));
  70. }
  71. if ((ds.Tables["Приёмы"] != null)) {
  72. base.Tables.Add(new ПриёмыDataTable(ds.Tables["Приёмы"]));
  73. }
  74. if ((ds.Tables["Врачи+Приёмы"] != null)) {
  75. base.Tables.Add(new _Врачи_ПриёмыDataTable(ds.Tables["Врачи+Приёмы"]));
  76. }
  77. if ((ds.Tables["Пациенты+Диагнозы"] != null)) {
  78. base.Tables.Add(new _Пациенты_ДиагнозыDataTable(ds.Tables["Пациенты+Диагнозы"]));
  79. }
  80. if ((ds.Tables["Фильтр Заболевании органов дыхания"] != null)) {
  81. base.Tables.Add(new Фильтр_Заболевании_органов_дыханияDataTable(ds.Tables["Фильтр Заболевании органов дыхания"]));
  82. }
  83. if ((ds.Tables["Фильтр Категории"] != null)) {
  84. base.Tables.Add(new Фильтр_КатегорииDataTable(ds.Tables["Фильтр Категории"]));
  85. }
  86. if ((ds.Tables["Фильтр Онкологи"] != null)) {
  87. base.Tables.Add(new Фильтр_ОнкологиDataTable(ds.Tables["Фильтр Онкологи"]));
  88. }
  89. if ((ds.Tables["Фильтр Педиаторы"] != null)) {
  90. base.Tables.Add(new Фильтр_ПедиаторыDataTable(ds.Tables["Фильтр Педиаторы"]));
  91. }
  92. if ((ds.Tables["Фильтр скидки"] != null)) {
  93. base.Tables.Add(new Фильтр_скидкиDataTable(ds.Tables["Фильтр скидки"]));
  94. }
  95. if ((ds.Tables["Фильтр специальности"] != null)) {
  96. base.Tables.Add(new Фильтр_специальностиDataTable(ds.Tables["Фильтр специальности"]));
  97. }
  98. if ((ds.Tables["Фильтр Стоматологи"] != null)) {
  99. base.Tables.Add(new Фильтр_СтоматологиDataTable(ds.Tables["Фильтр Стоматологи"]));
  100. }
  101. if ((ds.Tables["Фильтр туберкулёз"] != null)) {
  102. base.Tables.Add(new Фильтр_туберкулёзDataTable(ds.Tables["Фильтр туберкулёз"]));
  103. }
  104. this.DataSetName = ds.DataSetName;
  105. this.Prefix = ds.Prefix;
  106. this.Namespace = ds.Namespace;
  107. this.Locale = ds.Locale;
  108. this.CaseSensitive = ds.CaseSensitive;
  109. this.EnforceConstraints = ds.EnforceConstraints;
  110. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  111. this.InitVars();
  112. }
  113. else {
  114. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  115. }
  116. this.GetSerializationData(info, context);
  117. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  118. base.Tables.CollectionChanged += schemaChangedHandler;
  119. this.Relations.CollectionChanged += schemaChangedHandler;
  120. }
  121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  122. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  123. [global::System.ComponentModel.Browsable(false)]
  124. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  125. public ВрачиDataTable Врачи {
  126. get {
  127. return this.tableВрачи;
  128. }
  129. }
  130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  131. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  132. [global::System.ComponentModel.Browsable(false)]
  133. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  134. public ДиагнозыDataTable Диагнозы {
  135. get {
  136. return this.tableДиагнозы;
  137. }
  138. }
  139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  141. [global::System.ComponentModel.Browsable(false)]
  142. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  143. public ПациентыDataTable Пациенты {
  144. get {
  145. return this.tableПациенты;
  146. }
  147. }
  148. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  149. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  150. [global::System.ComponentModel.Browsable(false)]
  151. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  152. public ПриёмыDataTable Приёмы {
  153. get {
  154. return this.tableПриёмы;
  155. }
  156. }
  157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  159. [global::System.ComponentModel.Browsable(false)]
  160. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  161. public _Врачи_ПриёмыDataTable _Врачи_Приёмы {
  162. get {
  163. return this._tableВрачи_Приёмы;
  164. }
  165. }
  166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  167. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  168. [global::System.ComponentModel.Browsable(false)]
  169. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  170. public _Пациенты_ДиагнозыDataTable _Пациенты_Диагнозы {
  171. get {
  172. return this._tableПациенты_Диагнозы;
  173. }
  174. }
  175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  176. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  177. [global::System.ComponentModel.Browsable(false)]
  178. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  179. public Фильтр_Заболевании_органов_дыханияDataTable Фильтр_Заболевании_органов_дыхания {
  180. get {
  181. return this.tableФильтр_Заболевании_органов_дыхания;
  182. }
  183. }
  184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  186. [global::System.ComponentModel.Browsable(false)]
  187. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  188. public Фильтр_КатегорииDataTable Фильтр_Категории {
  189. get {
  190. return this.tableФильтр_Категории;
  191. }
  192. }
  193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  194. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  195. [global::System.ComponentModel.Browsable(false)]
  196. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  197. public Фильтр_ОнкологиDataTable Фильтр_Онкологи {
  198. get {
  199. return this.tableФильтр_Онкологи;
  200. }
  201. }
  202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  203. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  204. [global::System.ComponentModel.Browsable(false)]
  205. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  206. public Фильтр_ПедиаторыDataTable Фильтр_Педиаторы {
  207. get {
  208. return this.tableФильтр_Педиаторы;
  209. }
  210. }
  211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  213. [global::System.ComponentModel.Browsable(false)]
  214. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  215. public Фильтр_скидкиDataTable Фильтр_скидки {
  216. get {
  217. return this.tableФильтр_скидки;
  218. }
  219. }
  220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  222. [global::System.ComponentModel.Browsable(false)]
  223. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  224. public Фильтр_специальностиDataTable Фильтр_специальности {
  225. get {
  226. return this.tableФильтр_специальности;
  227. }
  228. }
  229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  230. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  231. [global::System.ComponentModel.Browsable(false)]
  232. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  233. public Фильтр_СтоматологиDataTable Фильтр_Стоматологи {
  234. get {
  235. return this.tableФильтр_Стоматологи;
  236. }
  237. }
  238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  239. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  240. [global::System.ComponentModel.Browsable(false)]
  241. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  242. public Фильтр_туберкулёзDataTable Фильтр_туберкулёз {
  243. get {
  244. return this.tableФильтр_туберкулёз;
  245. }
  246. }
  247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  249. [global::System.ComponentModel.BrowsableAttribute(true)]
  250. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  251. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  252. get {
  253. return this._schemaSerializationMode;
  254. }
  255. set {
  256. this._schemaSerializationMode = value;
  257. }
  258. }
  259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  261. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  262. public new global::System.Data.DataTableCollection Tables {
  263. get {
  264. return base.Tables;
  265. }
  266. }
  267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  268. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  269. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  270. public new global::System.Data.DataRelationCollection Relations {
  271. get {
  272. return base.Relations;
  273. }
  274. }
  275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  277. protected override void InitializeDerivedDataSet() {
  278. this.BeginInit();
  279. this.InitClass();
  280. this.EndInit();
  281. }
  282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  284. public override global::System.Data.DataSet Clone() {
  285. IS32_Chistyakov10DataSet cln = ((IS32_Chistyakov10DataSet)(base.Clone()));
  286. cln.InitVars();
  287. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  288. return cln;
  289. }
  290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  292. protected override bool ShouldSerializeTables() {
  293. return false;
  294. }
  295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  296. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  297. protected override bool ShouldSerializeRelations() {
  298. return false;
  299. }
  300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  301. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  302. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  303. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  304. this.Reset();
  305. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  306. ds.ReadXml(reader);
  307. if ((ds.Tables["Врачи"] != null)) {
  308. base.Tables.Add(new ВрачиDataTable(ds.Tables["Врачи"]));
  309. }
  310. if ((ds.Tables["Диагнозы"] != null)) {
  311. base.Tables.Add(new ДиагнозыDataTable(ds.Tables["Диагнозы"]));
  312. }
  313. if ((ds.Tables["Пациенты"] != null)) {
  314. base.Tables.Add(new ПациентыDataTable(ds.Tables["Пациенты"]));
  315. }
  316. if ((ds.Tables["Приёмы"] != null)) {
  317. base.Tables.Add(new ПриёмыDataTable(ds.Tables["Приёмы"]));
  318. }
  319. if ((ds.Tables["Врачи+Приёмы"] != null)) {
  320. base.Tables.Add(new _Врачи_ПриёмыDataTable(ds.Tables["Врачи+Приёмы"]));
  321. }
  322. if ((ds.Tables["Пациенты+Диагнозы"] != null)) {
  323. base.Tables.Add(new _Пациенты_ДиагнозыDataTable(ds.Tables["Пациенты+Диагнозы"]));
  324. }
  325. if ((ds.Tables["Фильтр Заболевании органов дыхания"] != null)) {
  326. base.Tables.Add(new Фильтр_Заболевании_органов_дыханияDataTable(ds.Tables["Фильтр Заболевании органов дыхания"]));
  327. }
  328. if ((ds.Tables["Фильтр Категории"] != null)) {
  329. base.Tables.Add(new Фильтр_КатегорииDataTable(ds.Tables["Фильтр Категории"]));
  330. }
  331. if ((ds.Tables["Фильтр Онкологи"] != null)) {
  332. base.Tables.Add(new Фильтр_ОнкологиDataTable(ds.Tables["Фильтр Онкологи"]));
  333. }
  334. if ((ds.Tables["Фильтр Педиаторы"] != null)) {
  335. base.Tables.Add(new Фильтр_ПедиаторыDataTable(ds.Tables["Фильтр Педиаторы"]));
  336. }
  337. if ((ds.Tables["Фильтр скидки"] != null)) {
  338. base.Tables.Add(new Фильтр_скидкиDataTable(ds.Tables["Фильтр скидки"]));
  339. }
  340. if ((ds.Tables["Фильтр специальности"] != null)) {
  341. base.Tables.Add(new Фильтр_специальностиDataTable(ds.Tables["Фильтр специальности"]));
  342. }
  343. if ((ds.Tables["Фильтр Стоматологи"] != null)) {
  344. base.Tables.Add(new Фильтр_СтоматологиDataTable(ds.Tables["Фильтр Стоматологи"]));
  345. }
  346. if ((ds.Tables["Фильтр туберкулёз"] != null)) {
  347. base.Tables.Add(new Фильтр_туберкулёзDataTable(ds.Tables["Фильтр туберкулёз"]));
  348. }
  349. this.DataSetName = ds.DataSetName;
  350. this.Prefix = ds.Prefix;
  351. this.Namespace = ds.Namespace;
  352. this.Locale = ds.Locale;
  353. this.CaseSensitive = ds.CaseSensitive;
  354. this.EnforceConstraints = ds.EnforceConstraints;
  355. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  356. this.InitVars();
  357. }
  358. else {
  359. this.ReadXml(reader);
  360. this.InitVars();
  361. }
  362. }
  363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  364. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  365. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  366. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  367. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  368. stream.Position = 0;
  369. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  370. }
  371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  372. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  373. internal void InitVars() {
  374. this.InitVars(true);
  375. }
  376. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  377. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  378. internal void InitVars(bool initTable) {
  379. this.tableВрачи = ((ВрачиDataTable)(base.Tables["Врачи"]));
  380. if ((initTable == true)) {
  381. if ((this.tableВрачи != null)) {
  382. this.tableВрачи.InitVars();
  383. }
  384. }
  385. this.tableДиагнозы = ((ДиагнозыDataTable)(base.Tables["Диагнозы"]));
  386. if ((initTable == true)) {
  387. if ((this.tableДиагнозы != null)) {
  388. this.tableДиагнозы.InitVars();
  389. }
  390. }
  391. this.tableПациенты = ((ПациентыDataTable)(base.Tables["Пациенты"]));
  392. if ((initTable == true)) {
  393. if ((this.tableПациенты != null)) {
  394. this.tableПациенты.InitVars();
  395. }
  396. }
  397. this.tableПриёмы = ((ПриёмыDataTable)(base.Tables["Приёмы"]));
  398. if ((initTable == true)) {
  399. if ((this.tableПриёмы != null)) {
  400. this.tableПриёмы.InitVars();
  401. }
  402. }
  403. this._tableВрачи_Приёмы = ((_Врачи_ПриёмыDataTable)(base.Tables["Врачи+Приёмы"]));
  404. if ((initTable == true)) {
  405. if ((this._tableВрачи_Приёмы != null)) {
  406. this._tableВрачи_Приёмы.InitVars();
  407. }
  408. }
  409. this._tableПациенты_Диагнозы = ((_Пациенты_ДиагнозыDataTable)(base.Tables["Пациенты+Диагнозы"]));
  410. if ((initTable == true)) {
  411. if ((this._tableПациенты_Диагнозы != null)) {
  412. this._tableПациенты_Диагнозы.InitVars();
  413. }
  414. }
  415. this.tableФильтр_Заболевании_органов_дыхания = ((Фильтр_Заболевании_органов_дыханияDataTable)(base.Tables["Фильтр Заболевании органов дыхания"]));
  416. if ((initTable == true)) {
  417. if ((this.tableФильтр_Заболевании_органов_дыхания != null)) {
  418. this.tableФильтр_Заболевании_органов_дыхания.InitVars();
  419. }
  420. }
  421. this.tableФильтр_Категории = ((Фильтр_КатегорииDataTable)(base.Tables["Фильтр Категории"]));
  422. if ((initTable == true)) {
  423. if ((this.tableФильтр_Категории != null)) {
  424. this.tableФильтр_Категории.InitVars();
  425. }
  426. }
  427. this.tableФильтр_Онкологи = ((Фильтр_ОнкологиDataTable)(base.Tables["Фильтр Онкологи"]));
  428. if ((initTable == true)) {
  429. if ((this.tableФильтр_Онкологи != null)) {
  430. this.tableФильтр_Онкологи.InitVars();
  431. }
  432. }
  433. this.tableФильтр_Педиаторы = ((Фильтр_ПедиаторыDataTable)(base.Tables["Фильтр Педиаторы"]));
  434. if ((initTable == true)) {
  435. if ((this.tableФильтр_Педиаторы != null)) {
  436. this.tableФильтр_Педиаторы.InitVars();
  437. }
  438. }
  439. this.tableФильтр_скидки = ((Фильтр_скидкиDataTable)(base.Tables["Фильтр скидки"]));
  440. if ((initTable == true)) {
  441. if ((this.tableФильтр_скидки != null)) {
  442. this.tableФильтр_скидки.InitVars();
  443. }
  444. }
  445. this.tableФильтр_специальности = ((Фильтр_специальностиDataTable)(base.Tables["Фильтр специальности"]));
  446. if ((initTable == true)) {
  447. if ((this.tableФильтр_специальности != null)) {
  448. this.tableФильтр_специальности.InitVars();
  449. }
  450. }
  451. this.tableФильтр_Стоматологи = ((Фильтр_СтоматологиDataTable)(base.Tables["Фильтр Стоматологи"]));
  452. if ((initTable == true)) {
  453. if ((this.tableФильтр_Стоматологи != null)) {
  454. this.tableФильтр_Стоматологи.InitVars();
  455. }
  456. }
  457. this.tableФильтр_туберкулёз = ((Фильтр_туберкулёзDataTable)(base.Tables["Фильтр туберкулёз"]));
  458. if ((initTable == true)) {
  459. if ((this.tableФильтр_туберкулёз != null)) {
  460. this.tableФильтр_туберкулёз.InitVars();
  461. }
  462. }
  463. }
  464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  466. private void InitClass() {
  467. this.DataSetName = "IS32_Chistyakov10DataSet";
  468. this.Prefix = "";
  469. this.Namespace = "http://tempuri.org/IS32_Chistyakov10DataSet.xsd";
  470. this.EnforceConstraints = true;
  471. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  472. this.tableВрачи = new ВрачиDataTable();
  473. base.Tables.Add(this.tableВрачи);
  474. this.tableДиагнозы = new ДиагнозыDataTable();
  475. base.Tables.Add(this.tableДиагнозы);
  476. this.tableПациенты = new ПациентыDataTable();
  477. base.Tables.Add(this.tableПациенты);
  478. this.tableПриёмы = new ПриёмыDataTable();
  479. base.Tables.Add(this.tableПриёмы);
  480. this._tableВрачи_Приёмы = new _Врачи_ПриёмыDataTable();
  481. base.Tables.Add(this._tableВрачи_Приёмы);
  482. this._tableПациенты_Диагнозы = new _Пациенты_ДиагнозыDataTable();
  483. base.Tables.Add(this._tableПациенты_Диагнозы);
  484. this.tableФильтр_Заболевании_органов_дыхания = new Фильтр_Заболевании_органов_дыханияDataTable();
  485. base.Tables.Add(this.tableФильтр_Заболевании_органов_дыхания);
  486. this.tableФильтр_Категории = new Фильтр_КатегорииDataTable();
  487. base.Tables.Add(this.tableФильтр_Категории);
  488. this.tableФильтр_Онкологи = new Фильтр_ОнкологиDataTable();
  489. base.Tables.Add(this.tableФильтр_Онкологи);
  490. this.tableФильтр_Педиаторы = new Фильтр_ПедиаторыDataTable();
  491. base.Tables.Add(this.tableФильтр_Педиаторы);
  492. this.tableФильтр_скидки = new Фильтр_скидкиDataTable();
  493. base.Tables.Add(this.tableФильтр_скидки);
  494. this.tableФильтр_специальности = new Фильтр_специальностиDataTable();
  495. base.Tables.Add(this.tableФильтр_специальности);
  496. this.tableФильтр_Стоматологи = new Фильтр_СтоматологиDataTable();
  497. base.Tables.Add(this.tableФильтр_Стоматологи);
  498. this.tableФильтр_туберкулёз = new Фильтр_туберкулёзDataTable();
  499. base.Tables.Add(this.tableФильтр_туберкулёз);
  500. }
  501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  502. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  503. private bool ShouldSerializeВрачи() {
  504. return false;
  505. }
  506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  507. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  508. private bool ShouldSerializeДиагнозы() {
  509. return false;
  510. }
  511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  512. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  513. private bool ShouldSerializeПациенты() {
  514. return false;
  515. }
  516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  517. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  518. private bool ShouldSerializeПриёмы() {
  519. return false;
  520. }
  521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  523. private bool ShouldSerialize_Врачи_Приёмы() {
  524. return false;
  525. }
  526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  528. private bool ShouldSerialize_Пациенты_Диагнозы() {
  529. return false;
  530. }
  531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  532. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  533. private bool ShouldSerializeФильтр_Заболевании_органов_дыхания() {
  534. return false;
  535. }
  536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  538. private bool ShouldSerializeФильтр_Категории() {
  539. return false;
  540. }
  541. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  542. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  543. private bool ShouldSerializeФильтр_Онкологи() {
  544. return false;
  545. }
  546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  547. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  548. private bool ShouldSerializeФильтр_Педиаторы() {
  549. return false;
  550. }
  551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  552. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  553. private bool ShouldSerializeФильтр_скидки() {
  554. return false;
  555. }
  556. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  557. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  558. private bool ShouldSerializeФильтр_специальности() {
  559. return false;
  560. }
  561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  562. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  563. private bool ShouldSerializeФильтр_Стоматологи() {
  564. return false;
  565. }
  566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  567. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  568. private bool ShouldSerializeФильтр_туберкулёз() {
  569. return false;
  570. }
  571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  572. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  573. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  574. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  575. this.InitVars();
  576. }
  577. }
  578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  580. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  581. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  582. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  583. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  584. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  585. any.Namespace = ds.Namespace;
  586. sequence.Items.Add(any);
  587. type.Particle = sequence;
  588. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  589. if (xs.Contains(dsSchema.TargetNamespace)) {
  590. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  591. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  592. try {
  593. global::System.Xml.Schema.XmlSchema schema = null;
  594. dsSchema.Write(s1);
  595. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  596. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  597. s2.SetLength(0);
  598. schema.Write(s2);
  599. if ((s1.Length == s2.Length)) {
  600. s1.Position = 0;
  601. s2.Position = 0;
  602. for (; ((s1.Position != s1.Length)
  603. && (s1.ReadByte() == s2.ReadByte())); ) {
  604. ;
  605. }
  606. if ((s1.Position == s1.Length)) {
  607. return type;
  608. }
  609. }
  610. }
  611. }
  612. finally {
  613. if ((s1 != null)) {
  614. s1.Close();
  615. }
  616. if ((s2 != null)) {
  617. s2.Close();
  618. }
  619. }
  620. }
  621. xs.Add(dsSchema);
  622. return type;
  623. }
  624. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  625. public delegate void ВрачиRowChangeEventHandler(object sender, ВрачиRowChangeEvent e);
  626. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  627. public delegate void ДиагнозыRowChangeEventHandler(object sender, ДиагнозыRowChangeEvent e);
  628. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  629. public delegate void ПациентыRowChangeEventHandler(object sender, ПациентыRowChangeEvent e);
  630. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  631. public delegate void ПриёмыRowChangeEventHandler(object sender, ПриёмыRowChangeEvent e);
  632. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  633. public delegate void _Врачи_ПриёмыRowChangeEventHandler(object sender, _Врачи_ПриёмыRowChangeEvent e);
  634. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  635. public delegate void _Пациенты_ДиагнозыRowChangeEventHandler(object sender, _Пациенты_ДиагнозыRowChangeEvent e);
  636. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  637. public delegate void Фильтр_Заболевании_органов_дыханияRowChangeEventHandler(object sender, Фильтр_Заболевании_органов_дыханияRowChangeEvent e);
  638. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  639. public delegate void Фильтр_КатегорииRowChangeEventHandler(object sender, Фильтр_КатегорииRowChangeEvent e);
  640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  641. public delegate void Фильтр_ОнкологиRowChangeEventHandler(object sender, Фильтр_ОнкологиRowChangeEvent e);
  642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  643. public delegate void Фильтр_ПедиаторыRowChangeEventHandler(object sender, Фильтр_ПедиаторыRowChangeEvent e);
  644. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  645. public delegate void Фильтр_скидкиRowChangeEventHandler(object sender, Фильтр_скидкиRowChangeEvent e);
  646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  647. public delegate void Фильтр_специальностиRowChangeEventHandler(object sender, Фильтр_специальностиRowChangeEvent e);
  648. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  649. public delegate void Фильтр_СтоматологиRowChangeEventHandler(object sender, Фильтр_СтоматологиRowChangeEvent e);
  650. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  651. public delegate void Фильтр_туберкулёзRowChangeEventHandler(object sender, Фильтр_туберкулёзRowChangeEvent e);
  652. /// <summary>
  653. ///Represents the strongly named DataTable class.
  654. ///</summary>
  655. [global::System.Serializable()]
  656. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  657. public partial class ВрачиDataTable : global::System.Data.TypedTableBase<ВрачиRow> {
  658. private global::System.Data.DataColumn columnID_врача;
  659. private global::System.Data.DataColumn columnФИО;
  660. private global::System.Data.DataColumn columnСпециальность;
  661. private global::System.Data.DataColumn columnКатегория;
  662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  664. public ВрачиDataTable() {
  665. this.TableName = "Врачи";
  666. this.BeginInit();
  667. this.InitClass();
  668. this.EndInit();
  669. }
  670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  672. internal ВрачиDataTable(global::System.Data.DataTable table) {
  673. this.TableName = table.TableName;
  674. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  675. this.CaseSensitive = table.CaseSensitive;
  676. }
  677. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  678. this.Locale = table.Locale;
  679. }
  680. if ((table.Namespace != table.DataSet.Namespace)) {
  681. this.Namespace = table.Namespace;
  682. }
  683. this.Prefix = table.Prefix;
  684. this.MinimumCapacity = table.MinimumCapacity;
  685. }
  686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  688. protected ВрачиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  689. base(info, context) {
  690. this.InitVars();
  691. }
  692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  694. public global::System.Data.DataColumn ID_врачаColumn {
  695. get {
  696. return this.columnID_врача;
  697. }
  698. }
  699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  700. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  701. public global::System.Data.DataColumn ФИОColumn {
  702. get {
  703. return this.columnФИО;
  704. }
  705. }
  706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  707. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  708. public global::System.Data.DataColumn СпециальностьColumn {
  709. get {
  710. return this.columnСпециальность;
  711. }
  712. }
  713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  714. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  715. public global::System.Data.DataColumn КатегорияColumn {
  716. get {
  717. return this.columnКатегория;
  718. }
  719. }
  720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  721. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  722. [global::System.ComponentModel.Browsable(false)]
  723. public int Count {
  724. get {
  725. return this.Rows.Count;
  726. }
  727. }
  728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  729. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  730. public ВрачиRow this[int index] {
  731. get {
  732. return ((ВрачиRow)(this.Rows[index]));
  733. }
  734. }
  735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  736. public event ВрачиRowChangeEventHandler ВрачиRowChanging;
  737. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  738. public event ВрачиRowChangeEventHandler ВрачиRowChanged;
  739. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  740. public event ВрачиRowChangeEventHandler ВрачиRowDeleting;
  741. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  742. public event ВрачиRowChangeEventHandler ВрачиRowDeleted;
  743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  744. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  745. public void AddВрачиRow(ВрачиRow row) {
  746. this.Rows.Add(row);
  747. }
  748. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  750. public ВрачиRow AddВрачиRow(int ID_врача, string ФИО, string Специальность, string Категория) {
  751. ВрачиRow rowВрачиRow = ((ВрачиRow)(this.NewRow()));
  752. object[] columnValuesArray = new object[] {
  753. ID_врача,
  754. ФИО,
  755. Специальность,
  756. Категория};
  757. rowВрачиRow.ItemArray = columnValuesArray;
  758. this.Rows.Add(rowВрачиRow);
  759. return rowВрачиRow;
  760. }
  761. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  762. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  763. public override global::System.Data.DataTable Clone() {
  764. ВрачиDataTable cln = ((ВрачиDataTable)(base.Clone()));
  765. cln.InitVars();
  766. return cln;
  767. }
  768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  769. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  770. protected override global::System.Data.DataTable CreateInstance() {
  771. return new ВрачиDataTable();
  772. }
  773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  774. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  775. internal void InitVars() {
  776. this.columnID_врача = base.Columns["ID врача"];
  777. this.columnФИО = base.Columns["ФИО"];
  778. this.columnСпециальность = base.Columns["Специальность"];
  779. this.columnКатегория = base.Columns["Категория"];
  780. }
  781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  782. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  783. private void InitClass() {
  784. this.columnID_врача = new global::System.Data.DataColumn("ID врача", typeof(int), null, global::System.Data.MappingType.Element);
  785. base.Columns.Add(this.columnID_врача);
  786. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  787. base.Columns.Add(this.columnФИО);
  788. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  789. base.Columns.Add(this.columnСпециальность);
  790. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  791. base.Columns.Add(this.columnКатегория);
  792. this.columnID_врача.AllowDBNull = false;
  793. this.columnФИО.MaxLength = 50;
  794. this.columnСпециальность.MaxLength = 50;
  795. this.columnКатегория.MaxLength = 50;
  796. }
  797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  798. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  799. public ВрачиRow NewВрачиRow() {
  800. return ((ВрачиRow)(this.NewRow()));
  801. }
  802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  803. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  804. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  805. return new ВрачиRow(builder);
  806. }
  807. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  808. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  809. protected override global::System.Type GetRowType() {
  810. return typeof(ВрачиRow);
  811. }
  812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  813. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  814. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  815. base.OnRowChanged(e);
  816. if ((this.ВрачиRowChanged != null)) {
  817. this.ВрачиRowChanged(this, new ВрачиRowChangeEvent(((ВрачиRow)(e.Row)), e.Action));
  818. }
  819. }
  820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  821. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  822. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  823. base.OnRowChanging(e);
  824. if ((this.ВрачиRowChanging != null)) {
  825. this.ВрачиRowChanging(this, new ВрачиRowChangeEvent(((ВрачиRow)(e.Row)), e.Action));
  826. }
  827. }
  828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  829. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  830. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  831. base.OnRowDeleted(e);
  832. if ((this.ВрачиRowDeleted != null)) {
  833. this.ВрачиRowDeleted(this, new ВрачиRowChangeEvent(((ВрачиRow)(e.Row)), e.Action));
  834. }
  835. }
  836. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  837. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  838. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  839. base.OnRowDeleting(e);
  840. if ((this.ВрачиRowDeleting != null)) {
  841. this.ВрачиRowDeleting(this, new ВрачиRowChangeEvent(((ВрачиRow)(e.Row)), e.Action));
  842. }
  843. }
  844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  845. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  846. public void RemoveВрачиRow(ВрачиRow row) {
  847. this.Rows.Remove(row);
  848. }
  849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  850. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  851. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  852. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  853. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  854. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  855. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  856. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  857. any1.MinOccurs = new decimal(0);
  858. any1.MaxOccurs = decimal.MaxValue;
  859. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  860. sequence.Items.Add(any1);
  861. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  862. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  863. any2.MinOccurs = new decimal(1);
  864. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  865. sequence.Items.Add(any2);
  866. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  867. attribute1.Name = "namespace";
  868. attribute1.FixedValue = ds.Namespace;
  869. type.Attributes.Add(attribute1);
  870. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  871. attribute2.Name = "tableTypeName";
  872. attribute2.FixedValue = "ВрачиDataTable";
  873. type.Attributes.Add(attribute2);
  874. type.Particle = sequence;
  875. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  876. if (xs.Contains(dsSchema.TargetNamespace)) {
  877. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  878. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  879. try {
  880. global::System.Xml.Schema.XmlSchema schema = null;
  881. dsSchema.Write(s1);
  882. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  883. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  884. s2.SetLength(0);
  885. schema.Write(s2);
  886. if ((s1.Length == s2.Length)) {
  887. s1.Position = 0;
  888. s2.Position = 0;
  889. for (; ((s1.Position != s1.Length)
  890. && (s1.ReadByte() == s2.ReadByte())); ) {
  891. ;
  892. }
  893. if ((s1.Position == s1.Length)) {
  894. return type;
  895. }
  896. }
  897. }
  898. }
  899. finally {
  900. if ((s1 != null)) {
  901. s1.Close();
  902. }
  903. if ((s2 != null)) {
  904. s2.Close();
  905. }
  906. }
  907. }
  908. xs.Add(dsSchema);
  909. return type;
  910. }
  911. }
  912. /// <summary>
  913. ///Represents the strongly named DataTable class.
  914. ///</summary>
  915. [global::System.Serializable()]
  916. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  917. public partial class ДиагнозыDataTable : global::System.Data.TypedTableBase<ДиагнозыRow> {
  918. private global::System.Data.DataColumn columnКод_диагноза;
  919. private global::System.Data.DataColumn columnНаименование_диагноза;
  920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  921. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  922. public ДиагнозыDataTable() {
  923. this.TableName = "Диагнозы";
  924. this.BeginInit();
  925. this.InitClass();
  926. this.EndInit();
  927. }
  928. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  929. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  930. internal ДиагнозыDataTable(global::System.Data.DataTable table) {
  931. this.TableName = table.TableName;
  932. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  933. this.CaseSensitive = table.CaseSensitive;
  934. }
  935. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  936. this.Locale = table.Locale;
  937. }
  938. if ((table.Namespace != table.DataSet.Namespace)) {
  939. this.Namespace = table.Namespace;
  940. }
  941. this.Prefix = table.Prefix;
  942. this.MinimumCapacity = table.MinimumCapacity;
  943. }
  944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  945. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  946. protected ДиагнозыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  947. base(info, context) {
  948. this.InitVars();
  949. }
  950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  951. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  952. public global::System.Data.DataColumn Код_диагнозаColumn {
  953. get {
  954. return this.columnКод_диагноза;
  955. }
  956. }
  957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  959. public global::System.Data.DataColumn Наименование_диагнозаColumn {
  960. get {
  961. return this.columnНаименование_диагноза;
  962. }
  963. }
  964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  965. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  966. [global::System.ComponentModel.Browsable(false)]
  967. public int Count {
  968. get {
  969. return this.Rows.Count;
  970. }
  971. }
  972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  974. public ДиагнозыRow this[int index] {
  975. get {
  976. return ((ДиагнозыRow)(this.Rows[index]));
  977. }
  978. }
  979. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  980. public event ДиагнозыRowChangeEventHandler ДиагнозыRowChanging;
  981. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  982. public event ДиагнозыRowChangeEventHandler ДиагнозыRowChanged;
  983. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  984. public event ДиагнозыRowChangeEventHandler ДиагнозыRowDeleting;
  985. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  986. public event ДиагнозыRowChangeEventHandler ДиагнозыRowDeleted;
  987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  988. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  989. public void AddДиагнозыRow(ДиагнозыRow row) {
  990. this.Rows.Add(row);
  991. }
  992. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  993. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  994. public ДиагнозыRow AddДиагнозыRow(int Код_диагноза, string Наименование_диагноза) {
  995. ДиагнозыRow rowДиагнозыRow = ((ДиагнозыRow)(this.NewRow()));
  996. object[] columnValuesArray = new object[] {
  997. Код_диагноза,
  998. Наименование_диагноза};
  999. rowДиагнозыRow.ItemArray = columnValuesArray;
  1000. this.Rows.Add(rowДиагнозыRow);
  1001. return rowДиагнозыRow;
  1002. }
  1003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1004. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1005. public ДиагнозыRow FindByКод_диагноза(int Код_диагноза) {
  1006. return ((ДиагнозыRow)(this.Rows.Find(new object[] {
  1007. Код_диагноза})));
  1008. }
  1009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1010. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1011. public override global::System.Data.DataTable Clone() {
  1012. ДиагнозыDataTable cln = ((ДиагнозыDataTable)(base.Clone()));
  1013. cln.InitVars();
  1014. return cln;
  1015. }
  1016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1017. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1018. protected override global::System.Data.DataTable CreateInstance() {
  1019. return new ДиагнозыDataTable();
  1020. }
  1021. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1022. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1023. internal void InitVars() {
  1024. this.columnКод_диагноза = base.Columns["Код диагноза"];
  1025. this.columnНаименование_диагноза = base.Columns["Наименование диагноза"];
  1026. }
  1027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1029. private void InitClass() {
  1030. this.columnКод_диагноза = new global::System.Data.DataColumn("Код диагноза", typeof(int), null, global::System.Data.MappingType.Element);
  1031. base.Columns.Add(this.columnКод_диагноза);
  1032. this.columnНаименование_диагноза = new global::System.Data.DataColumn("Наименование диагноза", typeof(string), null, global::System.Data.MappingType.Element);
  1033. base.Columns.Add(this.columnНаименование_диагноза);
  1034. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1035. this.columnКод_диагноза}, true));
  1036. this.columnКод_диагноза.AllowDBNull = false;
  1037. this.columnКод_диагноза.Unique = true;
  1038. this.columnНаименование_диагноза.MaxLength = 50;
  1039. }
  1040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1041. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1042. public ДиагнозыRow NewДиагнозыRow() {
  1043. return ((ДиагнозыRow)(this.NewRow()));
  1044. }
  1045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1046. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1047. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1048. return new ДиагнозыRow(builder);
  1049. }
  1050. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1051. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1052. protected override global::System.Type GetRowType() {
  1053. return typeof(ДиагнозыRow);
  1054. }
  1055. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1056. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1057. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1058. base.OnRowChanged(e);
  1059. if ((this.ДиагнозыRowChanged != null)) {
  1060. this.ДиагнозыRowChanged(this, new ДиагнозыRowChangeEvent(((ДиагнозыRow)(e.Row)), e.Action));
  1061. }
  1062. }
  1063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1064. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1065. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1066. base.OnRowChanging(e);
  1067. if ((this.ДиагнозыRowChanging != null)) {
  1068. this.ДиагнозыRowChanging(this, new ДиагнозыRowChangeEvent(((ДиагнозыRow)(e.Row)), e.Action));
  1069. }
  1070. }
  1071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1072. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1073. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1074. base.OnRowDeleted(e);
  1075. if ((this.ДиагнозыRowDeleted != null)) {
  1076. this.ДиагнозыRowDeleted(this, new ДиагнозыRowChangeEvent(((ДиагнозыRow)(e.Row)), e.Action));
  1077. }
  1078. }
  1079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1080. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1081. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1082. base.OnRowDeleting(e);
  1083. if ((this.ДиагнозыRowDeleting != null)) {
  1084. this.ДиагнозыRowDeleting(this, new ДиагнозыRowChangeEvent(((ДиагнозыRow)(e.Row)), e.Action));
  1085. }
  1086. }
  1087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1089. public void RemoveДиагнозыRow(ДиагнозыRow row) {
  1090. this.Rows.Remove(row);
  1091. }
  1092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1093. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1094. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1095. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1096. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1097. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  1098. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1099. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1100. any1.MinOccurs = new decimal(0);
  1101. any1.MaxOccurs = decimal.MaxValue;
  1102. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1103. sequence.Items.Add(any1);
  1104. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1105. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1106. any2.MinOccurs = new decimal(1);
  1107. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1108. sequence.Items.Add(any2);
  1109. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1110. attribute1.Name = "namespace";
  1111. attribute1.FixedValue = ds.Namespace;
  1112. type.Attributes.Add(attribute1);
  1113. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1114. attribute2.Name = "tableTypeName";
  1115. attribute2.FixedValue = "ДиагнозыDataTable";
  1116. type.Attributes.Add(attribute2);
  1117. type.Particle = sequence;
  1118. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1119. if (xs.Contains(dsSchema.TargetNamespace)) {
  1120. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1121. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1122. try {
  1123. global::System.Xml.Schema.XmlSchema schema = null;
  1124. dsSchema.Write(s1);
  1125. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1126. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1127. s2.SetLength(0);
  1128. schema.Write(s2);
  1129. if ((s1.Length == s2.Length)) {
  1130. s1.Position = 0;
  1131. s2.Position = 0;
  1132. for (; ((s1.Position != s1.Length)
  1133. && (s1.ReadByte() == s2.ReadByte())); ) {
  1134. ;
  1135. }
  1136. if ((s1.Position == s1.Length)) {
  1137. return type;
  1138. }
  1139. }
  1140. }
  1141. }
  1142. finally {
  1143. if ((s1 != null)) {
  1144. s1.Close();
  1145. }
  1146. if ((s2 != null)) {
  1147. s2.Close();
  1148. }
  1149. }
  1150. }
  1151. xs.Add(dsSchema);
  1152. return type;
  1153. }
  1154. }
  1155. /// <summary>
  1156. ///Represents the strongly named DataTable class.
  1157. ///</summary>
  1158. [global::System.Serializable()]
  1159. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1160. public partial class ПациентыDataTable : global::System.Data.TypedTableBase<ПациентыRow> {
  1161. private global::System.Data.DataColumn columnНомер_медкарты;
  1162. private global::System.Data.DataColumn columnФИО;
  1163. private global::System.Data.DataColumn columnДата_рождения;
  1164. private global::System.Data.DataColumn columnАдрес;
  1165. private global::System.Data.DataColumn columnПол;
  1166. private global::System.Data.DataColumn _columnСкидка_на_обслуживание__;
  1167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1169. public ПациентыDataTable() {
  1170. this.TableName = "Пациенты";
  1171. this.BeginInit();
  1172. this.InitClass();
  1173. this.EndInit();
  1174. }
  1175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1176. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1177. internal ПациентыDataTable(global::System.Data.DataTable table) {
  1178. this.TableName = table.TableName;
  1179. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1180. this.CaseSensitive = table.CaseSensitive;
  1181. }
  1182. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1183. this.Locale = table.Locale;
  1184. }
  1185. if ((table.Namespace != table.DataSet.Namespace)) {
  1186. this.Namespace = table.Namespace;
  1187. }
  1188. this.Prefix = table.Prefix;
  1189. this.MinimumCapacity = table.MinimumCapacity;
  1190. }
  1191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1193. protected ПациентыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1194. base(info, context) {
  1195. this.InitVars();
  1196. }
  1197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1198. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1199. public global::System.Data.DataColumn Номер_медкартыColumn {
  1200. get {
  1201. return this.columnНомер_медкарты;
  1202. }
  1203. }
  1204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1205. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1206. public global::System.Data.DataColumn ФИОColumn {
  1207. get {
  1208. return this.columnФИО;
  1209. }
  1210. }
  1211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1213. public global::System.Data.DataColumn Дата_рожденияColumn {
  1214. get {
  1215. return this.columnДата_рождения;
  1216. }
  1217. }
  1218. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1219. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1220. public global::System.Data.DataColumn АдресColumn {
  1221. get {
  1222. return this.columnАдрес;
  1223. }
  1224. }
  1225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1226. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1227. public global::System.Data.DataColumn ПолColumn {
  1228. get {
  1229. return this.columnПол;
  1230. }
  1231. }
  1232. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1233. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1234. public global::System.Data.DataColumn _Скидка_на_обслуживание__Column {
  1235. get {
  1236. return this._columnСкидка_на_обслуживание__;
  1237. }
  1238. }
  1239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1240. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1241. [global::System.ComponentModel.Browsable(false)]
  1242. public int Count {
  1243. get {
  1244. return this.Rows.Count;
  1245. }
  1246. }
  1247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1249. public ПациентыRow this[int index] {
  1250. get {
  1251. return ((ПациентыRow)(this.Rows[index]));
  1252. }
  1253. }
  1254. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1255. public event ПациентыRowChangeEventHandler ПациентыRowChanging;
  1256. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1257. public event ПациентыRowChangeEventHandler ПациентыRowChanged;
  1258. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1259. public event ПациентыRowChangeEventHandler ПациентыRowDeleting;
  1260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1261. public event ПациентыRowChangeEventHandler ПациентыRowDeleted;
  1262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1263. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1264. public void AddПациентыRow(ПациентыRow row) {
  1265. this.Rows.Add(row);
  1266. }
  1267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1268. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1269. public ПациентыRow AddПациентыRow(int Номер_медкарты, string ФИО, System.DateTime Дата_рождения, string Адрес, string Пол, string _Скидка_на_обслуживание__) {
  1270. ПациентыRow rowПациентыRow = ((ПациентыRow)(this.NewRow()));
  1271. object[] columnValuesArray = new object[] {
  1272. Номер_медкарты,
  1273. ФИО,
  1274. Дата_рождения,
  1275. Адрес,
  1276. Пол,
  1277. _Скидка_на_обслуживание__};
  1278. rowПациентыRow.ItemArray = columnValuesArray;
  1279. this.Rows.Add(rowПациентыRow);
  1280. return rowПациентыRow;
  1281. }
  1282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1284. public override global::System.Data.DataTable Clone() {
  1285. ПациентыDataTable cln = ((ПациентыDataTable)(base.Clone()));
  1286. cln.InitVars();
  1287. return cln;
  1288. }
  1289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1291. protected override global::System.Data.DataTable CreateInstance() {
  1292. return new ПациентыDataTable();
  1293. }
  1294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1295. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1296. internal void InitVars() {
  1297. this.columnНомер_медкарты = base.Columns["Номер медкарты"];
  1298. this.columnФИО = base.Columns["ФИО"];
  1299. this.columnДата_рождения = base.Columns["Дата рождения"];
  1300. this.columnАдрес = base.Columns["Адрес"];
  1301. this.columnПол = base.Columns["Пол"];
  1302. this._columnСкидка_на_обслуживание__ = base.Columns["Скидка на обслуживание %"];
  1303. }
  1304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1305. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1306. private void InitClass() {
  1307. this.columnНомер_медкарты = new global::System.Data.DataColumn("Номер медкарты", typeof(int), null, global::System.Data.MappingType.Element);
  1308. base.Columns.Add(this.columnНомер_медкарты);
  1309. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  1310. base.Columns.Add(this.columnФИО);
  1311. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1312. base.Columns.Add(this.columnДата_рождения);
  1313. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  1314. base.Columns.Add(this.columnАдрес);
  1315. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  1316. base.Columns.Add(this.columnПол);
  1317. this._columnСкидка_на_обслуживание__ = new global::System.Data.DataColumn("Скидка на обслуживание %", typeof(string), null, global::System.Data.MappingType.Element);
  1318. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСкидка_на_обслуживание__");
  1319. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_UserColumnName", "Скидка на обслуживание %");
  1320. base.Columns.Add(this._columnСкидка_на_обслуживание__);
  1321. this.columnНомер_медкарты.AllowDBNull = false;
  1322. this.columnФИО.MaxLength = 50;
  1323. this.columnАдрес.MaxLength = 50;
  1324. this.columnПол.MaxLength = 50;
  1325. this._columnСкидка_на_обслуживание__.MaxLength = 10;
  1326. }
  1327. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1328. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1329. public ПациентыRow NewПациентыRow() {
  1330. return ((ПациентыRow)(this.NewRow()));
  1331. }
  1332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1333. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1334. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1335. return new ПациентыRow(builder);
  1336. }
  1337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1338. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1339. protected override global::System.Type GetRowType() {
  1340. return typeof(ПациентыRow);
  1341. }
  1342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1343. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1344. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1345. base.OnRowChanged(e);
  1346. if ((this.ПациентыRowChanged != null)) {
  1347. this.ПациентыRowChanged(this, new ПациентыRowChangeEvent(((ПациентыRow)(e.Row)), e.Action));
  1348. }
  1349. }
  1350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1351. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1352. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1353. base.OnRowChanging(e);
  1354. if ((this.ПациентыRowChanging != null)) {
  1355. this.ПациентыRowChanging(this, new ПациентыRowChangeEvent(((ПациентыRow)(e.Row)), e.Action));
  1356. }
  1357. }
  1358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1359. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1360. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1361. base.OnRowDeleted(e);
  1362. if ((this.ПациентыRowDeleted != null)) {
  1363. this.ПациентыRowDeleted(this, new ПациентыRowChangeEvent(((ПациентыRow)(e.Row)), e.Action));
  1364. }
  1365. }
  1366. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1367. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1368. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1369. base.OnRowDeleting(e);
  1370. if ((this.ПациентыRowDeleting != null)) {
  1371. this.ПациентыRowDeleting(this, new ПациентыRowChangeEvent(((ПациентыRow)(e.Row)), e.Action));
  1372. }
  1373. }
  1374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1375. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1376. public void RemoveПациентыRow(ПациентыRow row) {
  1377. this.Rows.Remove(row);
  1378. }
  1379. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1380. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1381. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1382. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1383. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1384. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  1385. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1386. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1387. any1.MinOccurs = new decimal(0);
  1388. any1.MaxOccurs = decimal.MaxValue;
  1389. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1390. sequence.Items.Add(any1);
  1391. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1392. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1393. any2.MinOccurs = new decimal(1);
  1394. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1395. sequence.Items.Add(any2);
  1396. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1397. attribute1.Name = "namespace";
  1398. attribute1.FixedValue = ds.Namespace;
  1399. type.Attributes.Add(attribute1);
  1400. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1401. attribute2.Name = "tableTypeName";
  1402. attribute2.FixedValue = "ПациентыDataTable";
  1403. type.Attributes.Add(attribute2);
  1404. type.Particle = sequence;
  1405. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1406. if (xs.Contains(dsSchema.TargetNamespace)) {
  1407. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1408. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1409. try {
  1410. global::System.Xml.Schema.XmlSchema schema = null;
  1411. dsSchema.Write(s1);
  1412. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1413. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1414. s2.SetLength(0);
  1415. schema.Write(s2);
  1416. if ((s1.Length == s2.Length)) {
  1417. s1.Position = 0;
  1418. s2.Position = 0;
  1419. for (; ((s1.Position != s1.Length)
  1420. && (s1.ReadByte() == s2.ReadByte())); ) {
  1421. ;
  1422. }
  1423. if ((s1.Position == s1.Length)) {
  1424. return type;
  1425. }
  1426. }
  1427. }
  1428. }
  1429. finally {
  1430. if ((s1 != null)) {
  1431. s1.Close();
  1432. }
  1433. if ((s2 != null)) {
  1434. s2.Close();
  1435. }
  1436. }
  1437. }
  1438. xs.Add(dsSchema);
  1439. return type;
  1440. }
  1441. }
  1442. /// <summary>
  1443. ///Represents the strongly named DataTable class.
  1444. ///</summary>
  1445. [global::System.Serializable()]
  1446. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1447. public partial class ПриёмыDataTable : global::System.Data.TypedTableBase<ПриёмыRow> {
  1448. private global::System.Data.DataColumn columnНомер_талона;
  1449. private global::System.Data.DataColumn columnДата_визита;
  1450. private global::System.Data.DataColumn columnЦель_посещения;
  1451. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  1452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1454. public ПриёмыDataTable() {
  1455. this.TableName = "Приёмы";
  1456. this.BeginInit();
  1457. this.InitClass();
  1458. this.EndInit();
  1459. }
  1460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1461. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1462. internal ПриёмыDataTable(global::System.Data.DataTable table) {
  1463. this.TableName = table.TableName;
  1464. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1465. this.CaseSensitive = table.CaseSensitive;
  1466. }
  1467. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1468. this.Locale = table.Locale;
  1469. }
  1470. if ((table.Namespace != table.DataSet.Namespace)) {
  1471. this.Namespace = table.Namespace;
  1472. }
  1473. this.Prefix = table.Prefix;
  1474. this.MinimumCapacity = table.MinimumCapacity;
  1475. }
  1476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1478. protected ПриёмыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1479. base(info, context) {
  1480. this.InitVars();
  1481. }
  1482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1483. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1484. public global::System.Data.DataColumn Номер_талонаColumn {
  1485. get {
  1486. return this.columnНомер_талона;
  1487. }
  1488. }
  1489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1491. public global::System.Data.DataColumn Дата_визитаColumn {
  1492. get {
  1493. return this.columnДата_визита;
  1494. }
  1495. }
  1496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1498. public global::System.Data.DataColumn Цель_посещенияColumn {
  1499. get {
  1500. return this.columnЦель_посещения;
  1501. }
  1502. }
  1503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1505. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  1506. get {
  1507. return this._columnСтоимость_визита_руб__;
  1508. }
  1509. }
  1510. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1511. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1512. [global::System.ComponentModel.Browsable(false)]
  1513. public int Count {
  1514. get {
  1515. return this.Rows.Count;
  1516. }
  1517. }
  1518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1519. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1520. public ПриёмыRow this[int index] {
  1521. get {
  1522. return ((ПриёмыRow)(this.Rows[index]));
  1523. }
  1524. }
  1525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1526. public event ПриёмыRowChangeEventHandler ПриёмыRowChanging;
  1527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1528. public event ПриёмыRowChangeEventHandler ПриёмыRowChanged;
  1529. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1530. public event ПриёмыRowChangeEventHandler ПриёмыRowDeleting;
  1531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1532. public event ПриёмыRowChangeEventHandler ПриёмыRowDeleted;
  1533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1534. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1535. public void AddПриёмыRow(ПриёмыRow row) {
  1536. this.Rows.Add(row);
  1537. }
  1538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1540. public ПриёмыRow AddПриёмыRow(int Номер_талона, System.DateTime Дата_визита, string Цель_посещения, string _Стоимость_визита_руб__) {
  1541. ПриёмыRow rowПриёмыRow = ((ПриёмыRow)(this.NewRow()));
  1542. object[] columnValuesArray = new object[] {
  1543. Номер_талона,
  1544. Дата_визита,
  1545. Цель_посещения,
  1546. _Стоимость_визита_руб__};
  1547. rowПриёмыRow.ItemArray = columnValuesArray;
  1548. this.Rows.Add(rowПриёмыRow);
  1549. return rowПриёмыRow;
  1550. }
  1551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1552. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1553. public override global::System.Data.DataTable Clone() {
  1554. ПриёмыDataTable cln = ((ПриёмыDataTable)(base.Clone()));
  1555. cln.InitVars();
  1556. return cln;
  1557. }
  1558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1560. protected override global::System.Data.DataTable CreateInstance() {
  1561. return new ПриёмыDataTable();
  1562. }
  1563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1564. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1565. internal void InitVars() {
  1566. this.columnНомер_талона = base.Columns["Номер талона"];
  1567. this.columnДата_визита = base.Columns["Дата визита"];
  1568. this.columnЦель_посещения = base.Columns["Цель посещения"];
  1569. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  1570. }
  1571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1572. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1573. private void InitClass() {
  1574. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  1575. base.Columns.Add(this.columnНомер_талона);
  1576. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1577. base.Columns.Add(this.columnДата_визита);
  1578. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  1579. base.Columns.Add(this.columnЦель_посещения);
  1580. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  1581. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  1582. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  1583. base.Columns.Add(this._columnСтоимость_визита_руб__);
  1584. this.columnЦель_посещения.MaxLength = 50;
  1585. this._columnСтоимость_визита_руб__.MaxLength = 10;
  1586. }
  1587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1588. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1589. public ПриёмыRow NewПриёмыRow() {
  1590. return ((ПриёмыRow)(this.NewRow()));
  1591. }
  1592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1593. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1594. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1595. return new ПриёмыRow(builder);
  1596. }
  1597. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1598. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1599. protected override global::System.Type GetRowType() {
  1600. return typeof(ПриёмыRow);
  1601. }
  1602. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1603. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1604. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1605. base.OnRowChanged(e);
  1606. if ((this.ПриёмыRowChanged != null)) {
  1607. this.ПриёмыRowChanged(this, new ПриёмыRowChangeEvent(((ПриёмыRow)(e.Row)), e.Action));
  1608. }
  1609. }
  1610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1611. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1612. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1613. base.OnRowChanging(e);
  1614. if ((this.ПриёмыRowChanging != null)) {
  1615. this.ПриёмыRowChanging(this, new ПриёмыRowChangeEvent(((ПриёмыRow)(e.Row)), e.Action));
  1616. }
  1617. }
  1618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1619. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1620. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1621. base.OnRowDeleted(e);
  1622. if ((this.ПриёмыRowDeleted != null)) {
  1623. this.ПриёмыRowDeleted(this, new ПриёмыRowChangeEvent(((ПриёмыRow)(e.Row)), e.Action));
  1624. }
  1625. }
  1626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1628. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1629. base.OnRowDeleting(e);
  1630. if ((this.ПриёмыRowDeleting != null)) {
  1631. this.ПриёмыRowDeleting(this, new ПриёмыRowChangeEvent(((ПриёмыRow)(e.Row)), e.Action));
  1632. }
  1633. }
  1634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1636. public void RemoveПриёмыRow(ПриёмыRow row) {
  1637. this.Rows.Remove(row);
  1638. }
  1639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1641. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1642. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1643. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1644. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  1645. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1646. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1647. any1.MinOccurs = new decimal(0);
  1648. any1.MaxOccurs = decimal.MaxValue;
  1649. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1650. sequence.Items.Add(any1);
  1651. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1652. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1653. any2.MinOccurs = new decimal(1);
  1654. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1655. sequence.Items.Add(any2);
  1656. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1657. attribute1.Name = "namespace";
  1658. attribute1.FixedValue = ds.Namespace;
  1659. type.Attributes.Add(attribute1);
  1660. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1661. attribute2.Name = "tableTypeName";
  1662. attribute2.FixedValue = "ПриёмыDataTable";
  1663. type.Attributes.Add(attribute2);
  1664. type.Particle = sequence;
  1665. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1666. if (xs.Contains(dsSchema.TargetNamespace)) {
  1667. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1668. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1669. try {
  1670. global::System.Xml.Schema.XmlSchema schema = null;
  1671. dsSchema.Write(s1);
  1672. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1673. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1674. s2.SetLength(0);
  1675. schema.Write(s2);
  1676. if ((s1.Length == s2.Length)) {
  1677. s1.Position = 0;
  1678. s2.Position = 0;
  1679. for (; ((s1.Position != s1.Length)
  1680. && (s1.ReadByte() == s2.ReadByte())); ) {
  1681. ;
  1682. }
  1683. if ((s1.Position == s1.Length)) {
  1684. return type;
  1685. }
  1686. }
  1687. }
  1688. }
  1689. finally {
  1690. if ((s1 != null)) {
  1691. s1.Close();
  1692. }
  1693. if ((s2 != null)) {
  1694. s2.Close();
  1695. }
  1696. }
  1697. }
  1698. xs.Add(dsSchema);
  1699. return type;
  1700. }
  1701. }
  1702. /// <summary>
  1703. ///Represents the strongly named DataTable class.
  1704. ///</summary>
  1705. [global::System.Serializable()]
  1706. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1707. public partial class _Врачи_ПриёмыDataTable : global::System.Data.TypedTableBase<_Врачи_ПриёмыRow> {
  1708. private global::System.Data.DataColumn columnФИО;
  1709. private global::System.Data.DataColumn columnСпециальность;
  1710. private global::System.Data.DataColumn columnКатегория;
  1711. private global::System.Data.DataColumn columnНомер_талона;
  1712. private global::System.Data.DataColumn columnДата_визита;
  1713. private global::System.Data.DataColumn columnЦель_посещения;
  1714. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  1715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1716. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1717. public _Врачи_ПриёмыDataTable() {
  1718. this.TableName = "Врачи+Приёмы";
  1719. this.BeginInit();
  1720. this.InitClass();
  1721. this.EndInit();
  1722. }
  1723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1724. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1725. internal _Врачи_ПриёмыDataTable(global::System.Data.DataTable table) {
  1726. this.TableName = table.TableName;
  1727. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1728. this.CaseSensitive = table.CaseSensitive;
  1729. }
  1730. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1731. this.Locale = table.Locale;
  1732. }
  1733. if ((table.Namespace != table.DataSet.Namespace)) {
  1734. this.Namespace = table.Namespace;
  1735. }
  1736. this.Prefix = table.Prefix;
  1737. this.MinimumCapacity = table.MinimumCapacity;
  1738. }
  1739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1740. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1741. protected _Врачи_ПриёмыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1742. base(info, context) {
  1743. this.InitVars();
  1744. }
  1745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1746. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1747. public global::System.Data.DataColumn ФИОColumn {
  1748. get {
  1749. return this.columnФИО;
  1750. }
  1751. }
  1752. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1753. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1754. public global::System.Data.DataColumn СпециальностьColumn {
  1755. get {
  1756. return this.columnСпециальность;
  1757. }
  1758. }
  1759. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1760. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1761. public global::System.Data.DataColumn КатегорияColumn {
  1762. get {
  1763. return this.columnКатегория;
  1764. }
  1765. }
  1766. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1767. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1768. public global::System.Data.DataColumn Номер_талонаColumn {
  1769. get {
  1770. return this.columnНомер_талона;
  1771. }
  1772. }
  1773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1774. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1775. public global::System.Data.DataColumn Дата_визитаColumn {
  1776. get {
  1777. return this.columnДата_визита;
  1778. }
  1779. }
  1780. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1781. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1782. public global::System.Data.DataColumn Цель_посещенияColumn {
  1783. get {
  1784. return this.columnЦель_посещения;
  1785. }
  1786. }
  1787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1788. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1789. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  1790. get {
  1791. return this._columnСтоимость_визита_руб__;
  1792. }
  1793. }
  1794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1795. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1796. [global::System.ComponentModel.Browsable(false)]
  1797. public int Count {
  1798. get {
  1799. return this.Rows.Count;
  1800. }
  1801. }
  1802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1803. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1804. public _Врачи_ПриёмыRow this[int index] {
  1805. get {
  1806. return ((_Врачи_ПриёмыRow)(this.Rows[index]));
  1807. }
  1808. }
  1809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1810. public event _Врачи_ПриёмыRowChangeEventHandler _Врачи_ПриёмыRowChanging;
  1811. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1812. public event _Врачи_ПриёмыRowChangeEventHandler _Врачи_ПриёмыRowChanged;
  1813. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1814. public event _Врачи_ПриёмыRowChangeEventHandler _Врачи_ПриёмыRowDeleting;
  1815. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1816. public event _Врачи_ПриёмыRowChangeEventHandler _Врачи_ПриёмыRowDeleted;
  1817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1819. public void Add_Врачи_ПриёмыRow(_Врачи_ПриёмыRow row) {
  1820. this.Rows.Add(row);
  1821. }
  1822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1823. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1824. public _Врачи_ПриёмыRow Add_Врачи_ПриёмыRow(string ФИО, string Специальность, string Категория, int Номер_талона, System.DateTime Дата_визита, string Цель_посещения, string _Стоимость_визита_руб__) {
  1825. _Врачи_ПриёмыRow row_Врачи_ПриёмыRow = ((_Врачи_ПриёмыRow)(this.NewRow()));
  1826. object[] columnValuesArray = new object[] {
  1827. ФИО,
  1828. Специальность,
  1829. Категория,
  1830. Номер_талона,
  1831. Дата_визита,
  1832. Цель_посещения,
  1833. _Стоимость_визита_руб__};
  1834. row_Врачи_ПриёмыRow.ItemArray = columnValuesArray;
  1835. this.Rows.Add(row_Врачи_ПриёмыRow);
  1836. return row_Врачи_ПриёмыRow;
  1837. }
  1838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1839. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1840. public override global::System.Data.DataTable Clone() {
  1841. _Врачи_ПриёмыDataTable cln = ((_Врачи_ПриёмыDataTable)(base.Clone()));
  1842. cln.InitVars();
  1843. return cln;
  1844. }
  1845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1846. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1847. protected override global::System.Data.DataTable CreateInstance() {
  1848. return new _Врачи_ПриёмыDataTable();
  1849. }
  1850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1852. internal void InitVars() {
  1853. this.columnФИО = base.Columns["ФИО"];
  1854. this.columnСпециальность = base.Columns["Специальность"];
  1855. this.columnКатегория = base.Columns["Категория"];
  1856. this.columnНомер_талона = base.Columns["Номер талона"];
  1857. this.columnДата_визита = base.Columns["Дата визита"];
  1858. this.columnЦель_посещения = base.Columns["Цель посещения"];
  1859. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  1860. }
  1861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1862. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1863. private void InitClass() {
  1864. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  1865. base.Columns.Add(this.columnФИО);
  1866. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  1867. base.Columns.Add(this.columnСпециальность);
  1868. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  1869. base.Columns.Add(this.columnКатегория);
  1870. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  1871. base.Columns.Add(this.columnНомер_талона);
  1872. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1873. base.Columns.Add(this.columnДата_визита);
  1874. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  1875. base.Columns.Add(this.columnЦель_посещения);
  1876. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  1877. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  1878. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  1879. base.Columns.Add(this._columnСтоимость_визита_руб__);
  1880. this.columnФИО.MaxLength = 50;
  1881. this.columnСпециальность.MaxLength = 50;
  1882. this.columnКатегория.MaxLength = 50;
  1883. this.columnЦель_посещения.MaxLength = 50;
  1884. this._columnСтоимость_визита_руб__.MaxLength = 10;
  1885. this.ExtendedProperties.Add("Generator_TableVarName", "_tableВрачи_Приёмы");
  1886. this.ExtendedProperties.Add("Generator_UserTableName", "Врачи+Приёмы");
  1887. }
  1888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1890. public _Врачи_ПриёмыRow New_Врачи_ПриёмыRow() {
  1891. return ((_Врачи_ПриёмыRow)(this.NewRow()));
  1892. }
  1893. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1894. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1895. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1896. return new _Врачи_ПриёмыRow(builder);
  1897. }
  1898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1899. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1900. protected override global::System.Type GetRowType() {
  1901. return typeof(_Врачи_ПриёмыRow);
  1902. }
  1903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1905. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1906. base.OnRowChanged(e);
  1907. if ((this._Врачи_ПриёмыRowChanged != null)) {
  1908. this._Врачи_ПриёмыRowChanged(this, new _Врачи_ПриёмыRowChangeEvent(((_Врачи_ПриёмыRow)(e.Row)), e.Action));
  1909. }
  1910. }
  1911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1912. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1913. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1914. base.OnRowChanging(e);
  1915. if ((this._Врачи_ПриёмыRowChanging != null)) {
  1916. this._Врачи_ПриёмыRowChanging(this, new _Врачи_ПриёмыRowChangeEvent(((_Врачи_ПриёмыRow)(e.Row)), e.Action));
  1917. }
  1918. }
  1919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1920. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1921. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1922. base.OnRowDeleted(e);
  1923. if ((this._Врачи_ПриёмыRowDeleted != null)) {
  1924. this._Врачи_ПриёмыRowDeleted(this, new _Врачи_ПриёмыRowChangeEvent(((_Врачи_ПриёмыRow)(e.Row)), e.Action));
  1925. }
  1926. }
  1927. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1928. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1929. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1930. base.OnRowDeleting(e);
  1931. if ((this._Врачи_ПриёмыRowDeleting != null)) {
  1932. this._Врачи_ПриёмыRowDeleting(this, new _Врачи_ПриёмыRowChangeEvent(((_Врачи_ПриёмыRow)(e.Row)), e.Action));
  1933. }
  1934. }
  1935. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1936. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1937. public void Remove_Врачи_ПриёмыRow(_Врачи_ПриёмыRow row) {
  1938. this.Rows.Remove(row);
  1939. }
  1940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1941. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1942. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1943. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1944. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1945. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  1946. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1947. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1948. any1.MinOccurs = new decimal(0);
  1949. any1.MaxOccurs = decimal.MaxValue;
  1950. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1951. sequence.Items.Add(any1);
  1952. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1953. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1954. any2.MinOccurs = new decimal(1);
  1955. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1956. sequence.Items.Add(any2);
  1957. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1958. attribute1.Name = "namespace";
  1959. attribute1.FixedValue = ds.Namespace;
  1960. type.Attributes.Add(attribute1);
  1961. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1962. attribute2.Name = "tableTypeName";
  1963. attribute2.FixedValue = "_Врачи_ПриёмыDataTable";
  1964. type.Attributes.Add(attribute2);
  1965. type.Particle = sequence;
  1966. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1967. if (xs.Contains(dsSchema.TargetNamespace)) {
  1968. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1969. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1970. try {
  1971. global::System.Xml.Schema.XmlSchema schema = null;
  1972. dsSchema.Write(s1);
  1973. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1974. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1975. s2.SetLength(0);
  1976. schema.Write(s2);
  1977. if ((s1.Length == s2.Length)) {
  1978. s1.Position = 0;
  1979. s2.Position = 0;
  1980. for (; ((s1.Position != s1.Length)
  1981. && (s1.ReadByte() == s2.ReadByte())); ) {
  1982. ;
  1983. }
  1984. if ((s1.Position == s1.Length)) {
  1985. return type;
  1986. }
  1987. }
  1988. }
  1989. }
  1990. finally {
  1991. if ((s1 != null)) {
  1992. s1.Close();
  1993. }
  1994. if ((s2 != null)) {
  1995. s2.Close();
  1996. }
  1997. }
  1998. }
  1999. xs.Add(dsSchema);
  2000. return type;
  2001. }
  2002. }
  2003. /// <summary>
  2004. ///Represents the strongly named DataTable class.
  2005. ///</summary>
  2006. [global::System.Serializable()]
  2007. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2008. public partial class _Пациенты_ДиагнозыDataTable : global::System.Data.TypedTableBase<_Пациенты_ДиагнозыRow> {
  2009. private global::System.Data.DataColumn columnНомер_медкарты;
  2010. private global::System.Data.DataColumn columnФИО;
  2011. private global::System.Data.DataColumn columnДата_рождения;
  2012. private global::System.Data.DataColumn columnАдрес;
  2013. private global::System.Data.DataColumn columnПол;
  2014. private global::System.Data.DataColumn _columnСкидка_на_обслуживание__;
  2015. private global::System.Data.DataColumn columnКод_диагноза;
  2016. private global::System.Data.DataColumn columnНаименование_диагноза;
  2017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2018. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2019. public _Пациенты_ДиагнозыDataTable() {
  2020. this.TableName = "Пациенты+Диагнозы";
  2021. this.BeginInit();
  2022. this.InitClass();
  2023. this.EndInit();
  2024. }
  2025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2026. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2027. internal _Пациенты_ДиагнозыDataTable(global::System.Data.DataTable table) {
  2028. this.TableName = table.TableName;
  2029. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2030. this.CaseSensitive = table.CaseSensitive;
  2031. }
  2032. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2033. this.Locale = table.Locale;
  2034. }
  2035. if ((table.Namespace != table.DataSet.Namespace)) {
  2036. this.Namespace = table.Namespace;
  2037. }
  2038. this.Prefix = table.Prefix;
  2039. this.MinimumCapacity = table.MinimumCapacity;
  2040. }
  2041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2043. protected _Пациенты_ДиагнозыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2044. base(info, context) {
  2045. this.InitVars();
  2046. }
  2047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2048. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2049. public global::System.Data.DataColumn Номер_медкартыColumn {
  2050. get {
  2051. return this.columnНомер_медкарты;
  2052. }
  2053. }
  2054. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2055. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2056. public global::System.Data.DataColumn ФИОColumn {
  2057. get {
  2058. return this.columnФИО;
  2059. }
  2060. }
  2061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2062. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2063. public global::System.Data.DataColumn Дата_рожденияColumn {
  2064. get {
  2065. return this.columnДата_рождения;
  2066. }
  2067. }
  2068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2070. public global::System.Data.DataColumn АдресColumn {
  2071. get {
  2072. return this.columnАдрес;
  2073. }
  2074. }
  2075. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2076. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2077. public global::System.Data.DataColumn ПолColumn {
  2078. get {
  2079. return this.columnПол;
  2080. }
  2081. }
  2082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2083. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2084. public global::System.Data.DataColumn _Скидка_на_обслуживание__Column {
  2085. get {
  2086. return this._columnСкидка_на_обслуживание__;
  2087. }
  2088. }
  2089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2090. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2091. public global::System.Data.DataColumn Код_диагнозаColumn {
  2092. get {
  2093. return this.columnКод_диагноза;
  2094. }
  2095. }
  2096. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2097. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2098. public global::System.Data.DataColumn Наименование_диагнозаColumn {
  2099. get {
  2100. return this.columnНаименование_диагноза;
  2101. }
  2102. }
  2103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2105. [global::System.ComponentModel.Browsable(false)]
  2106. public int Count {
  2107. get {
  2108. return this.Rows.Count;
  2109. }
  2110. }
  2111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2112. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2113. public _Пациенты_ДиагнозыRow this[int index] {
  2114. get {
  2115. return ((_Пациенты_ДиагнозыRow)(this.Rows[index]));
  2116. }
  2117. }
  2118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2119. public event _Пациенты_ДиагнозыRowChangeEventHandler _Пациенты_ДиагнозыRowChanging;
  2120. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2121. public event _Пациенты_ДиагнозыRowChangeEventHandler _Пациенты_ДиагнозыRowChanged;
  2122. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2123. public event _Пациенты_ДиагнозыRowChangeEventHandler _Пациенты_ДиагнозыRowDeleting;
  2124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2125. public event _Пациенты_ДиагнозыRowChangeEventHandler _Пациенты_ДиагнозыRowDeleted;
  2126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2127. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2128. public void Add_Пациенты_ДиагнозыRow(_Пациенты_ДиагнозыRow row) {
  2129. this.Rows.Add(row);
  2130. }
  2131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2133. public _Пациенты_ДиагнозыRow Add_Пациенты_ДиагнозыRow(int Номер_медкарты, string ФИО, System.DateTime Дата_рождения, string Адрес, string Пол, string _Скидка_на_обслуживание__, int Код_диагноза, string Наименование_диагноза) {
  2134. _Пациенты_ДиагнозыRow row_Пациенты_ДиагнозыRow = ((_Пациенты_ДиагнозыRow)(this.NewRow()));
  2135. object[] columnValuesArray = new object[] {
  2136. Номер_медкарты,
  2137. ФИО,
  2138. Дата_рождения,
  2139. Адрес,
  2140. Пол,
  2141. _Скидка_на_обслуживание__,
  2142. Код_диагноза,
  2143. Наименование_диагноза};
  2144. row_Пациенты_ДиагнозыRow.ItemArray = columnValuesArray;
  2145. this.Rows.Add(row_Пациенты_ДиагнозыRow);
  2146. return row_Пациенты_ДиагнозыRow;
  2147. }
  2148. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2149. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2150. public _Пациенты_ДиагнозыRow FindByКод_диагноза(int Код_диагноза) {
  2151. return ((_Пациенты_ДиагнозыRow)(this.Rows.Find(new object[] {
  2152. Код_диагноза})));
  2153. }
  2154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2156. public override global::System.Data.DataTable Clone() {
  2157. _Пациенты_ДиагнозыDataTable cln = ((_Пациенты_ДиагнозыDataTable)(base.Clone()));
  2158. cln.InitVars();
  2159. return cln;
  2160. }
  2161. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2162. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2163. protected override global::System.Data.DataTable CreateInstance() {
  2164. return new _Пациенты_ДиагнозыDataTable();
  2165. }
  2166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2167. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2168. internal void InitVars() {
  2169. this.columnНомер_медкарты = base.Columns["Номер медкарты"];
  2170. this.columnФИО = base.Columns["ФИО"];
  2171. this.columnДата_рождения = base.Columns["Дата рождения"];
  2172. this.columnАдрес = base.Columns["Адрес"];
  2173. this.columnПол = base.Columns["Пол"];
  2174. this._columnСкидка_на_обслуживание__ = base.Columns["Скидка на обслуживание %"];
  2175. this.columnКод_диагноза = base.Columns["Код диагноза"];
  2176. this.columnНаименование_диагноза = base.Columns["Наименование диагноза"];
  2177. }
  2178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2179. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2180. private void InitClass() {
  2181. this.columnНомер_медкарты = new global::System.Data.DataColumn("Номер медкарты", typeof(int), null, global::System.Data.MappingType.Element);
  2182. base.Columns.Add(this.columnНомер_медкарты);
  2183. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  2184. base.Columns.Add(this.columnФИО);
  2185. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2186. base.Columns.Add(this.columnДата_рождения);
  2187. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  2188. base.Columns.Add(this.columnАдрес);
  2189. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  2190. base.Columns.Add(this.columnПол);
  2191. this._columnСкидка_на_обслуживание__ = new global::System.Data.DataColumn("Скидка на обслуживание %", typeof(string), null, global::System.Data.MappingType.Element);
  2192. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСкидка_на_обслуживание__");
  2193. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_UserColumnName", "Скидка на обслуживание %");
  2194. base.Columns.Add(this._columnСкидка_на_обслуживание__);
  2195. this.columnКод_диагноза = new global::System.Data.DataColumn("Код диагноза", typeof(int), null, global::System.Data.MappingType.Element);
  2196. base.Columns.Add(this.columnКод_диагноза);
  2197. this.columnНаименование_диагноза = new global::System.Data.DataColumn("Наименование диагноза", typeof(string), null, global::System.Data.MappingType.Element);
  2198. base.Columns.Add(this.columnНаименование_диагноза);
  2199. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2200. this.columnКод_диагноза}, true));
  2201. this.columnНомер_медкарты.AllowDBNull = false;
  2202. this.columnФИО.MaxLength = 50;
  2203. this.columnАдрес.MaxLength = 50;
  2204. this.columnПол.MaxLength = 50;
  2205. this._columnСкидка_на_обслуживание__.MaxLength = 10;
  2206. this.columnКод_диагноза.AllowDBNull = false;
  2207. this.columnКод_диагноза.Unique = true;
  2208. this.columnНаименование_диагноза.MaxLength = 50;
  2209. this.ExtendedProperties.Add("Generator_TableVarName", "_tableПациенты_Диагнозы");
  2210. this.ExtendedProperties.Add("Generator_UserTableName", "Пациенты+Диагнозы");
  2211. }
  2212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2213. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2214. public _Пациенты_ДиагнозыRow New_Пациенты_ДиагнозыRow() {
  2215. return ((_Пациенты_ДиагнозыRow)(this.NewRow()));
  2216. }
  2217. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2218. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2219. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2220. return new _Пациенты_ДиагнозыRow(builder);
  2221. }
  2222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2223. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2224. protected override global::System.Type GetRowType() {
  2225. return typeof(_Пациенты_ДиагнозыRow);
  2226. }
  2227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2229. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2230. base.OnRowChanged(e);
  2231. if ((this._Пациенты_ДиагнозыRowChanged != null)) {
  2232. this._Пациенты_ДиагнозыRowChanged(this, new _Пациенты_ДиагнозыRowChangeEvent(((_Пациенты_ДиагнозыRow)(e.Row)), e.Action));
  2233. }
  2234. }
  2235. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2236. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2237. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2238. base.OnRowChanging(e);
  2239. if ((this._Пациенты_ДиагнозыRowChanging != null)) {
  2240. this._Пациенты_ДиагнозыRowChanging(this, new _Пациенты_ДиагнозыRowChangeEvent(((_Пациенты_ДиагнозыRow)(e.Row)), e.Action));
  2241. }
  2242. }
  2243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2245. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2246. base.OnRowDeleted(e);
  2247. if ((this._Пациенты_ДиагнозыRowDeleted != null)) {
  2248. this._Пациенты_ДиагнозыRowDeleted(this, new _Пациенты_ДиагнозыRowChangeEvent(((_Пациенты_ДиагнозыRow)(e.Row)), e.Action));
  2249. }
  2250. }
  2251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2252. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2253. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2254. base.OnRowDeleting(e);
  2255. if ((this._Пациенты_ДиагнозыRowDeleting != null)) {
  2256. this._Пациенты_ДиагнозыRowDeleting(this, new _Пациенты_ДиагнозыRowChangeEvent(((_Пациенты_ДиагнозыRow)(e.Row)), e.Action));
  2257. }
  2258. }
  2259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2261. public void Remove_Пациенты_ДиагнозыRow(_Пациенты_ДиагнозыRow row) {
  2262. this.Rows.Remove(row);
  2263. }
  2264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2266. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2267. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2268. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2269. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  2270. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2271. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2272. any1.MinOccurs = new decimal(0);
  2273. any1.MaxOccurs = decimal.MaxValue;
  2274. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2275. sequence.Items.Add(any1);
  2276. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2277. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2278. any2.MinOccurs = new decimal(1);
  2279. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2280. sequence.Items.Add(any2);
  2281. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2282. attribute1.Name = "namespace";
  2283. attribute1.FixedValue = ds.Namespace;
  2284. type.Attributes.Add(attribute1);
  2285. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2286. attribute2.Name = "tableTypeName";
  2287. attribute2.FixedValue = "_Пациенты_ДиагнозыDataTable";
  2288. type.Attributes.Add(attribute2);
  2289. type.Particle = sequence;
  2290. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2291. if (xs.Contains(dsSchema.TargetNamespace)) {
  2292. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2293. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2294. try {
  2295. global::System.Xml.Schema.XmlSchema schema = null;
  2296. dsSchema.Write(s1);
  2297. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2298. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2299. s2.SetLength(0);
  2300. schema.Write(s2);
  2301. if ((s1.Length == s2.Length)) {
  2302. s1.Position = 0;
  2303. s2.Position = 0;
  2304. for (; ((s1.Position != s1.Length)
  2305. && (s1.ReadByte() == s2.ReadByte())); ) {
  2306. ;
  2307. }
  2308. if ((s1.Position == s1.Length)) {
  2309. return type;
  2310. }
  2311. }
  2312. }
  2313. }
  2314. finally {
  2315. if ((s1 != null)) {
  2316. s1.Close();
  2317. }
  2318. if ((s2 != null)) {
  2319. s2.Close();
  2320. }
  2321. }
  2322. }
  2323. xs.Add(dsSchema);
  2324. return type;
  2325. }
  2326. }
  2327. /// <summary>
  2328. ///Represents the strongly named DataTable class.
  2329. ///</summary>
  2330. [global::System.Serializable()]
  2331. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2332. public partial class Фильтр_Заболевании_органов_дыханияDataTable : global::System.Data.TypedTableBase<Фильтр_Заболевании_органов_дыханияRow> {
  2333. private global::System.Data.DataColumn columnНомер_медкарты;
  2334. private global::System.Data.DataColumn columnФИО;
  2335. private global::System.Data.DataColumn columnДата_рождения;
  2336. private global::System.Data.DataColumn columnАдрес;
  2337. private global::System.Data.DataColumn columnПол;
  2338. private global::System.Data.DataColumn _columnСкидка_на_обслуживание__;
  2339. private global::System.Data.DataColumn columnКод_диагноза;
  2340. private global::System.Data.DataColumn columnНаименование_диагноза;
  2341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2342. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2343. public Фильтр_Заболевании_органов_дыханияDataTable() {
  2344. this.TableName = "Фильтр Заболевании органов дыхания";
  2345. this.BeginInit();
  2346. this.InitClass();
  2347. this.EndInit();
  2348. }
  2349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2351. internal Фильтр_Заболевании_органов_дыханияDataTable(global::System.Data.DataTable table) {
  2352. this.TableName = table.TableName;
  2353. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2354. this.CaseSensitive = table.CaseSensitive;
  2355. }
  2356. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2357. this.Locale = table.Locale;
  2358. }
  2359. if ((table.Namespace != table.DataSet.Namespace)) {
  2360. this.Namespace = table.Namespace;
  2361. }
  2362. this.Prefix = table.Prefix;
  2363. this.MinimumCapacity = table.MinimumCapacity;
  2364. }
  2365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2366. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2367. protected Фильтр_Заболевании_органов_дыханияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2368. base(info, context) {
  2369. this.InitVars();
  2370. }
  2371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2372. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2373. public global::System.Data.DataColumn Номер_медкартыColumn {
  2374. get {
  2375. return this.columnНомер_медкарты;
  2376. }
  2377. }
  2378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2380. public global::System.Data.DataColumn ФИОColumn {
  2381. get {
  2382. return this.columnФИО;
  2383. }
  2384. }
  2385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2386. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2387. public global::System.Data.DataColumn Дата_рожденияColumn {
  2388. get {
  2389. return this.columnДата_рождения;
  2390. }
  2391. }
  2392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2393. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2394. public global::System.Data.DataColumn АдресColumn {
  2395. get {
  2396. return this.columnАдрес;
  2397. }
  2398. }
  2399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2400. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2401. public global::System.Data.DataColumn ПолColumn {
  2402. get {
  2403. return this.columnПол;
  2404. }
  2405. }
  2406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2408. public global::System.Data.DataColumn _Скидка_на_обслуживание__Column {
  2409. get {
  2410. return this._columnСкидка_на_обслуживание__;
  2411. }
  2412. }
  2413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2414. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2415. public global::System.Data.DataColumn Код_диагнозаColumn {
  2416. get {
  2417. return this.columnКод_диагноза;
  2418. }
  2419. }
  2420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2421. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2422. public global::System.Data.DataColumn Наименование_диагнозаColumn {
  2423. get {
  2424. return this.columnНаименование_диагноза;
  2425. }
  2426. }
  2427. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2428. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2429. [global::System.ComponentModel.Browsable(false)]
  2430. public int Count {
  2431. get {
  2432. return this.Rows.Count;
  2433. }
  2434. }
  2435. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2436. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2437. public Фильтр_Заболевании_органов_дыханияRow this[int index] {
  2438. get {
  2439. return ((Фильтр_Заболевании_органов_дыханияRow)(this.Rows[index]));
  2440. }
  2441. }
  2442. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2443. public event Фильтр_Заболевании_органов_дыханияRowChangeEventHandler Фильтр_Заболевании_органов_дыханияRowChanging;
  2444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2445. public event Фильтр_Заболевании_органов_дыханияRowChangeEventHandler Фильтр_Заболевании_органов_дыханияRowChanged;
  2446. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2447. public event Фильтр_Заболевании_органов_дыханияRowChangeEventHandler Фильтр_Заболевании_органов_дыханияRowDeleting;
  2448. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2449. public event Фильтр_Заболевании_органов_дыханияRowChangeEventHandler Фильтр_Заболевании_органов_дыханияRowDeleted;
  2450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2452. public void AddФильтр_Заболевании_органов_дыханияRow(Фильтр_Заболевании_органов_дыханияRow row) {
  2453. this.Rows.Add(row);
  2454. }
  2455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2456. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2457. public Фильтр_Заболевании_органов_дыханияRow AddФильтр_Заболевании_органов_дыханияRow(int Номер_медкарты, string ФИО, System.DateTime Дата_рождения, string Адрес, string Пол, string _Скидка_на_обслуживание__, int Код_диагноза, string Наименование_диагноза) {
  2458. Фильтр_Заболевании_органов_дыханияRow rowФильтр_Заболевании_органов_дыханияRow = ((Фильтр_Заболевании_органов_дыханияRow)(this.NewRow()));
  2459. object[] columnValuesArray = new object[] {
  2460. Номер_медкарты,
  2461. ФИО,
  2462. Дата_рождения,
  2463. Адрес,
  2464. Пол,
  2465. _Скидка_на_обслуживание__,
  2466. Код_диагноза,
  2467. Наименование_диагноза};
  2468. rowФильтр_Заболевании_органов_дыханияRow.ItemArray = columnValuesArray;
  2469. this.Rows.Add(rowФильтр_Заболевании_органов_дыханияRow);
  2470. return rowФильтр_Заболевании_органов_дыханияRow;
  2471. }
  2472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2473. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2474. public Фильтр_Заболевании_органов_дыханияRow FindByКод_диагноза(int Код_диагноза) {
  2475. return ((Фильтр_Заболевании_органов_дыханияRow)(this.Rows.Find(new object[] {
  2476. Код_диагноза})));
  2477. }
  2478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2479. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2480. public override global::System.Data.DataTable Clone() {
  2481. Фильтр_Заболевании_органов_дыханияDataTable cln = ((Фильтр_Заболевании_органов_дыханияDataTable)(base.Clone()));
  2482. cln.InitVars();
  2483. return cln;
  2484. }
  2485. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2486. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2487. protected override global::System.Data.DataTable CreateInstance() {
  2488. return new Фильтр_Заболевании_органов_дыханияDataTable();
  2489. }
  2490. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2491. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2492. internal void InitVars() {
  2493. this.columnНомер_медкарты = base.Columns["Номер медкарты"];
  2494. this.columnФИО = base.Columns["ФИО"];
  2495. this.columnДата_рождения = base.Columns["Дата рождения"];
  2496. this.columnАдрес = base.Columns["Адрес"];
  2497. this.columnПол = base.Columns["Пол"];
  2498. this._columnСкидка_на_обслуживание__ = base.Columns["Скидка на обслуживание %"];
  2499. this.columnКод_диагноза = base.Columns["Код диагноза"];
  2500. this.columnНаименование_диагноза = base.Columns["Наименование диагноза"];
  2501. }
  2502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2503. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2504. private void InitClass() {
  2505. this.columnНомер_медкарты = new global::System.Data.DataColumn("Номер медкарты", typeof(int), null, global::System.Data.MappingType.Element);
  2506. base.Columns.Add(this.columnНомер_медкарты);
  2507. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  2508. base.Columns.Add(this.columnФИО);
  2509. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2510. base.Columns.Add(this.columnДата_рождения);
  2511. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  2512. base.Columns.Add(this.columnАдрес);
  2513. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  2514. base.Columns.Add(this.columnПол);
  2515. this._columnСкидка_на_обслуживание__ = new global::System.Data.DataColumn("Скидка на обслуживание %", typeof(string), null, global::System.Data.MappingType.Element);
  2516. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСкидка_на_обслуживание__");
  2517. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_UserColumnName", "Скидка на обслуживание %");
  2518. base.Columns.Add(this._columnСкидка_на_обслуживание__);
  2519. this.columnКод_диагноза = new global::System.Data.DataColumn("Код диагноза", typeof(int), null, global::System.Data.MappingType.Element);
  2520. base.Columns.Add(this.columnКод_диагноза);
  2521. this.columnНаименование_диагноза = new global::System.Data.DataColumn("Наименование диагноза", typeof(string), null, global::System.Data.MappingType.Element);
  2522. base.Columns.Add(this.columnНаименование_диагноза);
  2523. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2524. this.columnКод_диагноза}, true));
  2525. this.columnНомер_медкарты.AllowDBNull = false;
  2526. this.columnФИО.MaxLength = 50;
  2527. this.columnАдрес.MaxLength = 50;
  2528. this.columnПол.MaxLength = 50;
  2529. this._columnСкидка_на_обслуживание__.MaxLength = 10;
  2530. this.columnКод_диагноза.AllowDBNull = false;
  2531. this.columnКод_диагноза.Unique = true;
  2532. this.columnНаименование_диагноза.MaxLength = 50;
  2533. }
  2534. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2535. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2536. public Фильтр_Заболевании_органов_дыханияRow NewФильтр_Заболевании_органов_дыханияRow() {
  2537. return ((Фильтр_Заболевании_органов_дыханияRow)(this.NewRow()));
  2538. }
  2539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2540. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2541. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2542. return new Фильтр_Заболевании_органов_дыханияRow(builder);
  2543. }
  2544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2546. protected override global::System.Type GetRowType() {
  2547. return typeof(Фильтр_Заболевании_органов_дыханияRow);
  2548. }
  2549. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2550. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2551. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2552. base.OnRowChanged(e);
  2553. if ((this.Фильтр_Заболевании_органов_дыханияRowChanged != null)) {
  2554. this.Фильтр_Заболевании_органов_дыханияRowChanged(this, new Фильтр_Заболевании_органов_дыханияRowChangeEvent(((Фильтр_Заболевании_органов_дыханияRow)(e.Row)), e.Action));
  2555. }
  2556. }
  2557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2559. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2560. base.OnRowChanging(e);
  2561. if ((this.Фильтр_Заболевании_органов_дыханияRowChanging != null)) {
  2562. this.Фильтр_Заболевании_органов_дыханияRowChanging(this, new Фильтр_Заболевании_органов_дыханияRowChangeEvent(((Фильтр_Заболевании_органов_дыханияRow)(e.Row)), e.Action));
  2563. }
  2564. }
  2565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2566. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2567. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2568. base.OnRowDeleted(e);
  2569. if ((this.Фильтр_Заболевании_органов_дыханияRowDeleted != null)) {
  2570. this.Фильтр_Заболевании_органов_дыханияRowDeleted(this, new Фильтр_Заболевании_органов_дыханияRowChangeEvent(((Фильтр_Заболевании_органов_дыханияRow)(e.Row)), e.Action));
  2571. }
  2572. }
  2573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2575. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2576. base.OnRowDeleting(e);
  2577. if ((this.Фильтр_Заболевании_органов_дыханияRowDeleting != null)) {
  2578. this.Фильтр_Заболевании_органов_дыханияRowDeleting(this, new Фильтр_Заболевании_органов_дыханияRowChangeEvent(((Фильтр_Заболевании_органов_дыханияRow)(e.Row)), e.Action));
  2579. }
  2580. }
  2581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2583. public void RemoveФильтр_Заболевании_органов_дыханияRow(Фильтр_Заболевании_органов_дыханияRow row) {
  2584. this.Rows.Remove(row);
  2585. }
  2586. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2587. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2588. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2589. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2590. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2591. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  2592. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2593. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2594. any1.MinOccurs = new decimal(0);
  2595. any1.MaxOccurs = decimal.MaxValue;
  2596. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2597. sequence.Items.Add(any1);
  2598. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2599. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2600. any2.MinOccurs = new decimal(1);
  2601. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2602. sequence.Items.Add(any2);
  2603. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2604. attribute1.Name = "namespace";
  2605. attribute1.FixedValue = ds.Namespace;
  2606. type.Attributes.Add(attribute1);
  2607. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2608. attribute2.Name = "tableTypeName";
  2609. attribute2.FixedValue = "Фильтр_Заболевании_органов_дыханияDataTable";
  2610. type.Attributes.Add(attribute2);
  2611. type.Particle = sequence;
  2612. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2613. if (xs.Contains(dsSchema.TargetNamespace)) {
  2614. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2615. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2616. try {
  2617. global::System.Xml.Schema.XmlSchema schema = null;
  2618. dsSchema.Write(s1);
  2619. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2620. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2621. s2.SetLength(0);
  2622. schema.Write(s2);
  2623. if ((s1.Length == s2.Length)) {
  2624. s1.Position = 0;
  2625. s2.Position = 0;
  2626. for (; ((s1.Position != s1.Length)
  2627. && (s1.ReadByte() == s2.ReadByte())); ) {
  2628. ;
  2629. }
  2630. if ((s1.Position == s1.Length)) {
  2631. return type;
  2632. }
  2633. }
  2634. }
  2635. }
  2636. finally {
  2637. if ((s1 != null)) {
  2638. s1.Close();
  2639. }
  2640. if ((s2 != null)) {
  2641. s2.Close();
  2642. }
  2643. }
  2644. }
  2645. xs.Add(dsSchema);
  2646. return type;
  2647. }
  2648. }
  2649. /// <summary>
  2650. ///Represents the strongly named DataTable class.
  2651. ///</summary>
  2652. [global::System.Serializable()]
  2653. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2654. public partial class Фильтр_КатегорииDataTable : global::System.Data.TypedTableBase<Фильтр_КатегорииRow> {
  2655. private global::System.Data.DataColumn columnФИО;
  2656. private global::System.Data.DataColumn columnСпециальность;
  2657. private global::System.Data.DataColumn columnКатегория;
  2658. private global::System.Data.DataColumn columnНомер_талона;
  2659. private global::System.Data.DataColumn columnДата_визита;
  2660. private global::System.Data.DataColumn columnЦель_посещения;
  2661. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  2662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2664. public Фильтр_КатегорииDataTable() {
  2665. this.TableName = "Фильтр Категории";
  2666. this.BeginInit();
  2667. this.InitClass();
  2668. this.EndInit();
  2669. }
  2670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2672. internal Фильтр_КатегорииDataTable(global::System.Data.DataTable table) {
  2673. this.TableName = table.TableName;
  2674. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2675. this.CaseSensitive = table.CaseSensitive;
  2676. }
  2677. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2678. this.Locale = table.Locale;
  2679. }
  2680. if ((table.Namespace != table.DataSet.Namespace)) {
  2681. this.Namespace = table.Namespace;
  2682. }
  2683. this.Prefix = table.Prefix;
  2684. this.MinimumCapacity = table.MinimumCapacity;
  2685. }
  2686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2688. protected Фильтр_КатегорииDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2689. base(info, context) {
  2690. this.InitVars();
  2691. }
  2692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2694. public global::System.Data.DataColumn ФИОColumn {
  2695. get {
  2696. return this.columnФИО;
  2697. }
  2698. }
  2699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2700. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2701. public global::System.Data.DataColumn СпециальностьColumn {
  2702. get {
  2703. return this.columnСпециальность;
  2704. }
  2705. }
  2706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2707. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2708. public global::System.Data.DataColumn КатегорияColumn {
  2709. get {
  2710. return this.columnКатегория;
  2711. }
  2712. }
  2713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2714. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2715. public global::System.Data.DataColumn Номер_талонаColumn {
  2716. get {
  2717. return this.columnНомер_талона;
  2718. }
  2719. }
  2720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2721. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2722. public global::System.Data.DataColumn Дата_визитаColumn {
  2723. get {
  2724. return this.columnДата_визита;
  2725. }
  2726. }
  2727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2729. public global::System.Data.DataColumn Цель_посещенияColumn {
  2730. get {
  2731. return this.columnЦель_посещения;
  2732. }
  2733. }
  2734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2736. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  2737. get {
  2738. return this._columnСтоимость_визита_руб__;
  2739. }
  2740. }
  2741. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2742. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2743. [global::System.ComponentModel.Browsable(false)]
  2744. public int Count {
  2745. get {
  2746. return this.Rows.Count;
  2747. }
  2748. }
  2749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2750. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2751. public Фильтр_КатегорииRow this[int index] {
  2752. get {
  2753. return ((Фильтр_КатегорииRow)(this.Rows[index]));
  2754. }
  2755. }
  2756. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2757. public event Фильтр_КатегорииRowChangeEventHandler Фильтр_КатегорииRowChanging;
  2758. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2759. public event Фильтр_КатегорииRowChangeEventHandler Фильтр_КатегорииRowChanged;
  2760. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2761. public event Фильтр_КатегорииRowChangeEventHandler Фильтр_КатегорииRowDeleting;
  2762. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2763. public event Фильтр_КатегорииRowChangeEventHandler Фильтр_КатегорииRowDeleted;
  2764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2765. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2766. public void AddФильтр_КатегорииRow(Фильтр_КатегорииRow row) {
  2767. this.Rows.Add(row);
  2768. }
  2769. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2770. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2771. public Фильтр_КатегорииRow AddФильтр_КатегорииRow(string ФИО, string Специальность, string Категория, int Номер_талона, System.DateTime Дата_визита, string Цель_посещения, string _Стоимость_визита_руб__) {
  2772. Фильтр_КатегорииRow rowФильтр_КатегорииRow = ((Фильтр_КатегорииRow)(this.NewRow()));
  2773. object[] columnValuesArray = new object[] {
  2774. ФИО,
  2775. Специальность,
  2776. Категория,
  2777. Номер_талона,
  2778. Дата_визита,
  2779. Цель_посещения,
  2780. _Стоимость_визита_руб__};
  2781. rowФильтр_КатегорииRow.ItemArray = columnValuesArray;
  2782. this.Rows.Add(rowФильтр_КатегорииRow);
  2783. return rowФильтр_КатегорииRow;
  2784. }
  2785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2786. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2787. public override global::System.Data.DataTable Clone() {
  2788. Фильтр_КатегорииDataTable cln = ((Фильтр_КатегорииDataTable)(base.Clone()));
  2789. cln.InitVars();
  2790. return cln;
  2791. }
  2792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2793. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2794. protected override global::System.Data.DataTable CreateInstance() {
  2795. return new Фильтр_КатегорииDataTable();
  2796. }
  2797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2798. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2799. internal void InitVars() {
  2800. this.columnФИО = base.Columns["ФИО"];
  2801. this.columnСпециальность = base.Columns["Специальность"];
  2802. this.columnКатегория = base.Columns["Категория"];
  2803. this.columnНомер_талона = base.Columns["Номер талона"];
  2804. this.columnДата_визита = base.Columns["Дата визита"];
  2805. this.columnЦель_посещения = base.Columns["Цель посещения"];
  2806. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  2807. }
  2808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2810. private void InitClass() {
  2811. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  2812. base.Columns.Add(this.columnФИО);
  2813. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  2814. base.Columns.Add(this.columnСпециальность);
  2815. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  2816. base.Columns.Add(this.columnКатегория);
  2817. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  2818. base.Columns.Add(this.columnНомер_талона);
  2819. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2820. base.Columns.Add(this.columnДата_визита);
  2821. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  2822. base.Columns.Add(this.columnЦель_посещения);
  2823. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  2824. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  2825. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  2826. base.Columns.Add(this._columnСтоимость_визита_руб__);
  2827. this.columnФИО.MaxLength = 50;
  2828. this.columnСпециальность.MaxLength = 50;
  2829. this.columnКатегория.MaxLength = 50;
  2830. this.columnЦель_посещения.MaxLength = 50;
  2831. this._columnСтоимость_визита_руб__.MaxLength = 10;
  2832. }
  2833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2835. public Фильтр_КатегорииRow NewФильтр_КатегорииRow() {
  2836. return ((Фильтр_КатегорииRow)(this.NewRow()));
  2837. }
  2838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2839. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2840. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2841. return new Фильтр_КатегорииRow(builder);
  2842. }
  2843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2844. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2845. protected override global::System.Type GetRowType() {
  2846. return typeof(Фильтр_КатегорииRow);
  2847. }
  2848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2850. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2851. base.OnRowChanged(e);
  2852. if ((this.Фильтр_КатегорииRowChanged != null)) {
  2853. this.Фильтр_КатегорииRowChanged(this, new Фильтр_КатегорииRowChangeEvent(((Фильтр_КатегорииRow)(e.Row)), e.Action));
  2854. }
  2855. }
  2856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2858. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2859. base.OnRowChanging(e);
  2860. if ((this.Фильтр_КатегорииRowChanging != null)) {
  2861. this.Фильтр_КатегорииRowChanging(this, new Фильтр_КатегорииRowChangeEvent(((Фильтр_КатегорииRow)(e.Row)), e.Action));
  2862. }
  2863. }
  2864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2866. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2867. base.OnRowDeleted(e);
  2868. if ((this.Фильтр_КатегорииRowDeleted != null)) {
  2869. this.Фильтр_КатегорииRowDeleted(this, new Фильтр_КатегорииRowChangeEvent(((Фильтр_КатегорииRow)(e.Row)), e.Action));
  2870. }
  2871. }
  2872. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2873. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2874. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2875. base.OnRowDeleting(e);
  2876. if ((this.Фильтр_КатегорииRowDeleting != null)) {
  2877. this.Фильтр_КатегорииRowDeleting(this, new Фильтр_КатегорииRowChangeEvent(((Фильтр_КатегорииRow)(e.Row)), e.Action));
  2878. }
  2879. }
  2880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2881. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2882. public void RemoveФильтр_КатегорииRow(Фильтр_КатегорииRow row) {
  2883. this.Rows.Remove(row);
  2884. }
  2885. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2886. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2887. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2888. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2889. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2890. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  2891. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2892. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2893. any1.MinOccurs = new decimal(0);
  2894. any1.MaxOccurs = decimal.MaxValue;
  2895. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2896. sequence.Items.Add(any1);
  2897. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2898. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2899. any2.MinOccurs = new decimal(1);
  2900. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2901. sequence.Items.Add(any2);
  2902. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2903. attribute1.Name = "namespace";
  2904. attribute1.FixedValue = ds.Namespace;
  2905. type.Attributes.Add(attribute1);
  2906. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2907. attribute2.Name = "tableTypeName";
  2908. attribute2.FixedValue = "Фильтр_КатегорииDataTable";
  2909. type.Attributes.Add(attribute2);
  2910. type.Particle = sequence;
  2911. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2912. if (xs.Contains(dsSchema.TargetNamespace)) {
  2913. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2914. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2915. try {
  2916. global::System.Xml.Schema.XmlSchema schema = null;
  2917. dsSchema.Write(s1);
  2918. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2919. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2920. s2.SetLength(0);
  2921. schema.Write(s2);
  2922. if ((s1.Length == s2.Length)) {
  2923. s1.Position = 0;
  2924. s2.Position = 0;
  2925. for (; ((s1.Position != s1.Length)
  2926. && (s1.ReadByte() == s2.ReadByte())); ) {
  2927. ;
  2928. }
  2929. if ((s1.Position == s1.Length)) {
  2930. return type;
  2931. }
  2932. }
  2933. }
  2934. }
  2935. finally {
  2936. if ((s1 != null)) {
  2937. s1.Close();
  2938. }
  2939. if ((s2 != null)) {
  2940. s2.Close();
  2941. }
  2942. }
  2943. }
  2944. xs.Add(dsSchema);
  2945. return type;
  2946. }
  2947. }
  2948. /// <summary>
  2949. ///Represents the strongly named DataTable class.
  2950. ///</summary>
  2951. [global::System.Serializable()]
  2952. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2953. public partial class Фильтр_ОнкологиDataTable : global::System.Data.TypedTableBase<Фильтр_ОнкологиRow> {
  2954. private global::System.Data.DataColumn columnФИО;
  2955. private global::System.Data.DataColumn columnСпециальность;
  2956. private global::System.Data.DataColumn columnКатегория;
  2957. private global::System.Data.DataColumn columnНомер_талона;
  2958. private global::System.Data.DataColumn columnДата_визита;
  2959. private global::System.Data.DataColumn columnЦель_посещения;
  2960. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  2961. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2962. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2963. public Фильтр_ОнкологиDataTable() {
  2964. this.TableName = "Фильтр Онкологи";
  2965. this.BeginInit();
  2966. this.InitClass();
  2967. this.EndInit();
  2968. }
  2969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2970. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2971. internal Фильтр_ОнкологиDataTable(global::System.Data.DataTable table) {
  2972. this.TableName = table.TableName;
  2973. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2974. this.CaseSensitive = table.CaseSensitive;
  2975. }
  2976. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2977. this.Locale = table.Locale;
  2978. }
  2979. if ((table.Namespace != table.DataSet.Namespace)) {
  2980. this.Namespace = table.Namespace;
  2981. }
  2982. this.Prefix = table.Prefix;
  2983. this.MinimumCapacity = table.MinimumCapacity;
  2984. }
  2985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2987. protected Фильтр_ОнкологиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2988. base(info, context) {
  2989. this.InitVars();
  2990. }
  2991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2992. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2993. public global::System.Data.DataColumn ФИОColumn {
  2994. get {
  2995. return this.columnФИО;
  2996. }
  2997. }
  2998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2999. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3000. public global::System.Data.DataColumn СпециальностьColumn {
  3001. get {
  3002. return this.columnСпециальность;
  3003. }
  3004. }
  3005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3006. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3007. public global::System.Data.DataColumn КатегорияColumn {
  3008. get {
  3009. return this.columnКатегория;
  3010. }
  3011. }
  3012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3013. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3014. public global::System.Data.DataColumn Номер_талонаColumn {
  3015. get {
  3016. return this.columnНомер_талона;
  3017. }
  3018. }
  3019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3020. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3021. public global::System.Data.DataColumn Дата_визитаColumn {
  3022. get {
  3023. return this.columnДата_визита;
  3024. }
  3025. }
  3026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3027. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3028. public global::System.Data.DataColumn Цель_посещенияColumn {
  3029. get {
  3030. return this.columnЦель_посещения;
  3031. }
  3032. }
  3033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3034. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3035. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  3036. get {
  3037. return this._columnСтоимость_визита_руб__;
  3038. }
  3039. }
  3040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3041. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3042. [global::System.ComponentModel.Browsable(false)]
  3043. public int Count {
  3044. get {
  3045. return this.Rows.Count;
  3046. }
  3047. }
  3048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3049. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3050. public Фильтр_ОнкологиRow this[int index] {
  3051. get {
  3052. return ((Фильтр_ОнкологиRow)(this.Rows[index]));
  3053. }
  3054. }
  3055. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3056. public event Фильтр_ОнкологиRowChangeEventHandler Фильтр_ОнкологиRowChanging;
  3057. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3058. public event Фильтр_ОнкологиRowChangeEventHandler Фильтр_ОнкологиRowChanged;
  3059. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3060. public event Фильтр_ОнкологиRowChangeEventHandler Фильтр_ОнкологиRowDeleting;
  3061. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3062. public event Фильтр_ОнкологиRowChangeEventHandler Фильтр_ОнкологиRowDeleted;
  3063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3064. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3065. public void AddФильтр_ОнкологиRow(Фильтр_ОнкологиRow row) {
  3066. this.Rows.Add(row);
  3067. }
  3068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3070. public Фильтр_ОнкологиRow AddФильтр_ОнкологиRow(string ФИО, string Специальность, string Категория, int Номер_талона, System.DateTime Дата_визита, string Цель_посещения, string _Стоимость_визита_руб__) {
  3071. Фильтр_ОнкологиRow rowФильтр_ОнкологиRow = ((Фильтр_ОнкологиRow)(this.NewRow()));
  3072. object[] columnValuesArray = new object[] {
  3073. ФИО,
  3074. Специальность,
  3075. Категория,
  3076. Номер_талона,
  3077. Дата_визита,
  3078. Цель_посещения,
  3079. _Стоимость_визита_руб__};
  3080. rowФильтр_ОнкологиRow.ItemArray = columnValuesArray;
  3081. this.Rows.Add(rowФильтр_ОнкологиRow);
  3082. return rowФильтр_ОнкологиRow;
  3083. }
  3084. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3085. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3086. public override global::System.Data.DataTable Clone() {
  3087. Фильтр_ОнкологиDataTable cln = ((Фильтр_ОнкологиDataTable)(base.Clone()));
  3088. cln.InitVars();
  3089. return cln;
  3090. }
  3091. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3092. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3093. protected override global::System.Data.DataTable CreateInstance() {
  3094. return new Фильтр_ОнкологиDataTable();
  3095. }
  3096. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3097. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3098. internal void InitVars() {
  3099. this.columnФИО = base.Columns["ФИО"];
  3100. this.columnСпециальность = base.Columns["Специальность"];
  3101. this.columnКатегория = base.Columns["Категория"];
  3102. this.columnНомер_талона = base.Columns["Номер талона"];
  3103. this.columnДата_визита = base.Columns["Дата визита"];
  3104. this.columnЦель_посещения = base.Columns["Цель посещения"];
  3105. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  3106. }
  3107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3108. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3109. private void InitClass() {
  3110. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  3111. base.Columns.Add(this.columnФИО);
  3112. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  3113. base.Columns.Add(this.columnСпециальность);
  3114. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  3115. base.Columns.Add(this.columnКатегория);
  3116. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  3117. base.Columns.Add(this.columnНомер_талона);
  3118. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3119. base.Columns.Add(this.columnДата_визита);
  3120. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  3121. base.Columns.Add(this.columnЦель_посещения);
  3122. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  3123. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  3124. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  3125. base.Columns.Add(this._columnСтоимость_визита_руб__);
  3126. this.columnФИО.MaxLength = 50;
  3127. this.columnСпециальность.MaxLength = 50;
  3128. this.columnКатегория.MaxLength = 50;
  3129. this.columnЦель_посещения.MaxLength = 50;
  3130. this._columnСтоимость_визита_руб__.MaxLength = 10;
  3131. }
  3132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3133. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3134. public Фильтр_ОнкологиRow NewФильтр_ОнкологиRow() {
  3135. return ((Фильтр_ОнкологиRow)(this.NewRow()));
  3136. }
  3137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3139. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3140. return new Фильтр_ОнкологиRow(builder);
  3141. }
  3142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3143. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3144. protected override global::System.Type GetRowType() {
  3145. return typeof(Фильтр_ОнкологиRow);
  3146. }
  3147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3149. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3150. base.OnRowChanged(e);
  3151. if ((this.Фильтр_ОнкологиRowChanged != null)) {
  3152. this.Фильтр_ОнкологиRowChanged(this, new Фильтр_ОнкологиRowChangeEvent(((Фильтр_ОнкологиRow)(e.Row)), e.Action));
  3153. }
  3154. }
  3155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3157. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3158. base.OnRowChanging(e);
  3159. if ((this.Фильтр_ОнкологиRowChanging != null)) {
  3160. this.Фильтр_ОнкологиRowChanging(this, new Фильтр_ОнкологиRowChangeEvent(((Фильтр_ОнкологиRow)(e.Row)), e.Action));
  3161. }
  3162. }
  3163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3165. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3166. base.OnRowDeleted(e);
  3167. if ((this.Фильтр_ОнкологиRowDeleted != null)) {
  3168. this.Фильтр_ОнкологиRowDeleted(this, new Фильтр_ОнкологиRowChangeEvent(((Фильтр_ОнкологиRow)(e.Row)), e.Action));
  3169. }
  3170. }
  3171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3173. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3174. base.OnRowDeleting(e);
  3175. if ((this.Фильтр_ОнкологиRowDeleting != null)) {
  3176. this.Фильтр_ОнкологиRowDeleting(this, new Фильтр_ОнкологиRowChangeEvent(((Фильтр_ОнкологиRow)(e.Row)), e.Action));
  3177. }
  3178. }
  3179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3181. public void RemoveФильтр_ОнкологиRow(Фильтр_ОнкологиRow row) {
  3182. this.Rows.Remove(row);
  3183. }
  3184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3186. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3187. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3188. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3189. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  3190. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3191. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3192. any1.MinOccurs = new decimal(0);
  3193. any1.MaxOccurs = decimal.MaxValue;
  3194. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3195. sequence.Items.Add(any1);
  3196. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3197. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3198. any2.MinOccurs = new decimal(1);
  3199. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3200. sequence.Items.Add(any2);
  3201. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3202. attribute1.Name = "namespace";
  3203. attribute1.FixedValue = ds.Namespace;
  3204. type.Attributes.Add(attribute1);
  3205. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3206. attribute2.Name = "tableTypeName";
  3207. attribute2.FixedValue = "Фильтр_ОнкологиDataTable";
  3208. type.Attributes.Add(attribute2);
  3209. type.Particle = sequence;
  3210. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3211. if (xs.Contains(dsSchema.TargetNamespace)) {
  3212. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3213. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3214. try {
  3215. global::System.Xml.Schema.XmlSchema schema = null;
  3216. dsSchema.Write(s1);
  3217. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3218. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3219. s2.SetLength(0);
  3220. schema.Write(s2);
  3221. if ((s1.Length == s2.Length)) {
  3222. s1.Position = 0;
  3223. s2.Position = 0;
  3224. for (; ((s1.Position != s1.Length)
  3225. && (s1.ReadByte() == s2.ReadByte())); ) {
  3226. ;
  3227. }
  3228. if ((s1.Position == s1.Length)) {
  3229. return type;
  3230. }
  3231. }
  3232. }
  3233. }
  3234. finally {
  3235. if ((s1 != null)) {
  3236. s1.Close();
  3237. }
  3238. if ((s2 != null)) {
  3239. s2.Close();
  3240. }
  3241. }
  3242. }
  3243. xs.Add(dsSchema);
  3244. return type;
  3245. }
  3246. }
  3247. /// <summary>
  3248. ///Represents the strongly named DataTable class.
  3249. ///</summary>
  3250. [global::System.Serializable()]
  3251. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3252. public partial class Фильтр_ПедиаторыDataTable : global::System.Data.TypedTableBase<Фильтр_ПедиаторыRow> {
  3253. private global::System.Data.DataColumn columnФИО;
  3254. private global::System.Data.DataColumn columnСпециальность;
  3255. private global::System.Data.DataColumn columnКатегория;
  3256. private global::System.Data.DataColumn columnДата_визита;
  3257. private global::System.Data.DataColumn columnНомер_талона;
  3258. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  3259. private global::System.Data.DataColumn columnЦель_посещения;
  3260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3261. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3262. public Фильтр_ПедиаторыDataTable() {
  3263. this.TableName = "Фильтр Педиаторы";
  3264. this.BeginInit();
  3265. this.InitClass();
  3266. this.EndInit();
  3267. }
  3268. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3269. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3270. internal Фильтр_ПедиаторыDataTable(global::System.Data.DataTable table) {
  3271. this.TableName = table.TableName;
  3272. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3273. this.CaseSensitive = table.CaseSensitive;
  3274. }
  3275. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3276. this.Locale = table.Locale;
  3277. }
  3278. if ((table.Namespace != table.DataSet.Namespace)) {
  3279. this.Namespace = table.Namespace;
  3280. }
  3281. this.Prefix = table.Prefix;
  3282. this.MinimumCapacity = table.MinimumCapacity;
  3283. }
  3284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3286. protected Фильтр_ПедиаторыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3287. base(info, context) {
  3288. this.InitVars();
  3289. }
  3290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3292. public global::System.Data.DataColumn ФИОColumn {
  3293. get {
  3294. return this.columnФИО;
  3295. }
  3296. }
  3297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3298. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3299. public global::System.Data.DataColumn СпециальностьColumn {
  3300. get {
  3301. return this.columnСпециальность;
  3302. }
  3303. }
  3304. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3305. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3306. public global::System.Data.DataColumn КатегорияColumn {
  3307. get {
  3308. return this.columnКатегория;
  3309. }
  3310. }
  3311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3313. public global::System.Data.DataColumn Дата_визитаColumn {
  3314. get {
  3315. return this.columnДата_визита;
  3316. }
  3317. }
  3318. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3319. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3320. public global::System.Data.DataColumn Номер_талонаColumn {
  3321. get {
  3322. return this.columnНомер_талона;
  3323. }
  3324. }
  3325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3326. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3327. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  3328. get {
  3329. return this._columnСтоимость_визита_руб__;
  3330. }
  3331. }
  3332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3333. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3334. public global::System.Data.DataColumn Цель_посещенияColumn {
  3335. get {
  3336. return this.columnЦель_посещения;
  3337. }
  3338. }
  3339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3340. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3341. [global::System.ComponentModel.Browsable(false)]
  3342. public int Count {
  3343. get {
  3344. return this.Rows.Count;
  3345. }
  3346. }
  3347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3348. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3349. public Фильтр_ПедиаторыRow this[int index] {
  3350. get {
  3351. return ((Фильтр_ПедиаторыRow)(this.Rows[index]));
  3352. }
  3353. }
  3354. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3355. public event Фильтр_ПедиаторыRowChangeEventHandler Фильтр_ПедиаторыRowChanging;
  3356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3357. public event Фильтр_ПедиаторыRowChangeEventHandler Фильтр_ПедиаторыRowChanged;
  3358. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3359. public event Фильтр_ПедиаторыRowChangeEventHandler Фильтр_ПедиаторыRowDeleting;
  3360. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3361. public event Фильтр_ПедиаторыRowChangeEventHandler Фильтр_ПедиаторыRowDeleted;
  3362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3364. public void AddФильтр_ПедиаторыRow(Фильтр_ПедиаторыRow row) {
  3365. this.Rows.Add(row);
  3366. }
  3367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3368. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3369. public Фильтр_ПедиаторыRow AddФильтр_ПедиаторыRow(string ФИО, string Специальность, string Категория, System.DateTime Дата_визита, int Номер_талона, string _Стоимость_визита_руб__, string Цель_посещения) {
  3370. Фильтр_ПедиаторыRow rowФильтр_ПедиаторыRow = ((Фильтр_ПедиаторыRow)(this.NewRow()));
  3371. object[] columnValuesArray = new object[] {
  3372. ФИО,
  3373. Специальность,
  3374. Категория,
  3375. Дата_визита,
  3376. Номер_талона,
  3377. _Стоимость_визита_руб__,
  3378. Цель_посещения};
  3379. rowФильтр_ПедиаторыRow.ItemArray = columnValuesArray;
  3380. this.Rows.Add(rowФильтр_ПедиаторыRow);
  3381. return rowФильтр_ПедиаторыRow;
  3382. }
  3383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3385. public override global::System.Data.DataTable Clone() {
  3386. Фильтр_ПедиаторыDataTable cln = ((Фильтр_ПедиаторыDataTable)(base.Clone()));
  3387. cln.InitVars();
  3388. return cln;
  3389. }
  3390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3391. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3392. protected override global::System.Data.DataTable CreateInstance() {
  3393. return new Фильтр_ПедиаторыDataTable();
  3394. }
  3395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3396. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3397. internal void InitVars() {
  3398. this.columnФИО = base.Columns["ФИО"];
  3399. this.columnСпециальность = base.Columns["Специальность"];
  3400. this.columnКатегория = base.Columns["Категория"];
  3401. this.columnДата_визита = base.Columns["Дата визита"];
  3402. this.columnНомер_талона = base.Columns["Номер талона"];
  3403. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  3404. this.columnЦель_посещения = base.Columns["Цель посещения"];
  3405. }
  3406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3408. private void InitClass() {
  3409. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  3410. base.Columns.Add(this.columnФИО);
  3411. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  3412. base.Columns.Add(this.columnСпециальность);
  3413. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  3414. base.Columns.Add(this.columnКатегория);
  3415. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3416. base.Columns.Add(this.columnДата_визита);
  3417. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  3418. base.Columns.Add(this.columnНомер_талона);
  3419. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  3420. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  3421. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  3422. base.Columns.Add(this._columnСтоимость_визита_руб__);
  3423. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  3424. base.Columns.Add(this.columnЦель_посещения);
  3425. this.columnФИО.MaxLength = 50;
  3426. this.columnСпециальность.MaxLength = 50;
  3427. this.columnКатегория.MaxLength = 50;
  3428. this._columnСтоимость_визита_руб__.MaxLength = 10;
  3429. this.columnЦель_посещения.MaxLength = 50;
  3430. }
  3431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3433. public Фильтр_ПедиаторыRow NewФильтр_ПедиаторыRow() {
  3434. return ((Фильтр_ПедиаторыRow)(this.NewRow()));
  3435. }
  3436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3438. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3439. return new Фильтр_ПедиаторыRow(builder);
  3440. }
  3441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3442. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3443. protected override global::System.Type GetRowType() {
  3444. return typeof(Фильтр_ПедиаторыRow);
  3445. }
  3446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3447. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3448. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3449. base.OnRowChanged(e);
  3450. if ((this.Фильтр_ПедиаторыRowChanged != null)) {
  3451. this.Фильтр_ПедиаторыRowChanged(this, new Фильтр_ПедиаторыRowChangeEvent(((Фильтр_ПедиаторыRow)(e.Row)), e.Action));
  3452. }
  3453. }
  3454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3456. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3457. base.OnRowChanging(e);
  3458. if ((this.Фильтр_ПедиаторыRowChanging != null)) {
  3459. this.Фильтр_ПедиаторыRowChanging(this, new Фильтр_ПедиаторыRowChangeEvent(((Фильтр_ПедиаторыRow)(e.Row)), e.Action));
  3460. }
  3461. }
  3462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3464. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3465. base.OnRowDeleted(e);
  3466. if ((this.Фильтр_ПедиаторыRowDeleted != null)) {
  3467. this.Фильтр_ПедиаторыRowDeleted(this, new Фильтр_ПедиаторыRowChangeEvent(((Фильтр_ПедиаторыRow)(e.Row)), e.Action));
  3468. }
  3469. }
  3470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3471. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3472. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3473. base.OnRowDeleting(e);
  3474. if ((this.Фильтр_ПедиаторыRowDeleting != null)) {
  3475. this.Фильтр_ПедиаторыRowDeleting(this, new Фильтр_ПедиаторыRowChangeEvent(((Фильтр_ПедиаторыRow)(e.Row)), e.Action));
  3476. }
  3477. }
  3478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3479. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3480. public void RemoveФильтр_ПедиаторыRow(Фильтр_ПедиаторыRow row) {
  3481. this.Rows.Remove(row);
  3482. }
  3483. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3484. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3485. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3486. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3487. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3488. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  3489. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3490. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3491. any1.MinOccurs = new decimal(0);
  3492. any1.MaxOccurs = decimal.MaxValue;
  3493. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3494. sequence.Items.Add(any1);
  3495. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3496. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3497. any2.MinOccurs = new decimal(1);
  3498. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3499. sequence.Items.Add(any2);
  3500. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3501. attribute1.Name = "namespace";
  3502. attribute1.FixedValue = ds.Namespace;
  3503. type.Attributes.Add(attribute1);
  3504. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3505. attribute2.Name = "tableTypeName";
  3506. attribute2.FixedValue = "Фильтр_ПедиаторыDataTable";
  3507. type.Attributes.Add(attribute2);
  3508. type.Particle = sequence;
  3509. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3510. if (xs.Contains(dsSchema.TargetNamespace)) {
  3511. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3512. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3513. try {
  3514. global::System.Xml.Schema.XmlSchema schema = null;
  3515. dsSchema.Write(s1);
  3516. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3517. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3518. s2.SetLength(0);
  3519. schema.Write(s2);
  3520. if ((s1.Length == s2.Length)) {
  3521. s1.Position = 0;
  3522. s2.Position = 0;
  3523. for (; ((s1.Position != s1.Length)
  3524. && (s1.ReadByte() == s2.ReadByte())); ) {
  3525. ;
  3526. }
  3527. if ((s1.Position == s1.Length)) {
  3528. return type;
  3529. }
  3530. }
  3531. }
  3532. }
  3533. finally {
  3534. if ((s1 != null)) {
  3535. s1.Close();
  3536. }
  3537. if ((s2 != null)) {
  3538. s2.Close();
  3539. }
  3540. }
  3541. }
  3542. xs.Add(dsSchema);
  3543. return type;
  3544. }
  3545. }
  3546. /// <summary>
  3547. ///Represents the strongly named DataTable class.
  3548. ///</summary>
  3549. [global::System.Serializable()]
  3550. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3551. public partial class Фильтр_скидкиDataTable : global::System.Data.TypedTableBase<Фильтр_скидкиRow> {
  3552. private global::System.Data.DataColumn columnНомер_медкарты;
  3553. private global::System.Data.DataColumn columnФИО;
  3554. private global::System.Data.DataColumn columnДата_рождения;
  3555. private global::System.Data.DataColumn columnАдрес;
  3556. private global::System.Data.DataColumn columnПол;
  3557. private global::System.Data.DataColumn _columnСкидка_на_обслуживание__;
  3558. private global::System.Data.DataColumn columnКод_диагноза;
  3559. private global::System.Data.DataColumn columnНаименование_диагноза;
  3560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3561. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3562. public Фильтр_скидкиDataTable() {
  3563. this.TableName = "Фильтр скидки";
  3564. this.BeginInit();
  3565. this.InitClass();
  3566. this.EndInit();
  3567. }
  3568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3570. internal Фильтр_скидкиDataTable(global::System.Data.DataTable table) {
  3571. this.TableName = table.TableName;
  3572. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3573. this.CaseSensitive = table.CaseSensitive;
  3574. }
  3575. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3576. this.Locale = table.Locale;
  3577. }
  3578. if ((table.Namespace != table.DataSet.Namespace)) {
  3579. this.Namespace = table.Namespace;
  3580. }
  3581. this.Prefix = table.Prefix;
  3582. this.MinimumCapacity = table.MinimumCapacity;
  3583. }
  3584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3585. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3586. protected Фильтр_скидкиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3587. base(info, context) {
  3588. this.InitVars();
  3589. }
  3590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3591. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3592. public global::System.Data.DataColumn Номер_медкартыColumn {
  3593. get {
  3594. return this.columnНомер_медкарты;
  3595. }
  3596. }
  3597. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3598. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3599. public global::System.Data.DataColumn ФИОColumn {
  3600. get {
  3601. return this.columnФИО;
  3602. }
  3603. }
  3604. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3605. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3606. public global::System.Data.DataColumn Дата_рожденияColumn {
  3607. get {
  3608. return this.columnДата_рождения;
  3609. }
  3610. }
  3611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3612. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3613. public global::System.Data.DataColumn АдресColumn {
  3614. get {
  3615. return this.columnАдрес;
  3616. }
  3617. }
  3618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3619. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3620. public global::System.Data.DataColumn ПолColumn {
  3621. get {
  3622. return this.columnПол;
  3623. }
  3624. }
  3625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3626. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3627. public global::System.Data.DataColumn _Скидка_на_обслуживание__Column {
  3628. get {
  3629. return this._columnСкидка_на_обслуживание__;
  3630. }
  3631. }
  3632. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3633. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3634. public global::System.Data.DataColumn Код_диагнозаColumn {
  3635. get {
  3636. return this.columnКод_диагноза;
  3637. }
  3638. }
  3639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3641. public global::System.Data.DataColumn Наименование_диагнозаColumn {
  3642. get {
  3643. return this.columnНаименование_диагноза;
  3644. }
  3645. }
  3646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3647. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3648. [global::System.ComponentModel.Browsable(false)]
  3649. public int Count {
  3650. get {
  3651. return this.Rows.Count;
  3652. }
  3653. }
  3654. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3655. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3656. public Фильтр_скидкиRow this[int index] {
  3657. get {
  3658. return ((Фильтр_скидкиRow)(this.Rows[index]));
  3659. }
  3660. }
  3661. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3662. public event Фильтр_скидкиRowChangeEventHandler Фильтр_скидкиRowChanging;
  3663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3664. public event Фильтр_скидкиRowChangeEventHandler Фильтр_скидкиRowChanged;
  3665. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3666. public event Фильтр_скидкиRowChangeEventHandler Фильтр_скидкиRowDeleting;
  3667. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3668. public event Фильтр_скидкиRowChangeEventHandler Фильтр_скидкиRowDeleted;
  3669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3670. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3671. public void AddФильтр_скидкиRow(Фильтр_скидкиRow row) {
  3672. this.Rows.Add(row);
  3673. }
  3674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3675. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3676. public Фильтр_скидкиRow AddФильтр_скидкиRow(int Номер_медкарты, string ФИО, System.DateTime Дата_рождения, string Адрес, string Пол, string _Скидка_на_обслуживание__, int Код_диагноза, string Наименование_диагноза) {
  3677. Фильтр_скидкиRow rowФильтр_скидкиRow = ((Фильтр_скидкиRow)(this.NewRow()));
  3678. object[] columnValuesArray = new object[] {
  3679. Номер_медкарты,
  3680. ФИО,
  3681. Дата_рождения,
  3682. Адрес,
  3683. Пол,
  3684. _Скидка_на_обслуживание__,
  3685. Код_диагноза,
  3686. Наименование_диагноза};
  3687. rowФильтр_скидкиRow.ItemArray = columnValuesArray;
  3688. this.Rows.Add(rowФильтр_скидкиRow);
  3689. return rowФильтр_скидкиRow;
  3690. }
  3691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3693. public Фильтр_скидкиRow FindByКод_диагноза(int Код_диагноза) {
  3694. return ((Фильтр_скидкиRow)(this.Rows.Find(new object[] {
  3695. Код_диагноза})));
  3696. }
  3697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3698. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3699. public override global::System.Data.DataTable Clone() {
  3700. Фильтр_скидкиDataTable cln = ((Фильтр_скидкиDataTable)(base.Clone()));
  3701. cln.InitVars();
  3702. return cln;
  3703. }
  3704. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3705. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3706. protected override global::System.Data.DataTable CreateInstance() {
  3707. return new Фильтр_скидкиDataTable();
  3708. }
  3709. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3710. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3711. internal void InitVars() {
  3712. this.columnНомер_медкарты = base.Columns["Номер медкарты"];
  3713. this.columnФИО = base.Columns["ФИО"];
  3714. this.columnДата_рождения = base.Columns["Дата рождения"];
  3715. this.columnАдрес = base.Columns["Адрес"];
  3716. this.columnПол = base.Columns["Пол"];
  3717. this._columnСкидка_на_обслуживание__ = base.Columns["Скидка на обслуживание %"];
  3718. this.columnКод_диагноза = base.Columns["Код диагноза"];
  3719. this.columnНаименование_диагноза = base.Columns["Наименование диагноза"];
  3720. }
  3721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3722. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3723. private void InitClass() {
  3724. this.columnНомер_медкарты = new global::System.Data.DataColumn("Номер медкарты", typeof(int), null, global::System.Data.MappingType.Element);
  3725. base.Columns.Add(this.columnНомер_медкарты);
  3726. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  3727. base.Columns.Add(this.columnФИО);
  3728. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3729. base.Columns.Add(this.columnДата_рождения);
  3730. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  3731. base.Columns.Add(this.columnАдрес);
  3732. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  3733. base.Columns.Add(this.columnПол);
  3734. this._columnСкидка_на_обслуживание__ = new global::System.Data.DataColumn("Скидка на обслуживание %", typeof(string), null, global::System.Data.MappingType.Element);
  3735. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСкидка_на_обслуживание__");
  3736. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_UserColumnName", "Скидка на обслуживание %");
  3737. base.Columns.Add(this._columnСкидка_на_обслуживание__);
  3738. this.columnКод_диагноза = new global::System.Data.DataColumn("Код диагноза", typeof(int), null, global::System.Data.MappingType.Element);
  3739. base.Columns.Add(this.columnКод_диагноза);
  3740. this.columnНаименование_диагноза = new global::System.Data.DataColumn("Наименование диагноза", typeof(string), null, global::System.Data.MappingType.Element);
  3741. base.Columns.Add(this.columnНаименование_диагноза);
  3742. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  3743. this.columnКод_диагноза}, true));
  3744. this.columnНомер_медкарты.AllowDBNull = false;
  3745. this.columnФИО.MaxLength = 50;
  3746. this.columnАдрес.MaxLength = 50;
  3747. this.columnПол.MaxLength = 50;
  3748. this._columnСкидка_на_обслуживание__.MaxLength = 10;
  3749. this.columnКод_диагноза.AllowDBNull = false;
  3750. this.columnКод_диагноза.Unique = true;
  3751. this.columnНаименование_диагноза.MaxLength = 50;
  3752. }
  3753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3754. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3755. public Фильтр_скидкиRow NewФильтр_скидкиRow() {
  3756. return ((Фильтр_скидкиRow)(this.NewRow()));
  3757. }
  3758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3759. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3760. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3761. return new Фильтр_скидкиRow(builder);
  3762. }
  3763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3764. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3765. protected override global::System.Type GetRowType() {
  3766. return typeof(Фильтр_скидкиRow);
  3767. }
  3768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3769. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3770. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3771. base.OnRowChanged(e);
  3772. if ((this.Фильтр_скидкиRowChanged != null)) {
  3773. this.Фильтр_скидкиRowChanged(this, new Фильтр_скидкиRowChangeEvent(((Фильтр_скидкиRow)(e.Row)), e.Action));
  3774. }
  3775. }
  3776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3777. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3778. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3779. base.OnRowChanging(e);
  3780. if ((this.Фильтр_скидкиRowChanging != null)) {
  3781. this.Фильтр_скидкиRowChanging(this, new Фильтр_скидкиRowChangeEvent(((Фильтр_скидкиRow)(e.Row)), e.Action));
  3782. }
  3783. }
  3784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3785. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3786. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3787. base.OnRowDeleted(e);
  3788. if ((this.Фильтр_скидкиRowDeleted != null)) {
  3789. this.Фильтр_скидкиRowDeleted(this, new Фильтр_скидкиRowChangeEvent(((Фильтр_скидкиRow)(e.Row)), e.Action));
  3790. }
  3791. }
  3792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3793. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3794. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3795. base.OnRowDeleting(e);
  3796. if ((this.Фильтр_скидкиRowDeleting != null)) {
  3797. this.Фильтр_скидкиRowDeleting(this, new Фильтр_скидкиRowChangeEvent(((Фильтр_скидкиRow)(e.Row)), e.Action));
  3798. }
  3799. }
  3800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3801. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3802. public void RemoveФильтр_скидкиRow(Фильтр_скидкиRow row) {
  3803. this.Rows.Remove(row);
  3804. }
  3805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3806. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3807. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3808. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3809. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3810. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  3811. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3812. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3813. any1.MinOccurs = new decimal(0);
  3814. any1.MaxOccurs = decimal.MaxValue;
  3815. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3816. sequence.Items.Add(any1);
  3817. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3818. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3819. any2.MinOccurs = new decimal(1);
  3820. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3821. sequence.Items.Add(any2);
  3822. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3823. attribute1.Name = "namespace";
  3824. attribute1.FixedValue = ds.Namespace;
  3825. type.Attributes.Add(attribute1);
  3826. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3827. attribute2.Name = "tableTypeName";
  3828. attribute2.FixedValue = "Фильтр_скидкиDataTable";
  3829. type.Attributes.Add(attribute2);
  3830. type.Particle = sequence;
  3831. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3832. if (xs.Contains(dsSchema.TargetNamespace)) {
  3833. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3834. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3835. try {
  3836. global::System.Xml.Schema.XmlSchema schema = null;
  3837. dsSchema.Write(s1);
  3838. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3839. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3840. s2.SetLength(0);
  3841. schema.Write(s2);
  3842. if ((s1.Length == s2.Length)) {
  3843. s1.Position = 0;
  3844. s2.Position = 0;
  3845. for (; ((s1.Position != s1.Length)
  3846. && (s1.ReadByte() == s2.ReadByte())); ) {
  3847. ;
  3848. }
  3849. if ((s1.Position == s1.Length)) {
  3850. return type;
  3851. }
  3852. }
  3853. }
  3854. }
  3855. finally {
  3856. if ((s1 != null)) {
  3857. s1.Close();
  3858. }
  3859. if ((s2 != null)) {
  3860. s2.Close();
  3861. }
  3862. }
  3863. }
  3864. xs.Add(dsSchema);
  3865. return type;
  3866. }
  3867. }
  3868. /// <summary>
  3869. ///Represents the strongly named DataTable class.
  3870. ///</summary>
  3871. [global::System.Serializable()]
  3872. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3873. public partial class Фильтр_специальностиDataTable : global::System.Data.TypedTableBase<Фильтр_специальностиRow> {
  3874. private global::System.Data.DataColumn columnФИО;
  3875. private global::System.Data.DataColumn columnСпециальность;
  3876. private global::System.Data.DataColumn columnКатегория;
  3877. private global::System.Data.DataColumn columnНомер_талона;
  3878. private global::System.Data.DataColumn columnДата_визита;
  3879. private global::System.Data.DataColumn columnЦель_посещения;
  3880. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  3881. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3882. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3883. public Фильтр_специальностиDataTable() {
  3884. this.TableName = "Фильтр специальности";
  3885. this.BeginInit();
  3886. this.InitClass();
  3887. this.EndInit();
  3888. }
  3889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3891. internal Фильтр_специальностиDataTable(global::System.Data.DataTable table) {
  3892. this.TableName = table.TableName;
  3893. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3894. this.CaseSensitive = table.CaseSensitive;
  3895. }
  3896. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3897. this.Locale = table.Locale;
  3898. }
  3899. if ((table.Namespace != table.DataSet.Namespace)) {
  3900. this.Namespace = table.Namespace;
  3901. }
  3902. this.Prefix = table.Prefix;
  3903. this.MinimumCapacity = table.MinimumCapacity;
  3904. }
  3905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3906. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3907. protected Фильтр_специальностиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3908. base(info, context) {
  3909. this.InitVars();
  3910. }
  3911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3912. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3913. public global::System.Data.DataColumn ФИОColumn {
  3914. get {
  3915. return this.columnФИО;
  3916. }
  3917. }
  3918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3919. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3920. public global::System.Data.DataColumn СпециальностьColumn {
  3921. get {
  3922. return this.columnСпециальность;
  3923. }
  3924. }
  3925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3926. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3927. public global::System.Data.DataColumn КатегорияColumn {
  3928. get {
  3929. return this.columnКатегория;
  3930. }
  3931. }
  3932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3934. public global::System.Data.DataColumn Номер_талонаColumn {
  3935. get {
  3936. return this.columnНомер_талона;
  3937. }
  3938. }
  3939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3940. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3941. public global::System.Data.DataColumn Дата_визитаColumn {
  3942. get {
  3943. return this.columnДата_визита;
  3944. }
  3945. }
  3946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3947. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3948. public global::System.Data.DataColumn Цель_посещенияColumn {
  3949. get {
  3950. return this.columnЦель_посещения;
  3951. }
  3952. }
  3953. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3954. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3955. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  3956. get {
  3957. return this._columnСтоимость_визита_руб__;
  3958. }
  3959. }
  3960. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3961. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3962. [global::System.ComponentModel.Browsable(false)]
  3963. public int Count {
  3964. get {
  3965. return this.Rows.Count;
  3966. }
  3967. }
  3968. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3969. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3970. public Фильтр_специальностиRow this[int index] {
  3971. get {
  3972. return ((Фильтр_специальностиRow)(this.Rows[index]));
  3973. }
  3974. }
  3975. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3976. public event Фильтр_специальностиRowChangeEventHandler Фильтр_специальностиRowChanging;
  3977. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3978. public event Фильтр_специальностиRowChangeEventHandler Фильтр_специальностиRowChanged;
  3979. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3980. public event Фильтр_специальностиRowChangeEventHandler Фильтр_специальностиRowDeleting;
  3981. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3982. public event Фильтр_специальностиRowChangeEventHandler Фильтр_специальностиRowDeleted;
  3983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3984. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3985. public void AddФильтр_специальностиRow(Фильтр_специальностиRow row) {
  3986. this.Rows.Add(row);
  3987. }
  3988. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3989. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3990. public Фильтр_специальностиRow AddФильтр_специальностиRow(string ФИО, string Специальность, string Категория, int Номер_талона, System.DateTime Дата_визита, string Цель_посещения, string _Стоимость_визита_руб__) {
  3991. Фильтр_специальностиRow rowФильтр_специальностиRow = ((Фильтр_специальностиRow)(this.NewRow()));
  3992. object[] columnValuesArray = new object[] {
  3993. ФИО,
  3994. Специальность,
  3995. Категория,
  3996. Номер_талона,
  3997. Дата_визита,
  3998. Цель_посещения,
  3999. _Стоимость_визита_руб__};
  4000. rowФильтр_специальностиRow.ItemArray = columnValuesArray;
  4001. this.Rows.Add(rowФильтр_специальностиRow);
  4002. return rowФильтр_специальностиRow;
  4003. }
  4004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4006. public override global::System.Data.DataTable Clone() {
  4007. Фильтр_специальностиDataTable cln = ((Фильтр_специальностиDataTable)(base.Clone()));
  4008. cln.InitVars();
  4009. return cln;
  4010. }
  4011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4012. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4013. protected override global::System.Data.DataTable CreateInstance() {
  4014. return new Фильтр_специальностиDataTable();
  4015. }
  4016. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4017. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4018. internal void InitVars() {
  4019. this.columnФИО = base.Columns["ФИО"];
  4020. this.columnСпециальность = base.Columns["Специальность"];
  4021. this.columnКатегория = base.Columns["Категория"];
  4022. this.columnНомер_талона = base.Columns["Номер талона"];
  4023. this.columnДата_визита = base.Columns["Дата визита"];
  4024. this.columnЦель_посещения = base.Columns["Цель посещения"];
  4025. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  4026. }
  4027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4029. private void InitClass() {
  4030. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  4031. base.Columns.Add(this.columnФИО);
  4032. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  4033. base.Columns.Add(this.columnСпециальность);
  4034. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  4035. base.Columns.Add(this.columnКатегория);
  4036. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  4037. base.Columns.Add(this.columnНомер_талона);
  4038. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  4039. base.Columns.Add(this.columnДата_визита);
  4040. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  4041. base.Columns.Add(this.columnЦель_посещения);
  4042. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  4043. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  4044. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  4045. base.Columns.Add(this._columnСтоимость_визита_руб__);
  4046. this.columnФИО.MaxLength = 50;
  4047. this.columnСпециальность.MaxLength = 50;
  4048. this.columnКатегория.MaxLength = 50;
  4049. this.columnЦель_посещения.MaxLength = 50;
  4050. this._columnСтоимость_визита_руб__.MaxLength = 10;
  4051. }
  4052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4053. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4054. public Фильтр_специальностиRow NewФильтр_специальностиRow() {
  4055. return ((Фильтр_специальностиRow)(this.NewRow()));
  4056. }
  4057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4058. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4059. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  4060. return new Фильтр_специальностиRow(builder);
  4061. }
  4062. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4063. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4064. protected override global::System.Type GetRowType() {
  4065. return typeof(Фильтр_специальностиRow);
  4066. }
  4067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4068. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4069. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  4070. base.OnRowChanged(e);
  4071. if ((this.Фильтр_специальностиRowChanged != null)) {
  4072. this.Фильтр_специальностиRowChanged(this, new Фильтр_специальностиRowChangeEvent(((Фильтр_специальностиRow)(e.Row)), e.Action));
  4073. }
  4074. }
  4075. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4076. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4077. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  4078. base.OnRowChanging(e);
  4079. if ((this.Фильтр_специальностиRowChanging != null)) {
  4080. this.Фильтр_специальностиRowChanging(this, new Фильтр_специальностиRowChangeEvent(((Фильтр_специальностиRow)(e.Row)), e.Action));
  4081. }
  4082. }
  4083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4085. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  4086. base.OnRowDeleted(e);
  4087. if ((this.Фильтр_специальностиRowDeleted != null)) {
  4088. this.Фильтр_специальностиRowDeleted(this, new Фильтр_специальностиRowChangeEvent(((Фильтр_специальностиRow)(e.Row)), e.Action));
  4089. }
  4090. }
  4091. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4092. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4093. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  4094. base.OnRowDeleting(e);
  4095. if ((this.Фильтр_специальностиRowDeleting != null)) {
  4096. this.Фильтр_специальностиRowDeleting(this, new Фильтр_специальностиRowChangeEvent(((Фильтр_специальностиRow)(e.Row)), e.Action));
  4097. }
  4098. }
  4099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4100. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4101. public void RemoveФильтр_специальностиRow(Фильтр_специальностиRow row) {
  4102. this.Rows.Remove(row);
  4103. }
  4104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4106. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  4107. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  4108. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  4109. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  4110. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  4111. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  4112. any1.MinOccurs = new decimal(0);
  4113. any1.MaxOccurs = decimal.MaxValue;
  4114. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4115. sequence.Items.Add(any1);
  4116. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  4117. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  4118. any2.MinOccurs = new decimal(1);
  4119. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4120. sequence.Items.Add(any2);
  4121. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4122. attribute1.Name = "namespace";
  4123. attribute1.FixedValue = ds.Namespace;
  4124. type.Attributes.Add(attribute1);
  4125. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4126. attribute2.Name = "tableTypeName";
  4127. attribute2.FixedValue = "Фильтр_специальностиDataTable";
  4128. type.Attributes.Add(attribute2);
  4129. type.Particle = sequence;
  4130. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  4131. if (xs.Contains(dsSchema.TargetNamespace)) {
  4132. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  4133. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  4134. try {
  4135. global::System.Xml.Schema.XmlSchema schema = null;
  4136. dsSchema.Write(s1);
  4137. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  4138. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  4139. s2.SetLength(0);
  4140. schema.Write(s2);
  4141. if ((s1.Length == s2.Length)) {
  4142. s1.Position = 0;
  4143. s2.Position = 0;
  4144. for (; ((s1.Position != s1.Length)
  4145. && (s1.ReadByte() == s2.ReadByte())); ) {
  4146. ;
  4147. }
  4148. if ((s1.Position == s1.Length)) {
  4149. return type;
  4150. }
  4151. }
  4152. }
  4153. }
  4154. finally {
  4155. if ((s1 != null)) {
  4156. s1.Close();
  4157. }
  4158. if ((s2 != null)) {
  4159. s2.Close();
  4160. }
  4161. }
  4162. }
  4163. xs.Add(dsSchema);
  4164. return type;
  4165. }
  4166. }
  4167. /// <summary>
  4168. ///Represents the strongly named DataTable class.
  4169. ///</summary>
  4170. [global::System.Serializable()]
  4171. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  4172. public partial class Фильтр_СтоматологиDataTable : global::System.Data.TypedTableBase<Фильтр_СтоматологиRow> {
  4173. private global::System.Data.DataColumn columnЦель_посещения;
  4174. private global::System.Data.DataColumn columnНомер_талона;
  4175. private global::System.Data.DataColumn columnФИО;
  4176. private global::System.Data.DataColumn columnКатегория;
  4177. private global::System.Data.DataColumn columnСпециальность;
  4178. private global::System.Data.DataColumn columnДата_визита;
  4179. private global::System.Data.DataColumn _columnСтоимость_визита_руб__;
  4180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4181. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4182. public Фильтр_СтоматологиDataTable() {
  4183. this.TableName = "Фильтр Стоматологи";
  4184. this.BeginInit();
  4185. this.InitClass();
  4186. this.EndInit();
  4187. }
  4188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4189. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4190. internal Фильтр_СтоматологиDataTable(global::System.Data.DataTable table) {
  4191. this.TableName = table.TableName;
  4192. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  4193. this.CaseSensitive = table.CaseSensitive;
  4194. }
  4195. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  4196. this.Locale = table.Locale;
  4197. }
  4198. if ((table.Namespace != table.DataSet.Namespace)) {
  4199. this.Namespace = table.Namespace;
  4200. }
  4201. this.Prefix = table.Prefix;
  4202. this.MinimumCapacity = table.MinimumCapacity;
  4203. }
  4204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4205. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4206. protected Фильтр_СтоматологиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  4207. base(info, context) {
  4208. this.InitVars();
  4209. }
  4210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4211. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4212. public global::System.Data.DataColumn Цель_посещенияColumn {
  4213. get {
  4214. return this.columnЦель_посещения;
  4215. }
  4216. }
  4217. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4218. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4219. public global::System.Data.DataColumn Номер_талонаColumn {
  4220. get {
  4221. return this.columnНомер_талона;
  4222. }
  4223. }
  4224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4225. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4226. public global::System.Data.DataColumn ФИОColumn {
  4227. get {
  4228. return this.columnФИО;
  4229. }
  4230. }
  4231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4232. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4233. public global::System.Data.DataColumn КатегорияColumn {
  4234. get {
  4235. return this.columnКатегория;
  4236. }
  4237. }
  4238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4239. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4240. public global::System.Data.DataColumn СпециальностьColumn {
  4241. get {
  4242. return this.columnСпециальность;
  4243. }
  4244. }
  4245. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4246. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4247. public global::System.Data.DataColumn Дата_визитаColumn {
  4248. get {
  4249. return this.columnДата_визита;
  4250. }
  4251. }
  4252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4254. public global::System.Data.DataColumn _Стоимость_визита_руб__Column {
  4255. get {
  4256. return this._columnСтоимость_визита_руб__;
  4257. }
  4258. }
  4259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4261. [global::System.ComponentModel.Browsable(false)]
  4262. public int Count {
  4263. get {
  4264. return this.Rows.Count;
  4265. }
  4266. }
  4267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4268. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4269. public Фильтр_СтоматологиRow this[int index] {
  4270. get {
  4271. return ((Фильтр_СтоматологиRow)(this.Rows[index]));
  4272. }
  4273. }
  4274. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4275. public event Фильтр_СтоматологиRowChangeEventHandler Фильтр_СтоматологиRowChanging;
  4276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4277. public event Фильтр_СтоматологиRowChangeEventHandler Фильтр_СтоматологиRowChanged;
  4278. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4279. public event Фильтр_СтоматологиRowChangeEventHandler Фильтр_СтоматологиRowDeleting;
  4280. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4281. public event Фильтр_СтоматологиRowChangeEventHandler Фильтр_СтоматологиRowDeleted;
  4282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4284. public void AddФильтр_СтоматологиRow(Фильтр_СтоматологиRow row) {
  4285. this.Rows.Add(row);
  4286. }
  4287. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4288. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4289. public Фильтр_СтоматологиRow AddФильтр_СтоматологиRow(string Цель_посещения, int Номер_талона, string ФИО, string Категория, string Специальность, System.DateTime Дата_визита, string _Стоимость_визита_руб__) {
  4290. Фильтр_СтоматологиRow rowФильтр_СтоматологиRow = ((Фильтр_СтоматологиRow)(this.NewRow()));
  4291. object[] columnValuesArray = new object[] {
  4292. Цель_посещения,
  4293. Номер_талона,
  4294. ФИО,
  4295. Категория,
  4296. Специальность,
  4297. Дата_визита,
  4298. _Стоимость_визита_руб__};
  4299. rowФильтр_СтоматологиRow.ItemArray = columnValuesArray;
  4300. this.Rows.Add(rowФильтр_СтоматологиRow);
  4301. return rowФильтр_СтоматологиRow;
  4302. }
  4303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4304. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4305. public override global::System.Data.DataTable Clone() {
  4306. Фильтр_СтоматологиDataTable cln = ((Фильтр_СтоматологиDataTable)(base.Clone()));
  4307. cln.InitVars();
  4308. return cln;
  4309. }
  4310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4312. protected override global::System.Data.DataTable CreateInstance() {
  4313. return new Фильтр_СтоматологиDataTable();
  4314. }
  4315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4316. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4317. internal void InitVars() {
  4318. this.columnЦель_посещения = base.Columns["Цель посещения"];
  4319. this.columnНомер_талона = base.Columns["Номер талона"];
  4320. this.columnФИО = base.Columns["ФИО"];
  4321. this.columnКатегория = base.Columns["Категория"];
  4322. this.columnСпециальность = base.Columns["Специальность"];
  4323. this.columnДата_визита = base.Columns["Дата визита"];
  4324. this._columnСтоимость_визита_руб__ = base.Columns["Стоимость визита(руб_)"];
  4325. }
  4326. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4327. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4328. private void InitClass() {
  4329. this.columnЦель_посещения = new global::System.Data.DataColumn("Цель посещения", typeof(string), null, global::System.Data.MappingType.Element);
  4330. base.Columns.Add(this.columnЦель_посещения);
  4331. this.columnНомер_талона = new global::System.Data.DataColumn("Номер талона", typeof(int), null, global::System.Data.MappingType.Element);
  4332. base.Columns.Add(this.columnНомер_талона);
  4333. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  4334. base.Columns.Add(this.columnФИО);
  4335. this.columnКатегория = new global::System.Data.DataColumn("Категория", typeof(string), null, global::System.Data.MappingType.Element);
  4336. base.Columns.Add(this.columnКатегория);
  4337. this.columnСпециальность = new global::System.Data.DataColumn("Специальность", typeof(string), null, global::System.Data.MappingType.Element);
  4338. base.Columns.Add(this.columnСпециальность);
  4339. this.columnДата_визита = new global::System.Data.DataColumn("Дата визита", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  4340. base.Columns.Add(this.columnДата_визита);
  4341. this._columnСтоимость_визита_руб__ = new global::System.Data.DataColumn("Стоимость визита(руб_)", typeof(string), null, global::System.Data.MappingType.Element);
  4342. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_визита_руб__");
  4343. this._columnСтоимость_визита_руб__.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость визита(руб_)");
  4344. base.Columns.Add(this._columnСтоимость_визита_руб__);
  4345. this.columnЦель_посещения.MaxLength = 50;
  4346. this.columnФИО.MaxLength = 50;
  4347. this.columnКатегория.MaxLength = 50;
  4348. this.columnСпециальность.MaxLength = 50;
  4349. this._columnСтоимость_визита_руб__.MaxLength = 10;
  4350. }
  4351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4352. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4353. public Фильтр_СтоматологиRow NewФильтр_СтоматологиRow() {
  4354. return ((Фильтр_СтоматологиRow)(this.NewRow()));
  4355. }
  4356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4357. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4358. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  4359. return new Фильтр_СтоматологиRow(builder);
  4360. }
  4361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4362. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4363. protected override global::System.Type GetRowType() {
  4364. return typeof(Фильтр_СтоматологиRow);
  4365. }
  4366. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4367. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4368. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  4369. base.OnRowChanged(e);
  4370. if ((this.Фильтр_СтоматологиRowChanged != null)) {
  4371. this.Фильтр_СтоматологиRowChanged(this, new Фильтр_СтоматологиRowChangeEvent(((Фильтр_СтоматологиRow)(e.Row)), e.Action));
  4372. }
  4373. }
  4374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4375. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4376. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  4377. base.OnRowChanging(e);
  4378. if ((this.Фильтр_СтоматологиRowChanging != null)) {
  4379. this.Фильтр_СтоматологиRowChanging(this, new Фильтр_СтоматологиRowChangeEvent(((Фильтр_СтоматологиRow)(e.Row)), e.Action));
  4380. }
  4381. }
  4382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4384. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  4385. base.OnRowDeleted(e);
  4386. if ((this.Фильтр_СтоматологиRowDeleted != null)) {
  4387. this.Фильтр_СтоматологиRowDeleted(this, new Фильтр_СтоматологиRowChangeEvent(((Фильтр_СтоматологиRow)(e.Row)), e.Action));
  4388. }
  4389. }
  4390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4391. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4392. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  4393. base.OnRowDeleting(e);
  4394. if ((this.Фильтр_СтоматологиRowDeleting != null)) {
  4395. this.Фильтр_СтоматологиRowDeleting(this, new Фильтр_СтоматологиRowChangeEvent(((Фильтр_СтоматологиRow)(e.Row)), e.Action));
  4396. }
  4397. }
  4398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4399. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4400. public void RemoveФильтр_СтоматологиRow(Фильтр_СтоматологиRow row) {
  4401. this.Rows.Remove(row);
  4402. }
  4403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4404. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4405. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  4406. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  4407. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  4408. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  4409. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  4410. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  4411. any1.MinOccurs = new decimal(0);
  4412. any1.MaxOccurs = decimal.MaxValue;
  4413. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4414. sequence.Items.Add(any1);
  4415. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  4416. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  4417. any2.MinOccurs = new decimal(1);
  4418. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4419. sequence.Items.Add(any2);
  4420. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4421. attribute1.Name = "namespace";
  4422. attribute1.FixedValue = ds.Namespace;
  4423. type.Attributes.Add(attribute1);
  4424. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4425. attribute2.Name = "tableTypeName";
  4426. attribute2.FixedValue = "Фильтр_СтоматологиDataTable";
  4427. type.Attributes.Add(attribute2);
  4428. type.Particle = sequence;
  4429. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  4430. if (xs.Contains(dsSchema.TargetNamespace)) {
  4431. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  4432. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  4433. try {
  4434. global::System.Xml.Schema.XmlSchema schema = null;
  4435. dsSchema.Write(s1);
  4436. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  4437. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  4438. s2.SetLength(0);
  4439. schema.Write(s2);
  4440. if ((s1.Length == s2.Length)) {
  4441. s1.Position = 0;
  4442. s2.Position = 0;
  4443. for (; ((s1.Position != s1.Length)
  4444. && (s1.ReadByte() == s2.ReadByte())); ) {
  4445. ;
  4446. }
  4447. if ((s1.Position == s1.Length)) {
  4448. return type;
  4449. }
  4450. }
  4451. }
  4452. }
  4453. finally {
  4454. if ((s1 != null)) {
  4455. s1.Close();
  4456. }
  4457. if ((s2 != null)) {
  4458. s2.Close();
  4459. }
  4460. }
  4461. }
  4462. xs.Add(dsSchema);
  4463. return type;
  4464. }
  4465. }
  4466. /// <summary>
  4467. ///Represents the strongly named DataTable class.
  4468. ///</summary>
  4469. [global::System.Serializable()]
  4470. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  4471. public partial class Фильтр_туберкулёзDataTable : global::System.Data.TypedTableBase<Фильтр_туберкулёзRow> {
  4472. private global::System.Data.DataColumn columnНомер_медкарты;
  4473. private global::System.Data.DataColumn columnФИО;
  4474. private global::System.Data.DataColumn columnДата_рождения;
  4475. private global::System.Data.DataColumn columnАдрес;
  4476. private global::System.Data.DataColumn columnПол;
  4477. private global::System.Data.DataColumn _columnСкидка_на_обслуживание__;
  4478. private global::System.Data.DataColumn columnКод_диагноза;
  4479. private global::System.Data.DataColumn columnНаименование_диагноза;
  4480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4481. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4482. public Фильтр_туберкулёзDataTable() {
  4483. this.TableName = "Фильтр туберкулёз";
  4484. this.BeginInit();
  4485. this.InitClass();
  4486. this.EndInit();
  4487. }
  4488. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4489. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4490. internal Фильтр_туберкулёзDataTable(global::System.Data.DataTable table) {
  4491. this.TableName = table.TableName;
  4492. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  4493. this.CaseSensitive = table.CaseSensitive;
  4494. }
  4495. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  4496. this.Locale = table.Locale;
  4497. }
  4498. if ((table.Namespace != table.DataSet.Namespace)) {
  4499. this.Namespace = table.Namespace;
  4500. }
  4501. this.Prefix = table.Prefix;
  4502. this.MinimumCapacity = table.MinimumCapacity;
  4503. }
  4504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4505. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4506. protected Фильтр_туберкулёзDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  4507. base(info, context) {
  4508. this.InitVars();
  4509. }
  4510. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4511. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4512. public global::System.Data.DataColumn Номер_медкартыColumn {
  4513. get {
  4514. return this.columnНомер_медкарты;
  4515. }
  4516. }
  4517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4518. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4519. public global::System.Data.DataColumn ФИОColumn {
  4520. get {
  4521. return this.columnФИО;
  4522. }
  4523. }
  4524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4526. public global::System.Data.DataColumn Дата_рожденияColumn {
  4527. get {
  4528. return this.columnДата_рождения;
  4529. }
  4530. }
  4531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4532. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4533. public global::System.Data.DataColumn АдресColumn {
  4534. get {
  4535. return this.columnАдрес;
  4536. }
  4537. }
  4538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4540. public global::System.Data.DataColumn ПолColumn {
  4541. get {
  4542. return this.columnПол;
  4543. }
  4544. }
  4545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4546. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4547. public global::System.Data.DataColumn _Скидка_на_обслуживание__Column {
  4548. get {
  4549. return this._columnСкидка_на_обслуживание__;
  4550. }
  4551. }
  4552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4554. public global::System.Data.DataColumn Код_диагнозаColumn {
  4555. get {
  4556. return this.columnКод_диагноза;
  4557. }
  4558. }
  4559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4560. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4561. public global::System.Data.DataColumn Наименование_диагнозаColumn {
  4562. get {
  4563. return this.columnНаименование_диагноза;
  4564. }
  4565. }
  4566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4567. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4568. [global::System.ComponentModel.Browsable(false)]
  4569. public int Count {
  4570. get {
  4571. return this.Rows.Count;
  4572. }
  4573. }
  4574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4575. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4576. public Фильтр_туберкулёзRow this[int index] {
  4577. get {
  4578. return ((Фильтр_туберкулёзRow)(this.Rows[index]));
  4579. }
  4580. }
  4581. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4582. public event Фильтр_туберкулёзRowChangeEventHandler Фильтр_туберкулёзRowChanging;
  4583. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4584. public event Фильтр_туберкулёзRowChangeEventHandler Фильтр_туберкулёзRowChanged;
  4585. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4586. public event Фильтр_туберкулёзRowChangeEventHandler Фильтр_туберкулёзRowDeleting;
  4587. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4588. public event Фильтр_туберкулёзRowChangeEventHandler Фильтр_туберкулёзRowDeleted;
  4589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4590. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4591. public void AddФильтр_туберкулёзRow(Фильтр_туберкулёзRow row) {
  4592. this.Rows.Add(row);
  4593. }
  4594. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4595. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4596. public Фильтр_туберкулёзRow AddФильтр_туберкулёзRow(int Номер_медкарты, string ФИО, System.DateTime Дата_рождения, string Адрес, string Пол, string _Скидка_на_обслуживание__, int Код_диагноза, string Наименование_диагноза) {
  4597. Фильтр_туберкулёзRow rowФильтр_туберкулёзRow = ((Фильтр_туберкулёзRow)(this.NewRow()));
  4598. object[] columnValuesArray = new object[] {
  4599. Номер_медкарты,
  4600. ФИО,
  4601. Дата_рождения,
  4602. Адрес,
  4603. Пол,
  4604. _Скидка_на_обслуживание__,
  4605. Код_диагноза,
  4606. Наименование_диагноза};
  4607. rowФильтр_туберкулёзRow.ItemArray = columnValuesArray;
  4608. this.Rows.Add(rowФильтр_туберкулёзRow);
  4609. return rowФильтр_туберкулёзRow;
  4610. }
  4611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4612. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4613. public Фильтр_туберкулёзRow FindByКод_диагноза(int Код_диагноза) {
  4614. return ((Фильтр_туберкулёзRow)(this.Rows.Find(new object[] {
  4615. Код_диагноза})));
  4616. }
  4617. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4618. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4619. public override global::System.Data.DataTable Clone() {
  4620. Фильтр_туберкулёзDataTable cln = ((Фильтр_туберкулёзDataTable)(base.Clone()));
  4621. cln.InitVars();
  4622. return cln;
  4623. }
  4624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4626. protected override global::System.Data.DataTable CreateInstance() {
  4627. return new Фильтр_туберкулёзDataTable();
  4628. }
  4629. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4630. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4631. internal void InitVars() {
  4632. this.columnНомер_медкарты = base.Columns["Номер медкарты"];
  4633. this.columnФИО = base.Columns["ФИО"];
  4634. this.columnДата_рождения = base.Columns["Дата рождения"];
  4635. this.columnАдрес = base.Columns["Адрес"];
  4636. this.columnПол = base.Columns["Пол"];
  4637. this._columnСкидка_на_обслуживание__ = base.Columns["Скидка на обслуживание %"];
  4638. this.columnКод_диагноза = base.Columns["Код диагноза"];
  4639. this.columnНаименование_диагноза = base.Columns["Наименование диагноза"];
  4640. }
  4641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4643. private void InitClass() {
  4644. this.columnНомер_медкарты = new global::System.Data.DataColumn("Номер медкарты", typeof(int), null, global::System.Data.MappingType.Element);
  4645. base.Columns.Add(this.columnНомер_медкарты);
  4646. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  4647. base.Columns.Add(this.columnФИО);
  4648. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  4649. base.Columns.Add(this.columnДата_рождения);
  4650. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  4651. base.Columns.Add(this.columnАдрес);
  4652. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  4653. base.Columns.Add(this.columnПол);
  4654. this._columnСкидка_на_обслуживание__ = new global::System.Data.DataColumn("Скидка на обслуживание %", typeof(string), null, global::System.Data.MappingType.Element);
  4655. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСкидка_на_обслуживание__");
  4656. this._columnСкидка_на_обслуживание__.ExtendedProperties.Add("Generator_UserColumnName", "Скидка на обслуживание %");
  4657. base.Columns.Add(this._columnСкидка_на_обслуживание__);
  4658. this.columnКод_диагноза = new global::System.Data.DataColumn("Код диагноза", typeof(int), null, global::System.Data.MappingType.Element);
  4659. base.Columns.Add(this.columnКод_диагноза);
  4660. this.columnНаименование_диагноза = new global::System.Data.DataColumn("Наименование диагноза", typeof(string), null, global::System.Data.MappingType.Element);
  4661. base.Columns.Add(this.columnНаименование_диагноза);
  4662. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  4663. this.columnКод_диагноза}, true));
  4664. this.columnНомер_медкарты.AllowDBNull = false;
  4665. this.columnФИО.MaxLength = 50;
  4666. this.columnАдрес.MaxLength = 50;
  4667. this.columnПол.MaxLength = 50;
  4668. this._columnСкидка_на_обслуживание__.MaxLength = 10;
  4669. this.columnКод_диагноза.AllowDBNull = false;
  4670. this.columnКод_диагноза.Unique = true;
  4671. this.columnНаименование_диагноза.MaxLength = 50;
  4672. }
  4673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4674. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4675. public Фильтр_туберкулёзRow NewФильтр_туберкулёзRow() {
  4676. return ((Фильтр_туберкулёзRow)(this.NewRow()));
  4677. }
  4678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4679. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4680. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  4681. return new Фильтр_туберкулёзRow(builder);
  4682. }
  4683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4684. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4685. protected override global::System.Type GetRowType() {
  4686. return typeof(Фильтр_туберкулёзRow);
  4687. }
  4688. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4689. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4690. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  4691. base.OnRowChanged(e);
  4692. if ((this.Фильтр_туберкулёзRowChanged != null)) {
  4693. this.Фильтр_туберкулёзRowChanged(this, new Фильтр_туберкулёзRowChangeEvent(((Фильтр_туберкулёзRow)(e.Row)), e.Action));
  4694. }
  4695. }
  4696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4697. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4698. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  4699. base.OnRowChanging(e);
  4700. if ((this.Фильтр_туберкулёзRowChanging != null)) {
  4701. this.Фильтр_туберкулёзRowChanging(this, new Фильтр_туберкулёзRowChangeEvent(((Фильтр_туберкулёзRow)(e.Row)), e.Action));
  4702. }
  4703. }
  4704. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4705. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4706. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  4707. base.OnRowDeleted(e);
  4708. if ((this.Фильтр_туберкулёзRowDeleted != null)) {
  4709. this.Фильтр_туберкулёзRowDeleted(this, new Фильтр_туберкулёзRowChangeEvent(((Фильтр_туберкулёзRow)(e.Row)), e.Action));
  4710. }
  4711. }
  4712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4714. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  4715. base.OnRowDeleting(e);
  4716. if ((this.Фильтр_туберкулёзRowDeleting != null)) {
  4717. this.Фильтр_туберкулёзRowDeleting(this, new Фильтр_туберкулёзRowChangeEvent(((Фильтр_туберкулёзRow)(e.Row)), e.Action));
  4718. }
  4719. }
  4720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4721. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4722. public void RemoveФильтр_туберкулёзRow(Фильтр_туберкулёзRow row) {
  4723. this.Rows.Remove(row);
  4724. }
  4725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4726. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4727. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  4728. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  4729. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  4730. IS32_Chistyakov10DataSet ds = new IS32_Chistyakov10DataSet();
  4731. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  4732. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  4733. any1.MinOccurs = new decimal(0);
  4734. any1.MaxOccurs = decimal.MaxValue;
  4735. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4736. sequence.Items.Add(any1);
  4737. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  4738. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  4739. any2.MinOccurs = new decimal(1);
  4740. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4741. sequence.Items.Add(any2);
  4742. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4743. attribute1.Name = "namespace";
  4744. attribute1.FixedValue = ds.Namespace;
  4745. type.Attributes.Add(attribute1);
  4746. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4747. attribute2.Name = "tableTypeName";
  4748. attribute2.FixedValue = "Фильтр_туберкулёзDataTable";
  4749. type.Attributes.Add(attribute2);
  4750. type.Particle = sequence;
  4751. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  4752. if (xs.Contains(dsSchema.TargetNamespace)) {
  4753. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  4754. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  4755. try {
  4756. global::System.Xml.Schema.XmlSchema schema = null;
  4757. dsSchema.Write(s1);
  4758. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  4759. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  4760. s2.SetLength(0);
  4761. schema.Write(s2);
  4762. if ((s1.Length == s2.Length)) {
  4763. s1.Position = 0;
  4764. s2.Position = 0;
  4765. for (; ((s1.Position != s1.Length)
  4766. && (s1.ReadByte() == s2.ReadByte())); ) {
  4767. ;
  4768. }
  4769. if ((s1.Position == s1.Length)) {
  4770. return type;
  4771. }
  4772. }
  4773. }
  4774. }
  4775. finally {
  4776. if ((s1 != null)) {
  4777. s1.Close();
  4778. }
  4779. if ((s2 != null)) {
  4780. s2.Close();
  4781. }
  4782. }
  4783. }
  4784. xs.Add(dsSchema);
  4785. return type;
  4786. }
  4787. }
  4788. /// <summary>
  4789. ///Represents strongly named DataRow class.
  4790. ///</summary>
  4791. public partial class ВрачиRow : global::System.Data.DataRow {
  4792. private ВрачиDataTable tableВрачи;
  4793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4794. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4795. internal ВрачиRow(global::System.Data.DataRowBuilder rb) :
  4796. base(rb) {
  4797. this.tableВрачи = ((ВрачиDataTable)(this.Table));
  4798. }
  4799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4800. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4801. public int ID_врача {
  4802. get {
  4803. return ((int)(this[this.tableВрачи.ID_врачаColumn]));
  4804. }
  4805. set {
  4806. this[this.tableВрачи.ID_врачаColumn] = value;
  4807. }
  4808. }
  4809. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4810. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4811. public string ФИО {
  4812. get {
  4813. try {
  4814. return ((string)(this[this.tableВрачи.ФИОColumn]));
  4815. }
  4816. catch (global::System.InvalidCastException e) {
  4817. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Врачи\' равно DBNull.", e);
  4818. }
  4819. }
  4820. set {
  4821. this[this.tableВрачи.ФИОColumn] = value;
  4822. }
  4823. }
  4824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4825. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4826. public string Специальность {
  4827. get {
  4828. try {
  4829. return ((string)(this[this.tableВрачи.СпециальностьColumn]));
  4830. }
  4831. catch (global::System.InvalidCastException e) {
  4832. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Врачи\' равно DBNull.", e);
  4833. }
  4834. }
  4835. set {
  4836. this[this.tableВрачи.СпециальностьColumn] = value;
  4837. }
  4838. }
  4839. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4840. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4841. public string Категория {
  4842. get {
  4843. try {
  4844. return ((string)(this[this.tableВрачи.КатегорияColumn]));
  4845. }
  4846. catch (global::System.InvalidCastException e) {
  4847. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Врачи\' равно DBNull.", e);
  4848. }
  4849. }
  4850. set {
  4851. this[this.tableВрачи.КатегорияColumn] = value;
  4852. }
  4853. }
  4854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4855. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4856. public bool IsФИОNull() {
  4857. return this.IsNull(this.tableВрачи.ФИОColumn);
  4858. }
  4859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4860. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4861. public void SetФИОNull() {
  4862. this[this.tableВрачи.ФИОColumn] = global::System.Convert.DBNull;
  4863. }
  4864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4866. public bool IsСпециальностьNull() {
  4867. return this.IsNull(this.tableВрачи.СпециальностьColumn);
  4868. }
  4869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4870. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4871. public void SetСпециальностьNull() {
  4872. this[this.tableВрачи.СпециальностьColumn] = global::System.Convert.DBNull;
  4873. }
  4874. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4875. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4876. public bool IsКатегорияNull() {
  4877. return this.IsNull(this.tableВрачи.КатегорияColumn);
  4878. }
  4879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4880. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4881. public void SetКатегорияNull() {
  4882. this[this.tableВрачи.КатегорияColumn] = global::System.Convert.DBNull;
  4883. }
  4884. }
  4885. /// <summary>
  4886. ///Represents strongly named DataRow class.
  4887. ///</summary>
  4888. public partial class ДиагнозыRow : global::System.Data.DataRow {
  4889. private ДиагнозыDataTable tableДиагнозы;
  4890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4891. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4892. internal ДиагнозыRow(global::System.Data.DataRowBuilder rb) :
  4893. base(rb) {
  4894. this.tableДиагнозы = ((ДиагнозыDataTable)(this.Table));
  4895. }
  4896. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4897. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4898. public int Код_диагноза {
  4899. get {
  4900. return ((int)(this[this.tableДиагнозы.Код_диагнозаColumn]));
  4901. }
  4902. set {
  4903. this[this.tableДиагнозы.Код_диагнозаColumn] = value;
  4904. }
  4905. }
  4906. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4907. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4908. public string Наименование_диагноза {
  4909. get {
  4910. try {
  4911. return ((string)(this[this.tableДиагнозы.Наименование_диагнозаColumn]));
  4912. }
  4913. catch (global::System.InvalidCastException e) {
  4914. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование диагноза\' в таблице \'Диагнозы\' равно DBNull.", e);
  4915. }
  4916. }
  4917. set {
  4918. this[this.tableДиагнозы.Наименование_диагнозаColumn] = value;
  4919. }
  4920. }
  4921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4922. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4923. public bool IsНаименование_диагнозаNull() {
  4924. return this.IsNull(this.tableДиагнозы.Наименование_диагнозаColumn);
  4925. }
  4926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4927. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4928. public void SetНаименование_диагнозаNull() {
  4929. this[this.tableДиагнозы.Наименование_диагнозаColumn] = global::System.Convert.DBNull;
  4930. }
  4931. }
  4932. /// <summary>
  4933. ///Represents strongly named DataRow class.
  4934. ///</summary>
  4935. public partial class ПациентыRow : global::System.Data.DataRow {
  4936. private ПациентыDataTable tableПациенты;
  4937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4938. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4939. internal ПациентыRow(global::System.Data.DataRowBuilder rb) :
  4940. base(rb) {
  4941. this.tableПациенты = ((ПациентыDataTable)(this.Table));
  4942. }
  4943. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4944. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4945. public int Номер_медкарты {
  4946. get {
  4947. return ((int)(this[this.tableПациенты.Номер_медкартыColumn]));
  4948. }
  4949. set {
  4950. this[this.tableПациенты.Номер_медкартыColumn] = value;
  4951. }
  4952. }
  4953. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4954. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4955. public string ФИО {
  4956. get {
  4957. try {
  4958. return ((string)(this[this.tableПациенты.ФИОColumn]));
  4959. }
  4960. catch (global::System.InvalidCastException e) {
  4961. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Пациенты\' равно DBNull.", e);
  4962. }
  4963. }
  4964. set {
  4965. this[this.tableПациенты.ФИОColumn] = value;
  4966. }
  4967. }
  4968. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4969. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4970. public System.DateTime Дата_рождения {
  4971. get {
  4972. try {
  4973. return ((global::System.DateTime)(this[this.tableПациенты.Дата_рожденияColumn]));
  4974. }
  4975. catch (global::System.InvalidCastException e) {
  4976. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Пациенты\' равно DBNull.", e);
  4977. }
  4978. }
  4979. set {
  4980. this[this.tableПациенты.Дата_рожденияColumn] = value;
  4981. }
  4982. }
  4983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4984. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4985. public string Адрес {
  4986. get {
  4987. try {
  4988. return ((string)(this[this.tableПациенты.АдресColumn]));
  4989. }
  4990. catch (global::System.InvalidCastException e) {
  4991. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Пациенты\' равно DBNull.", e);
  4992. }
  4993. }
  4994. set {
  4995. this[this.tableПациенты.АдресColumn] = value;
  4996. }
  4997. }
  4998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4999. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5000. public string Пол {
  5001. get {
  5002. try {
  5003. return ((string)(this[this.tableПациенты.ПолColumn]));
  5004. }
  5005. catch (global::System.InvalidCastException e) {
  5006. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Пациенты\' равно DBNull.", e);
  5007. }
  5008. }
  5009. set {
  5010. this[this.tableПациенты.ПолColumn] = value;
  5011. }
  5012. }
  5013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5014. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5015. public string _Скидка_на_обслуживание__ {
  5016. get {
  5017. try {
  5018. return ((string)(this[this.tableПациенты._Скидка_на_обслуживание__Column]));
  5019. }
  5020. catch (global::System.InvalidCastException e) {
  5021. throw new global::System.Data.StrongTypingException("Значение для столбца \'Скидка на обслуживание %\' в таблице \'Пациенты\' равно DBNull" +
  5022. ".", e);
  5023. }
  5024. }
  5025. set {
  5026. this[this.tableПациенты._Скидка_на_обслуживание__Column] = value;
  5027. }
  5028. }
  5029. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5030. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5031. public bool IsФИОNull() {
  5032. return this.IsNull(this.tableПациенты.ФИОColumn);
  5033. }
  5034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5035. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5036. public void SetФИОNull() {
  5037. this[this.tableПациенты.ФИОColumn] = global::System.Convert.DBNull;
  5038. }
  5039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5040. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5041. public bool IsДата_рожденияNull() {
  5042. return this.IsNull(this.tableПациенты.Дата_рожденияColumn);
  5043. }
  5044. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5045. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5046. public void SetДата_рожденияNull() {
  5047. this[this.tableПациенты.Дата_рожденияColumn] = global::System.Convert.DBNull;
  5048. }
  5049. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5050. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5051. public bool IsАдресNull() {
  5052. return this.IsNull(this.tableПациенты.АдресColumn);
  5053. }
  5054. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5055. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5056. public void SetАдресNull() {
  5057. this[this.tableПациенты.АдресColumn] = global::System.Convert.DBNull;
  5058. }
  5059. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5060. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5061. public bool IsПолNull() {
  5062. return this.IsNull(this.tableПациенты.ПолColumn);
  5063. }
  5064. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5065. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5066. public void SetПолNull() {
  5067. this[this.tableПациенты.ПолColumn] = global::System.Convert.DBNull;
  5068. }
  5069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5070. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5071. public bool Is_Скидка_на_обслуживание__Null() {
  5072. return this.IsNull(this.tableПациенты._Скидка_на_обслуживание__Column);
  5073. }
  5074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5075. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5076. public void Set_Скидка_на_обслуживание__Null() {
  5077. this[this.tableПациенты._Скидка_на_обслуживание__Column] = global::System.Convert.DBNull;
  5078. }
  5079. }
  5080. /// <summary>
  5081. ///Represents strongly named DataRow class.
  5082. ///</summary>
  5083. public partial class ПриёмыRow : global::System.Data.DataRow {
  5084. private ПриёмыDataTable tableПриёмы;
  5085. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5086. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5087. internal ПриёмыRow(global::System.Data.DataRowBuilder rb) :
  5088. base(rb) {
  5089. this.tableПриёмы = ((ПриёмыDataTable)(this.Table));
  5090. }
  5091. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5092. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5093. public int Номер_талона {
  5094. get {
  5095. try {
  5096. return ((int)(this[this.tableПриёмы.Номер_талонаColumn]));
  5097. }
  5098. catch (global::System.InvalidCastException e) {
  5099. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Приёмы\' равно DBNull.", e);
  5100. }
  5101. }
  5102. set {
  5103. this[this.tableПриёмы.Номер_талонаColumn] = value;
  5104. }
  5105. }
  5106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5107. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5108. public System.DateTime Дата_визита {
  5109. get {
  5110. try {
  5111. return ((global::System.DateTime)(this[this.tableПриёмы.Дата_визитаColumn]));
  5112. }
  5113. catch (global::System.InvalidCastException e) {
  5114. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Приёмы\' равно DBNull.", e);
  5115. }
  5116. }
  5117. set {
  5118. this[this.tableПриёмы.Дата_визитаColumn] = value;
  5119. }
  5120. }
  5121. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5122. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5123. public string Цель_посещения {
  5124. get {
  5125. try {
  5126. return ((string)(this[this.tableПриёмы.Цель_посещенияColumn]));
  5127. }
  5128. catch (global::System.InvalidCastException e) {
  5129. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Приёмы\' равно DBNull.", e);
  5130. }
  5131. }
  5132. set {
  5133. this[this.tableПриёмы.Цель_посещенияColumn] = value;
  5134. }
  5135. }
  5136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5137. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5138. public string _Стоимость_визита_руб__ {
  5139. get {
  5140. try {
  5141. return ((string)(this[this.tableПриёмы._Стоимость_визита_руб__Column]));
  5142. }
  5143. catch (global::System.InvalidCastException e) {
  5144. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Приёмы\' равно DBNull.", e);
  5145. }
  5146. }
  5147. set {
  5148. this[this.tableПриёмы._Стоимость_визита_руб__Column] = value;
  5149. }
  5150. }
  5151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5152. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5153. public bool IsНомер_талонаNull() {
  5154. return this.IsNull(this.tableПриёмы.Номер_талонаColumn);
  5155. }
  5156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5158. public void SetНомер_талонаNull() {
  5159. this[this.tableПриёмы.Номер_талонаColumn] = global::System.Convert.DBNull;
  5160. }
  5161. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5162. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5163. public bool IsДата_визитаNull() {
  5164. return this.IsNull(this.tableПриёмы.Дата_визитаColumn);
  5165. }
  5166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5167. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5168. public void SetДата_визитаNull() {
  5169. this[this.tableПриёмы.Дата_визитаColumn] = global::System.Convert.DBNull;
  5170. }
  5171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5173. public bool IsЦель_посещенияNull() {
  5174. return this.IsNull(this.tableПриёмы.Цель_посещенияColumn);
  5175. }
  5176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5177. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5178. public void SetЦель_посещенияNull() {
  5179. this[this.tableПриёмы.Цель_посещенияColumn] = global::System.Convert.DBNull;
  5180. }
  5181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5183. public bool Is_Стоимость_визита_руб__Null() {
  5184. return this.IsNull(this.tableПриёмы._Стоимость_визита_руб__Column);
  5185. }
  5186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5188. public void Set_Стоимость_визита_руб__Null() {
  5189. this[this.tableПриёмы._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  5190. }
  5191. }
  5192. /// <summary>
  5193. ///Represents strongly named DataRow class.
  5194. ///</summary>
  5195. public partial class _Врачи_ПриёмыRow : global::System.Data.DataRow {
  5196. private _Врачи_ПриёмыDataTable _tableВрачи_Приёмы;
  5197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5198. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5199. internal _Врачи_ПриёмыRow(global::System.Data.DataRowBuilder rb) :
  5200. base(rb) {
  5201. this._tableВрачи_Приёмы = ((_Врачи_ПриёмыDataTable)(this.Table));
  5202. }
  5203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5204. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5205. public string ФИО {
  5206. get {
  5207. try {
  5208. return ((string)(this[this._tableВрачи_Приёмы.ФИОColumn]));
  5209. }
  5210. catch (global::System.InvalidCastException e) {
  5211. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Врачи+Приёмы\' равно DBNull.", e);
  5212. }
  5213. }
  5214. set {
  5215. this[this._tableВрачи_Приёмы.ФИОColumn] = value;
  5216. }
  5217. }
  5218. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5219. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5220. public string Специальность {
  5221. get {
  5222. try {
  5223. return ((string)(this[this._tableВрачи_Приёмы.СпециальностьColumn]));
  5224. }
  5225. catch (global::System.InvalidCastException e) {
  5226. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Врачи+Приёмы\' равно DBNull.", e);
  5227. }
  5228. }
  5229. set {
  5230. this[this._tableВрачи_Приёмы.СпециальностьColumn] = value;
  5231. }
  5232. }
  5233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5234. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5235. public string Категория {
  5236. get {
  5237. try {
  5238. return ((string)(this[this._tableВрачи_Приёмы.КатегорияColumn]));
  5239. }
  5240. catch (global::System.InvalidCastException e) {
  5241. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Врачи+Приёмы\' равно DBNull.", e);
  5242. }
  5243. }
  5244. set {
  5245. this[this._tableВрачи_Приёмы.КатегорияColumn] = value;
  5246. }
  5247. }
  5248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5250. public int Номер_талона {
  5251. get {
  5252. try {
  5253. return ((int)(this[this._tableВрачи_Приёмы.Номер_талонаColumn]));
  5254. }
  5255. catch (global::System.InvalidCastException e) {
  5256. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Врачи+Приёмы\' равно DBNull.", e);
  5257. }
  5258. }
  5259. set {
  5260. this[this._tableВрачи_Приёмы.Номер_талонаColumn] = value;
  5261. }
  5262. }
  5263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5264. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5265. public System.DateTime Дата_визита {
  5266. get {
  5267. try {
  5268. return ((global::System.DateTime)(this[this._tableВрачи_Приёмы.Дата_визитаColumn]));
  5269. }
  5270. catch (global::System.InvalidCastException e) {
  5271. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Врачи+Приёмы\' равно DBNull.", e);
  5272. }
  5273. }
  5274. set {
  5275. this[this._tableВрачи_Приёмы.Дата_визитаColumn] = value;
  5276. }
  5277. }
  5278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5279. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5280. public string Цель_посещения {
  5281. get {
  5282. try {
  5283. return ((string)(this[this._tableВрачи_Приёмы.Цель_посещенияColumn]));
  5284. }
  5285. catch (global::System.InvalidCastException e) {
  5286. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Врачи+Приёмы\' равно DBNull.", e);
  5287. }
  5288. }
  5289. set {
  5290. this[this._tableВрачи_Приёмы.Цель_посещенияColumn] = value;
  5291. }
  5292. }
  5293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5294. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5295. public string _Стоимость_визита_руб__ {
  5296. get {
  5297. try {
  5298. return ((string)(this[this._tableВрачи_Приёмы._Стоимость_визита_руб__Column]));
  5299. }
  5300. catch (global::System.InvalidCastException e) {
  5301. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Врачи+Приёмы\' равно DBNu" +
  5302. "ll.", e);
  5303. }
  5304. }
  5305. set {
  5306. this[this._tableВрачи_Приёмы._Стоимость_визита_руб__Column] = value;
  5307. }
  5308. }
  5309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5311. public bool IsФИОNull() {
  5312. return this.IsNull(this._tableВрачи_Приёмы.ФИОColumn);
  5313. }
  5314. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5315. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5316. public void SetФИОNull() {
  5317. this[this._tableВрачи_Приёмы.ФИОColumn] = global::System.Convert.DBNull;
  5318. }
  5319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5320. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5321. public bool IsСпециальностьNull() {
  5322. return this.IsNull(this._tableВрачи_Приёмы.СпециальностьColumn);
  5323. }
  5324. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5325. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5326. public void SetСпециальностьNull() {
  5327. this[this._tableВрачи_Приёмы.СпециальностьColumn] = global::System.Convert.DBNull;
  5328. }
  5329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5330. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5331. public bool IsКатегорияNull() {
  5332. return this.IsNull(this._tableВрачи_Приёмы.КатегорияColumn);
  5333. }
  5334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5335. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5336. public void SetКатегорияNull() {
  5337. this[this._tableВрачи_Приёмы.КатегорияColumn] = global::System.Convert.DBNull;
  5338. }
  5339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5340. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5341. public bool IsНомер_талонаNull() {
  5342. return this.IsNull(this._tableВрачи_Приёмы.Номер_талонаColumn);
  5343. }
  5344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5345. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5346. public void SetНомер_талонаNull() {
  5347. this[this._tableВрачи_Приёмы.Номер_талонаColumn] = global::System.Convert.DBNull;
  5348. }
  5349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5351. public bool IsДата_визитаNull() {
  5352. return this.IsNull(this._tableВрачи_Приёмы.Дата_визитаColumn);
  5353. }
  5354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5355. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5356. public void SetДата_визитаNull() {
  5357. this[this._tableВрачи_Приёмы.Дата_визитаColumn] = global::System.Convert.DBNull;
  5358. }
  5359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5360. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5361. public bool IsЦель_посещенияNull() {
  5362. return this.IsNull(this._tableВрачи_Приёмы.Цель_посещенияColumn);
  5363. }
  5364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5366. public void SetЦель_посещенияNull() {
  5367. this[this._tableВрачи_Приёмы.Цель_посещенияColumn] = global::System.Convert.DBNull;
  5368. }
  5369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5370. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5371. public bool Is_Стоимость_визита_руб__Null() {
  5372. return this.IsNull(this._tableВрачи_Приёмы._Стоимость_визита_руб__Column);
  5373. }
  5374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5375. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5376. public void Set_Стоимость_визита_руб__Null() {
  5377. this[this._tableВрачи_Приёмы._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  5378. }
  5379. }
  5380. /// <summary>
  5381. ///Represents strongly named DataRow class.
  5382. ///</summary>
  5383. public partial class _Пациенты_ДиагнозыRow : global::System.Data.DataRow {
  5384. private _Пациенты_ДиагнозыDataTable _tableПациенты_Диагнозы;
  5385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5386. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5387. internal _Пациенты_ДиагнозыRow(global::System.Data.DataRowBuilder rb) :
  5388. base(rb) {
  5389. this._tableПациенты_Диагнозы = ((_Пациенты_ДиагнозыDataTable)(this.Table));
  5390. }
  5391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5392. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5393. public int Номер_медкарты {
  5394. get {
  5395. return ((int)(this[this._tableПациенты_Диагнозы.Номер_медкартыColumn]));
  5396. }
  5397. set {
  5398. this[this._tableПациенты_Диагнозы.Номер_медкартыColumn] = value;
  5399. }
  5400. }
  5401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5402. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5403. public string ФИО {
  5404. get {
  5405. try {
  5406. return ((string)(this[this._tableПациенты_Диагнозы.ФИОColumn]));
  5407. }
  5408. catch (global::System.InvalidCastException e) {
  5409. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Пациенты+Диагнозы\' равно DBNull.", e);
  5410. }
  5411. }
  5412. set {
  5413. this[this._tableПациенты_Диагнозы.ФИОColumn] = value;
  5414. }
  5415. }
  5416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5417. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5418. public System.DateTime Дата_рождения {
  5419. get {
  5420. try {
  5421. return ((global::System.DateTime)(this[this._tableПациенты_Диагнозы.Дата_рожденияColumn]));
  5422. }
  5423. catch (global::System.InvalidCastException e) {
  5424. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Пациенты+Диагнозы\' равно DBNull.", e);
  5425. }
  5426. }
  5427. set {
  5428. this[this._tableПациенты_Диагнозы.Дата_рожденияColumn] = value;
  5429. }
  5430. }
  5431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5433. public string Адрес {
  5434. get {
  5435. try {
  5436. return ((string)(this[this._tableПациенты_Диагнозы.АдресColumn]));
  5437. }
  5438. catch (global::System.InvalidCastException e) {
  5439. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Пациенты+Диагнозы\' равно DBNull.", e);
  5440. }
  5441. }
  5442. set {
  5443. this[this._tableПациенты_Диагнозы.АдресColumn] = value;
  5444. }
  5445. }
  5446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5447. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5448. public string Пол {
  5449. get {
  5450. try {
  5451. return ((string)(this[this._tableПациенты_Диагнозы.ПолColumn]));
  5452. }
  5453. catch (global::System.InvalidCastException e) {
  5454. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Пациенты+Диагнозы\' равно DBNull.", e);
  5455. }
  5456. }
  5457. set {
  5458. this[this._tableПациенты_Диагнозы.ПолColumn] = value;
  5459. }
  5460. }
  5461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5462. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5463. public string _Скидка_на_обслуживание__ {
  5464. get {
  5465. try {
  5466. return ((string)(this[this._tableПациенты_Диагнозы._Скидка_на_обслуживание__Column]));
  5467. }
  5468. catch (global::System.InvalidCastException e) {
  5469. throw new global::System.Data.StrongTypingException("Значение для столбца \'Скидка на обслуживание %\' в таблице \'Пациенты+Диагнозы\' рав" +
  5470. "но DBNull.", e);
  5471. }
  5472. }
  5473. set {
  5474. this[this._tableПациенты_Диагнозы._Скидка_на_обслуживание__Column] = value;
  5475. }
  5476. }
  5477. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5478. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5479. public int Код_диагноза {
  5480. get {
  5481. return ((int)(this[this._tableПациенты_Диагнозы.Код_диагнозаColumn]));
  5482. }
  5483. set {
  5484. this[this._tableПациенты_Диагнозы.Код_диагнозаColumn] = value;
  5485. }
  5486. }
  5487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5488. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5489. public string Наименование_диагноза {
  5490. get {
  5491. try {
  5492. return ((string)(this[this._tableПациенты_Диагнозы.Наименование_диагнозаColumn]));
  5493. }
  5494. catch (global::System.InvalidCastException e) {
  5495. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование диагноза\' в таблице \'Пациенты+Диагнозы\' равно " +
  5496. "DBNull.", e);
  5497. }
  5498. }
  5499. set {
  5500. this[this._tableПациенты_Диагнозы.Наименование_диагнозаColumn] = value;
  5501. }
  5502. }
  5503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5505. public bool IsФИОNull() {
  5506. return this.IsNull(this._tableПациенты_Диагнозы.ФИОColumn);
  5507. }
  5508. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5509. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5510. public void SetФИОNull() {
  5511. this[this._tableПациенты_Диагнозы.ФИОColumn] = global::System.Convert.DBNull;
  5512. }
  5513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5515. public bool IsДата_рожденияNull() {
  5516. return this.IsNull(this._tableПациенты_Диагнозы.Дата_рожденияColumn);
  5517. }
  5518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5519. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5520. public void SetДата_рожденияNull() {
  5521. this[this._tableПациенты_Диагнозы.Дата_рожденияColumn] = global::System.Convert.DBNull;
  5522. }
  5523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5524. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5525. public bool IsАдресNull() {
  5526. return this.IsNull(this._tableПациенты_Диагнозы.АдресColumn);
  5527. }
  5528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5529. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5530. public void SetАдресNull() {
  5531. this[this._tableПациенты_Диагнозы.АдресColumn] = global::System.Convert.DBNull;
  5532. }
  5533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5534. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5535. public bool IsПолNull() {
  5536. return this.IsNull(this._tableПациенты_Диагнозы.ПолColumn);
  5537. }
  5538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5540. public void SetПолNull() {
  5541. this[this._tableПациенты_Диагнозы.ПолColumn] = global::System.Convert.DBNull;
  5542. }
  5543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5544. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5545. public bool Is_Скидка_на_обслуживание__Null() {
  5546. return this.IsNull(this._tableПациенты_Диагнозы._Скидка_на_обслуживание__Column);
  5547. }
  5548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5550. public void Set_Скидка_на_обслуживание__Null() {
  5551. this[this._tableПациенты_Диагнозы._Скидка_на_обслуживание__Column] = global::System.Convert.DBNull;
  5552. }
  5553. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5554. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5555. public bool IsНаименование_диагнозаNull() {
  5556. return this.IsNull(this._tableПациенты_Диагнозы.Наименование_диагнозаColumn);
  5557. }
  5558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5560. public void SetНаименование_диагнозаNull() {
  5561. this[this._tableПациенты_Диагнозы.Наименование_диагнозаColumn] = global::System.Convert.DBNull;
  5562. }
  5563. }
  5564. /// <summary>
  5565. ///Represents strongly named DataRow class.
  5566. ///</summary>
  5567. public partial class Фильтр_Заболевании_органов_дыханияRow : global::System.Data.DataRow {
  5568. private Фильтр_Заболевании_органов_дыханияDataTable tableФильтр_Заболевании_органов_дыхания;
  5569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5570. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5571. internal Фильтр_Заболевании_органов_дыханияRow(global::System.Data.DataRowBuilder rb) :
  5572. base(rb) {
  5573. this.tableФильтр_Заболевании_органов_дыхания = ((Фильтр_Заболевании_органов_дыханияDataTable)(this.Table));
  5574. }
  5575. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5576. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5577. public int Номер_медкарты {
  5578. get {
  5579. return ((int)(this[this.tableФильтр_Заболевании_органов_дыхания.Номер_медкартыColumn]));
  5580. }
  5581. set {
  5582. this[this.tableФильтр_Заболевании_органов_дыхания.Номер_медкартыColumn] = value;
  5583. }
  5584. }
  5585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5586. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5587. public string ФИО {
  5588. get {
  5589. try {
  5590. return ((string)(this[this.tableФильтр_Заболевании_органов_дыхания.ФИОColumn]));
  5591. }
  5592. catch (global::System.InvalidCastException e) {
  5593. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр Заболевании органов дыхания\' равно D" +
  5594. "BNull.", e);
  5595. }
  5596. }
  5597. set {
  5598. this[this.tableФильтр_Заболевании_органов_дыхания.ФИОColumn] = value;
  5599. }
  5600. }
  5601. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5602. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5603. public System.DateTime Дата_рождения {
  5604. get {
  5605. try {
  5606. return ((global::System.DateTime)(this[this.tableФильтр_Заболевании_органов_дыхания.Дата_рожденияColumn]));
  5607. }
  5608. catch (global::System.InvalidCastException e) {
  5609. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Фильтр Заболевании органов дыхани" +
  5610. "я\' равно DBNull.", e);
  5611. }
  5612. }
  5613. set {
  5614. this[this.tableФильтр_Заболевании_органов_дыхания.Дата_рожденияColumn] = value;
  5615. }
  5616. }
  5617. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5618. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5619. public string Адрес {
  5620. get {
  5621. try {
  5622. return ((string)(this[this.tableФильтр_Заболевании_органов_дыхания.АдресColumn]));
  5623. }
  5624. catch (global::System.InvalidCastException e) {
  5625. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Фильтр Заболевании органов дыхания\' равно" +
  5626. " DBNull.", e);
  5627. }
  5628. }
  5629. set {
  5630. this[this.tableФильтр_Заболевании_органов_дыхания.АдресColumn] = value;
  5631. }
  5632. }
  5633. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5634. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5635. public string Пол {
  5636. get {
  5637. try {
  5638. return ((string)(this[this.tableФильтр_Заболевании_органов_дыхания.ПолColumn]));
  5639. }
  5640. catch (global::System.InvalidCastException e) {
  5641. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Фильтр Заболевании органов дыхания\' равно D" +
  5642. "BNull.", e);
  5643. }
  5644. }
  5645. set {
  5646. this[this.tableФильтр_Заболевании_органов_дыхания.ПолColumn] = value;
  5647. }
  5648. }
  5649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5650. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5651. public string _Скидка_на_обслуживание__ {
  5652. get {
  5653. try {
  5654. return ((string)(this[this.tableФильтр_Заболевании_органов_дыхания._Скидка_на_обслуживание__Column]));
  5655. }
  5656. catch (global::System.InvalidCastException e) {
  5657. throw new global::System.Data.StrongTypingException("Значение для столбца \'Скидка на обслуживание %\' в таблице \'Фильтр Заболевании орг" +
  5658. "анов дыхания\' равно DBNull.", e);
  5659. }
  5660. }
  5661. set {
  5662. this[this.tableФильтр_Заболевании_органов_дыхания._Скидка_на_обслуживание__Column] = value;
  5663. }
  5664. }
  5665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5666. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5667. public int Код_диагноза {
  5668. get {
  5669. return ((int)(this[this.tableФильтр_Заболевании_органов_дыхания.Код_диагнозаColumn]));
  5670. }
  5671. set {
  5672. this[this.tableФильтр_Заболевании_органов_дыхания.Код_диагнозаColumn] = value;
  5673. }
  5674. }
  5675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5677. public string Наименование_диагноза {
  5678. get {
  5679. try {
  5680. return ((string)(this[this.tableФильтр_Заболевании_органов_дыхания.Наименование_диагнозаColumn]));
  5681. }
  5682. catch (global::System.InvalidCastException e) {
  5683. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование диагноза\' в таблице \'Фильтр Заболевании органо" +
  5684. "в дыхания\' равно DBNull.", e);
  5685. }
  5686. }
  5687. set {
  5688. this[this.tableФильтр_Заболевании_органов_дыхания.Наименование_диагнозаColumn] = value;
  5689. }
  5690. }
  5691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5693. public bool IsФИОNull() {
  5694. return this.IsNull(this.tableФильтр_Заболевании_органов_дыхания.ФИОColumn);
  5695. }
  5696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5697. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5698. public void SetФИОNull() {
  5699. this[this.tableФильтр_Заболевании_органов_дыхания.ФИОColumn] = global::System.Convert.DBNull;
  5700. }
  5701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5702. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5703. public bool IsДата_рожденияNull() {
  5704. return this.IsNull(this.tableФильтр_Заболевании_органов_дыхания.Дата_рожденияColumn);
  5705. }
  5706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5707. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5708. public void SetДата_рожденияNull() {
  5709. this[this.tableФильтр_Заболевании_органов_дыхания.Дата_рожденияColumn] = global::System.Convert.DBNull;
  5710. }
  5711. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5712. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5713. public bool IsАдресNull() {
  5714. return this.IsNull(this.tableФильтр_Заболевании_органов_дыхания.АдресColumn);
  5715. }
  5716. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5717. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5718. public void SetАдресNull() {
  5719. this[this.tableФильтр_Заболевании_органов_дыхания.АдресColumn] = global::System.Convert.DBNull;
  5720. }
  5721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5722. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5723. public bool IsПолNull() {
  5724. return this.IsNull(this.tableФильтр_Заболевании_органов_дыхания.ПолColumn);
  5725. }
  5726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5727. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5728. public void SetПолNull() {
  5729. this[this.tableФильтр_Заболевании_органов_дыхания.ПолColumn] = global::System.Convert.DBNull;
  5730. }
  5731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5732. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5733. public bool Is_Скидка_на_обслуживание__Null() {
  5734. return this.IsNull(this.tableФильтр_Заболевании_органов_дыхания._Скидка_на_обслуживание__Column);
  5735. }
  5736. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5737. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5738. public void Set_Скидка_на_обслуживание__Null() {
  5739. this[this.tableФильтр_Заболевании_органов_дыхания._Скидка_на_обслуживание__Column] = global::System.Convert.DBNull;
  5740. }
  5741. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5742. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5743. public bool IsНаименование_диагнозаNull() {
  5744. return this.IsNull(this.tableФильтр_Заболевании_органов_дыхания.Наименование_диагнозаColumn);
  5745. }
  5746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5748. public void SetНаименование_диагнозаNull() {
  5749. this[this.tableФильтр_Заболевании_органов_дыхания.Наименование_диагнозаColumn] = global::System.Convert.DBNull;
  5750. }
  5751. }
  5752. /// <summary>
  5753. ///Represents strongly named DataRow class.
  5754. ///</summary>
  5755. public partial class Фильтр_КатегорииRow : global::System.Data.DataRow {
  5756. private Фильтр_КатегорииDataTable tableФильтр_Категории;
  5757. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5758. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5759. internal Фильтр_КатегорииRow(global::System.Data.DataRowBuilder rb) :
  5760. base(rb) {
  5761. this.tableФильтр_Категории = ((Фильтр_КатегорииDataTable)(this.Table));
  5762. }
  5763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5764. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5765. public string ФИО {
  5766. get {
  5767. try {
  5768. return ((string)(this[this.tableФильтр_Категории.ФИОColumn]));
  5769. }
  5770. catch (global::System.InvalidCastException e) {
  5771. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр Категории\' равно DBNull.", e);
  5772. }
  5773. }
  5774. set {
  5775. this[this.tableФильтр_Категории.ФИОColumn] = value;
  5776. }
  5777. }
  5778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5779. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5780. public string Специальность {
  5781. get {
  5782. try {
  5783. return ((string)(this[this.tableФильтр_Категории.СпециальностьColumn]));
  5784. }
  5785. catch (global::System.InvalidCastException e) {
  5786. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Фильтр Категории\' равно DBNull.", e);
  5787. }
  5788. }
  5789. set {
  5790. this[this.tableФильтр_Категории.СпециальностьColumn] = value;
  5791. }
  5792. }
  5793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5794. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5795. public string Категория {
  5796. get {
  5797. try {
  5798. return ((string)(this[this.tableФильтр_Категории.КатегорияColumn]));
  5799. }
  5800. catch (global::System.InvalidCastException e) {
  5801. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Фильтр Категории\' равно DBNull.", e);
  5802. }
  5803. }
  5804. set {
  5805. this[this.tableФильтр_Категории.КатегорияColumn] = value;
  5806. }
  5807. }
  5808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5810. public int Номер_талона {
  5811. get {
  5812. try {
  5813. return ((int)(this[this.tableФильтр_Категории.Номер_талонаColumn]));
  5814. }
  5815. catch (global::System.InvalidCastException e) {
  5816. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Фильтр Категории\' равно DBNull.", e);
  5817. }
  5818. }
  5819. set {
  5820. this[this.tableФильтр_Категории.Номер_талонаColumn] = value;
  5821. }
  5822. }
  5823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5824. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5825. public System.DateTime Дата_визита {
  5826. get {
  5827. try {
  5828. return ((global::System.DateTime)(this[this.tableФильтр_Категории.Дата_визитаColumn]));
  5829. }
  5830. catch (global::System.InvalidCastException e) {
  5831. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Фильтр Категории\' равно DBNull.", e);
  5832. }
  5833. }
  5834. set {
  5835. this[this.tableФильтр_Категории.Дата_визитаColumn] = value;
  5836. }
  5837. }
  5838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5839. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5840. public string Цель_посещения {
  5841. get {
  5842. try {
  5843. return ((string)(this[this.tableФильтр_Категории.Цель_посещенияColumn]));
  5844. }
  5845. catch (global::System.InvalidCastException e) {
  5846. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Фильтр Категории\' равно DBNull.", e);
  5847. }
  5848. }
  5849. set {
  5850. this[this.tableФильтр_Категории.Цель_посещенияColumn] = value;
  5851. }
  5852. }
  5853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5854. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5855. public string _Стоимость_визита_руб__ {
  5856. get {
  5857. try {
  5858. return ((string)(this[this.tableФильтр_Категории._Стоимость_визита_руб__Column]));
  5859. }
  5860. catch (global::System.InvalidCastException e) {
  5861. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Фильтр Категории\' равно " +
  5862. "DBNull.", e);
  5863. }
  5864. }
  5865. set {
  5866. this[this.tableФильтр_Категории._Стоимость_визита_руб__Column] = value;
  5867. }
  5868. }
  5869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5870. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5871. public bool IsФИОNull() {
  5872. return this.IsNull(this.tableФильтр_Категории.ФИОColumn);
  5873. }
  5874. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5875. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5876. public void SetФИОNull() {
  5877. this[this.tableФильтр_Категории.ФИОColumn] = global::System.Convert.DBNull;
  5878. }
  5879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5880. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5881. public bool IsСпециальностьNull() {
  5882. return this.IsNull(this.tableФильтр_Категории.СпециальностьColumn);
  5883. }
  5884. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5885. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5886. public void SetСпециальностьNull() {
  5887. this[this.tableФильтр_Категории.СпециальностьColumn] = global::System.Convert.DBNull;
  5888. }
  5889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5891. public bool IsКатегорияNull() {
  5892. return this.IsNull(this.tableФильтр_Категории.КатегорияColumn);
  5893. }
  5894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5895. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5896. public void SetКатегорияNull() {
  5897. this[this.tableФильтр_Категории.КатегорияColumn] = global::System.Convert.DBNull;
  5898. }
  5899. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5900. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5901. public bool IsНомер_талонаNull() {
  5902. return this.IsNull(this.tableФильтр_Категории.Номер_талонаColumn);
  5903. }
  5904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5905. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5906. public void SetНомер_талонаNull() {
  5907. this[this.tableФильтр_Категории.Номер_талонаColumn] = global::System.Convert.DBNull;
  5908. }
  5909. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5910. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5911. public bool IsДата_визитаNull() {
  5912. return this.IsNull(this.tableФильтр_Категории.Дата_визитаColumn);
  5913. }
  5914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5915. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5916. public void SetДата_визитаNull() {
  5917. this[this.tableФильтр_Категории.Дата_визитаColumn] = global::System.Convert.DBNull;
  5918. }
  5919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5920. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5921. public bool IsЦель_посещенияNull() {
  5922. return this.IsNull(this.tableФильтр_Категории.Цель_посещенияColumn);
  5923. }
  5924. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5925. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5926. public void SetЦель_посещенияNull() {
  5927. this[this.tableФильтр_Категории.Цель_посещенияColumn] = global::System.Convert.DBNull;
  5928. }
  5929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5931. public bool Is_Стоимость_визита_руб__Null() {
  5932. return this.IsNull(this.tableФильтр_Категории._Стоимость_визита_руб__Column);
  5933. }
  5934. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5935. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5936. public void Set_Стоимость_визита_руб__Null() {
  5937. this[this.tableФильтр_Категории._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  5938. }
  5939. }
  5940. /// <summary>
  5941. ///Represents strongly named DataRow class.
  5942. ///</summary>
  5943. public partial class Фильтр_ОнкологиRow : global::System.Data.DataRow {
  5944. private Фильтр_ОнкологиDataTable tableФильтр_Онкологи;
  5945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5946. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5947. internal Фильтр_ОнкологиRow(global::System.Data.DataRowBuilder rb) :
  5948. base(rb) {
  5949. this.tableФильтр_Онкологи = ((Фильтр_ОнкологиDataTable)(this.Table));
  5950. }
  5951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5952. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5953. public string ФИО {
  5954. get {
  5955. try {
  5956. return ((string)(this[this.tableФильтр_Онкологи.ФИОColumn]));
  5957. }
  5958. catch (global::System.InvalidCastException e) {
  5959. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр Онкологи\' равно DBNull.", e);
  5960. }
  5961. }
  5962. set {
  5963. this[this.tableФильтр_Онкологи.ФИОColumn] = value;
  5964. }
  5965. }
  5966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5967. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5968. public string Специальность {
  5969. get {
  5970. try {
  5971. return ((string)(this[this.tableФильтр_Онкологи.СпециальностьColumn]));
  5972. }
  5973. catch (global::System.InvalidCastException e) {
  5974. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Фильтр Онкологи\' равно DBNull.", e);
  5975. }
  5976. }
  5977. set {
  5978. this[this.tableФильтр_Онкологи.СпециальностьColumn] = value;
  5979. }
  5980. }
  5981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5983. public string Категория {
  5984. get {
  5985. try {
  5986. return ((string)(this[this.tableФильтр_Онкологи.КатегорияColumn]));
  5987. }
  5988. catch (global::System.InvalidCastException e) {
  5989. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Фильтр Онкологи\' равно DBNull.", e);
  5990. }
  5991. }
  5992. set {
  5993. this[this.tableФильтр_Онкологи.КатегорияColumn] = value;
  5994. }
  5995. }
  5996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5997. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5998. public int Номер_талона {
  5999. get {
  6000. try {
  6001. return ((int)(this[this.tableФильтр_Онкологи.Номер_талонаColumn]));
  6002. }
  6003. catch (global::System.InvalidCastException e) {
  6004. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Фильтр Онкологи\' равно DBNull.", e);
  6005. }
  6006. }
  6007. set {
  6008. this[this.tableФильтр_Онкологи.Номер_талонаColumn] = value;
  6009. }
  6010. }
  6011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6012. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6013. public System.DateTime Дата_визита {
  6014. get {
  6015. try {
  6016. return ((global::System.DateTime)(this[this.tableФильтр_Онкологи.Дата_визитаColumn]));
  6017. }
  6018. catch (global::System.InvalidCastException e) {
  6019. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Фильтр Онкологи\' равно DBNull.", e);
  6020. }
  6021. }
  6022. set {
  6023. this[this.tableФильтр_Онкологи.Дата_визитаColumn] = value;
  6024. }
  6025. }
  6026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6027. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6028. public string Цель_посещения {
  6029. get {
  6030. try {
  6031. return ((string)(this[this.tableФильтр_Онкологи.Цель_посещенияColumn]));
  6032. }
  6033. catch (global::System.InvalidCastException e) {
  6034. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Фильтр Онкологи\' равно DBNull.", e);
  6035. }
  6036. }
  6037. set {
  6038. this[this.tableФильтр_Онкологи.Цель_посещенияColumn] = value;
  6039. }
  6040. }
  6041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6043. public string _Стоимость_визита_руб__ {
  6044. get {
  6045. try {
  6046. return ((string)(this[this.tableФильтр_Онкологи._Стоимость_визита_руб__Column]));
  6047. }
  6048. catch (global::System.InvalidCastException e) {
  6049. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Фильтр Онкологи\' равно D" +
  6050. "BNull.", e);
  6051. }
  6052. }
  6053. set {
  6054. this[this.tableФильтр_Онкологи._Стоимость_визита_руб__Column] = value;
  6055. }
  6056. }
  6057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6058. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6059. public bool IsФИОNull() {
  6060. return this.IsNull(this.tableФильтр_Онкологи.ФИОColumn);
  6061. }
  6062. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6063. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6064. public void SetФИОNull() {
  6065. this[this.tableФильтр_Онкологи.ФИОColumn] = global::System.Convert.DBNull;
  6066. }
  6067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6068. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6069. public bool IsСпециальностьNull() {
  6070. return this.IsNull(this.tableФильтр_Онкологи.СпециальностьColumn);
  6071. }
  6072. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6073. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6074. public void SetСпециальностьNull() {
  6075. this[this.tableФильтр_Онкологи.СпециальностьColumn] = global::System.Convert.DBNull;
  6076. }
  6077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6078. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6079. public bool IsКатегорияNull() {
  6080. return this.IsNull(this.tableФильтр_Онкологи.КатегорияColumn);
  6081. }
  6082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6083. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6084. public void SetКатегорияNull() {
  6085. this[this.tableФильтр_Онкологи.КатегорияColumn] = global::System.Convert.DBNull;
  6086. }
  6087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6089. public bool IsНомер_талонаNull() {
  6090. return this.IsNull(this.tableФильтр_Онкологи.Номер_талонаColumn);
  6091. }
  6092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6093. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6094. public void SetНомер_талонаNull() {
  6095. this[this.tableФильтр_Онкологи.Номер_талонаColumn] = global::System.Convert.DBNull;
  6096. }
  6097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6099. public bool IsДата_визитаNull() {
  6100. return this.IsNull(this.tableФильтр_Онкологи.Дата_визитаColumn);
  6101. }
  6102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6104. public void SetДата_визитаNull() {
  6105. this[this.tableФильтр_Онкологи.Дата_визитаColumn] = global::System.Convert.DBNull;
  6106. }
  6107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6108. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6109. public bool IsЦель_посещенияNull() {
  6110. return this.IsNull(this.tableФильтр_Онкологи.Цель_посещенияColumn);
  6111. }
  6112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6114. public void SetЦель_посещенияNull() {
  6115. this[this.tableФильтр_Онкологи.Цель_посещенияColumn] = global::System.Convert.DBNull;
  6116. }
  6117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6119. public bool Is_Стоимость_визита_руб__Null() {
  6120. return this.IsNull(this.tableФильтр_Онкологи._Стоимость_визита_руб__Column);
  6121. }
  6122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6123. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6124. public void Set_Стоимость_визита_руб__Null() {
  6125. this[this.tableФильтр_Онкологи._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  6126. }
  6127. }
  6128. /// <summary>
  6129. ///Represents strongly named DataRow class.
  6130. ///</summary>
  6131. public partial class Фильтр_ПедиаторыRow : global::System.Data.DataRow {
  6132. private Фильтр_ПедиаторыDataTable tableФильтр_Педиаторы;
  6133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6134. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6135. internal Фильтр_ПедиаторыRow(global::System.Data.DataRowBuilder rb) :
  6136. base(rb) {
  6137. this.tableФильтр_Педиаторы = ((Фильтр_ПедиаторыDataTable)(this.Table));
  6138. }
  6139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6141. public string ФИО {
  6142. get {
  6143. try {
  6144. return ((string)(this[this.tableФильтр_Педиаторы.ФИОColumn]));
  6145. }
  6146. catch (global::System.InvalidCastException e) {
  6147. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр Педиаторы\' равно DBNull.", e);
  6148. }
  6149. }
  6150. set {
  6151. this[this.tableФильтр_Педиаторы.ФИОColumn] = value;
  6152. }
  6153. }
  6154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6156. public string Специальность {
  6157. get {
  6158. try {
  6159. return ((string)(this[this.tableФильтр_Педиаторы.СпециальностьColumn]));
  6160. }
  6161. catch (global::System.InvalidCastException e) {
  6162. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Фильтр Педиаторы\' равно DBNull.", e);
  6163. }
  6164. }
  6165. set {
  6166. this[this.tableФильтр_Педиаторы.СпециальностьColumn] = value;
  6167. }
  6168. }
  6169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6170. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6171. public string Категория {
  6172. get {
  6173. try {
  6174. return ((string)(this[this.tableФильтр_Педиаторы.КатегорияColumn]));
  6175. }
  6176. catch (global::System.InvalidCastException e) {
  6177. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Фильтр Педиаторы\' равно DBNull.", e);
  6178. }
  6179. }
  6180. set {
  6181. this[this.tableФильтр_Педиаторы.КатегорияColumn] = value;
  6182. }
  6183. }
  6184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6186. public System.DateTime Дата_визита {
  6187. get {
  6188. try {
  6189. return ((global::System.DateTime)(this[this.tableФильтр_Педиаторы.Дата_визитаColumn]));
  6190. }
  6191. catch (global::System.InvalidCastException e) {
  6192. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Фильтр Педиаторы\' равно DBNull.", e);
  6193. }
  6194. }
  6195. set {
  6196. this[this.tableФильтр_Педиаторы.Дата_визитаColumn] = value;
  6197. }
  6198. }
  6199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6201. public int Номер_талона {
  6202. get {
  6203. try {
  6204. return ((int)(this[this.tableФильтр_Педиаторы.Номер_талонаColumn]));
  6205. }
  6206. catch (global::System.InvalidCastException e) {
  6207. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Фильтр Педиаторы\' равно DBNull.", e);
  6208. }
  6209. }
  6210. set {
  6211. this[this.tableФильтр_Педиаторы.Номер_талонаColumn] = value;
  6212. }
  6213. }
  6214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6216. public string _Стоимость_визита_руб__ {
  6217. get {
  6218. try {
  6219. return ((string)(this[this.tableФильтр_Педиаторы._Стоимость_визита_руб__Column]));
  6220. }
  6221. catch (global::System.InvalidCastException e) {
  6222. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Фильтр Педиаторы\' равно " +
  6223. "DBNull.", e);
  6224. }
  6225. }
  6226. set {
  6227. this[this.tableФильтр_Педиаторы._Стоимость_визита_руб__Column] = value;
  6228. }
  6229. }
  6230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6231. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6232. public string Цель_посещения {
  6233. get {
  6234. try {
  6235. return ((string)(this[this.tableФильтр_Педиаторы.Цель_посещенияColumn]));
  6236. }
  6237. catch (global::System.InvalidCastException e) {
  6238. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Фильтр Педиаторы\' равно DBNull.", e);
  6239. }
  6240. }
  6241. set {
  6242. this[this.tableФильтр_Педиаторы.Цель_посещенияColumn] = value;
  6243. }
  6244. }
  6245. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6246. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6247. public bool IsФИОNull() {
  6248. return this.IsNull(this.tableФильтр_Педиаторы.ФИОColumn);
  6249. }
  6250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6251. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6252. public void SetФИОNull() {
  6253. this[this.tableФильтр_Педиаторы.ФИОColumn] = global::System.Convert.DBNull;
  6254. }
  6255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6256. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6257. public bool IsСпециальностьNull() {
  6258. return this.IsNull(this.tableФильтр_Педиаторы.СпециальностьColumn);
  6259. }
  6260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6261. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6262. public void SetСпециальностьNull() {
  6263. this[this.tableФильтр_Педиаторы.СпециальностьColumn] = global::System.Convert.DBNull;
  6264. }
  6265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6267. public bool IsКатегорияNull() {
  6268. return this.IsNull(this.tableФильтр_Педиаторы.КатегорияColumn);
  6269. }
  6270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6271. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6272. public void SetКатегорияNull() {
  6273. this[this.tableФильтр_Педиаторы.КатегорияColumn] = global::System.Convert.DBNull;
  6274. }
  6275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6277. public bool IsДата_визитаNull() {
  6278. return this.IsNull(this.tableФильтр_Педиаторы.Дата_визитаColumn);
  6279. }
  6280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6282. public void SetДата_визитаNull() {
  6283. this[this.tableФильтр_Педиаторы.Дата_визитаColumn] = global::System.Convert.DBNull;
  6284. }
  6285. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6286. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6287. public bool IsНомер_талонаNull() {
  6288. return this.IsNull(this.tableФильтр_Педиаторы.Номер_талонаColumn);
  6289. }
  6290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6292. public void SetНомер_талонаNull() {
  6293. this[this.tableФильтр_Педиаторы.Номер_талонаColumn] = global::System.Convert.DBNull;
  6294. }
  6295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6296. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6297. public bool Is_Стоимость_визита_руб__Null() {
  6298. return this.IsNull(this.tableФильтр_Педиаторы._Стоимость_визита_руб__Column);
  6299. }
  6300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6301. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6302. public void Set_Стоимость_визита_руб__Null() {
  6303. this[this.tableФильтр_Педиаторы._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  6304. }
  6305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6306. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6307. public bool IsЦель_посещенияNull() {
  6308. return this.IsNull(this.tableФильтр_Педиаторы.Цель_посещенияColumn);
  6309. }
  6310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6312. public void SetЦель_посещенияNull() {
  6313. this[this.tableФильтр_Педиаторы.Цель_посещенияColumn] = global::System.Convert.DBNull;
  6314. }
  6315. }
  6316. /// <summary>
  6317. ///Represents strongly named DataRow class.
  6318. ///</summary>
  6319. public partial class Фильтр_скидкиRow : global::System.Data.DataRow {
  6320. private Фильтр_скидкиDataTable tableФильтр_скидки;
  6321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6323. internal Фильтр_скидкиRow(global::System.Data.DataRowBuilder rb) :
  6324. base(rb) {
  6325. this.tableФильтр_скидки = ((Фильтр_скидкиDataTable)(this.Table));
  6326. }
  6327. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6328. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6329. public int Номер_медкарты {
  6330. get {
  6331. return ((int)(this[this.tableФильтр_скидки.Номер_медкартыColumn]));
  6332. }
  6333. set {
  6334. this[this.tableФильтр_скидки.Номер_медкартыColumn] = value;
  6335. }
  6336. }
  6337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6338. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6339. public string ФИО {
  6340. get {
  6341. try {
  6342. return ((string)(this[this.tableФильтр_скидки.ФИОColumn]));
  6343. }
  6344. catch (global::System.InvalidCastException e) {
  6345. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр скидки\' равно DBNull.", e);
  6346. }
  6347. }
  6348. set {
  6349. this[this.tableФильтр_скидки.ФИОColumn] = value;
  6350. }
  6351. }
  6352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6353. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6354. public System.DateTime Дата_рождения {
  6355. get {
  6356. try {
  6357. return ((global::System.DateTime)(this[this.tableФильтр_скидки.Дата_рожденияColumn]));
  6358. }
  6359. catch (global::System.InvalidCastException e) {
  6360. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Фильтр скидки\' равно DBNull.", e);
  6361. }
  6362. }
  6363. set {
  6364. this[this.tableФильтр_скидки.Дата_рожденияColumn] = value;
  6365. }
  6366. }
  6367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6368. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6369. public string Адрес {
  6370. get {
  6371. try {
  6372. return ((string)(this[this.tableФильтр_скидки.АдресColumn]));
  6373. }
  6374. catch (global::System.InvalidCastException e) {
  6375. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Фильтр скидки\' равно DBNull.", e);
  6376. }
  6377. }
  6378. set {
  6379. this[this.tableФильтр_скидки.АдресColumn] = value;
  6380. }
  6381. }
  6382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6384. public string Пол {
  6385. get {
  6386. try {
  6387. return ((string)(this[this.tableФильтр_скидки.ПолColumn]));
  6388. }
  6389. catch (global::System.InvalidCastException e) {
  6390. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Фильтр скидки\' равно DBNull.", e);
  6391. }
  6392. }
  6393. set {
  6394. this[this.tableФильтр_скидки.ПолColumn] = value;
  6395. }
  6396. }
  6397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6398. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6399. public string _Скидка_на_обслуживание__ {
  6400. get {
  6401. try {
  6402. return ((string)(this[this.tableФильтр_скидки._Скидка_на_обслуживание__Column]));
  6403. }
  6404. catch (global::System.InvalidCastException e) {
  6405. throw new global::System.Data.StrongTypingException("Значение для столбца \'Скидка на обслуживание %\' в таблице \'Фильтр скидки\' равно D" +
  6406. "BNull.", e);
  6407. }
  6408. }
  6409. set {
  6410. this[this.tableФильтр_скидки._Скидка_на_обслуживание__Column] = value;
  6411. }
  6412. }
  6413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6414. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6415. public int Код_диагноза {
  6416. get {
  6417. return ((int)(this[this.tableФильтр_скидки.Код_диагнозаColumn]));
  6418. }
  6419. set {
  6420. this[this.tableФильтр_скидки.Код_диагнозаColumn] = value;
  6421. }
  6422. }
  6423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6424. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6425. public string Наименование_диагноза {
  6426. get {
  6427. try {
  6428. return ((string)(this[this.tableФильтр_скидки.Наименование_диагнозаColumn]));
  6429. }
  6430. catch (global::System.InvalidCastException e) {
  6431. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование диагноза\' в таблице \'Фильтр скидки\' равно DBNu" +
  6432. "ll.", e);
  6433. }
  6434. }
  6435. set {
  6436. this[this.tableФильтр_скидки.Наименование_диагнозаColumn] = value;
  6437. }
  6438. }
  6439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6440. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6441. public bool IsФИОNull() {
  6442. return this.IsNull(this.tableФильтр_скидки.ФИОColumn);
  6443. }
  6444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6446. public void SetФИОNull() {
  6447. this[this.tableФильтр_скидки.ФИОColumn] = global::System.Convert.DBNull;
  6448. }
  6449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6451. public bool IsДата_рожденияNull() {
  6452. return this.IsNull(this.tableФильтр_скидки.Дата_рожденияColumn);
  6453. }
  6454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6456. public void SetДата_рожденияNull() {
  6457. this[this.tableФильтр_скидки.Дата_рожденияColumn] = global::System.Convert.DBNull;
  6458. }
  6459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6461. public bool IsАдресNull() {
  6462. return this.IsNull(this.tableФильтр_скидки.АдресColumn);
  6463. }
  6464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6466. public void SetАдресNull() {
  6467. this[this.tableФильтр_скидки.АдресColumn] = global::System.Convert.DBNull;
  6468. }
  6469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6470. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6471. public bool IsПолNull() {
  6472. return this.IsNull(this.tableФильтр_скидки.ПолColumn);
  6473. }
  6474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6476. public void SetПолNull() {
  6477. this[this.tableФильтр_скидки.ПолColumn] = global::System.Convert.DBNull;
  6478. }
  6479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6481. public bool Is_Скидка_на_обслуживание__Null() {
  6482. return this.IsNull(this.tableФильтр_скидки._Скидка_на_обслуживание__Column);
  6483. }
  6484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6485. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6486. public void Set_Скидка_на_обслуживание__Null() {
  6487. this[this.tableФильтр_скидки._Скидка_на_обслуживание__Column] = global::System.Convert.DBNull;
  6488. }
  6489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6491. public bool IsНаименование_диагнозаNull() {
  6492. return this.IsNull(this.tableФильтр_скидки.Наименование_диагнозаColumn);
  6493. }
  6494. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6495. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6496. public void SetНаименование_диагнозаNull() {
  6497. this[this.tableФильтр_скидки.Наименование_диагнозаColumn] = global::System.Convert.DBNull;
  6498. }
  6499. }
  6500. /// <summary>
  6501. ///Represents strongly named DataRow class.
  6502. ///</summary>
  6503. public partial class Фильтр_специальностиRow : global::System.Data.DataRow {
  6504. private Фильтр_специальностиDataTable tableФильтр_специальности;
  6505. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6506. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6507. internal Фильтр_специальностиRow(global::System.Data.DataRowBuilder rb) :
  6508. base(rb) {
  6509. this.tableФильтр_специальности = ((Фильтр_специальностиDataTable)(this.Table));
  6510. }
  6511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6512. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6513. public string ФИО {
  6514. get {
  6515. try {
  6516. return ((string)(this[this.tableФильтр_специальности.ФИОColumn]));
  6517. }
  6518. catch (global::System.InvalidCastException e) {
  6519. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр специальности\' равно DBNull.", e);
  6520. }
  6521. }
  6522. set {
  6523. this[this.tableФильтр_специальности.ФИОColumn] = value;
  6524. }
  6525. }
  6526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6528. public string Специальность {
  6529. get {
  6530. try {
  6531. return ((string)(this[this.tableФильтр_специальности.СпециальностьColumn]));
  6532. }
  6533. catch (global::System.InvalidCastException e) {
  6534. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Фильтр специальности\' равно DBNul" +
  6535. "l.", e);
  6536. }
  6537. }
  6538. set {
  6539. this[this.tableФильтр_специальности.СпециальностьColumn] = value;
  6540. }
  6541. }
  6542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6544. public string Категория {
  6545. get {
  6546. try {
  6547. return ((string)(this[this.tableФильтр_специальности.КатегорияColumn]));
  6548. }
  6549. catch (global::System.InvalidCastException e) {
  6550. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Фильтр специальности\' равно DBNull.", e);
  6551. }
  6552. }
  6553. set {
  6554. this[this.tableФильтр_специальности.КатегорияColumn] = value;
  6555. }
  6556. }
  6557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6559. public int Номер_талона {
  6560. get {
  6561. try {
  6562. return ((int)(this[this.tableФильтр_специальности.Номер_талонаColumn]));
  6563. }
  6564. catch (global::System.InvalidCastException e) {
  6565. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Фильтр специальности\' равно DBNull" +
  6566. ".", e);
  6567. }
  6568. }
  6569. set {
  6570. this[this.tableФильтр_специальности.Номер_талонаColumn] = value;
  6571. }
  6572. }
  6573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6575. public System.DateTime Дата_визита {
  6576. get {
  6577. try {
  6578. return ((global::System.DateTime)(this[this.tableФильтр_специальности.Дата_визитаColumn]));
  6579. }
  6580. catch (global::System.InvalidCastException e) {
  6581. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Фильтр специальности\' равно DBNull." +
  6582. "", e);
  6583. }
  6584. }
  6585. set {
  6586. this[this.tableФильтр_специальности.Дата_визитаColumn] = value;
  6587. }
  6588. }
  6589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6590. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6591. public string Цель_посещения {
  6592. get {
  6593. try {
  6594. return ((string)(this[this.tableФильтр_специальности.Цель_посещенияColumn]));
  6595. }
  6596. catch (global::System.InvalidCastException e) {
  6597. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Фильтр специальности\' равно DBNu" +
  6598. "ll.", e);
  6599. }
  6600. }
  6601. set {
  6602. this[this.tableФильтр_специальности.Цель_посещенияColumn] = value;
  6603. }
  6604. }
  6605. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6606. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6607. public string _Стоимость_визита_руб__ {
  6608. get {
  6609. try {
  6610. return ((string)(this[this.tableФильтр_специальности._Стоимость_визита_руб__Column]));
  6611. }
  6612. catch (global::System.InvalidCastException e) {
  6613. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Фильтр специальности\' ра" +
  6614. "вно DBNull.", e);
  6615. }
  6616. }
  6617. set {
  6618. this[this.tableФильтр_специальности._Стоимость_визита_руб__Column] = value;
  6619. }
  6620. }
  6621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6622. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6623. public bool IsФИОNull() {
  6624. return this.IsNull(this.tableФильтр_специальности.ФИОColumn);
  6625. }
  6626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6628. public void SetФИОNull() {
  6629. this[this.tableФильтр_специальности.ФИОColumn] = global::System.Convert.DBNull;
  6630. }
  6631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6632. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6633. public bool IsСпециальностьNull() {
  6634. return this.IsNull(this.tableФильтр_специальности.СпециальностьColumn);
  6635. }
  6636. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6637. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6638. public void SetСпециальностьNull() {
  6639. this[this.tableФильтр_специальности.СпециальностьColumn] = global::System.Convert.DBNull;
  6640. }
  6641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6643. public bool IsКатегорияNull() {
  6644. return this.IsNull(this.tableФильтр_специальности.КатегорияColumn);
  6645. }
  6646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6647. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6648. public void SetКатегорияNull() {
  6649. this[this.tableФильтр_специальности.КатегорияColumn] = global::System.Convert.DBNull;
  6650. }
  6651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6652. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6653. public bool IsНомер_талонаNull() {
  6654. return this.IsNull(this.tableФильтр_специальности.Номер_талонаColumn);
  6655. }
  6656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6657. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6658. public void SetНомер_талонаNull() {
  6659. this[this.tableФильтр_специальности.Номер_талонаColumn] = global::System.Convert.DBNull;
  6660. }
  6661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6662. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6663. public bool IsДата_визитаNull() {
  6664. return this.IsNull(this.tableФильтр_специальности.Дата_визитаColumn);
  6665. }
  6666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6667. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6668. public void SetДата_визитаNull() {
  6669. this[this.tableФильтр_специальности.Дата_визитаColumn] = global::System.Convert.DBNull;
  6670. }
  6671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6672. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6673. public bool IsЦель_посещенияNull() {
  6674. return this.IsNull(this.tableФильтр_специальности.Цель_посещенияColumn);
  6675. }
  6676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6677. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6678. public void SetЦель_посещенияNull() {
  6679. this[this.tableФильтр_специальности.Цель_посещенияColumn] = global::System.Convert.DBNull;
  6680. }
  6681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6682. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6683. public bool Is_Стоимость_визита_руб__Null() {
  6684. return this.IsNull(this.tableФильтр_специальности._Стоимость_визита_руб__Column);
  6685. }
  6686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6688. public void Set_Стоимость_визита_руб__Null() {
  6689. this[this.tableФильтр_специальности._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  6690. }
  6691. }
  6692. /// <summary>
  6693. ///Represents strongly named DataRow class.
  6694. ///</summary>
  6695. public partial class Фильтр_СтоматологиRow : global::System.Data.DataRow {
  6696. private Фильтр_СтоматологиDataTable tableФильтр_Стоматологи;
  6697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6698. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6699. internal Фильтр_СтоматологиRow(global::System.Data.DataRowBuilder rb) :
  6700. base(rb) {
  6701. this.tableФильтр_Стоматологи = ((Фильтр_СтоматологиDataTable)(this.Table));
  6702. }
  6703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6705. public string Цель_посещения {
  6706. get {
  6707. try {
  6708. return ((string)(this[this.tableФильтр_Стоматологи.Цель_посещенияColumn]));
  6709. }
  6710. catch (global::System.InvalidCastException e) {
  6711. throw new global::System.Data.StrongTypingException("Значение для столбца \'Цель посещения\' в таблице \'Фильтр Стоматологи\' равно DBNull" +
  6712. ".", e);
  6713. }
  6714. }
  6715. set {
  6716. this[this.tableФильтр_Стоматологи.Цель_посещенияColumn] = value;
  6717. }
  6718. }
  6719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6720. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6721. public int Номер_талона {
  6722. get {
  6723. try {
  6724. return ((int)(this[this.tableФильтр_Стоматологи.Номер_талонаColumn]));
  6725. }
  6726. catch (global::System.InvalidCastException e) {
  6727. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер талона\' в таблице \'Фильтр Стоматологи\' равно DBNull.", e);
  6728. }
  6729. }
  6730. set {
  6731. this[this.tableФильтр_Стоматологи.Номер_талонаColumn] = value;
  6732. }
  6733. }
  6734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6736. public string ФИО {
  6737. get {
  6738. try {
  6739. return ((string)(this[this.tableФильтр_Стоматологи.ФИОColumn]));
  6740. }
  6741. catch (global::System.InvalidCastException e) {
  6742. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр Стоматологи\' равно DBNull.", e);
  6743. }
  6744. }
  6745. set {
  6746. this[this.tableФильтр_Стоматологи.ФИОColumn] = value;
  6747. }
  6748. }
  6749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6750. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6751. public string Категория {
  6752. get {
  6753. try {
  6754. return ((string)(this[this.tableФильтр_Стоматологи.КатегорияColumn]));
  6755. }
  6756. catch (global::System.InvalidCastException e) {
  6757. throw new global::System.Data.StrongTypingException("Значение для столбца \'Категория\' в таблице \'Фильтр Стоматологи\' равно DBNull.", e);
  6758. }
  6759. }
  6760. set {
  6761. this[this.tableФильтр_Стоматологи.КатегорияColumn] = value;
  6762. }
  6763. }
  6764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6765. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6766. public string Специальность {
  6767. get {
  6768. try {
  6769. return ((string)(this[this.tableФильтр_Стоматологи.СпециальностьColumn]));
  6770. }
  6771. catch (global::System.InvalidCastException e) {
  6772. throw new global::System.Data.StrongTypingException("Значение для столбца \'Специальность\' в таблице \'Фильтр Стоматологи\' равно DBNull." +
  6773. "", e);
  6774. }
  6775. }
  6776. set {
  6777. this[this.tableФильтр_Стоматологи.СпециальностьColumn] = value;
  6778. }
  6779. }
  6780. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6781. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6782. public System.DateTime Дата_визита {
  6783. get {
  6784. try {
  6785. return ((global::System.DateTime)(this[this.tableФильтр_Стоматологи.Дата_визитаColumn]));
  6786. }
  6787. catch (global::System.InvalidCastException e) {
  6788. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата визита\' в таблице \'Фильтр Стоматологи\' равно DBNull.", e);
  6789. }
  6790. }
  6791. set {
  6792. this[this.tableФильтр_Стоматологи.Дата_визитаColumn] = value;
  6793. }
  6794. }
  6795. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6796. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6797. public string _Стоимость_визита_руб__ {
  6798. get {
  6799. try {
  6800. return ((string)(this[this.tableФильтр_Стоматологи._Стоимость_визита_руб__Column]));
  6801. }
  6802. catch (global::System.InvalidCastException e) {
  6803. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость визита(руб_)\' в таблице \'Фильтр Стоматологи\' равн" +
  6804. "о DBNull.", e);
  6805. }
  6806. }
  6807. set {
  6808. this[this.tableФильтр_Стоматологи._Стоимость_визита_руб__Column] = value;
  6809. }
  6810. }
  6811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6812. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6813. public bool IsЦель_посещенияNull() {
  6814. return this.IsNull(this.tableФильтр_Стоматологи.Цель_посещенияColumn);
  6815. }
  6816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6817. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6818. public void SetЦель_посещенияNull() {
  6819. this[this.tableФильтр_Стоматологи.Цель_посещенияColumn] = global::System.Convert.DBNull;
  6820. }
  6821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6823. public bool IsНомер_талонаNull() {
  6824. return this.IsNull(this.tableФильтр_Стоматологи.Номер_талонаColumn);
  6825. }
  6826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6827. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6828. public void SetНомер_талонаNull() {
  6829. this[this.tableФильтр_Стоматологи.Номер_талонаColumn] = global::System.Convert.DBNull;
  6830. }
  6831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6832. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6833. public bool IsФИОNull() {
  6834. return this.IsNull(this.tableФильтр_Стоматологи.ФИОColumn);
  6835. }
  6836. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6837. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6838. public void SetФИОNull() {
  6839. this[this.tableФильтр_Стоматологи.ФИОColumn] = global::System.Convert.DBNull;
  6840. }
  6841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6842. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6843. public bool IsКатегорияNull() {
  6844. return this.IsNull(this.tableФильтр_Стоматологи.КатегорияColumn);
  6845. }
  6846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6847. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6848. public void SetКатегорияNull() {
  6849. this[this.tableФильтр_Стоматологи.КатегорияColumn] = global::System.Convert.DBNull;
  6850. }
  6851. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6852. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6853. public bool IsСпециальностьNull() {
  6854. return this.IsNull(this.tableФильтр_Стоматологи.СпециальностьColumn);
  6855. }
  6856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6858. public void SetСпециальностьNull() {
  6859. this[this.tableФильтр_Стоматологи.СпециальностьColumn] = global::System.Convert.DBNull;
  6860. }
  6861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6862. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6863. public bool IsДата_визитаNull() {
  6864. return this.IsNull(this.tableФильтр_Стоматологи.Дата_визитаColumn);
  6865. }
  6866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6867. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6868. public void SetДата_визитаNull() {
  6869. this[this.tableФильтр_Стоматологи.Дата_визитаColumn] = global::System.Convert.DBNull;
  6870. }
  6871. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6872. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6873. public bool Is_Стоимость_визита_руб__Null() {
  6874. return this.IsNull(this.tableФильтр_Стоматологи._Стоимость_визита_руб__Column);
  6875. }
  6876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6877. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6878. public void Set_Стоимость_визита_руб__Null() {
  6879. this[this.tableФильтр_Стоматологи._Стоимость_визита_руб__Column] = global::System.Convert.DBNull;
  6880. }
  6881. }
  6882. /// <summary>
  6883. ///Represents strongly named DataRow class.
  6884. ///</summary>
  6885. public partial class Фильтр_туберкулёзRow : global::System.Data.DataRow {
  6886. private Фильтр_туберкулёзDataTable tableФильтр_туберкулёз;
  6887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6888. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6889. internal Фильтр_туберкулёзRow(global::System.Data.DataRowBuilder rb) :
  6890. base(rb) {
  6891. this.tableФильтр_туберкулёз = ((Фильтр_туберкулёзDataTable)(this.Table));
  6892. }
  6893. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6894. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6895. public int Номер_медкарты {
  6896. get {
  6897. return ((int)(this[this.tableФильтр_туберкулёз.Номер_медкартыColumn]));
  6898. }
  6899. set {
  6900. this[this.tableФильтр_туберкулёз.Номер_медкартыColumn] = value;
  6901. }
  6902. }
  6903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6905. public string ФИО {
  6906. get {
  6907. try {
  6908. return ((string)(this[this.tableФильтр_туберкулёз.ФИОColumn]));
  6909. }
  6910. catch (global::System.InvalidCastException e) {
  6911. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Фильтр туберкулёз\' равно DBNull.", e);
  6912. }
  6913. }
  6914. set {
  6915. this[this.tableФильтр_туберкулёз.ФИОColumn] = value;
  6916. }
  6917. }
  6918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6919. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6920. public System.DateTime Дата_рождения {
  6921. get {
  6922. try {
  6923. return ((global::System.DateTime)(this[this.tableФильтр_туберкулёз.Дата_рожденияColumn]));
  6924. }
  6925. catch (global::System.InvalidCastException e) {
  6926. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Фильтр туберкулёз\' равно DBNull.", e);
  6927. }
  6928. }
  6929. set {
  6930. this[this.tableФильтр_туберкулёз.Дата_рожденияColumn] = value;
  6931. }
  6932. }
  6933. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6934. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6935. public string Адрес {
  6936. get {
  6937. try {
  6938. return ((string)(this[this.tableФильтр_туберкулёз.АдресColumn]));
  6939. }
  6940. catch (global::System.InvalidCastException e) {
  6941. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Фильтр туберкулёз\' равно DBNull.", e);
  6942. }
  6943. }
  6944. set {
  6945. this[this.tableФильтр_туберкулёз.АдресColumn] = value;
  6946. }
  6947. }
  6948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6949. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6950. public string Пол {
  6951. get {
  6952. try {
  6953. return ((string)(this[this.tableФильтр_туберкулёз.ПолColumn]));
  6954. }
  6955. catch (global::System.InvalidCastException e) {
  6956. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Фильтр туберкулёз\' равно DBNull.", e);
  6957. }
  6958. }
  6959. set {
  6960. this[this.tableФильтр_туберкулёз.ПолColumn] = value;
  6961. }
  6962. }
  6963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6964. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6965. public string _Скидка_на_обслуживание__ {
  6966. get {
  6967. try {
  6968. return ((string)(this[this.tableФильтр_туберкулёз._Скидка_на_обслуживание__Column]));
  6969. }
  6970. catch (global::System.InvalidCastException e) {
  6971. throw new global::System.Data.StrongTypingException("Значение для столбца \'Скидка на обслуживание %\' в таблице \'Фильтр туберкулёз\' рав" +
  6972. "но DBNull.", e);
  6973. }
  6974. }
  6975. set {
  6976. this[this.tableФильтр_туберкулёз._Скидка_на_обслуживание__Column] = value;
  6977. }
  6978. }
  6979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6980. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6981. public int Код_диагноза {
  6982. get {
  6983. return ((int)(this[this.tableФильтр_туберкулёз.Код_диагнозаColumn]));
  6984. }
  6985. set {
  6986. this[this.tableФильтр_туберкулёз.Код_диагнозаColumn] = value;
  6987. }
  6988. }
  6989. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6990. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6991. public string Наименование_диагноза {
  6992. get {
  6993. try {
  6994. return ((string)(this[this.tableФильтр_туберкулёз.Наименование_диагнозаColumn]));
  6995. }
  6996. catch (global::System.InvalidCastException e) {
  6997. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование диагноза\' в таблице \'Фильтр туберкулёз\' равно " +
  6998. "DBNull.", e);
  6999. }
  7000. }
  7001. set {
  7002. this[this.tableФильтр_туберкулёз.Наименование_диагнозаColumn] = value;
  7003. }
  7004. }
  7005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7006. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7007. public bool IsФИОNull() {
  7008. return this.IsNull(this.tableФильтр_туберкулёз.ФИОColumn);
  7009. }
  7010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7011. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7012. public void SetФИОNull() {
  7013. this[this.tableФильтр_туберкулёз.ФИОColumn] = global::System.Convert.DBNull;
  7014. }
  7015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7016. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7017. public bool IsДата_рожденияNull() {
  7018. return this.IsNull(this.tableФильтр_туберкулёз.Дата_рожденияColumn);
  7019. }
  7020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7021. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7022. public void SetДата_рожденияNull() {
  7023. this[this.tableФильтр_туберкулёз.Дата_рожденияColumn] = global::System.Convert.DBNull;
  7024. }
  7025. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7026. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7027. public bool IsАдресNull() {
  7028. return this.IsNull(this.tableФильтр_туберкулёз.АдресColumn);
  7029. }
  7030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7031. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7032. public void SetАдресNull() {
  7033. this[this.tableФильтр_туберкулёз.АдресColumn] = global::System.Convert.DBNull;
  7034. }
  7035. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7036. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7037. public bool IsПолNull() {
  7038. return this.IsNull(this.tableФильтр_туберкулёз.ПолColumn);
  7039. }
  7040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7041. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7042. public void SetПолNull() {
  7043. this[this.tableФильтр_туберкулёз.ПолColumn] = global::System.Convert.DBNull;
  7044. }
  7045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7046. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7047. public bool Is_Скидка_на_обслуживание__Null() {
  7048. return this.IsNull(this.tableФильтр_туберкулёз._Скидка_на_обслуживание__Column);
  7049. }
  7050. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7051. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7052. public void Set_Скидка_на_обслуживание__Null() {
  7053. this[this.tableФильтр_туберкулёз._Скидка_на_обслуживание__Column] = global::System.Convert.DBNull;
  7054. }
  7055. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7056. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7057. public bool IsНаименование_диагнозаNull() {
  7058. return this.IsNull(this.tableФильтр_туберкулёз.Наименование_диагнозаColumn);
  7059. }
  7060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7061. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7062. public void SetНаименование_диагнозаNull() {
  7063. this[this.tableФильтр_туберкулёз.Наименование_диагнозаColumn] = global::System.Convert.DBNull;
  7064. }
  7065. }
  7066. /// <summary>
  7067. ///Row event argument class
  7068. ///</summary>
  7069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7070. public class ВрачиRowChangeEvent : global::System.EventArgs {
  7071. private ВрачиRow eventRow;
  7072. private global::System.Data.DataRowAction eventAction;
  7073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7074. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7075. public ВрачиRowChangeEvent(ВрачиRow row, global::System.Data.DataRowAction action) {
  7076. this.eventRow = row;
  7077. this.eventAction = action;
  7078. }
  7079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7080. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7081. public ВрачиRow Row {
  7082. get {
  7083. return this.eventRow;
  7084. }
  7085. }
  7086. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7087. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7088. public global::System.Data.DataRowAction Action {
  7089. get {
  7090. return this.eventAction;
  7091. }
  7092. }
  7093. }
  7094. /// <summary>
  7095. ///Row event argument class
  7096. ///</summary>
  7097. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7098. public class ДиагнозыRowChangeEvent : global::System.EventArgs {
  7099. private ДиагнозыRow eventRow;
  7100. private global::System.Data.DataRowAction eventAction;
  7101. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7102. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7103. public ДиагнозыRowChangeEvent(ДиагнозыRow row, global::System.Data.DataRowAction action) {
  7104. this.eventRow = row;
  7105. this.eventAction = action;
  7106. }
  7107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7108. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7109. public ДиагнозыRow Row {
  7110. get {
  7111. return this.eventRow;
  7112. }
  7113. }
  7114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7115. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7116. public global::System.Data.DataRowAction Action {
  7117. get {
  7118. return this.eventAction;
  7119. }
  7120. }
  7121. }
  7122. /// <summary>
  7123. ///Row event argument class
  7124. ///</summary>
  7125. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7126. public class ПациентыRowChangeEvent : global::System.EventArgs {
  7127. private ПациентыRow eventRow;
  7128. private global::System.Data.DataRowAction eventAction;
  7129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7131. public ПациентыRowChangeEvent(ПациентыRow row, global::System.Data.DataRowAction action) {
  7132. this.eventRow = row;
  7133. this.eventAction = action;
  7134. }
  7135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7136. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7137. public ПациентыRow Row {
  7138. get {
  7139. return this.eventRow;
  7140. }
  7141. }
  7142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7143. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7144. public global::System.Data.DataRowAction Action {
  7145. get {
  7146. return this.eventAction;
  7147. }
  7148. }
  7149. }
  7150. /// <summary>
  7151. ///Row event argument class
  7152. ///</summary>
  7153. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7154. public class ПриёмыRowChangeEvent : global::System.EventArgs {
  7155. private ПриёмыRow eventRow;
  7156. private global::System.Data.DataRowAction eventAction;
  7157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7159. public ПриёмыRowChangeEvent(ПриёмыRow row, global::System.Data.DataRowAction action) {
  7160. this.eventRow = row;
  7161. this.eventAction = action;
  7162. }
  7163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7165. public ПриёмыRow Row {
  7166. get {
  7167. return this.eventRow;
  7168. }
  7169. }
  7170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7171. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7172. public global::System.Data.DataRowAction Action {
  7173. get {
  7174. return this.eventAction;
  7175. }
  7176. }
  7177. }
  7178. /// <summary>
  7179. ///Row event argument class
  7180. ///</summary>
  7181. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7182. public class _Врачи_ПриёмыRowChangeEvent : global::System.EventArgs {
  7183. private _Врачи_ПриёмыRow eventRow;
  7184. private global::System.Data.DataRowAction eventAction;
  7185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7187. public _Врачи_ПриёмыRowChangeEvent(_Врачи_ПриёмыRow row, global::System.Data.DataRowAction action) {
  7188. this.eventRow = row;
  7189. this.eventAction = action;
  7190. }
  7191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7193. public _Врачи_ПриёмыRow Row {
  7194. get {
  7195. return this.eventRow;
  7196. }
  7197. }
  7198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7199. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7200. public global::System.Data.DataRowAction Action {
  7201. get {
  7202. return this.eventAction;
  7203. }
  7204. }
  7205. }
  7206. /// <summary>
  7207. ///Row event argument class
  7208. ///</summary>
  7209. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7210. public class _Пациенты_ДиагнозыRowChangeEvent : global::System.EventArgs {
  7211. private _Пациенты_ДиагнозыRow eventRow;
  7212. private global::System.Data.DataRowAction eventAction;
  7213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7214. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7215. public _Пациенты_ДиагнозыRowChangeEvent(_Пациенты_ДиагнозыRow row, global::System.Data.DataRowAction action) {
  7216. this.eventRow = row;
  7217. this.eventAction = action;
  7218. }
  7219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7220. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7221. public _Пациенты_ДиагнозыRow Row {
  7222. get {
  7223. return this.eventRow;
  7224. }
  7225. }
  7226. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7227. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7228. public global::System.Data.DataRowAction Action {
  7229. get {
  7230. return this.eventAction;
  7231. }
  7232. }
  7233. }
  7234. /// <summary>
  7235. ///Row event argument class
  7236. ///</summary>
  7237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7238. public class Фильтр_Заболевании_органов_дыханияRowChangeEvent : global::System.EventArgs {
  7239. private Фильтр_Заболевании_органов_дыханияRow eventRow;
  7240. private global::System.Data.DataRowAction eventAction;
  7241. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7242. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7243. public Фильтр_Заболевании_органов_дыханияRowChangeEvent(Фильтр_Заболевании_органов_дыханияRow row, global::System.Data.DataRowAction action) {
  7244. this.eventRow = row;
  7245. this.eventAction = action;
  7246. }
  7247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7249. public Фильтр_Заболевании_органов_дыханияRow Row {
  7250. get {
  7251. return this.eventRow;
  7252. }
  7253. }
  7254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7255. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7256. public global::System.Data.DataRowAction Action {
  7257. get {
  7258. return this.eventAction;
  7259. }
  7260. }
  7261. }
  7262. /// <summary>
  7263. ///Row event argument class
  7264. ///</summary>
  7265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7266. public class Фильтр_КатегорииRowChangeEvent : global::System.EventArgs {
  7267. private Фильтр_КатегорииRow eventRow;
  7268. private global::System.Data.DataRowAction eventAction;
  7269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7270. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7271. public Фильтр_КатегорииRowChangeEvent(Фильтр_КатегорииRow row, global::System.Data.DataRowAction action) {
  7272. this.eventRow = row;
  7273. this.eventAction = action;
  7274. }
  7275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7277. public Фильтр_КатегорииRow Row {
  7278. get {
  7279. return this.eventRow;
  7280. }
  7281. }
  7282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7284. public global::System.Data.DataRowAction Action {
  7285. get {
  7286. return this.eventAction;
  7287. }
  7288. }
  7289. }
  7290. /// <summary>
  7291. ///Row event argument class
  7292. ///</summary>
  7293. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7294. public class Фильтр_ОнкологиRowChangeEvent : global::System.EventArgs {
  7295. private Фильтр_ОнкологиRow eventRow;
  7296. private global::System.Data.DataRowAction eventAction;
  7297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7298. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7299. public Фильтр_ОнкологиRowChangeEvent(Фильтр_ОнкологиRow row, global::System.Data.DataRowAction action) {
  7300. this.eventRow = row;
  7301. this.eventAction = action;
  7302. }
  7303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7304. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7305. public Фильтр_ОнкологиRow Row {
  7306. get {
  7307. return this.eventRow;
  7308. }
  7309. }
  7310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7312. public global::System.Data.DataRowAction Action {
  7313. get {
  7314. return this.eventAction;
  7315. }
  7316. }
  7317. }
  7318. /// <summary>
  7319. ///Row event argument class
  7320. ///</summary>
  7321. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7322. public class Фильтр_ПедиаторыRowChangeEvent : global::System.EventArgs {
  7323. private Фильтр_ПедиаторыRow eventRow;
  7324. private global::System.Data.DataRowAction eventAction;
  7325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7326. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7327. public Фильтр_ПедиаторыRowChangeEvent(Фильтр_ПедиаторыRow row, global::System.Data.DataRowAction action) {
  7328. this.eventRow = row;
  7329. this.eventAction = action;
  7330. }
  7331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7333. public Фильтр_ПедиаторыRow Row {
  7334. get {
  7335. return this.eventRow;
  7336. }
  7337. }
  7338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7339. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7340. public global::System.Data.DataRowAction Action {
  7341. get {
  7342. return this.eventAction;
  7343. }
  7344. }
  7345. }
  7346. /// <summary>
  7347. ///Row event argument class
  7348. ///</summary>
  7349. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7350. public class Фильтр_скидкиRowChangeEvent : global::System.EventArgs {
  7351. private Фильтр_скидкиRow eventRow;
  7352. private global::System.Data.DataRowAction eventAction;
  7353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7354. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7355. public Фильтр_скидкиRowChangeEvent(Фильтр_скидкиRow row, global::System.Data.DataRowAction action) {
  7356. this.eventRow = row;
  7357. this.eventAction = action;
  7358. }
  7359. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7360. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7361. public Фильтр_скидкиRow Row {
  7362. get {
  7363. return this.eventRow;
  7364. }
  7365. }
  7366. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7367. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7368. public global::System.Data.DataRowAction Action {
  7369. get {
  7370. return this.eventAction;
  7371. }
  7372. }
  7373. }
  7374. /// <summary>
  7375. ///Row event argument class
  7376. ///</summary>
  7377. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7378. public class Фильтр_специальностиRowChangeEvent : global::System.EventArgs {
  7379. private Фильтр_специальностиRow eventRow;
  7380. private global::System.Data.DataRowAction eventAction;
  7381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7382. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7383. public Фильтр_специальностиRowChangeEvent(Фильтр_специальностиRow row, global::System.Data.DataRowAction action) {
  7384. this.eventRow = row;
  7385. this.eventAction = action;
  7386. }
  7387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7388. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7389. public Фильтр_специальностиRow Row {
  7390. get {
  7391. return this.eventRow;
  7392. }
  7393. }
  7394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7395. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7396. public global::System.Data.DataRowAction Action {
  7397. get {
  7398. return this.eventAction;
  7399. }
  7400. }
  7401. }
  7402. /// <summary>
  7403. ///Row event argument class
  7404. ///</summary>
  7405. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7406. public class Фильтр_СтоматологиRowChangeEvent : global::System.EventArgs {
  7407. private Фильтр_СтоматологиRow eventRow;
  7408. private global::System.Data.DataRowAction eventAction;
  7409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7410. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7411. public Фильтр_СтоматологиRowChangeEvent(Фильтр_СтоматологиRow row, global::System.Data.DataRowAction action) {
  7412. this.eventRow = row;
  7413. this.eventAction = action;
  7414. }
  7415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7416. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7417. public Фильтр_СтоматологиRow Row {
  7418. get {
  7419. return this.eventRow;
  7420. }
  7421. }
  7422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7424. public global::System.Data.DataRowAction Action {
  7425. get {
  7426. return this.eventAction;
  7427. }
  7428. }
  7429. }
  7430. /// <summary>
  7431. ///Row event argument class
  7432. ///</summary>
  7433. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7434. public class Фильтр_туберкулёзRowChangeEvent : global::System.EventArgs {
  7435. private Фильтр_туберкулёзRow eventRow;
  7436. private global::System.Data.DataRowAction eventAction;
  7437. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7438. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7439. public Фильтр_туберкулёзRowChangeEvent(Фильтр_туберкулёзRow row, global::System.Data.DataRowAction action) {
  7440. this.eventRow = row;
  7441. this.eventAction = action;
  7442. }
  7443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7445. public Фильтр_туберкулёзRow Row {
  7446. get {
  7447. return this.eventRow;
  7448. }
  7449. }
  7450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7452. public global::System.Data.DataRowAction Action {
  7453. get {
  7454. return this.eventAction;
  7455. }
  7456. }
  7457. }
  7458. }
  7459. }
  7460. namespace Chistyakov_var10.IS32_Chistyakov10DataSetTableAdapters {
  7461. /// <summary>
  7462. ///Represents the connection and commands used to retrieve and save data.
  7463. ///</summary>
  7464. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7465. [global::System.ComponentModel.ToolboxItem(true)]
  7466. [global::System.ComponentModel.DataObjectAttribute(true)]
  7467. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7468. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7469. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7470. public partial class ВрачиTableAdapter : global::System.ComponentModel.Component {
  7471. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7472. private global::System.Data.SqlClient.SqlConnection _connection;
  7473. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7474. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7475. private bool _clearBeforeFill;
  7476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7478. public ВрачиTableAdapter() {
  7479. this.ClearBeforeFill = true;
  7480. }
  7481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7482. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7483. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7484. get {
  7485. if ((this._adapter == null)) {
  7486. this.InitAdapter();
  7487. }
  7488. return this._adapter;
  7489. }
  7490. }
  7491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7492. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7493. internal global::System.Data.SqlClient.SqlConnection Connection {
  7494. get {
  7495. if ((this._connection == null)) {
  7496. this.InitConnection();
  7497. }
  7498. return this._connection;
  7499. }
  7500. set {
  7501. this._connection = value;
  7502. if ((this.Adapter.InsertCommand != null)) {
  7503. this.Adapter.InsertCommand.Connection = value;
  7504. }
  7505. if ((this.Adapter.DeleteCommand != null)) {
  7506. this.Adapter.DeleteCommand.Connection = value;
  7507. }
  7508. if ((this.Adapter.UpdateCommand != null)) {
  7509. this.Adapter.UpdateCommand.Connection = value;
  7510. }
  7511. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7512. if ((this.CommandCollection[i] != null)) {
  7513. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7514. }
  7515. }
  7516. }
  7517. }
  7518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7519. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7520. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7521. get {
  7522. return this._transaction;
  7523. }
  7524. set {
  7525. this._transaction = value;
  7526. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7527. this.CommandCollection[i].Transaction = this._transaction;
  7528. }
  7529. if (((this.Adapter != null)
  7530. && (this.Adapter.DeleteCommand != null))) {
  7531. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7532. }
  7533. if (((this.Adapter != null)
  7534. && (this.Adapter.InsertCommand != null))) {
  7535. this.Adapter.InsertCommand.Transaction = this._transaction;
  7536. }
  7537. if (((this.Adapter != null)
  7538. && (this.Adapter.UpdateCommand != null))) {
  7539. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7540. }
  7541. }
  7542. }
  7543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7544. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7545. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7546. get {
  7547. if ((this._commandCollection == null)) {
  7548. this.InitCommandCollection();
  7549. }
  7550. return this._commandCollection;
  7551. }
  7552. }
  7553. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7554. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7555. public bool ClearBeforeFill {
  7556. get {
  7557. return this._clearBeforeFill;
  7558. }
  7559. set {
  7560. this._clearBeforeFill = value;
  7561. }
  7562. }
  7563. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7564. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7565. private void InitAdapter() {
  7566. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7567. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7568. tableMapping.SourceTable = "Table";
  7569. tableMapping.DataSetTable = "Врачи";
  7570. tableMapping.ColumnMappings.Add("ID врача", "ID врача");
  7571. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  7572. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  7573. tableMapping.ColumnMappings.Add("Категория", "Категория");
  7574. this._adapter.TableMappings.Add(tableMapping);
  7575. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  7576. this._adapter.InsertCommand.Connection = this.Connection;
  7577. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Врачи] ([ID врача], [ФИО], [Специальность], [Категория]) VALUE" +
  7578. "S (@ID_врача, @ФИО, @Специальность, @Категория)";
  7579. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  7580. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_врача", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID врача", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7581. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ФИО", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7582. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Специальность", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Специальность", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7583. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Категория", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Категория", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7584. }
  7585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7586. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7587. private void InitConnection() {
  7588. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7589. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  7590. }
  7591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7592. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7593. private void InitCommandCollection() {
  7594. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7595. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7596. this._commandCollection[0].Connection = this.Connection;
  7597. this._commandCollection[0].CommandText = "SELECT [ID врача], ФИО, Специальность, Категория FROM dbo.Врачи";
  7598. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7599. }
  7600. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7601. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7602. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7603. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7604. public virtual int Fill(IS32_Chistyakov10DataSet.ВрачиDataTable dataTable) {
  7605. this.Adapter.SelectCommand = this.CommandCollection[0];
  7606. if ((this.ClearBeforeFill == true)) {
  7607. dataTable.Clear();
  7608. }
  7609. int returnValue = this.Adapter.Fill(dataTable);
  7610. return returnValue;
  7611. }
  7612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7613. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7614. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7615. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7616. public virtual IS32_Chistyakov10DataSet.ВрачиDataTable GetData() {
  7617. this.Adapter.SelectCommand = this.CommandCollection[0];
  7618. IS32_Chistyakov10DataSet.ВрачиDataTable dataTable = new IS32_Chistyakov10DataSet.ВрачиDataTable();
  7619. this.Adapter.Fill(dataTable);
  7620. return dataTable;
  7621. }
  7622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7624. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7625. public virtual int Update(IS32_Chistyakov10DataSet.ВрачиDataTable dataTable) {
  7626. return this.Adapter.Update(dataTable);
  7627. }
  7628. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7629. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7630. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7631. public virtual int Update(IS32_Chistyakov10DataSet dataSet) {
  7632. return this.Adapter.Update(dataSet, "Врачи");
  7633. }
  7634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7636. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7637. public virtual int Update(global::System.Data.DataRow dataRow) {
  7638. return this.Adapter.Update(new global::System.Data.DataRow[] {
  7639. dataRow});
  7640. }
  7641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7643. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7644. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  7645. return this.Adapter.Update(dataRows);
  7646. }
  7647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7648. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7649. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7650. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  7651. public virtual int Insert(int ID_врача, string ФИО, string Специальность, string Категория) {
  7652. this.Adapter.InsertCommand.Parameters[0].Value = ((int)(ID_врача));
  7653. if ((ФИО == null)) {
  7654. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  7655. }
  7656. else {
  7657. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ФИО));
  7658. }
  7659. if ((Специальность == null)) {
  7660. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  7661. }
  7662. else {
  7663. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Специальность));
  7664. }
  7665. if ((Категория == null)) {
  7666. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  7667. }
  7668. else {
  7669. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Категория));
  7670. }
  7671. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  7672. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7673. != global::System.Data.ConnectionState.Open)) {
  7674. this.Adapter.InsertCommand.Connection.Open();
  7675. }
  7676. try {
  7677. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  7678. return returnValue;
  7679. }
  7680. finally {
  7681. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7682. this.Adapter.InsertCommand.Connection.Close();
  7683. }
  7684. }
  7685. }
  7686. }
  7687. /// <summary>
  7688. ///Represents the connection and commands used to retrieve and save data.
  7689. ///</summary>
  7690. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7691. [global::System.ComponentModel.ToolboxItem(true)]
  7692. [global::System.ComponentModel.DataObjectAttribute(true)]
  7693. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7694. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7695. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7696. public partial class ДиагнозыTableAdapter : global::System.ComponentModel.Component {
  7697. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7698. private global::System.Data.SqlClient.SqlConnection _connection;
  7699. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7700. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7701. private bool _clearBeforeFill;
  7702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7703. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7704. public ДиагнозыTableAdapter() {
  7705. this.ClearBeforeFill = true;
  7706. }
  7707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7709. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7710. get {
  7711. if ((this._adapter == null)) {
  7712. this.InitAdapter();
  7713. }
  7714. return this._adapter;
  7715. }
  7716. }
  7717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7718. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7719. internal global::System.Data.SqlClient.SqlConnection Connection {
  7720. get {
  7721. if ((this._connection == null)) {
  7722. this.InitConnection();
  7723. }
  7724. return this._connection;
  7725. }
  7726. set {
  7727. this._connection = value;
  7728. if ((this.Adapter.InsertCommand != null)) {
  7729. this.Adapter.InsertCommand.Connection = value;
  7730. }
  7731. if ((this.Adapter.DeleteCommand != null)) {
  7732. this.Adapter.DeleteCommand.Connection = value;
  7733. }
  7734. if ((this.Adapter.UpdateCommand != null)) {
  7735. this.Adapter.UpdateCommand.Connection = value;
  7736. }
  7737. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7738. if ((this.CommandCollection[i] != null)) {
  7739. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7740. }
  7741. }
  7742. }
  7743. }
  7744. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7745. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7746. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7747. get {
  7748. return this._transaction;
  7749. }
  7750. set {
  7751. this._transaction = value;
  7752. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7753. this.CommandCollection[i].Transaction = this._transaction;
  7754. }
  7755. if (((this.Adapter != null)
  7756. && (this.Adapter.DeleteCommand != null))) {
  7757. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7758. }
  7759. if (((this.Adapter != null)
  7760. && (this.Adapter.InsertCommand != null))) {
  7761. this.Adapter.InsertCommand.Transaction = this._transaction;
  7762. }
  7763. if (((this.Adapter != null)
  7764. && (this.Adapter.UpdateCommand != null))) {
  7765. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7766. }
  7767. }
  7768. }
  7769. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7770. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7771. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7772. get {
  7773. if ((this._commandCollection == null)) {
  7774. this.InitCommandCollection();
  7775. }
  7776. return this._commandCollection;
  7777. }
  7778. }
  7779. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7780. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7781. public bool ClearBeforeFill {
  7782. get {
  7783. return this._clearBeforeFill;
  7784. }
  7785. set {
  7786. this._clearBeforeFill = value;
  7787. }
  7788. }
  7789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7790. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7791. private void InitAdapter() {
  7792. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7793. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7794. tableMapping.SourceTable = "Table";
  7795. tableMapping.DataSetTable = "Диагнозы";
  7796. tableMapping.ColumnMappings.Add("Код диагноза", "Код диагноза");
  7797. tableMapping.ColumnMappings.Add("Наименование диагноза", "Наименование диагноза");
  7798. this._adapter.TableMappings.Add(tableMapping);
  7799. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  7800. this._adapter.DeleteCommand.Connection = this.Connection;
  7801. this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Диагнозы] WHERE (([Код диагноза] = @Original_Код_диагноза) AND" +
  7802. " ((@IsNull_Наименование_диагноза = 1 AND [Наименование диагноза] IS NULL) OR ([Н" +
  7803. "аименование диагноза] = @Original_Наименование_диагноза)))";
  7804. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  7805. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_диагноза", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код диагноза", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7806. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Наименование_диагноза", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование диагноза", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  7807. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_диагноза", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование диагноза", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7808. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  7809. this._adapter.InsertCommand.Connection = this.Connection;
  7810. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Диагнозы] ([Код диагноза], [Наименование диагноза]) VALUES (@К" +
  7811. "од_диагноза, @Наименование_диагноза);\r\nSELECT [Код диагноза], [Наименование диаг" +
  7812. "ноза] FROM Диагнозы WHERE ([Код диагноза] = @Код_диагноза)";
  7813. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  7814. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_диагноза", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код диагноза", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7815. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Наименование_диагноза", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование диагноза", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7816. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  7817. this._adapter.UpdateCommand.Connection = this.Connection;
  7818. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Диагнозы] SET [Код диагноза] = @Код_диагноза, [Наименование диагноза] = @Наименование_диагноза WHERE (([Код диагноза] = @Original_Код_диагноза) AND ((@IsNull_Наименование_диагноза = 1 AND [Наименование диагноза] IS NULL) OR ([Наименование диагноза] = @Original_Наименование_диагноза)));
  7819. SELECT [Код диагноза], [Наименование диагноза] FROM Диагнозы WHERE ([Код диагноза] = @Код_диагноза)";
  7820. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  7821. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_диагноза", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код диагноза", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7822. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Наименование_диагноза", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование диагноза", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7823. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_диагноза", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код диагноза", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7824. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Наименование_диагноза", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование диагноза", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  7825. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_диагноза", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование диагноза", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7826. }
  7827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7829. private void InitConnection() {
  7830. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7831. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  7832. }
  7833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7835. private void InitCommandCollection() {
  7836. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7837. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7838. this._commandCollection[0].Connection = this.Connection;
  7839. this._commandCollection[0].CommandText = "SELECT [Код диагноза], [Наименование диагноза] FROM dbo.Диагнозы";
  7840. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7841. }
  7842. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7843. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7844. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7845. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7846. public virtual int Fill(IS32_Chistyakov10DataSet.ДиагнозыDataTable dataTable) {
  7847. this.Adapter.SelectCommand = this.CommandCollection[0];
  7848. if ((this.ClearBeforeFill == true)) {
  7849. dataTable.Clear();
  7850. }
  7851. int returnValue = this.Adapter.Fill(dataTable);
  7852. return returnValue;
  7853. }
  7854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7855. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7856. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7857. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7858. public virtual IS32_Chistyakov10DataSet.ДиагнозыDataTable GetData() {
  7859. this.Adapter.SelectCommand = this.CommandCollection[0];
  7860. IS32_Chistyakov10DataSet.ДиагнозыDataTable dataTable = new IS32_Chistyakov10DataSet.ДиагнозыDataTable();
  7861. this.Adapter.Fill(dataTable);
  7862. return dataTable;
  7863. }
  7864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7866. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7867. public virtual int Update(IS32_Chistyakov10DataSet.ДиагнозыDataTable dataTable) {
  7868. return this.Adapter.Update(dataTable);
  7869. }
  7870. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7871. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7872. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7873. public virtual int Update(IS32_Chistyakov10DataSet dataSet) {
  7874. return this.Adapter.Update(dataSet, "Диагнозы");
  7875. }
  7876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7877. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7878. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7879. public virtual int Update(global::System.Data.DataRow dataRow) {
  7880. return this.Adapter.Update(new global::System.Data.DataRow[] {
  7881. dataRow});
  7882. }
  7883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7885. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7886. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  7887. return this.Adapter.Update(dataRows);
  7888. }
  7889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7891. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7892. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  7893. public virtual int Delete(int Original_Код_диагноза, string Original_Наименование_диагноза) {
  7894. this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Код_диагноза));
  7895. if ((Original_Наименование_диагноза == null)) {
  7896. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  7897. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  7898. }
  7899. else {
  7900. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  7901. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Наименование_диагноза));
  7902. }
  7903. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  7904. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7905. != global::System.Data.ConnectionState.Open)) {
  7906. this.Adapter.DeleteCommand.Connection.Open();
  7907. }
  7908. try {
  7909. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  7910. return returnValue;
  7911. }
  7912. finally {
  7913. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7914. this.Adapter.DeleteCommand.Connection.Close();
  7915. }
  7916. }
  7917. }
  7918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7919. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7920. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7921. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  7922. public virtual int Insert(int Код_диагноза, string Наименование_диагноза) {
  7923. this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Код_диагноза));
  7924. if ((Наименование_диагноза == null)) {
  7925. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  7926. }
  7927. else {
  7928. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Наименование_диагноза));
  7929. }
  7930. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  7931. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7932. != global::System.Data.ConnectionState.Open)) {
  7933. this.Adapter.InsertCommand.Connection.Open();
  7934. }
  7935. try {
  7936. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  7937. return returnValue;
  7938. }
  7939. finally {
  7940. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7941. this.Adapter.InsertCommand.Connection.Close();
  7942. }
  7943. }
  7944. }
  7945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7946. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7947. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7948. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7949. public virtual int Update(int Код_диагноза, string Наименование_диагноза, int Original_Код_диагноза, string Original_Наименование_диагноза) {
  7950. this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(Код_диагноза));
  7951. if ((Наименование_диагноза == null)) {
  7952. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  7953. }
  7954. else {
  7955. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Наименование_диагноза));
  7956. }
  7957. this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_Код_диагноза));
  7958. if ((Original_Наименование_диагноза == null)) {
  7959. this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(1));
  7960. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  7961. }
  7962. else {
  7963. this.Adapter.UpdateCommand.Parameters[3].Value = ((object)(0));
  7964. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Наименование_диагноза));
  7965. }
  7966. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  7967. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7968. != global::System.Data.ConnectionState.Open)) {
  7969. this.Adapter.UpdateCommand.Connection.Open();
  7970. }
  7971. try {
  7972. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  7973. return returnValue;
  7974. }
  7975. finally {
  7976. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7977. this.Adapter.UpdateCommand.Connection.Close();
  7978. }
  7979. }
  7980. }
  7981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7983. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7984. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7985. public virtual int Update(string Наименование_диагноза, int Original_Код_диагноза, string Original_Наименование_диагноза) {
  7986. return this.Update(Original_Код_диагноза, Наименование_диагноза, Original_Код_диагноза, Original_Наименование_диагноза);
  7987. }
  7988. }
  7989. /// <summary>
  7990. ///Represents the connection and commands used to retrieve and save data.
  7991. ///</summary>
  7992. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7993. [global::System.ComponentModel.ToolboxItem(true)]
  7994. [global::System.ComponentModel.DataObjectAttribute(true)]
  7995. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7996. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7997. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7998. public partial class ПациентыTableAdapter : global::System.ComponentModel.Component {
  7999. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8000. private global::System.Data.SqlClient.SqlConnection _connection;
  8001. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8002. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8003. private bool _clearBeforeFill;
  8004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8006. public ПациентыTableAdapter() {
  8007. this.ClearBeforeFill = true;
  8008. }
  8009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8010. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8011. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8012. get {
  8013. if ((this._adapter == null)) {
  8014. this.InitAdapter();
  8015. }
  8016. return this._adapter;
  8017. }
  8018. }
  8019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8020. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8021. internal global::System.Data.SqlClient.SqlConnection Connection {
  8022. get {
  8023. if ((this._connection == null)) {
  8024. this.InitConnection();
  8025. }
  8026. return this._connection;
  8027. }
  8028. set {
  8029. this._connection = value;
  8030. if ((this.Adapter.InsertCommand != null)) {
  8031. this.Adapter.InsertCommand.Connection = value;
  8032. }
  8033. if ((this.Adapter.DeleteCommand != null)) {
  8034. this.Adapter.DeleteCommand.Connection = value;
  8035. }
  8036. if ((this.Adapter.UpdateCommand != null)) {
  8037. this.Adapter.UpdateCommand.Connection = value;
  8038. }
  8039. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8040. if ((this.CommandCollection[i] != null)) {
  8041. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8042. }
  8043. }
  8044. }
  8045. }
  8046. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8047. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8048. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8049. get {
  8050. return this._transaction;
  8051. }
  8052. set {
  8053. this._transaction = value;
  8054. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8055. this.CommandCollection[i].Transaction = this._transaction;
  8056. }
  8057. if (((this.Adapter != null)
  8058. && (this.Adapter.DeleteCommand != null))) {
  8059. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8060. }
  8061. if (((this.Adapter != null)
  8062. && (this.Adapter.InsertCommand != null))) {
  8063. this.Adapter.InsertCommand.Transaction = this._transaction;
  8064. }
  8065. if (((this.Adapter != null)
  8066. && (this.Adapter.UpdateCommand != null))) {
  8067. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8068. }
  8069. }
  8070. }
  8071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8072. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8073. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8074. get {
  8075. if ((this._commandCollection == null)) {
  8076. this.InitCommandCollection();
  8077. }
  8078. return this._commandCollection;
  8079. }
  8080. }
  8081. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8082. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8083. public bool ClearBeforeFill {
  8084. get {
  8085. return this._clearBeforeFill;
  8086. }
  8087. set {
  8088. this._clearBeforeFill = value;
  8089. }
  8090. }
  8091. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8092. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8093. private void InitAdapter() {
  8094. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8095. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8096. tableMapping.SourceTable = "Table";
  8097. tableMapping.DataSetTable = "Пациенты";
  8098. tableMapping.ColumnMappings.Add("Номер медкарты", "Номер медкарты");
  8099. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  8100. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  8101. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  8102. tableMapping.ColumnMappings.Add("Пол", "Пол");
  8103. tableMapping.ColumnMappings.Add("Скидка на обслуживание %", "Скидка на обслуживание %");
  8104. this._adapter.TableMappings.Add(tableMapping);
  8105. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  8106. this._adapter.InsertCommand.Connection = this.Connection;
  8107. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Пациенты] ([Номер медкарты], [ФИО], [Дата рождения], [Адрес], " +
  8108. "[Пол], [Скидка на обслуживание %]) VALUES (@Номер_медкарты, @ФИО, @Дата_рождения" +
  8109. ", @Адрес, @Пол, @p1)";
  8110. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  8111. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_медкарты", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер медкарты", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8112. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ФИО", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8113. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_рождения", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата рождения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8114. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Адрес", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Адрес", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8115. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Пол", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Пол", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8116. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Скидка на обслуживание %", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8117. }
  8118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8120. private void InitConnection() {
  8121. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8122. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  8123. }
  8124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8125. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8126. private void InitCommandCollection() {
  8127. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8128. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8129. this._commandCollection[0].Connection = this.Connection;
  8130. this._commandCollection[0].CommandText = "SELECT [Номер медкарты], ФИО, [Дата рождения], Адрес, Пол, [Скидка на обслуживани" +
  8131. "е %] FROM dbo.Пациенты";
  8132. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8133. }
  8134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8135. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8136. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8137. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8138. public virtual int Fill(IS32_Chistyakov10DataSet.ПациентыDataTable dataTable) {
  8139. this.Adapter.SelectCommand = this.CommandCollection[0];
  8140. if ((this.ClearBeforeFill == true)) {
  8141. dataTable.Clear();
  8142. }
  8143. int returnValue = this.Adapter.Fill(dataTable);
  8144. return returnValue;
  8145. }
  8146. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8147. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8148. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8149. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8150. public virtual IS32_Chistyakov10DataSet.ПациентыDataTable GetData() {
  8151. this.Adapter.SelectCommand = this.CommandCollection[0];
  8152. IS32_Chistyakov10DataSet.ПациентыDataTable dataTable = new IS32_Chistyakov10DataSet.ПациентыDataTable();
  8153. this.Adapter.Fill(dataTable);
  8154. return dataTable;
  8155. }
  8156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8158. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8159. public virtual int Update(IS32_Chistyakov10DataSet.ПациентыDataTable dataTable) {
  8160. return this.Adapter.Update(dataTable);
  8161. }
  8162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8163. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8164. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8165. public virtual int Update(IS32_Chistyakov10DataSet dataSet) {
  8166. return this.Adapter.Update(dataSet, "Пациенты");
  8167. }
  8168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8170. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8171. public virtual int Update(global::System.Data.DataRow dataRow) {
  8172. return this.Adapter.Update(new global::System.Data.DataRow[] {
  8173. dataRow});
  8174. }
  8175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8176. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8177. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8178. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  8179. return this.Adapter.Update(dataRows);
  8180. }
  8181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8183. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8184. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  8185. public virtual int Insert(int Номер_медкарты, string ФИО, global::System.Nullable<global::System.DateTime> Дата_рождения, string Адрес, string Пол, string p1) {
  8186. this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Номер_медкарты));
  8187. if ((ФИО == null)) {
  8188. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  8189. }
  8190. else {
  8191. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ФИО));
  8192. }
  8193. if ((Дата_рождения.HasValue == true)) {
  8194. this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(Дата_рождения.Value));
  8195. }
  8196. else {
  8197. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  8198. }
  8199. if ((Адрес == null)) {
  8200. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  8201. }
  8202. else {
  8203. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Адрес));
  8204. }
  8205. if ((Пол == null)) {
  8206. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  8207. }
  8208. else {
  8209. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Пол));
  8210. }
  8211. if ((p1 == null)) {
  8212. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  8213. }
  8214. else {
  8215. this.Adapter.InsertCommand.Parameters[5].Value = ((string)(p1));
  8216. }
  8217. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  8218. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  8219. != global::System.Data.ConnectionState.Open)) {
  8220. this.Adapter.InsertCommand.Connection.Open();
  8221. }
  8222. try {
  8223. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  8224. return returnValue;
  8225. }
  8226. finally {
  8227. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  8228. this.Adapter.InsertCommand.Connection.Close();
  8229. }
  8230. }
  8231. }
  8232. }
  8233. /// <summary>
  8234. ///Represents the connection and commands used to retrieve and save data.
  8235. ///</summary>
  8236. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8237. [global::System.ComponentModel.ToolboxItem(true)]
  8238. [global::System.ComponentModel.DataObjectAttribute(true)]
  8239. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8240. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8241. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8242. public partial class ПриёмыTableAdapter : global::System.ComponentModel.Component {
  8243. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8244. private global::System.Data.SqlClient.SqlConnection _connection;
  8245. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8246. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8247. private bool _clearBeforeFill;
  8248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8250. public ПриёмыTableAdapter() {
  8251. this.ClearBeforeFill = true;
  8252. }
  8253. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8254. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8255. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8256. get {
  8257. if ((this._adapter == null)) {
  8258. this.InitAdapter();
  8259. }
  8260. return this._adapter;
  8261. }
  8262. }
  8263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8264. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8265. internal global::System.Data.SqlClient.SqlConnection Connection {
  8266. get {
  8267. if ((this._connection == null)) {
  8268. this.InitConnection();
  8269. }
  8270. return this._connection;
  8271. }
  8272. set {
  8273. this._connection = value;
  8274. if ((this.Adapter.InsertCommand != null)) {
  8275. this.Adapter.InsertCommand.Connection = value;
  8276. }
  8277. if ((this.Adapter.DeleteCommand != null)) {
  8278. this.Adapter.DeleteCommand.Connection = value;
  8279. }
  8280. if ((this.Adapter.UpdateCommand != null)) {
  8281. this.Adapter.UpdateCommand.Connection = value;
  8282. }
  8283. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8284. if ((this.CommandCollection[i] != null)) {
  8285. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8286. }
  8287. }
  8288. }
  8289. }
  8290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8292. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8293. get {
  8294. return this._transaction;
  8295. }
  8296. set {
  8297. this._transaction = value;
  8298. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8299. this.CommandCollection[i].Transaction = this._transaction;
  8300. }
  8301. if (((this.Adapter != null)
  8302. && (this.Adapter.DeleteCommand != null))) {
  8303. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8304. }
  8305. if (((this.Adapter != null)
  8306. && (this.Adapter.InsertCommand != null))) {
  8307. this.Adapter.InsertCommand.Transaction = this._transaction;
  8308. }
  8309. if (((this.Adapter != null)
  8310. && (this.Adapter.UpdateCommand != null))) {
  8311. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8312. }
  8313. }
  8314. }
  8315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8316. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8317. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8318. get {
  8319. if ((this._commandCollection == null)) {
  8320. this.InitCommandCollection();
  8321. }
  8322. return this._commandCollection;
  8323. }
  8324. }
  8325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8326. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8327. public bool ClearBeforeFill {
  8328. get {
  8329. return this._clearBeforeFill;
  8330. }
  8331. set {
  8332. this._clearBeforeFill = value;
  8333. }
  8334. }
  8335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8336. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8337. private void InitAdapter() {
  8338. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8339. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8340. tableMapping.SourceTable = "Table";
  8341. tableMapping.DataSetTable = "Приёмы";
  8342. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  8343. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  8344. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  8345. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  8346. this._adapter.TableMappings.Add(tableMapping);
  8347. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  8348. this._adapter.InsertCommand.Connection = this.Connection;
  8349. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Приёмы] ([Номер талона], [Дата визита], [Цель посещения], [Сто" +
  8350. "имость визита(руб.)]) VALUES (@Номер_талона, @Дата_визита, @Цель_посещения, @p1)" +
  8351. "";
  8352. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  8353. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_талона", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер талона", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8354. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_визита", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата визита", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8355. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Цель_посещения", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Цель посещения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8356. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость визита(руб.)", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  8357. }
  8358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8359. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8360. private void InitConnection() {
  8361. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8362. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  8363. }
  8364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8366. private void InitCommandCollection() {
  8367. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8368. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8369. this._commandCollection[0].Connection = this.Connection;
  8370. this._commandCollection[0].CommandText = "SELECT [Номер талона], [Дата визита], [Цель посещения], [Стоимость визита(руб.)] " +
  8371. "FROM dbo.Приёмы";
  8372. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8373. }
  8374. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8375. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8376. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8377. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8378. public virtual int Fill(IS32_Chistyakov10DataSet.ПриёмыDataTable dataTable) {
  8379. this.Adapter.SelectCommand = this.CommandCollection[0];
  8380. if ((this.ClearBeforeFill == true)) {
  8381. dataTable.Clear();
  8382. }
  8383. int returnValue = this.Adapter.Fill(dataTable);
  8384. return returnValue;
  8385. }
  8386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8387. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8388. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8389. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8390. public virtual IS32_Chistyakov10DataSet.ПриёмыDataTable GetData() {
  8391. this.Adapter.SelectCommand = this.CommandCollection[0];
  8392. IS32_Chistyakov10DataSet.ПриёмыDataTable dataTable = new IS32_Chistyakov10DataSet.ПриёмыDataTable();
  8393. this.Adapter.Fill(dataTable);
  8394. return dataTable;
  8395. }
  8396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8397. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8398. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8399. public virtual int Update(IS32_Chistyakov10DataSet.ПриёмыDataTable dataTable) {
  8400. return this.Adapter.Update(dataTable);
  8401. }
  8402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8403. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8404. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8405. public virtual int Update(IS32_Chistyakov10DataSet dataSet) {
  8406. return this.Adapter.Update(dataSet, "Приёмы");
  8407. }
  8408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8409. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8410. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8411. public virtual int Update(global::System.Data.DataRow dataRow) {
  8412. return this.Adapter.Update(new global::System.Data.DataRow[] {
  8413. dataRow});
  8414. }
  8415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8416. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8417. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8418. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  8419. return this.Adapter.Update(dataRows);
  8420. }
  8421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8422. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8423. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8424. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  8425. public virtual int Insert(global::System.Nullable<int> Номер_талона, global::System.Nullable<global::System.DateTime> Дата_визита, string Цель_посещения, string p1) {
  8426. if ((Номер_талона.HasValue == true)) {
  8427. this.Adapter.InsertCommand.Parameters[0].Value = ((int)(Номер_талона.Value));
  8428. }
  8429. else {
  8430. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  8431. }
  8432. if ((Дата_визита.HasValue == true)) {
  8433. this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Дата_визита.Value));
  8434. }
  8435. else {
  8436. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  8437. }
  8438. if ((Цель_посещения == null)) {
  8439. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  8440. }
  8441. else {
  8442. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Цель_посещения));
  8443. }
  8444. if ((p1 == null)) {
  8445. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  8446. }
  8447. else {
  8448. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p1));
  8449. }
  8450. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  8451. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  8452. != global::System.Data.ConnectionState.Open)) {
  8453. this.Adapter.InsertCommand.Connection.Open();
  8454. }
  8455. try {
  8456. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  8457. return returnValue;
  8458. }
  8459. finally {
  8460. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  8461. this.Adapter.InsertCommand.Connection.Close();
  8462. }
  8463. }
  8464. }
  8465. }
  8466. /// <summary>
  8467. ///Represents the connection and commands used to retrieve and save data.
  8468. ///</summary>
  8469. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8470. [global::System.ComponentModel.ToolboxItem(true)]
  8471. [global::System.ComponentModel.DataObjectAttribute(true)]
  8472. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8473. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8474. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8475. public partial class Врачи_ПриёмыTableAdapter : global::System.ComponentModel.Component {
  8476. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8477. private global::System.Data.SqlClient.SqlConnection _connection;
  8478. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8479. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8480. private bool _clearBeforeFill;
  8481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8482. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8483. public Врачи_ПриёмыTableAdapter() {
  8484. this.ClearBeforeFill = true;
  8485. }
  8486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8487. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8488. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8489. get {
  8490. if ((this._adapter == null)) {
  8491. this.InitAdapter();
  8492. }
  8493. return this._adapter;
  8494. }
  8495. }
  8496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8498. internal global::System.Data.SqlClient.SqlConnection Connection {
  8499. get {
  8500. if ((this._connection == null)) {
  8501. this.InitConnection();
  8502. }
  8503. return this._connection;
  8504. }
  8505. set {
  8506. this._connection = value;
  8507. if ((this.Adapter.InsertCommand != null)) {
  8508. this.Adapter.InsertCommand.Connection = value;
  8509. }
  8510. if ((this.Adapter.DeleteCommand != null)) {
  8511. this.Adapter.DeleteCommand.Connection = value;
  8512. }
  8513. if ((this.Adapter.UpdateCommand != null)) {
  8514. this.Adapter.UpdateCommand.Connection = value;
  8515. }
  8516. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8517. if ((this.CommandCollection[i] != null)) {
  8518. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8519. }
  8520. }
  8521. }
  8522. }
  8523. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8524. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8525. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8526. get {
  8527. return this._transaction;
  8528. }
  8529. set {
  8530. this._transaction = value;
  8531. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8532. this.CommandCollection[i].Transaction = this._transaction;
  8533. }
  8534. if (((this.Adapter != null)
  8535. && (this.Adapter.DeleteCommand != null))) {
  8536. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8537. }
  8538. if (((this.Adapter != null)
  8539. && (this.Adapter.InsertCommand != null))) {
  8540. this.Adapter.InsertCommand.Transaction = this._transaction;
  8541. }
  8542. if (((this.Adapter != null)
  8543. && (this.Adapter.UpdateCommand != null))) {
  8544. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8545. }
  8546. }
  8547. }
  8548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8550. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8551. get {
  8552. if ((this._commandCollection == null)) {
  8553. this.InitCommandCollection();
  8554. }
  8555. return this._commandCollection;
  8556. }
  8557. }
  8558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8560. public bool ClearBeforeFill {
  8561. get {
  8562. return this._clearBeforeFill;
  8563. }
  8564. set {
  8565. this._clearBeforeFill = value;
  8566. }
  8567. }
  8568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8570. private void InitAdapter() {
  8571. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8572. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8573. tableMapping.SourceTable = "Table";
  8574. tableMapping.DataSetTable = "Врачи+Приёмы";
  8575. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  8576. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  8577. tableMapping.ColumnMappings.Add("Категория", "Категория");
  8578. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  8579. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  8580. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  8581. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  8582. this._adapter.TableMappings.Add(tableMapping);
  8583. }
  8584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8585. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8586. private void InitConnection() {
  8587. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8588. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  8589. }
  8590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8591. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8592. private void InitCommandCollection() {
  8593. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8594. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8595. this._commandCollection[0].Connection = this.Connection;
  8596. this._commandCollection[0].CommandText = "SELECT ФИО, Специальность, Категория, [Номер талона], [Дата визита], [Цель посеще" +
  8597. "ния], [Стоимость визита(руб.)] FROM dbo.[Врачи+Приёмы]";
  8598. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8599. }
  8600. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8601. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8602. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8603. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8604. public virtual int Fill(IS32_Chistyakov10DataSet._Врачи_ПриёмыDataTable dataTable) {
  8605. this.Adapter.SelectCommand = this.CommandCollection[0];
  8606. if ((this.ClearBeforeFill == true)) {
  8607. dataTable.Clear();
  8608. }
  8609. int returnValue = this.Adapter.Fill(dataTable);
  8610. return returnValue;
  8611. }
  8612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8613. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8614. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8615. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8616. public virtual IS32_Chistyakov10DataSet._Врачи_ПриёмыDataTable GetData() {
  8617. this.Adapter.SelectCommand = this.CommandCollection[0];
  8618. IS32_Chistyakov10DataSet._Врачи_ПриёмыDataTable dataTable = new IS32_Chistyakov10DataSet._Врачи_ПриёмыDataTable();
  8619. this.Adapter.Fill(dataTable);
  8620. return dataTable;
  8621. }
  8622. }
  8623. /// <summary>
  8624. ///Represents the connection and commands used to retrieve and save data.
  8625. ///</summary>
  8626. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8627. [global::System.ComponentModel.ToolboxItem(true)]
  8628. [global::System.ComponentModel.DataObjectAttribute(true)]
  8629. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8630. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8631. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8632. public partial class Пациенты_ДиагнозыTableAdapter : global::System.ComponentModel.Component {
  8633. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8634. private global::System.Data.SqlClient.SqlConnection _connection;
  8635. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8636. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8637. private bool _clearBeforeFill;
  8638. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8639. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8640. public Пациенты_ДиагнозыTableAdapter() {
  8641. this.ClearBeforeFill = true;
  8642. }
  8643. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8644. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8645. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8646. get {
  8647. if ((this._adapter == null)) {
  8648. this.InitAdapter();
  8649. }
  8650. return this._adapter;
  8651. }
  8652. }
  8653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8654. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8655. internal global::System.Data.SqlClient.SqlConnection Connection {
  8656. get {
  8657. if ((this._connection == null)) {
  8658. this.InitConnection();
  8659. }
  8660. return this._connection;
  8661. }
  8662. set {
  8663. this._connection = value;
  8664. if ((this.Adapter.InsertCommand != null)) {
  8665. this.Adapter.InsertCommand.Connection = value;
  8666. }
  8667. if ((this.Adapter.DeleteCommand != null)) {
  8668. this.Adapter.DeleteCommand.Connection = value;
  8669. }
  8670. if ((this.Adapter.UpdateCommand != null)) {
  8671. this.Adapter.UpdateCommand.Connection = value;
  8672. }
  8673. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8674. if ((this.CommandCollection[i] != null)) {
  8675. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8676. }
  8677. }
  8678. }
  8679. }
  8680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8681. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8682. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8683. get {
  8684. return this._transaction;
  8685. }
  8686. set {
  8687. this._transaction = value;
  8688. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8689. this.CommandCollection[i].Transaction = this._transaction;
  8690. }
  8691. if (((this.Adapter != null)
  8692. && (this.Adapter.DeleteCommand != null))) {
  8693. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8694. }
  8695. if (((this.Adapter != null)
  8696. && (this.Adapter.InsertCommand != null))) {
  8697. this.Adapter.InsertCommand.Transaction = this._transaction;
  8698. }
  8699. if (((this.Adapter != null)
  8700. && (this.Adapter.UpdateCommand != null))) {
  8701. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8702. }
  8703. }
  8704. }
  8705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8707. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8708. get {
  8709. if ((this._commandCollection == null)) {
  8710. this.InitCommandCollection();
  8711. }
  8712. return this._commandCollection;
  8713. }
  8714. }
  8715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8716. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8717. public bool ClearBeforeFill {
  8718. get {
  8719. return this._clearBeforeFill;
  8720. }
  8721. set {
  8722. this._clearBeforeFill = value;
  8723. }
  8724. }
  8725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8726. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8727. private void InitAdapter() {
  8728. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8729. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8730. tableMapping.SourceTable = "Table";
  8731. tableMapping.DataSetTable = "Пациенты+Диагнозы";
  8732. tableMapping.ColumnMappings.Add("Номер медкарты", "Номер медкарты");
  8733. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  8734. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  8735. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  8736. tableMapping.ColumnMappings.Add("Пол", "Пол");
  8737. tableMapping.ColumnMappings.Add("Скидка на обслуживание %", "Скидка на обслуживание %");
  8738. tableMapping.ColumnMappings.Add("Код диагноза", "Код диагноза");
  8739. tableMapping.ColumnMappings.Add("Наименование диагноза", "Наименование диагноза");
  8740. this._adapter.TableMappings.Add(tableMapping);
  8741. }
  8742. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8743. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8744. private void InitConnection() {
  8745. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8746. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  8747. }
  8748. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8750. private void InitCommandCollection() {
  8751. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8752. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8753. this._commandCollection[0].Connection = this.Connection;
  8754. this._commandCollection[0].CommandText = "SELECT [Номер медкарты], ФИО, [Дата рождения], Адрес, Пол, [Скидка на обслуживани" +
  8755. "е %], [Код диагноза], [Наименование диагноза] FROM dbo.[Пациенты+Диагнозы]";
  8756. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8757. }
  8758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8759. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8760. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8761. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8762. public virtual int Fill(IS32_Chistyakov10DataSet._Пациенты_ДиагнозыDataTable dataTable) {
  8763. this.Adapter.SelectCommand = this.CommandCollection[0];
  8764. if ((this.ClearBeforeFill == true)) {
  8765. dataTable.Clear();
  8766. }
  8767. int returnValue = this.Adapter.Fill(dataTable);
  8768. return returnValue;
  8769. }
  8770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8772. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8773. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8774. public virtual IS32_Chistyakov10DataSet._Пациенты_ДиагнозыDataTable GetData() {
  8775. this.Adapter.SelectCommand = this.CommandCollection[0];
  8776. IS32_Chistyakov10DataSet._Пациенты_ДиагнозыDataTable dataTable = new IS32_Chistyakov10DataSet._Пациенты_ДиагнозыDataTable();
  8777. this.Adapter.Fill(dataTable);
  8778. return dataTable;
  8779. }
  8780. }
  8781. /// <summary>
  8782. ///Represents the connection and commands used to retrieve and save data.
  8783. ///</summary>
  8784. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8785. [global::System.ComponentModel.ToolboxItem(true)]
  8786. [global::System.ComponentModel.DataObjectAttribute(true)]
  8787. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8788. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8789. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8790. public partial class Фильтр_Заболевании_органов_дыханияTableAdapter : global::System.ComponentModel.Component {
  8791. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8792. private global::System.Data.SqlClient.SqlConnection _connection;
  8793. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8794. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8795. private bool _clearBeforeFill;
  8796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8797. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8798. public Фильтр_Заболевании_органов_дыханияTableAdapter() {
  8799. this.ClearBeforeFill = true;
  8800. }
  8801. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8802. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8803. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8804. get {
  8805. if ((this._adapter == null)) {
  8806. this.InitAdapter();
  8807. }
  8808. return this._adapter;
  8809. }
  8810. }
  8811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8812. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8813. internal global::System.Data.SqlClient.SqlConnection Connection {
  8814. get {
  8815. if ((this._connection == null)) {
  8816. this.InitConnection();
  8817. }
  8818. return this._connection;
  8819. }
  8820. set {
  8821. this._connection = value;
  8822. if ((this.Adapter.InsertCommand != null)) {
  8823. this.Adapter.InsertCommand.Connection = value;
  8824. }
  8825. if ((this.Adapter.DeleteCommand != null)) {
  8826. this.Adapter.DeleteCommand.Connection = value;
  8827. }
  8828. if ((this.Adapter.UpdateCommand != null)) {
  8829. this.Adapter.UpdateCommand.Connection = value;
  8830. }
  8831. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8832. if ((this.CommandCollection[i] != null)) {
  8833. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8834. }
  8835. }
  8836. }
  8837. }
  8838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8839. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8840. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8841. get {
  8842. return this._transaction;
  8843. }
  8844. set {
  8845. this._transaction = value;
  8846. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8847. this.CommandCollection[i].Transaction = this._transaction;
  8848. }
  8849. if (((this.Adapter != null)
  8850. && (this.Adapter.DeleteCommand != null))) {
  8851. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8852. }
  8853. if (((this.Adapter != null)
  8854. && (this.Adapter.InsertCommand != null))) {
  8855. this.Adapter.InsertCommand.Transaction = this._transaction;
  8856. }
  8857. if (((this.Adapter != null)
  8858. && (this.Adapter.UpdateCommand != null))) {
  8859. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8860. }
  8861. }
  8862. }
  8863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8865. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8866. get {
  8867. if ((this._commandCollection == null)) {
  8868. this.InitCommandCollection();
  8869. }
  8870. return this._commandCollection;
  8871. }
  8872. }
  8873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8874. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8875. public bool ClearBeforeFill {
  8876. get {
  8877. return this._clearBeforeFill;
  8878. }
  8879. set {
  8880. this._clearBeforeFill = value;
  8881. }
  8882. }
  8883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8885. private void InitAdapter() {
  8886. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8887. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8888. tableMapping.SourceTable = "Table";
  8889. tableMapping.DataSetTable = "Фильтр Заболевании органов дыхания";
  8890. tableMapping.ColumnMappings.Add("Номер медкарты", "Номер медкарты");
  8891. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  8892. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  8893. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  8894. tableMapping.ColumnMappings.Add("Пол", "Пол");
  8895. tableMapping.ColumnMappings.Add("Скидка на обслуживание %", "Скидка на обслуживание %");
  8896. tableMapping.ColumnMappings.Add("Код диагноза", "Код диагноза");
  8897. tableMapping.ColumnMappings.Add("Наименование диагноза", "Наименование диагноза");
  8898. this._adapter.TableMappings.Add(tableMapping);
  8899. }
  8900. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8901. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8902. private void InitConnection() {
  8903. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8904. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  8905. }
  8906. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8907. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8908. private void InitCommandCollection() {
  8909. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8910. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8911. this._commandCollection[0].Connection = this.Connection;
  8912. this._commandCollection[0].CommandText = "SELECT [Номер медкарты], ФИО, [Дата рождения], Адрес, Пол, [Скидка на обслуживани" +
  8913. "е %], [Код диагноза], [Наименование диагноза] FROM dbo.[Фильтр Заболевании орган" +
  8914. "ов дыхания]";
  8915. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8916. }
  8917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8918. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8919. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8920. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8921. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_Заболевании_органов_дыханияDataTable dataTable) {
  8922. this.Adapter.SelectCommand = this.CommandCollection[0];
  8923. if ((this.ClearBeforeFill == true)) {
  8924. dataTable.Clear();
  8925. }
  8926. int returnValue = this.Adapter.Fill(dataTable);
  8927. return returnValue;
  8928. }
  8929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8931. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8932. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8933. public virtual IS32_Chistyakov10DataSet.Фильтр_Заболевании_органов_дыханияDataTable GetData() {
  8934. this.Adapter.SelectCommand = this.CommandCollection[0];
  8935. IS32_Chistyakov10DataSet.Фильтр_Заболевании_органов_дыханияDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_Заболевании_органов_дыханияDataTable();
  8936. this.Adapter.Fill(dataTable);
  8937. return dataTable;
  8938. }
  8939. }
  8940. /// <summary>
  8941. ///Represents the connection and commands used to retrieve and save data.
  8942. ///</summary>
  8943. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8944. [global::System.ComponentModel.ToolboxItem(true)]
  8945. [global::System.ComponentModel.DataObjectAttribute(true)]
  8946. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8947. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8948. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8949. public partial class Фильтр_КатегорииTableAdapter : global::System.ComponentModel.Component {
  8950. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8951. private global::System.Data.SqlClient.SqlConnection _connection;
  8952. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8953. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8954. private bool _clearBeforeFill;
  8955. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8956. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8957. public Фильтр_КатегорииTableAdapter() {
  8958. this.ClearBeforeFill = true;
  8959. }
  8960. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8961. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8962. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8963. get {
  8964. if ((this._adapter == null)) {
  8965. this.InitAdapter();
  8966. }
  8967. return this._adapter;
  8968. }
  8969. }
  8970. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8971. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8972. internal global::System.Data.SqlClient.SqlConnection Connection {
  8973. get {
  8974. if ((this._connection == null)) {
  8975. this.InitConnection();
  8976. }
  8977. return this._connection;
  8978. }
  8979. set {
  8980. this._connection = value;
  8981. if ((this.Adapter.InsertCommand != null)) {
  8982. this.Adapter.InsertCommand.Connection = value;
  8983. }
  8984. if ((this.Adapter.DeleteCommand != null)) {
  8985. this.Adapter.DeleteCommand.Connection = value;
  8986. }
  8987. if ((this.Adapter.UpdateCommand != null)) {
  8988. this.Adapter.UpdateCommand.Connection = value;
  8989. }
  8990. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8991. if ((this.CommandCollection[i] != null)) {
  8992. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8993. }
  8994. }
  8995. }
  8996. }
  8997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8998. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8999. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9000. get {
  9001. return this._transaction;
  9002. }
  9003. set {
  9004. this._transaction = value;
  9005. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9006. this.CommandCollection[i].Transaction = this._transaction;
  9007. }
  9008. if (((this.Adapter != null)
  9009. && (this.Adapter.DeleteCommand != null))) {
  9010. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9011. }
  9012. if (((this.Adapter != null)
  9013. && (this.Adapter.InsertCommand != null))) {
  9014. this.Adapter.InsertCommand.Transaction = this._transaction;
  9015. }
  9016. if (((this.Adapter != null)
  9017. && (this.Adapter.UpdateCommand != null))) {
  9018. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9019. }
  9020. }
  9021. }
  9022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9023. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9024. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9025. get {
  9026. if ((this._commandCollection == null)) {
  9027. this.InitCommandCollection();
  9028. }
  9029. return this._commandCollection;
  9030. }
  9031. }
  9032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9033. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9034. public bool ClearBeforeFill {
  9035. get {
  9036. return this._clearBeforeFill;
  9037. }
  9038. set {
  9039. this._clearBeforeFill = value;
  9040. }
  9041. }
  9042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9044. private void InitAdapter() {
  9045. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9046. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9047. tableMapping.SourceTable = "Table";
  9048. tableMapping.DataSetTable = "Фильтр Категории";
  9049. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9050. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  9051. tableMapping.ColumnMappings.Add("Категория", "Категория");
  9052. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  9053. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  9054. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  9055. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  9056. this._adapter.TableMappings.Add(tableMapping);
  9057. }
  9058. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9059. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9060. private void InitConnection() {
  9061. this._connection = new global::System.Data.SqlClient.SqlConnection();
  9062. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  9063. }
  9064. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9065. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9066. private void InitCommandCollection() {
  9067. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  9068. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  9069. this._commandCollection[0].Connection = this.Connection;
  9070. this._commandCollection[0].CommandText = "SELECT ФИО, Специальность, Категория, [Номер талона], [Дата визита], [Цель посеще" +
  9071. "ния], [Стоимость визита(руб.)] FROM dbo.[Фильтр Категории]";
  9072. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  9073. }
  9074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9075. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9076. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9077. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  9078. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_КатегорииDataTable dataTable) {
  9079. this.Adapter.SelectCommand = this.CommandCollection[0];
  9080. if ((this.ClearBeforeFill == true)) {
  9081. dataTable.Clear();
  9082. }
  9083. int returnValue = this.Adapter.Fill(dataTable);
  9084. return returnValue;
  9085. }
  9086. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9087. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9088. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9089. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  9090. public virtual IS32_Chistyakov10DataSet.Фильтр_КатегорииDataTable GetData() {
  9091. this.Adapter.SelectCommand = this.CommandCollection[0];
  9092. IS32_Chistyakov10DataSet.Фильтр_КатегорииDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_КатегорииDataTable();
  9093. this.Adapter.Fill(dataTable);
  9094. return dataTable;
  9095. }
  9096. }
  9097. /// <summary>
  9098. ///Represents the connection and commands used to retrieve and save data.
  9099. ///</summary>
  9100. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  9101. [global::System.ComponentModel.ToolboxItem(true)]
  9102. [global::System.ComponentModel.DataObjectAttribute(true)]
  9103. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  9104. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  9105. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9106. public partial class Фильтр_ОнкологиTableAdapter : global::System.ComponentModel.Component {
  9107. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  9108. private global::System.Data.SqlClient.SqlConnection _connection;
  9109. private global::System.Data.SqlClient.SqlTransaction _transaction;
  9110. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  9111. private bool _clearBeforeFill;
  9112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9114. public Фильтр_ОнкологиTableAdapter() {
  9115. this.ClearBeforeFill = true;
  9116. }
  9117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9119. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  9120. get {
  9121. if ((this._adapter == null)) {
  9122. this.InitAdapter();
  9123. }
  9124. return this._adapter;
  9125. }
  9126. }
  9127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9128. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9129. internal global::System.Data.SqlClient.SqlConnection Connection {
  9130. get {
  9131. if ((this._connection == null)) {
  9132. this.InitConnection();
  9133. }
  9134. return this._connection;
  9135. }
  9136. set {
  9137. this._connection = value;
  9138. if ((this.Adapter.InsertCommand != null)) {
  9139. this.Adapter.InsertCommand.Connection = value;
  9140. }
  9141. if ((this.Adapter.DeleteCommand != null)) {
  9142. this.Adapter.DeleteCommand.Connection = value;
  9143. }
  9144. if ((this.Adapter.UpdateCommand != null)) {
  9145. this.Adapter.UpdateCommand.Connection = value;
  9146. }
  9147. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9148. if ((this.CommandCollection[i] != null)) {
  9149. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  9150. }
  9151. }
  9152. }
  9153. }
  9154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9156. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9157. get {
  9158. return this._transaction;
  9159. }
  9160. set {
  9161. this._transaction = value;
  9162. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9163. this.CommandCollection[i].Transaction = this._transaction;
  9164. }
  9165. if (((this.Adapter != null)
  9166. && (this.Adapter.DeleteCommand != null))) {
  9167. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9168. }
  9169. if (((this.Adapter != null)
  9170. && (this.Adapter.InsertCommand != null))) {
  9171. this.Adapter.InsertCommand.Transaction = this._transaction;
  9172. }
  9173. if (((this.Adapter != null)
  9174. && (this.Adapter.UpdateCommand != null))) {
  9175. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9176. }
  9177. }
  9178. }
  9179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9181. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9182. get {
  9183. if ((this._commandCollection == null)) {
  9184. this.InitCommandCollection();
  9185. }
  9186. return this._commandCollection;
  9187. }
  9188. }
  9189. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9190. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9191. public bool ClearBeforeFill {
  9192. get {
  9193. return this._clearBeforeFill;
  9194. }
  9195. set {
  9196. this._clearBeforeFill = value;
  9197. }
  9198. }
  9199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9201. private void InitAdapter() {
  9202. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9203. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9204. tableMapping.SourceTable = "Table";
  9205. tableMapping.DataSetTable = "Фильтр Онкологи";
  9206. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9207. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  9208. tableMapping.ColumnMappings.Add("Категория", "Категория");
  9209. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  9210. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  9211. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  9212. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  9213. this._adapter.TableMappings.Add(tableMapping);
  9214. }
  9215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9216. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9217. private void InitConnection() {
  9218. this._connection = new global::System.Data.SqlClient.SqlConnection();
  9219. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  9220. }
  9221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9223. private void InitCommandCollection() {
  9224. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  9225. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  9226. this._commandCollection[0].Connection = this.Connection;
  9227. this._commandCollection[0].CommandText = "SELECT ФИО, Специальность, Категория, [Номер талона], [Дата визита], [Цель посеще" +
  9228. "ния], [Стоимость визита(руб.)] FROM dbo.[Фильтр Онкологи]";
  9229. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  9230. }
  9231. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9232. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9233. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9234. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  9235. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_ОнкологиDataTable dataTable) {
  9236. this.Adapter.SelectCommand = this.CommandCollection[0];
  9237. if ((this.ClearBeforeFill == true)) {
  9238. dataTable.Clear();
  9239. }
  9240. int returnValue = this.Adapter.Fill(dataTable);
  9241. return returnValue;
  9242. }
  9243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9245. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9246. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  9247. public virtual IS32_Chistyakov10DataSet.Фильтр_ОнкологиDataTable GetData() {
  9248. this.Adapter.SelectCommand = this.CommandCollection[0];
  9249. IS32_Chistyakov10DataSet.Фильтр_ОнкологиDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_ОнкологиDataTable();
  9250. this.Adapter.Fill(dataTable);
  9251. return dataTable;
  9252. }
  9253. }
  9254. /// <summary>
  9255. ///Represents the connection and commands used to retrieve and save data.
  9256. ///</summary>
  9257. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  9258. [global::System.ComponentModel.ToolboxItem(true)]
  9259. [global::System.ComponentModel.DataObjectAttribute(true)]
  9260. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  9261. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  9262. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9263. public partial class Фильтр_ПедиаторыTableAdapter : global::System.ComponentModel.Component {
  9264. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  9265. private global::System.Data.SqlClient.SqlConnection _connection;
  9266. private global::System.Data.SqlClient.SqlTransaction _transaction;
  9267. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  9268. private bool _clearBeforeFill;
  9269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9270. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9271. public Фильтр_ПедиаторыTableAdapter() {
  9272. this.ClearBeforeFill = true;
  9273. }
  9274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9275. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9276. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  9277. get {
  9278. if ((this._adapter == null)) {
  9279. this.InitAdapter();
  9280. }
  9281. return this._adapter;
  9282. }
  9283. }
  9284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9286. internal global::System.Data.SqlClient.SqlConnection Connection {
  9287. get {
  9288. if ((this._connection == null)) {
  9289. this.InitConnection();
  9290. }
  9291. return this._connection;
  9292. }
  9293. set {
  9294. this._connection = value;
  9295. if ((this.Adapter.InsertCommand != null)) {
  9296. this.Adapter.InsertCommand.Connection = value;
  9297. }
  9298. if ((this.Adapter.DeleteCommand != null)) {
  9299. this.Adapter.DeleteCommand.Connection = value;
  9300. }
  9301. if ((this.Adapter.UpdateCommand != null)) {
  9302. this.Adapter.UpdateCommand.Connection = value;
  9303. }
  9304. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9305. if ((this.CommandCollection[i] != null)) {
  9306. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  9307. }
  9308. }
  9309. }
  9310. }
  9311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9313. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9314. get {
  9315. return this._transaction;
  9316. }
  9317. set {
  9318. this._transaction = value;
  9319. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9320. this.CommandCollection[i].Transaction = this._transaction;
  9321. }
  9322. if (((this.Adapter != null)
  9323. && (this.Adapter.DeleteCommand != null))) {
  9324. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9325. }
  9326. if (((this.Adapter != null)
  9327. && (this.Adapter.InsertCommand != null))) {
  9328. this.Adapter.InsertCommand.Transaction = this._transaction;
  9329. }
  9330. if (((this.Adapter != null)
  9331. && (this.Adapter.UpdateCommand != null))) {
  9332. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9333. }
  9334. }
  9335. }
  9336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9337. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9338. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9339. get {
  9340. if ((this._commandCollection == null)) {
  9341. this.InitCommandCollection();
  9342. }
  9343. return this._commandCollection;
  9344. }
  9345. }
  9346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9347. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9348. public bool ClearBeforeFill {
  9349. get {
  9350. return this._clearBeforeFill;
  9351. }
  9352. set {
  9353. this._clearBeforeFill = value;
  9354. }
  9355. }
  9356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9357. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9358. private void InitAdapter() {
  9359. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9360. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9361. tableMapping.SourceTable = "Table";
  9362. tableMapping.DataSetTable = "Фильтр Педиаторы";
  9363. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9364. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  9365. tableMapping.ColumnMappings.Add("Категория", "Категория");
  9366. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  9367. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  9368. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  9369. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  9370. this._adapter.TableMappings.Add(tableMapping);
  9371. }
  9372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9374. private void InitConnection() {
  9375. this._connection = new global::System.Data.SqlClient.SqlConnection();
  9376. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  9377. }
  9378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9380. private void InitCommandCollection() {
  9381. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  9382. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  9383. this._commandCollection[0].Connection = this.Connection;
  9384. this._commandCollection[0].CommandText = "SELECT ФИО, Специальность, Категория, [Дата визита], [Номер талона], [Стоимость в" +
  9385. "изита(руб.)], [Цель посещения] FROM dbo.[Фильтр Педиаторы]";
  9386. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  9387. }
  9388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9389. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9390. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9391. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  9392. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_ПедиаторыDataTable dataTable) {
  9393. this.Adapter.SelectCommand = this.CommandCollection[0];
  9394. if ((this.ClearBeforeFill == true)) {
  9395. dataTable.Clear();
  9396. }
  9397. int returnValue = this.Adapter.Fill(dataTable);
  9398. return returnValue;
  9399. }
  9400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9401. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9402. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9403. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  9404. public virtual IS32_Chistyakov10DataSet.Фильтр_ПедиаторыDataTable GetData() {
  9405. this.Adapter.SelectCommand = this.CommandCollection[0];
  9406. IS32_Chistyakov10DataSet.Фильтр_ПедиаторыDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_ПедиаторыDataTable();
  9407. this.Adapter.Fill(dataTable);
  9408. return dataTable;
  9409. }
  9410. }
  9411. /// <summary>
  9412. ///Represents the connection and commands used to retrieve and save data.
  9413. ///</summary>
  9414. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  9415. [global::System.ComponentModel.ToolboxItem(true)]
  9416. [global::System.ComponentModel.DataObjectAttribute(true)]
  9417. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  9418. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  9419. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9420. public partial class Фильтр_скидкиTableAdapter : global::System.ComponentModel.Component {
  9421. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  9422. private global::System.Data.SqlClient.SqlConnection _connection;
  9423. private global::System.Data.SqlClient.SqlTransaction _transaction;
  9424. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  9425. private bool _clearBeforeFill;
  9426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9427. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9428. public Фильтр_скидкиTableAdapter() {
  9429. this.ClearBeforeFill = true;
  9430. }
  9431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9433. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  9434. get {
  9435. if ((this._adapter == null)) {
  9436. this.InitAdapter();
  9437. }
  9438. return this._adapter;
  9439. }
  9440. }
  9441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9442. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9443. internal global::System.Data.SqlClient.SqlConnection Connection {
  9444. get {
  9445. if ((this._connection == null)) {
  9446. this.InitConnection();
  9447. }
  9448. return this._connection;
  9449. }
  9450. set {
  9451. this._connection = value;
  9452. if ((this.Adapter.InsertCommand != null)) {
  9453. this.Adapter.InsertCommand.Connection = value;
  9454. }
  9455. if ((this.Adapter.DeleteCommand != null)) {
  9456. this.Adapter.DeleteCommand.Connection = value;
  9457. }
  9458. if ((this.Adapter.UpdateCommand != null)) {
  9459. this.Adapter.UpdateCommand.Connection = value;
  9460. }
  9461. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9462. if ((this.CommandCollection[i] != null)) {
  9463. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  9464. }
  9465. }
  9466. }
  9467. }
  9468. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9469. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9470. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9471. get {
  9472. return this._transaction;
  9473. }
  9474. set {
  9475. this._transaction = value;
  9476. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9477. this.CommandCollection[i].Transaction = this._transaction;
  9478. }
  9479. if (((this.Adapter != null)
  9480. && (this.Adapter.DeleteCommand != null))) {
  9481. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9482. }
  9483. if (((this.Adapter != null)
  9484. && (this.Adapter.InsertCommand != null))) {
  9485. this.Adapter.InsertCommand.Transaction = this._transaction;
  9486. }
  9487. if (((this.Adapter != null)
  9488. && (this.Adapter.UpdateCommand != null))) {
  9489. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9490. }
  9491. }
  9492. }
  9493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9494. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9495. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9496. get {
  9497. if ((this._commandCollection == null)) {
  9498. this.InitCommandCollection();
  9499. }
  9500. return this._commandCollection;
  9501. }
  9502. }
  9503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9505. public bool ClearBeforeFill {
  9506. get {
  9507. return this._clearBeforeFill;
  9508. }
  9509. set {
  9510. this._clearBeforeFill = value;
  9511. }
  9512. }
  9513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9515. private void InitAdapter() {
  9516. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9517. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9518. tableMapping.SourceTable = "Table";
  9519. tableMapping.DataSetTable = "Фильтр скидки";
  9520. tableMapping.ColumnMappings.Add("Номер медкарты", "Номер медкарты");
  9521. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9522. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  9523. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  9524. tableMapping.ColumnMappings.Add("Пол", "Пол");
  9525. tableMapping.ColumnMappings.Add("Скидка на обслуживание %", "Скидка на обслуживание %");
  9526. tableMapping.ColumnMappings.Add("Код диагноза", "Код диагноза");
  9527. tableMapping.ColumnMappings.Add("Наименование диагноза", "Наименование диагноза");
  9528. this._adapter.TableMappings.Add(tableMapping);
  9529. }
  9530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9532. private void InitConnection() {
  9533. this._connection = new global::System.Data.SqlClient.SqlConnection();
  9534. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  9535. }
  9536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9538. private void InitCommandCollection() {
  9539. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  9540. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  9541. this._commandCollection[0].Connection = this.Connection;
  9542. this._commandCollection[0].CommandText = "SELECT [Номер медкарты], ФИО, [Дата рождения], Адрес, Пол, [Скидка на обслуживани" +
  9543. "е %], [Код диагноза], [Наименование диагноза] FROM dbo.[Фильтр скидки]";
  9544. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  9545. }
  9546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9547. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9548. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9549. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  9550. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_скидкиDataTable dataTable) {
  9551. this.Adapter.SelectCommand = this.CommandCollection[0];
  9552. if ((this.ClearBeforeFill == true)) {
  9553. dataTable.Clear();
  9554. }
  9555. int returnValue = this.Adapter.Fill(dataTable);
  9556. return returnValue;
  9557. }
  9558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9560. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9561. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  9562. public virtual IS32_Chistyakov10DataSet.Фильтр_скидкиDataTable GetData() {
  9563. this.Adapter.SelectCommand = this.CommandCollection[0];
  9564. IS32_Chistyakov10DataSet.Фильтр_скидкиDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_скидкиDataTable();
  9565. this.Adapter.Fill(dataTable);
  9566. return dataTable;
  9567. }
  9568. }
  9569. /// <summary>
  9570. ///Represents the connection and commands used to retrieve and save data.
  9571. ///</summary>
  9572. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  9573. [global::System.ComponentModel.ToolboxItem(true)]
  9574. [global::System.ComponentModel.DataObjectAttribute(true)]
  9575. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  9576. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  9577. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9578. public partial class Фильтр_специальностиTableAdapter : global::System.ComponentModel.Component {
  9579. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  9580. private global::System.Data.SqlClient.SqlConnection _connection;
  9581. private global::System.Data.SqlClient.SqlTransaction _transaction;
  9582. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  9583. private bool _clearBeforeFill;
  9584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9585. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9586. public Фильтр_специальностиTableAdapter() {
  9587. this.ClearBeforeFill = true;
  9588. }
  9589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9590. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9591. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  9592. get {
  9593. if ((this._adapter == null)) {
  9594. this.InitAdapter();
  9595. }
  9596. return this._adapter;
  9597. }
  9598. }
  9599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9601. internal global::System.Data.SqlClient.SqlConnection Connection {
  9602. get {
  9603. if ((this._connection == null)) {
  9604. this.InitConnection();
  9605. }
  9606. return this._connection;
  9607. }
  9608. set {
  9609. this._connection = value;
  9610. if ((this.Adapter.InsertCommand != null)) {
  9611. this.Adapter.InsertCommand.Connection = value;
  9612. }
  9613. if ((this.Adapter.DeleteCommand != null)) {
  9614. this.Adapter.DeleteCommand.Connection = value;
  9615. }
  9616. if ((this.Adapter.UpdateCommand != null)) {
  9617. this.Adapter.UpdateCommand.Connection = value;
  9618. }
  9619. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9620. if ((this.CommandCollection[i] != null)) {
  9621. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  9622. }
  9623. }
  9624. }
  9625. }
  9626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9628. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9629. get {
  9630. return this._transaction;
  9631. }
  9632. set {
  9633. this._transaction = value;
  9634. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9635. this.CommandCollection[i].Transaction = this._transaction;
  9636. }
  9637. if (((this.Adapter != null)
  9638. && (this.Adapter.DeleteCommand != null))) {
  9639. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9640. }
  9641. if (((this.Adapter != null)
  9642. && (this.Adapter.InsertCommand != null))) {
  9643. this.Adapter.InsertCommand.Transaction = this._transaction;
  9644. }
  9645. if (((this.Adapter != null)
  9646. && (this.Adapter.UpdateCommand != null))) {
  9647. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9648. }
  9649. }
  9650. }
  9651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9652. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9653. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9654. get {
  9655. if ((this._commandCollection == null)) {
  9656. this.InitCommandCollection();
  9657. }
  9658. return this._commandCollection;
  9659. }
  9660. }
  9661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9662. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9663. public bool ClearBeforeFill {
  9664. get {
  9665. return this._clearBeforeFill;
  9666. }
  9667. set {
  9668. this._clearBeforeFill = value;
  9669. }
  9670. }
  9671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9672. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9673. private void InitAdapter() {
  9674. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9675. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9676. tableMapping.SourceTable = "Table";
  9677. tableMapping.DataSetTable = "Фильтр специальности";
  9678. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9679. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  9680. tableMapping.ColumnMappings.Add("Категория", "Категория");
  9681. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  9682. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  9683. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  9684. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  9685. this._adapter.TableMappings.Add(tableMapping);
  9686. }
  9687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9688. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9689. private void InitConnection() {
  9690. this._connection = new global::System.Data.SqlClient.SqlConnection();
  9691. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  9692. }
  9693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9694. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9695. private void InitCommandCollection() {
  9696. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  9697. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  9698. this._commandCollection[0].Connection = this.Connection;
  9699. this._commandCollection[0].CommandText = "SELECT ФИО, Специальность, Категория, [Номер талона], [Дата визита], [Цель посеще" +
  9700. "ния], [Стоимость визита(руб.)] FROM dbo.[Фильтр специальности]";
  9701. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  9702. }
  9703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9705. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9706. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  9707. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_специальностиDataTable dataTable) {
  9708. this.Adapter.SelectCommand = this.CommandCollection[0];
  9709. if ((this.ClearBeforeFill == true)) {
  9710. dataTable.Clear();
  9711. }
  9712. int returnValue = this.Adapter.Fill(dataTable);
  9713. return returnValue;
  9714. }
  9715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9716. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9717. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9718. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  9719. public virtual IS32_Chistyakov10DataSet.Фильтр_специальностиDataTable GetData() {
  9720. this.Adapter.SelectCommand = this.CommandCollection[0];
  9721. IS32_Chistyakov10DataSet.Фильтр_специальностиDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_специальностиDataTable();
  9722. this.Adapter.Fill(dataTable);
  9723. return dataTable;
  9724. }
  9725. }
  9726. /// <summary>
  9727. ///Represents the connection and commands used to retrieve and save data.
  9728. ///</summary>
  9729. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  9730. [global::System.ComponentModel.ToolboxItem(true)]
  9731. [global::System.ComponentModel.DataObjectAttribute(true)]
  9732. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  9733. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  9734. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9735. public partial class Фильтр_СтоматологиTableAdapter : global::System.ComponentModel.Component {
  9736. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  9737. private global::System.Data.SqlClient.SqlConnection _connection;
  9738. private global::System.Data.SqlClient.SqlTransaction _transaction;
  9739. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  9740. private bool _clearBeforeFill;
  9741. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9742. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9743. public Фильтр_СтоматологиTableAdapter() {
  9744. this.ClearBeforeFill = true;
  9745. }
  9746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9748. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  9749. get {
  9750. if ((this._adapter == null)) {
  9751. this.InitAdapter();
  9752. }
  9753. return this._adapter;
  9754. }
  9755. }
  9756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9757. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9758. internal global::System.Data.SqlClient.SqlConnection Connection {
  9759. get {
  9760. if ((this._connection == null)) {
  9761. this.InitConnection();
  9762. }
  9763. return this._connection;
  9764. }
  9765. set {
  9766. this._connection = value;
  9767. if ((this.Adapter.InsertCommand != null)) {
  9768. this.Adapter.InsertCommand.Connection = value;
  9769. }
  9770. if ((this.Adapter.DeleteCommand != null)) {
  9771. this.Adapter.DeleteCommand.Connection = value;
  9772. }
  9773. if ((this.Adapter.UpdateCommand != null)) {
  9774. this.Adapter.UpdateCommand.Connection = value;
  9775. }
  9776. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9777. if ((this.CommandCollection[i] != null)) {
  9778. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  9779. }
  9780. }
  9781. }
  9782. }
  9783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9784. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9785. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9786. get {
  9787. return this._transaction;
  9788. }
  9789. set {
  9790. this._transaction = value;
  9791. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9792. this.CommandCollection[i].Transaction = this._transaction;
  9793. }
  9794. if (((this.Adapter != null)
  9795. && (this.Adapter.DeleteCommand != null))) {
  9796. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9797. }
  9798. if (((this.Adapter != null)
  9799. && (this.Adapter.InsertCommand != null))) {
  9800. this.Adapter.InsertCommand.Transaction = this._transaction;
  9801. }
  9802. if (((this.Adapter != null)
  9803. && (this.Adapter.UpdateCommand != null))) {
  9804. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9805. }
  9806. }
  9807. }
  9808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9810. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9811. get {
  9812. if ((this._commandCollection == null)) {
  9813. this.InitCommandCollection();
  9814. }
  9815. return this._commandCollection;
  9816. }
  9817. }
  9818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9819. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9820. public bool ClearBeforeFill {
  9821. get {
  9822. return this._clearBeforeFill;
  9823. }
  9824. set {
  9825. this._clearBeforeFill = value;
  9826. }
  9827. }
  9828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9829. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9830. private void InitAdapter() {
  9831. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9832. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9833. tableMapping.SourceTable = "Table";
  9834. tableMapping.DataSetTable = "Фильтр Стоматологи";
  9835. tableMapping.ColumnMappings.Add("Цель посещения", "Цель посещения");
  9836. tableMapping.ColumnMappings.Add("Номер талона", "Номер талона");
  9837. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9838. tableMapping.ColumnMappings.Add("Категория", "Категория");
  9839. tableMapping.ColumnMappings.Add("Специальность", "Специальность");
  9840. tableMapping.ColumnMappings.Add("Дата визита", "Дата визита");
  9841. tableMapping.ColumnMappings.Add("Стоимость визита(руб.)", "Стоимость визита(руб_)");
  9842. this._adapter.TableMappings.Add(tableMapping);
  9843. }
  9844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9845. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9846. private void InitConnection() {
  9847. this._connection = new global::System.Data.SqlClient.SqlConnection();
  9848. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  9849. }
  9850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9852. private void InitCommandCollection() {
  9853. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  9854. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  9855. this._commandCollection[0].Connection = this.Connection;
  9856. this._commandCollection[0].CommandText = "SELECT [Цель посещения], [Номер талона], ФИО, Категория, Специальность, [Дата виз" +
  9857. "ита], [Стоимость визита(руб.)] FROM dbo.[Фильтр Стоматологи]";
  9858. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  9859. }
  9860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9861. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9862. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9863. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  9864. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_СтоматологиDataTable dataTable) {
  9865. this.Adapter.SelectCommand = this.CommandCollection[0];
  9866. if ((this.ClearBeforeFill == true)) {
  9867. dataTable.Clear();
  9868. }
  9869. int returnValue = this.Adapter.Fill(dataTable);
  9870. return returnValue;
  9871. }
  9872. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9873. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9874. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9875. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  9876. public virtual IS32_Chistyakov10DataSet.Фильтр_СтоматологиDataTable GetData() {
  9877. this.Adapter.SelectCommand = this.CommandCollection[0];
  9878. IS32_Chistyakov10DataSet.Фильтр_СтоматологиDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_СтоматологиDataTable();
  9879. this.Adapter.Fill(dataTable);
  9880. return dataTable;
  9881. }
  9882. }
  9883. /// <summary>
  9884. ///Represents the connection and commands used to retrieve and save data.
  9885. ///</summary>
  9886. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  9887. [global::System.ComponentModel.ToolboxItem(true)]
  9888. [global::System.ComponentModel.DataObjectAttribute(true)]
  9889. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  9890. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  9891. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  9892. public partial class Фильтр_туберкулёзTableAdapter : global::System.ComponentModel.Component {
  9893. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  9894. private global::System.Data.SqlClient.SqlConnection _connection;
  9895. private global::System.Data.SqlClient.SqlTransaction _transaction;
  9896. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  9897. private bool _clearBeforeFill;
  9898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9899. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9900. public Фильтр_туберкулёзTableAdapter() {
  9901. this.ClearBeforeFill = true;
  9902. }
  9903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9905. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  9906. get {
  9907. if ((this._adapter == null)) {
  9908. this.InitAdapter();
  9909. }
  9910. return this._adapter;
  9911. }
  9912. }
  9913. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9914. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9915. internal global::System.Data.SqlClient.SqlConnection Connection {
  9916. get {
  9917. if ((this._connection == null)) {
  9918. this.InitConnection();
  9919. }
  9920. return this._connection;
  9921. }
  9922. set {
  9923. this._connection = value;
  9924. if ((this.Adapter.InsertCommand != null)) {
  9925. this.Adapter.InsertCommand.Connection = value;
  9926. }
  9927. if ((this.Adapter.DeleteCommand != null)) {
  9928. this.Adapter.DeleteCommand.Connection = value;
  9929. }
  9930. if ((this.Adapter.UpdateCommand != null)) {
  9931. this.Adapter.UpdateCommand.Connection = value;
  9932. }
  9933. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9934. if ((this.CommandCollection[i] != null)) {
  9935. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  9936. }
  9937. }
  9938. }
  9939. }
  9940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9941. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9942. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  9943. get {
  9944. return this._transaction;
  9945. }
  9946. set {
  9947. this._transaction = value;
  9948. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  9949. this.CommandCollection[i].Transaction = this._transaction;
  9950. }
  9951. if (((this.Adapter != null)
  9952. && (this.Adapter.DeleteCommand != null))) {
  9953. this.Adapter.DeleteCommand.Transaction = this._transaction;
  9954. }
  9955. if (((this.Adapter != null)
  9956. && (this.Adapter.InsertCommand != null))) {
  9957. this.Adapter.InsertCommand.Transaction = this._transaction;
  9958. }
  9959. if (((this.Adapter != null)
  9960. && (this.Adapter.UpdateCommand != null))) {
  9961. this.Adapter.UpdateCommand.Transaction = this._transaction;
  9962. }
  9963. }
  9964. }
  9965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9966. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9967. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  9968. get {
  9969. if ((this._commandCollection == null)) {
  9970. this.InitCommandCollection();
  9971. }
  9972. return this._commandCollection;
  9973. }
  9974. }
  9975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9977. public bool ClearBeforeFill {
  9978. get {
  9979. return this._clearBeforeFill;
  9980. }
  9981. set {
  9982. this._clearBeforeFill = value;
  9983. }
  9984. }
  9985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9987. private void InitAdapter() {
  9988. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  9989. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  9990. tableMapping.SourceTable = "Table";
  9991. tableMapping.DataSetTable = "Фильтр туберкулёз";
  9992. tableMapping.ColumnMappings.Add("Номер медкарты", "Номер медкарты");
  9993. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  9994. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  9995. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  9996. tableMapping.ColumnMappings.Add("Пол", "Пол");
  9997. tableMapping.ColumnMappings.Add("Скидка на обслуживание %", "Скидка на обслуживание %");
  9998. tableMapping.ColumnMappings.Add("Код диагноза", "Код диагноза");
  9999. tableMapping.ColumnMappings.Add("Наименование диагноза", "Наименование диагноза");
  10000. this._adapter.TableMappings.Add(tableMapping);
  10001. }
  10002. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10003. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10004. private void InitConnection() {
  10005. this._connection = new global::System.Data.SqlClient.SqlConnection();
  10006. this._connection.ConnectionString = global::Chistyakov_var10.Properties.Settings.Default.IS32_Chistyakov10ConnectionString;
  10007. }
  10008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10009. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10010. private void InitCommandCollection() {
  10011. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  10012. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  10013. this._commandCollection[0].Connection = this.Connection;
  10014. this._commandCollection[0].CommandText = "SELECT [Номер медкарты], ФИО, [Дата рождения], Адрес, Пол, [Скидка на обслуживани" +
  10015. "е %], [Код диагноза], [Наименование диагноза] FROM dbo.[Фильтр туберкулёз]";
  10016. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  10017. }
  10018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10019. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10020. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  10021. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  10022. public virtual int Fill(IS32_Chistyakov10DataSet.Фильтр_туберкулёзDataTable dataTable) {
  10023. this.Adapter.SelectCommand = this.CommandCollection[0];
  10024. if ((this.ClearBeforeFill == true)) {
  10025. dataTable.Clear();
  10026. }
  10027. int returnValue = this.Adapter.Fill(dataTable);
  10028. return returnValue;
  10029. }
  10030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10031. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10032. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  10033. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  10034. public virtual IS32_Chistyakov10DataSet.Фильтр_туберкулёзDataTable GetData() {
  10035. this.Adapter.SelectCommand = this.CommandCollection[0];
  10036. IS32_Chistyakov10DataSet.Фильтр_туберкулёзDataTable dataTable = new IS32_Chistyakov10DataSet.Фильтр_туберкулёзDataTable();
  10037. this.Adapter.Fill(dataTable);
  10038. return dataTable;
  10039. }
  10040. }
  10041. /// <summary>
  10042. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  10043. ///</summary>
  10044. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  10045. [global::System.ComponentModel.ToolboxItem(true)]
  10046. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  10047. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  10048. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  10049. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  10050. private UpdateOrderOption _updateOrder;
  10051. private ВрачиTableAdapter _врачиTableAdapter;
  10052. private ДиагнозыTableAdapter _диагнозыTableAdapter;
  10053. private ПациентыTableAdapter _пациентыTableAdapter;
  10054. private ПриёмыTableAdapter _приёмыTableAdapter;
  10055. private bool _backupDataSetBeforeUpdate;
  10056. private global::System.Data.IDbConnection _connection;
  10057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10058. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10059. public UpdateOrderOption UpdateOrder {
  10060. get {
  10061. return this._updateOrder;
  10062. }
  10063. set {
  10064. this._updateOrder = value;
  10065. }
  10066. }
  10067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10068. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10069. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  10070. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  10071. "a", "System.Drawing.Design.UITypeEditor")]
  10072. public ВрачиTableAdapter ВрачиTableAdapter {
  10073. get {
  10074. return this._врачиTableAdapter;
  10075. }
  10076. set {
  10077. this._врачиTableAdapter = value;
  10078. }
  10079. }
  10080. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10081. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10082. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  10083. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  10084. "a", "System.Drawing.Design.UITypeEditor")]
  10085. public ДиагнозыTableAdapter ДиагнозыTableAdapter {
  10086. get {
  10087. return this._диагнозыTableAdapter;
  10088. }
  10089. set {
  10090. this._диагнозыTableAdapter = value;
  10091. }
  10092. }
  10093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10095. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  10096. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  10097. "a", "System.Drawing.Design.UITypeEditor")]
  10098. public ПациентыTableAdapter ПациентыTableAdapter {
  10099. get {
  10100. return this._пациентыTableAdapter;
  10101. }
  10102. set {
  10103. this._пациентыTableAdapter = value;
  10104. }
  10105. }
  10106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10107. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10108. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  10109. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  10110. "a", "System.Drawing.Design.UITypeEditor")]
  10111. public ПриёмыTableAdapter ПриёмыTableAdapter {
  10112. get {
  10113. return this._приёмыTableAdapter;
  10114. }
  10115. set {
  10116. this._приёмыTableAdapter = value;
  10117. }
  10118. }
  10119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10120. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10121. public bool BackupDataSetBeforeUpdate {
  10122. get {
  10123. return this._backupDataSetBeforeUpdate;
  10124. }
  10125. set {
  10126. this._backupDataSetBeforeUpdate = value;
  10127. }
  10128. }
  10129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10131. [global::System.ComponentModel.Browsable(false)]
  10132. public global::System.Data.IDbConnection Connection {
  10133. get {
  10134. if ((this._connection != null)) {
  10135. return this._connection;
  10136. }
  10137. if (((this._врачиTableAdapter != null)
  10138. && (this._врачиTableAdapter.Connection != null))) {
  10139. return this._врачиTableAdapter.Connection;
  10140. }
  10141. if (((this._диагнозыTableAdapter != null)
  10142. && (this._диагнозыTableAdapter.Connection != null))) {
  10143. return this._диагнозыTableAdapter.Connection;
  10144. }
  10145. if (((this._пациентыTableAdapter != null)
  10146. && (this._пациентыTableAdapter.Connection != null))) {
  10147. return this._пациентыTableAdapter.Connection;
  10148. }
  10149. if (((this._приёмыTableAdapter != null)
  10150. && (this._приёмыTableAdapter.Connection != null))) {
  10151. return this._приёмыTableAdapter.Connection;
  10152. }
  10153. return null;
  10154. }
  10155. set {
  10156. this._connection = value;
  10157. }
  10158. }
  10159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10160. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10161. [global::System.ComponentModel.Browsable(false)]
  10162. public int TableAdapterInstanceCount {
  10163. get {
  10164. int count = 0;
  10165. if ((this._врачиTableAdapter != null)) {
  10166. count = (count + 1);
  10167. }
  10168. if ((this._диагнозыTableAdapter != null)) {
  10169. count = (count + 1);
  10170. }
  10171. if ((this._пациентыTableAdapter != null)) {
  10172. count = (count + 1);
  10173. }
  10174. if ((this._приёмыTableAdapter != null)) {
  10175. count = (count + 1);
  10176. }
  10177. return count;
  10178. }
  10179. }
  10180. /// <summary>
  10181. ///Update rows in top-down order.
  10182. ///</summary>
  10183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10184. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10185. private int UpdateUpdatedRows(IS32_Chistyakov10DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  10186. int result = 0;
  10187. if ((this._врачиTableAdapter != null)) {
  10188. global::System.Data.DataRow[] updatedRows = dataSet.Врачи.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  10189. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  10190. if (((updatedRows != null)
  10191. && (0 < updatedRows.Length))) {
  10192. result = (result + this._врачиTableAdapter.Update(updatedRows));
  10193. allChangedRows.AddRange(updatedRows);
  10194. }
  10195. }
  10196. if ((this._диагнозыTableAdapter != null)) {
  10197. global::System.Data.DataRow[] updatedRows = dataSet.Диагнозы.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  10198. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  10199. if (((updatedRows != null)
  10200. && (0 < updatedRows.Length))) {
  10201. result = (result + this._диагнозыTableAdapter.Update(updatedRows));
  10202. allChangedRows.AddRange(updatedRows);
  10203. }
  10204. }
  10205. if ((this._пациентыTableAdapter != null)) {
  10206. global::System.Data.DataRow[] updatedRows = dataSet.Пациенты.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  10207. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  10208. if (((updatedRows != null)
  10209. && (0 < updatedRows.Length))) {
  10210. result = (result + this._пациентыTableAdapter.Update(updatedRows));
  10211. allChangedRows.AddRange(updatedRows);
  10212. }
  10213. }
  10214. if ((this._приёмыTableAdapter != null)) {
  10215. global::System.Data.DataRow[] updatedRows = dataSet.Приёмы.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  10216. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  10217. if (((updatedRows != null)
  10218. && (0 < updatedRows.Length))) {
  10219. result = (result + this._приёмыTableAdapter.Update(updatedRows));
  10220. allChangedRows.AddRange(updatedRows);
  10221. }
  10222. }
  10223. return result;
  10224. }
  10225. /// <summary>
  10226. ///Insert rows in top-down order.
  10227. ///</summary>
  10228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10230. private int UpdateInsertedRows(IS32_Chistyakov10DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  10231. int result = 0;
  10232. if ((this._врачиTableAdapter != null)) {
  10233. global::System.Data.DataRow[] addedRows = dataSet.Врачи.Select(null, null, global::System.Data.DataViewRowState.Added);
  10234. if (((addedRows != null)
  10235. && (0 < addedRows.Length))) {
  10236. result = (result + this._врачиTableAdapter.Update(addedRows));
  10237. allAddedRows.AddRange(addedRows);
  10238. }
  10239. }
  10240. if ((this._диагнозыTableAdapter != null)) {
  10241. global::System.Data.DataRow[] addedRows = dataSet.Диагнозы.Select(null, null, global::System.Data.DataViewRowState.Added);
  10242. if (((addedRows != null)
  10243. && (0 < addedRows.Length))) {
  10244. result = (result + this._диагнозыTableAdapter.Update(addedRows));
  10245. allAddedRows.AddRange(addedRows);
  10246. }
  10247. }
  10248. if ((this._пациентыTableAdapter != null)) {
  10249. global::System.Data.DataRow[] addedRows = dataSet.Пациенты.Select(null, null, global::System.Data.DataViewRowState.Added);
  10250. if (((addedRows != null)
  10251. && (0 < addedRows.Length))) {
  10252. result = (result + this._пациентыTableAdapter.Update(addedRows));
  10253. allAddedRows.AddRange(addedRows);
  10254. }
  10255. }
  10256. if ((this._приёмыTableAdapter != null)) {
  10257. global::System.Data.DataRow[] addedRows = dataSet.Приёмы.Select(null, null, global::System.Data.DataViewRowState.Added);
  10258. if (((addedRows != null)
  10259. && (0 < addedRows.Length))) {
  10260. result = (result + this._приёмыTableAdapter.Update(addedRows));
  10261. allAddedRows.AddRange(addedRows);
  10262. }
  10263. }
  10264. return result;
  10265. }
  10266. /// <summary>
  10267. ///Delete rows in bottom-up order.
  10268. ///</summary>
  10269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10270. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10271. private int UpdateDeletedRows(IS32_Chistyakov10DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  10272. int result = 0;
  10273. if ((this._приёмыTableAdapter != null)) {
  10274. global::System.Data.DataRow[] deletedRows = dataSet.Приёмы.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  10275. if (((deletedRows != null)
  10276. && (0 < deletedRows.Length))) {
  10277. result = (result + this._приёмыTableAdapter.Update(deletedRows));
  10278. allChangedRows.AddRange(deletedRows);
  10279. }
  10280. }
  10281. if ((this._пациентыTableAdapter != null)) {
  10282. global::System.Data.DataRow[] deletedRows = dataSet.Пациенты.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  10283. if (((deletedRows != null)
  10284. && (0 < deletedRows.Length))) {
  10285. result = (result + this._пациентыTableAdapter.Update(deletedRows));
  10286. allChangedRows.AddRange(deletedRows);
  10287. }
  10288. }
  10289. if ((this._диагнозыTableAdapter != null)) {
  10290. global::System.Data.DataRow[] deletedRows = dataSet.Диагнозы.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  10291. if (((deletedRows != null)
  10292. && (0 < deletedRows.Length))) {
  10293. result = (result + this._диагнозыTableAdapter.Update(deletedRows));
  10294. allChangedRows.AddRange(deletedRows);
  10295. }
  10296. }
  10297. if ((this._врачиTableAdapter != null)) {
  10298. global::System.Data.DataRow[] deletedRows = dataSet.Врачи.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  10299. if (((deletedRows != null)
  10300. && (0 < deletedRows.Length))) {
  10301. result = (result + this._врачиTableAdapter.Update(deletedRows));
  10302. allChangedRows.AddRange(deletedRows);
  10303. }
  10304. }
  10305. return result;
  10306. }
  10307. /// <summary>
  10308. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  10309. ///</summary>
  10310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10312. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  10313. if (((updatedRows == null)
  10314. || (updatedRows.Length < 1))) {
  10315. return updatedRows;
  10316. }
  10317. if (((allAddedRows == null)
  10318. || (allAddedRows.Count < 1))) {
  10319. return updatedRows;
  10320. }
  10321. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  10322. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  10323. global::System.Data.DataRow row = updatedRows[i];
  10324. if ((allAddedRows.Contains(row) == false)) {
  10325. realUpdatedRows.Add(row);
  10326. }
  10327. }
  10328. return realUpdatedRows.ToArray();
  10329. }
  10330. /// <summary>
  10331. ///Update all changes to the dataset.
  10332. ///</summary>
  10333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10334. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10335. public virtual int UpdateAll(IS32_Chistyakov10DataSet dataSet) {
  10336. if ((dataSet == null)) {
  10337. throw new global::System.ArgumentNullException("dataSet");
  10338. }
  10339. if ((dataSet.HasChanges() == false)) {
  10340. return 0;
  10341. }
  10342. if (((this._врачиTableAdapter != null)
  10343. && (this.MatchTableAdapterConnection(this._врачиTableAdapter.Connection) == false))) {
  10344. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  10345. "r, должны использовать одинаковую строку подключения.");
  10346. }
  10347. if (((this._диагнозыTableAdapter != null)
  10348. && (this.MatchTableAdapterConnection(this._диагнозыTableAdapter.Connection) == false))) {
  10349. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  10350. "r, должны использовать одинаковую строку подключения.");
  10351. }
  10352. if (((this._пациентыTableAdapter != null)
  10353. && (this.MatchTableAdapterConnection(this._пациентыTableAdapter.Connection) == false))) {
  10354. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  10355. "r, должны использовать одинаковую строку подключения.");
  10356. }
  10357. if (((this._приёмыTableAdapter != null)
  10358. && (this.MatchTableAdapterConnection(this._приёмыTableAdapter.Connection) == false))) {
  10359. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  10360. "r, должны использовать одинаковую строку подключения.");
  10361. }
  10362. global::System.Data.IDbConnection workConnection = this.Connection;
  10363. if ((workConnection == null)) {
  10364. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  10365. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  10366. }
  10367. bool workConnOpened = false;
  10368. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  10369. == global::System.Data.ConnectionState.Broken)) {
  10370. workConnection.Close();
  10371. }
  10372. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  10373. workConnection.Open();
  10374. workConnOpened = true;
  10375. }
  10376. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  10377. if ((workTransaction == null)) {
  10378. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  10379. "и или текущее состояние не позволяет начать транзакцию.");
  10380. }
  10381. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  10382. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  10383. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  10384. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  10385. int result = 0;
  10386. global::System.Data.DataSet backupDataSet = null;
  10387. if (this.BackupDataSetBeforeUpdate) {
  10388. backupDataSet = new global::System.Data.DataSet();
  10389. backupDataSet.Merge(dataSet);
  10390. }
  10391. try {
  10392. // ---- Prepare for update -----------
  10393. //
  10394. if ((this._врачиTableAdapter != null)) {
  10395. revertConnections.Add(this._врачиTableAdapter, this._врачиTableAdapter.Connection);
  10396. this._врачиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  10397. this._врачиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  10398. if (this._врачиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  10399. this._врачиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  10400. adaptersWithAcceptChangesDuringUpdate.Add(this._врачиTableAdapter.Adapter);
  10401. }
  10402. }
  10403. if ((this._диагнозыTableAdapter != null)) {
  10404. revertConnections.Add(this._диагнозыTableAdapter, this._диагнозыTableAdapter.Connection);
  10405. this._диагнозыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  10406. this._диагнозыTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  10407. if (this._диагнозыTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  10408. this._диагнозыTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  10409. adaptersWithAcceptChangesDuringUpdate.Add(this._диагнозыTableAdapter.Adapter);
  10410. }
  10411. }
  10412. if ((this._пациентыTableAdapter != null)) {
  10413. revertConnections.Add(this._пациентыTableAdapter, this._пациентыTableAdapter.Connection);
  10414. this._пациентыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  10415. this._пациентыTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  10416. if (this._пациентыTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  10417. this._пациентыTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  10418. adaptersWithAcceptChangesDuringUpdate.Add(this._пациентыTableAdapter.Adapter);
  10419. }
  10420. }
  10421. if ((this._приёмыTableAdapter != null)) {
  10422. revertConnections.Add(this._приёмыTableAdapter, this._приёмыTableAdapter.Connection);
  10423. this._приёмыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  10424. this._приёмыTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  10425. if (this._приёмыTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  10426. this._приёмыTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  10427. adaptersWithAcceptChangesDuringUpdate.Add(this._приёмыTableAdapter.Adapter);
  10428. }
  10429. }
  10430. //
  10431. //---- Perform updates -----------
  10432. //
  10433. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  10434. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  10435. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  10436. }
  10437. else {
  10438. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  10439. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  10440. }
  10441. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  10442. //
  10443. //---- Commit updates -----------
  10444. //
  10445. workTransaction.Commit();
  10446. if ((0 < allAddedRows.Count)) {
  10447. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  10448. allAddedRows.CopyTo(rows);
  10449. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  10450. global::System.Data.DataRow row = rows[i];
  10451. row.AcceptChanges();
  10452. }
  10453. }
  10454. if ((0 < allChangedRows.Count)) {
  10455. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  10456. allChangedRows.CopyTo(rows);
  10457. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  10458. global::System.Data.DataRow row = rows[i];
  10459. row.AcceptChanges();
  10460. }
  10461. }
  10462. }
  10463. catch (global::System.Exception ex) {
  10464. workTransaction.Rollback();
  10465. // ---- Restore the dataset -----------
  10466. if (this.BackupDataSetBeforeUpdate) {
  10467. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  10468. dataSet.Clear();
  10469. dataSet.Merge(backupDataSet);
  10470. }
  10471. else {
  10472. if ((0 < allAddedRows.Count)) {
  10473. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  10474. allAddedRows.CopyTo(rows);
  10475. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  10476. global::System.Data.DataRow row = rows[i];
  10477. row.AcceptChanges();
  10478. row.SetAdded();
  10479. }
  10480. }
  10481. }
  10482. throw ex;
  10483. }
  10484. finally {
  10485. if (workConnOpened) {
  10486. workConnection.Close();
  10487. }
  10488. if ((this._врачиTableAdapter != null)) {
  10489. this._врачиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._врачиTableAdapter]));
  10490. this._врачиTableAdapter.Transaction = null;
  10491. }
  10492. if ((this._диагнозыTableAdapter != null)) {
  10493. this._диагнозыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._диагнозыTableAdapter]));
  10494. this._диагнозыTableAdapter.Transaction = null;
  10495. }
  10496. if ((this._пациентыTableAdapter != null)) {
  10497. this._пациентыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._пациентыTableAdapter]));
  10498. this._пациентыTableAdapter.Transaction = null;
  10499. }
  10500. if ((this._приёмыTableAdapter != null)) {
  10501. this._приёмыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._приёмыTableAdapter]));
  10502. this._приёмыTableAdapter.Transaction = null;
  10503. }
  10504. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  10505. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  10506. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  10507. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  10508. global::System.Data.Common.DataAdapter adapter = adapters[i];
  10509. adapter.AcceptChangesDuringUpdate = true;
  10510. }
  10511. }
  10512. }
  10513. return result;
  10514. }
  10515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10516. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10517. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  10518. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  10519. }
  10520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10521. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10522. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  10523. if ((this._connection != null)) {
  10524. return true;
  10525. }
  10526. if (((this.Connection == null)
  10527. || (inputConnection == null))) {
  10528. return true;
  10529. }
  10530. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  10531. return true;
  10532. }
  10533. return false;
  10534. }
  10535. /// <summary>
  10536. ///Update Order Option
  10537. ///</summary>
  10538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10539. public enum UpdateOrderOption {
  10540. InsertUpdateDelete = 0,
  10541. UpdateInsertDelete = 1,
  10542. }
  10543. /// <summary>
  10544. ///Used to sort self-referenced table's rows
  10545. ///</summary>
  10546. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10547. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  10548. private global::System.Data.DataRelation _relation;
  10549. private int _childFirst;
  10550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10552. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  10553. this._relation = relation;
  10554. if (childFirst) {
  10555. this._childFirst = -1;
  10556. }
  10557. else {
  10558. this._childFirst = 1;
  10559. }
  10560. }
  10561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10562. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10563. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  10564. global::System.Diagnostics.Debug.Assert((row != null));
  10565. global::System.Data.DataRow root = row;
  10566. distance = 0;
  10567. global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows = new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
  10568. traversedRows[row] = row;
  10569. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  10570. for (
  10571. ; ((parent != null)
  10572. && (traversedRows.ContainsKey(parent) == false));
  10573. ) {
  10574. distance = (distance + 1);
  10575. root = parent;
  10576. traversedRows[parent] = parent;
  10577. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  10578. }
  10579. if ((distance == 0)) {
  10580. traversedRows.Clear();
  10581. traversedRows[row] = row;
  10582. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  10583. for (
  10584. ; ((parent != null)
  10585. && (traversedRows.ContainsKey(parent) == false));
  10586. ) {
  10587. distance = (distance + 1);
  10588. root = parent;
  10589. traversedRows[parent] = parent;
  10590. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  10591. }
  10592. }
  10593. return root;
  10594. }
  10595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10596. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  10597. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  10598. if (object.ReferenceEquals(row1, row2)) {
  10599. return 0;
  10600. }
  10601. if ((row1 == null)) {
  10602. return -1;
  10603. }
  10604. if ((row2 == null)) {
  10605. return 1;
  10606. }
  10607. int distance1 = 0;
  10608. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  10609. int distance2 = 0;
  10610. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  10611. if (object.ReferenceEquals(root1, root2)) {
  10612. return (this._childFirst * distance1.CompareTo(distance2));
  10613. }
  10614. else {
  10615. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  10616. && (root2.Table != null)));
  10617. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  10618. return -1;
  10619. }
  10620. else {
  10621. return 1;
  10622. }
  10623. }
  10624. }
  10625. }
  10626. }
  10627. }
  10628. #pragma warning restore 1591