badretdinov_cpecodezhdaDataSet1.Designer.cs 649 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace Badretdinov_specodezhda {
  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("badretdinov_cpecodezhdaDataSet1")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class badretdinov_cpecodezhdaDataSet1 : 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.DataRelation relationFK_Получение_О_спецодежде;
  37. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  38. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  39. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  40. public badretdinov_cpecodezhdaDataSet1() {
  41. this.BeginInit();
  42. this.InitClass();
  43. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  44. base.Tables.CollectionChanged += schemaChangedHandler;
  45. base.Relations.CollectionChanged += schemaChangedHandler;
  46. this.EndInit();
  47. }
  48. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  49. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  50. protected badretdinov_cpecodezhdaDataSet1(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  51. base(info, context, false) {
  52. if ((this.IsBinarySerialized(info, context) == true)) {
  53. this.InitVars(false);
  54. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  55. this.Tables.CollectionChanged += schemaChangedHandler1;
  56. this.Relations.CollectionChanged += schemaChangedHandler1;
  57. return;
  58. }
  59. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  60. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  61. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  62. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  63. if ((ds.Tables["О_спецодежде"] != null)) {
  64. base.Tables.Add(new О_спецодеждеDataTable(ds.Tables["О_спецодежде"]));
  65. }
  66. if ((ds.Tables["Получение"] != null)) {
  67. base.Tables.Add(new ПолучениеDataTable(ds.Tables["Получение"]));
  68. }
  69. if ((ds.Tables["Работники"] != null)) {
  70. base.Tables.Add(new РаботникиDataTable(ds.Tables["Работники"]));
  71. }
  72. if ((ds.Tables["Цехи"] != null)) {
  73. base.Tables.Add(new ЦехиDataTable(ds.Tables["Цехи"]));
  74. }
  75. if ((ds.Tables["Запрос о получении спецодежды"] != null)) {
  76. base.Tables.Add(new Запрос_о_получении_спецодеждыDataTable(ds.Tables["Запрос о получении спецодежды"]));
  77. }
  78. if ((ds.Tables["Информация о спецодежде"] != null)) {
  79. base.Tables.Add(new Информация_о_спецодеждеDataTable(ds.Tables["Информация о спецодежде"]));
  80. }
  81. if ((ds.Tables["Фильтр по дате"] != null)) {
  82. base.Tables.Add(new Фильтр_по_датеDataTable(ds.Tables["Фильтр по дате"]));
  83. }
  84. if ((ds.Tables["Фильтр по убыванию кода"] != null)) {
  85. base.Tables.Add(new Фильтр_по_убыванию_кодаDataTable(ds.Tables["Фильтр по убыванию кода"]));
  86. }
  87. if ((ds.Tables["Фильтр стоимость"] != null)) {
  88. base.Tables.Add(new Фильтр_стоимостьDataTable(ds.Tables["Фильтр стоимость"]));
  89. }
  90. if ((ds.Tables["Фильтр_Бадретдинов"] != null)) {
  91. base.Tables.Add(new Фильтр_БадретдиновDataTable(ds.Tables["Фильтр_Бадретдинов"]));
  92. }
  93. if ((ds.Tables["Фильтр_семаков"] != null)) {
  94. base.Tables.Add(new Фильтр_семаковDataTable(ds.Tables["Фильтр_семаков"]));
  95. }
  96. if ((ds.Tables["фильтр-зимняя"] != null)) {
  97. base.Tables.Add(new _фильтр_зимняяDataTable(ds.Tables["фильтр-зимняя"]));
  98. }
  99. if ((ds.Tables["Фильтр-Летняя"] != null)) {
  100. base.Tables.Add(new _Фильтр_ЛетняяDataTable(ds.Tables["Фильтр-Летняя"]));
  101. }
  102. if ((ds.Tables["Фильтр-охранная"] != null)) {
  103. base.Tables.Add(new _Фильтр_охраннаяDataTable(ds.Tables["Фильтр-охранная"]));
  104. }
  105. this.DataSetName = ds.DataSetName;
  106. this.Prefix = ds.Prefix;
  107. this.Namespace = ds.Namespace;
  108. this.Locale = ds.Locale;
  109. this.CaseSensitive = ds.CaseSensitive;
  110. this.EnforceConstraints = ds.EnforceConstraints;
  111. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  112. this.InitVars();
  113. }
  114. else {
  115. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  116. }
  117. this.GetSerializationData(info, context);
  118. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  119. base.Tables.CollectionChanged += schemaChangedHandler;
  120. this.Relations.CollectionChanged += schemaChangedHandler;
  121. }
  122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  123. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  124. [global::System.ComponentModel.Browsable(false)]
  125. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  126. public О_спецодеждеDataTable О_спецодежде {
  127. get {
  128. return this.tableО_спецодежде;
  129. }
  130. }
  131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  133. [global::System.ComponentModel.Browsable(false)]
  134. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  135. public ПолучениеDataTable Получение {
  136. get {
  137. return this.tableПолучение;
  138. }
  139. }
  140. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  141. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  142. [global::System.ComponentModel.Browsable(false)]
  143. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  144. public РаботникиDataTable Работники {
  145. get {
  146. return this.tableРаботники;
  147. }
  148. }
  149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  150. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  151. [global::System.ComponentModel.Browsable(false)]
  152. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  153. public ЦехиDataTable Цехи {
  154. get {
  155. return this.tableЦехи;
  156. }
  157. }
  158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  159. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  160. [global::System.ComponentModel.Browsable(false)]
  161. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  162. public Запрос_о_получении_спецодеждыDataTable Запрос_о_получении_спецодежды {
  163. get {
  164. return this.tableЗапрос_о_получении_спецодежды;
  165. }
  166. }
  167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  169. [global::System.ComponentModel.Browsable(false)]
  170. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  171. public Информация_о_спецодеждеDataTable Информация_о_спецодежде {
  172. get {
  173. return this.tableИнформация_о_спецодежде;
  174. }
  175. }
  176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  177. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  178. [global::System.ComponentModel.Browsable(false)]
  179. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  180. public Фильтр_по_датеDataTable Фильтр_по_дате {
  181. get {
  182. return this.tableФильтр_по_дате;
  183. }
  184. }
  185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  187. [global::System.ComponentModel.Browsable(false)]
  188. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  189. public Фильтр_по_убыванию_кодаDataTable Фильтр_по_убыванию_кода {
  190. get {
  191. return this.tableФильтр_по_убыванию_кода;
  192. }
  193. }
  194. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  195. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  196. [global::System.ComponentModel.Browsable(false)]
  197. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  198. public Фильтр_стоимостьDataTable Фильтр_стоимость {
  199. get {
  200. return this.tableФильтр_стоимость;
  201. }
  202. }
  203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  204. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  205. [global::System.ComponentModel.Browsable(false)]
  206. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  207. public Фильтр_БадретдиновDataTable Фильтр_Бадретдинов {
  208. get {
  209. return this.tableФильтр_Бадретдинов;
  210. }
  211. }
  212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  213. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  214. [global::System.ComponentModel.Browsable(false)]
  215. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  216. public Фильтр_семаковDataTable Фильтр_семаков {
  217. get {
  218. return this.tableФильтр_семаков;
  219. }
  220. }
  221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  223. [global::System.ComponentModel.Browsable(false)]
  224. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  225. public _фильтр_зимняяDataTable _фильтр_зимняя {
  226. get {
  227. return this._tableфильтр_зимняя;
  228. }
  229. }
  230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  231. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  232. [global::System.ComponentModel.Browsable(false)]
  233. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  234. public _Фильтр_ЛетняяDataTable _Фильтр_Летняя {
  235. get {
  236. return this._tableФильтр_Летняя;
  237. }
  238. }
  239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  240. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  241. [global::System.ComponentModel.Browsable(false)]
  242. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  243. public _Фильтр_охраннаяDataTable _Фильтр_охранная {
  244. get {
  245. return this._tableФильтр_охранная;
  246. }
  247. }
  248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  250. [global::System.ComponentModel.BrowsableAttribute(true)]
  251. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  252. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  253. get {
  254. return this._schemaSerializationMode;
  255. }
  256. set {
  257. this._schemaSerializationMode = value;
  258. }
  259. }
  260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  261. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  262. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  263. public new global::System.Data.DataTableCollection Tables {
  264. get {
  265. return base.Tables;
  266. }
  267. }
  268. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  269. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  270. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  271. public new global::System.Data.DataRelationCollection Relations {
  272. get {
  273. return base.Relations;
  274. }
  275. }
  276. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  277. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  278. protected override void InitializeDerivedDataSet() {
  279. this.BeginInit();
  280. this.InitClass();
  281. this.EndInit();
  282. }
  283. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  284. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  285. public override global::System.Data.DataSet Clone() {
  286. badretdinov_cpecodezhdaDataSet1 cln = ((badretdinov_cpecodezhdaDataSet1)(base.Clone()));
  287. cln.InitVars();
  288. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  289. return cln;
  290. }
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  292. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  293. protected override bool ShouldSerializeTables() {
  294. return false;
  295. }
  296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  297. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  298. protected override bool ShouldSerializeRelations() {
  299. return false;
  300. }
  301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  303. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  304. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  305. this.Reset();
  306. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  307. ds.ReadXml(reader);
  308. if ((ds.Tables["О_спецодежде"] != null)) {
  309. base.Tables.Add(new О_спецодеждеDataTable(ds.Tables["О_спецодежде"]));
  310. }
  311. if ((ds.Tables["Получение"] != null)) {
  312. base.Tables.Add(new ПолучениеDataTable(ds.Tables["Получение"]));
  313. }
  314. if ((ds.Tables["Работники"] != null)) {
  315. base.Tables.Add(new РаботникиDataTable(ds.Tables["Работники"]));
  316. }
  317. if ((ds.Tables["Цехи"] != null)) {
  318. base.Tables.Add(new ЦехиDataTable(ds.Tables["Цехи"]));
  319. }
  320. if ((ds.Tables["Запрос о получении спецодежды"] != null)) {
  321. base.Tables.Add(new Запрос_о_получении_спецодеждыDataTable(ds.Tables["Запрос о получении спецодежды"]));
  322. }
  323. if ((ds.Tables["Информация о спецодежде"] != null)) {
  324. base.Tables.Add(new Информация_о_спецодеждеDataTable(ds.Tables["Информация о спецодежде"]));
  325. }
  326. if ((ds.Tables["Фильтр по дате"] != null)) {
  327. base.Tables.Add(new Фильтр_по_датеDataTable(ds.Tables["Фильтр по дате"]));
  328. }
  329. if ((ds.Tables["Фильтр по убыванию кода"] != null)) {
  330. base.Tables.Add(new Фильтр_по_убыванию_кодаDataTable(ds.Tables["Фильтр по убыванию кода"]));
  331. }
  332. if ((ds.Tables["Фильтр стоимость"] != null)) {
  333. base.Tables.Add(new Фильтр_стоимостьDataTable(ds.Tables["Фильтр стоимость"]));
  334. }
  335. if ((ds.Tables["Фильтр_Бадретдинов"] != null)) {
  336. base.Tables.Add(new Фильтр_БадретдиновDataTable(ds.Tables["Фильтр_Бадретдинов"]));
  337. }
  338. if ((ds.Tables["Фильтр_семаков"] != null)) {
  339. base.Tables.Add(new Фильтр_семаковDataTable(ds.Tables["Фильтр_семаков"]));
  340. }
  341. if ((ds.Tables["фильтр-зимняя"] != null)) {
  342. base.Tables.Add(new _фильтр_зимняяDataTable(ds.Tables["фильтр-зимняя"]));
  343. }
  344. if ((ds.Tables["Фильтр-Летняя"] != null)) {
  345. base.Tables.Add(new _Фильтр_ЛетняяDataTable(ds.Tables["Фильтр-Летняя"]));
  346. }
  347. if ((ds.Tables["Фильтр-охранная"] != null)) {
  348. base.Tables.Add(new _Фильтр_охраннаяDataTable(ds.Tables["Фильтр-охранная"]));
  349. }
  350. this.DataSetName = ds.DataSetName;
  351. this.Prefix = ds.Prefix;
  352. this.Namespace = ds.Namespace;
  353. this.Locale = ds.Locale;
  354. this.CaseSensitive = ds.CaseSensitive;
  355. this.EnforceConstraints = ds.EnforceConstraints;
  356. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  357. this.InitVars();
  358. }
  359. else {
  360. this.ReadXml(reader);
  361. this.InitVars();
  362. }
  363. }
  364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  366. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  367. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  368. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  369. stream.Position = 0;
  370. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  371. }
  372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  374. internal void InitVars() {
  375. this.InitVars(true);
  376. }
  377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  379. internal void InitVars(bool initTable) {
  380. this.tableО_спецодежде = ((О_спецодеждеDataTable)(base.Tables["О_спецодежде"]));
  381. if ((initTable == true)) {
  382. if ((this.tableО_спецодежде != null)) {
  383. this.tableО_спецодежде.InitVars();
  384. }
  385. }
  386. this.tableПолучение = ((ПолучениеDataTable)(base.Tables["Получение"]));
  387. if ((initTable == true)) {
  388. if ((this.tableПолучение != null)) {
  389. this.tableПолучение.InitVars();
  390. }
  391. }
  392. this.tableРаботники = ((РаботникиDataTable)(base.Tables["Работники"]));
  393. if ((initTable == true)) {
  394. if ((this.tableРаботники != null)) {
  395. this.tableРаботники.InitVars();
  396. }
  397. }
  398. this.tableЦехи = ((ЦехиDataTable)(base.Tables["Цехи"]));
  399. if ((initTable == true)) {
  400. if ((this.tableЦехи != null)) {
  401. this.tableЦехи.InitVars();
  402. }
  403. }
  404. this.tableЗапрос_о_получении_спецодежды = ((Запрос_о_получении_спецодеждыDataTable)(base.Tables["Запрос о получении спецодежды"]));
  405. if ((initTable == true)) {
  406. if ((this.tableЗапрос_о_получении_спецодежды != null)) {
  407. this.tableЗапрос_о_получении_спецодежды.InitVars();
  408. }
  409. }
  410. this.tableИнформация_о_спецодежде = ((Информация_о_спецодеждеDataTable)(base.Tables["Информация о спецодежде"]));
  411. if ((initTable == true)) {
  412. if ((this.tableИнформация_о_спецодежде != null)) {
  413. this.tableИнформация_о_спецодежде.InitVars();
  414. }
  415. }
  416. this.tableФильтр_по_дате = ((Фильтр_по_датеDataTable)(base.Tables["Фильтр по дате"]));
  417. if ((initTable == true)) {
  418. if ((this.tableФильтр_по_дате != null)) {
  419. this.tableФильтр_по_дате.InitVars();
  420. }
  421. }
  422. this.tableФильтр_по_убыванию_кода = ((Фильтр_по_убыванию_кодаDataTable)(base.Tables["Фильтр по убыванию кода"]));
  423. if ((initTable == true)) {
  424. if ((this.tableФильтр_по_убыванию_кода != null)) {
  425. this.tableФильтр_по_убыванию_кода.InitVars();
  426. }
  427. }
  428. this.tableФильтр_стоимость = ((Фильтр_стоимостьDataTable)(base.Tables["Фильтр стоимость"]));
  429. if ((initTable == true)) {
  430. if ((this.tableФильтр_стоимость != null)) {
  431. this.tableФильтр_стоимость.InitVars();
  432. }
  433. }
  434. this.tableФильтр_Бадретдинов = ((Фильтр_БадретдиновDataTable)(base.Tables["Фильтр_Бадретдинов"]));
  435. if ((initTable == true)) {
  436. if ((this.tableФильтр_Бадретдинов != null)) {
  437. this.tableФильтр_Бадретдинов.InitVars();
  438. }
  439. }
  440. this.tableФильтр_семаков = ((Фильтр_семаковDataTable)(base.Tables["Фильтр_семаков"]));
  441. if ((initTable == true)) {
  442. if ((this.tableФильтр_семаков != null)) {
  443. this.tableФильтр_семаков.InitVars();
  444. }
  445. }
  446. this._tableфильтр_зимняя = ((_фильтр_зимняяDataTable)(base.Tables["фильтр-зимняя"]));
  447. if ((initTable == true)) {
  448. if ((this._tableфильтр_зимняя != null)) {
  449. this._tableфильтр_зимняя.InitVars();
  450. }
  451. }
  452. this._tableФильтр_Летняя = ((_Фильтр_ЛетняяDataTable)(base.Tables["Фильтр-Летняя"]));
  453. if ((initTable == true)) {
  454. if ((this._tableФильтр_Летняя != null)) {
  455. this._tableФильтр_Летняя.InitVars();
  456. }
  457. }
  458. this._tableФильтр_охранная = ((_Фильтр_охраннаяDataTable)(base.Tables["Фильтр-охранная"]));
  459. if ((initTable == true)) {
  460. if ((this._tableФильтр_охранная != null)) {
  461. this._tableФильтр_охранная.InitVars();
  462. }
  463. }
  464. this.relationFK_Получение_О_спецодежде = this.Relations["FK_Получение_О_спецодежде"];
  465. }
  466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  468. private void InitClass() {
  469. this.DataSetName = "badretdinov_cpecodezhdaDataSet1";
  470. this.Prefix = "";
  471. this.Namespace = "http://tempuri.org/badretdinov_cpecodezhdaDataSet1.xsd";
  472. this.EnforceConstraints = true;
  473. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  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. this._tableФильтр_охранная = new _Фильтр_охраннаяDataTable();
  501. base.Tables.Add(this._tableФильтр_охранная);
  502. this.relationFK_Получение_О_спецодежде = new global::System.Data.DataRelation("FK_Получение_О_спецодежде", new global::System.Data.DataColumn[] {
  503. this.tableО_спецодежде.Код_спецодеждыColumn}, new global::System.Data.DataColumn[] {
  504. this.tableПолучение.код_спецодеждыColumn}, false);
  505. this.Relations.Add(this.relationFK_Получение_О_спецодежде);
  506. }
  507. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  508. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  509. private bool ShouldSerializeО_спецодежде() {
  510. return false;
  511. }
  512. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  513. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  514. private bool ShouldSerializeПолучение() {
  515. return false;
  516. }
  517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  518. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  519. private bool ShouldSerializeРаботники() {
  520. return false;
  521. }
  522. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  523. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  524. private bool ShouldSerializeЦехи() {
  525. return false;
  526. }
  527. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  528. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  529. private bool ShouldSerializeЗапрос_о_получении_спецодежды() {
  530. return false;
  531. }
  532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  534. private bool ShouldSerializeИнформация_о_спецодежде() {
  535. return false;
  536. }
  537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  539. private bool ShouldSerializeФильтр_по_дате() {
  540. return false;
  541. }
  542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  544. private bool ShouldSerializeФильтр_по_убыванию_кода() {
  545. return false;
  546. }
  547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  548. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  549. private bool ShouldSerializeФильтр_стоимость() {
  550. return false;
  551. }
  552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  554. private bool ShouldSerializeФильтр_Бадретдинов() {
  555. return false;
  556. }
  557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  559. private bool ShouldSerializeФильтр_семаков() {
  560. return false;
  561. }
  562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  563. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  564. private bool ShouldSerialize_фильтр_зимняя() {
  565. return false;
  566. }
  567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  568. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  569. private bool ShouldSerialize_Фильтр_Летняя() {
  570. return false;
  571. }
  572. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  573. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  574. private bool ShouldSerialize_Фильтр_охранная() {
  575. return false;
  576. }
  577. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  578. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  579. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  580. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  581. this.InitVars();
  582. }
  583. }
  584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  585. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  586. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  587. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  588. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  589. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  590. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  591. any.Namespace = ds.Namespace;
  592. sequence.Items.Add(any);
  593. type.Particle = sequence;
  594. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  595. if (xs.Contains(dsSchema.TargetNamespace)) {
  596. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  597. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  598. try {
  599. global::System.Xml.Schema.XmlSchema schema = null;
  600. dsSchema.Write(s1);
  601. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  602. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  603. s2.SetLength(0);
  604. schema.Write(s2);
  605. if ((s1.Length == s2.Length)) {
  606. s1.Position = 0;
  607. s2.Position = 0;
  608. for (; ((s1.Position != s1.Length)
  609. && (s1.ReadByte() == s2.ReadByte())); ) {
  610. ;
  611. }
  612. if ((s1.Position == s1.Length)) {
  613. return type;
  614. }
  615. }
  616. }
  617. }
  618. finally {
  619. if ((s1 != null)) {
  620. s1.Close();
  621. }
  622. if ((s2 != null)) {
  623. s2.Close();
  624. }
  625. }
  626. }
  627. xs.Add(dsSchema);
  628. return type;
  629. }
  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. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  653. public delegate void _фильтр_зимняяRowChangeEventHandler(object sender, _фильтр_зимняяRowChangeEvent e);
  654. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  655. public delegate void _Фильтр_ЛетняяRowChangeEventHandler(object sender, _Фильтр_ЛетняяRowChangeEvent e);
  656. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  657. public delegate void _Фильтр_охраннаяRowChangeEventHandler(object sender, _Фильтр_охраннаяRowChangeEvent e);
  658. /// <summary>
  659. ///Represents the strongly named DataTable class.
  660. ///</summary>
  661. [global::System.Serializable()]
  662. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  663. public partial class О_спецодеждеDataTable : global::System.Data.TypedTableBase<О_спецодеждеRow> {
  664. private global::System.Data.DataColumn columnКод_спецодежды;
  665. private global::System.Data.DataColumn columnВид_спецодежды;
  666. private global::System.Data.DataColumn columnСрок_носки;
  667. private global::System.Data.DataColumn _columnСтоимость_единицы_руб_;
  668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  669. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  670. public О_спецодеждеDataTable() {
  671. this.TableName = "О_спецодежде";
  672. this.BeginInit();
  673. this.InitClass();
  674. this.EndInit();
  675. }
  676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  677. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  678. internal О_спецодеждеDataTable(global::System.Data.DataTable table) {
  679. this.TableName = table.TableName;
  680. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  681. this.CaseSensitive = table.CaseSensitive;
  682. }
  683. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  684. this.Locale = table.Locale;
  685. }
  686. if ((table.Namespace != table.DataSet.Namespace)) {
  687. this.Namespace = table.Namespace;
  688. }
  689. this.Prefix = table.Prefix;
  690. this.MinimumCapacity = table.MinimumCapacity;
  691. }
  692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  694. protected О_спецодеждеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  695. base(info, context) {
  696. this.InitVars();
  697. }
  698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  699. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  700. public global::System.Data.DataColumn Код_спецодеждыColumn {
  701. get {
  702. return this.columnКод_спецодежды;
  703. }
  704. }
  705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  707. public global::System.Data.DataColumn Вид_спецодеждыColumn {
  708. get {
  709. return this.columnВид_спецодежды;
  710. }
  711. }
  712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  714. public global::System.Data.DataColumn Срок_носкиColumn {
  715. get {
  716. return this.columnСрок_носки;
  717. }
  718. }
  719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  720. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  721. public global::System.Data.DataColumn _Стоимость_единицы_руб_Column {
  722. get {
  723. return this._columnСтоимость_единицы_руб_;
  724. }
  725. }
  726. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  727. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  728. [global::System.ComponentModel.Browsable(false)]
  729. public int Count {
  730. get {
  731. return this.Rows.Count;
  732. }
  733. }
  734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  736. public О_спецодеждеRow this[int index] {
  737. get {
  738. return ((О_спецодеждеRow)(this.Rows[index]));
  739. }
  740. }
  741. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  742. public event О_спецодеждеRowChangeEventHandler О_спецодеждеRowChanging;
  743. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  744. public event О_спецодеждеRowChangeEventHandler О_спецодеждеRowChanged;
  745. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  746. public event О_спецодеждеRowChangeEventHandler О_спецодеждеRowDeleting;
  747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  748. public event О_спецодеждеRowChangeEventHandler О_спецодеждеRowDeleted;
  749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  750. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  751. public void AddО_спецодеждеRow(О_спецодеждеRow row) {
  752. this.Rows.Add(row);
  753. }
  754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  755. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  756. public О_спецодеждеRow AddО_спецодеждеRow(string Вид_спецодежды, string Срок_носки, decimal _Стоимость_единицы_руб_) {
  757. О_спецодеждеRow rowО_спецодеждеRow = ((О_спецодеждеRow)(this.NewRow()));
  758. object[] columnValuesArray = new object[] {
  759. null,
  760. Вид_спецодежды,
  761. Срок_носки,
  762. _Стоимость_единицы_руб_};
  763. rowО_спецодеждеRow.ItemArray = columnValuesArray;
  764. this.Rows.Add(rowО_спецодеждеRow);
  765. return rowО_спецодеждеRow;
  766. }
  767. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  768. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  769. public О_спецодеждеRow FindByКод_спецодежды(int Код_спецодежды) {
  770. return ((О_спецодеждеRow)(this.Rows.Find(new object[] {
  771. Код_спецодежды})));
  772. }
  773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  774. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  775. public override global::System.Data.DataTable Clone() {
  776. О_спецодеждеDataTable cln = ((О_спецодеждеDataTable)(base.Clone()));
  777. cln.InitVars();
  778. return cln;
  779. }
  780. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  781. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  782. protected override global::System.Data.DataTable CreateInstance() {
  783. return new О_спецодеждеDataTable();
  784. }
  785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  786. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  787. internal void InitVars() {
  788. this.columnКод_спецодежды = base.Columns["Код_спецодежды"];
  789. this.columnВид_спецодежды = base.Columns["Вид_спецодежды"];
  790. this.columnСрок_носки = base.Columns["Срок_носки"];
  791. this._columnСтоимость_единицы_руб_ = base.Columns["Стоимость_единицы(руб)"];
  792. }
  793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  794. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  795. private void InitClass() {
  796. this.columnКод_спецодежды = new global::System.Data.DataColumn("Код_спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  797. base.Columns.Add(this.columnКод_спецодежды);
  798. this.columnВид_спецодежды = new global::System.Data.DataColumn("Вид_спецодежды", typeof(string), null, global::System.Data.MappingType.Element);
  799. base.Columns.Add(this.columnВид_спецодежды);
  800. this.columnСрок_носки = new global::System.Data.DataColumn("Срок_носки", typeof(string), null, global::System.Data.MappingType.Element);
  801. base.Columns.Add(this.columnСрок_носки);
  802. this._columnСтоимость_единицы_руб_ = new global::System.Data.DataColumn("Стоимость_единицы(руб)", typeof(decimal), null, global::System.Data.MappingType.Element);
  803. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_единицы_руб_");
  804. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость_единицы(руб)");
  805. base.Columns.Add(this._columnСтоимость_единицы_руб_);
  806. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  807. this.columnКод_спецодежды}, true));
  808. this.columnКод_спецодежды.AutoIncrement = true;
  809. this.columnКод_спецодежды.AutoIncrementSeed = -1;
  810. this.columnКод_спецодежды.AutoIncrementStep = -1;
  811. this.columnКод_спецодежды.AllowDBNull = false;
  812. this.columnКод_спецодежды.ReadOnly = true;
  813. this.columnКод_спецодежды.Unique = true;
  814. this.columnВид_спецодежды.MaxLength = 50;
  815. this.columnСрок_носки.MaxLength = 50;
  816. }
  817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  819. public О_спецодеждеRow NewО_спецодеждеRow() {
  820. return ((О_спецодеждеRow)(this.NewRow()));
  821. }
  822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  823. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  824. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  825. return new О_спецодеждеRow(builder);
  826. }
  827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  829. protected override global::System.Type GetRowType() {
  830. return typeof(О_спецодеждеRow);
  831. }
  832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  834. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  835. base.OnRowChanged(e);
  836. if ((this.О_спецодеждеRowChanged != null)) {
  837. this.О_спецодеждеRowChanged(this, new О_спецодеждеRowChangeEvent(((О_спецодеждеRow)(e.Row)), e.Action));
  838. }
  839. }
  840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  842. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  843. base.OnRowChanging(e);
  844. if ((this.О_спецодеждеRowChanging != null)) {
  845. this.О_спецодеждеRowChanging(this, new О_спецодеждеRowChangeEvent(((О_спецодеждеRow)(e.Row)), e.Action));
  846. }
  847. }
  848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  850. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  851. base.OnRowDeleted(e);
  852. if ((this.О_спецодеждеRowDeleted != null)) {
  853. this.О_спецодеждеRowDeleted(this, new О_спецодеждеRowChangeEvent(((О_спецодеждеRow)(e.Row)), e.Action));
  854. }
  855. }
  856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  858. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  859. base.OnRowDeleting(e);
  860. if ((this.О_спецодеждеRowDeleting != null)) {
  861. this.О_спецодеждеRowDeleting(this, new О_спецодеждеRowChangeEvent(((О_спецодеждеRow)(e.Row)), e.Action));
  862. }
  863. }
  864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  866. public void RemoveО_спецодеждеRow(О_спецодеждеRow row) {
  867. this.Rows.Remove(row);
  868. }
  869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  870. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  871. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  872. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  873. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  874. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  875. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  876. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  877. any1.MinOccurs = new decimal(0);
  878. any1.MaxOccurs = decimal.MaxValue;
  879. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  880. sequence.Items.Add(any1);
  881. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  882. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  883. any2.MinOccurs = new decimal(1);
  884. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  885. sequence.Items.Add(any2);
  886. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  887. attribute1.Name = "namespace";
  888. attribute1.FixedValue = ds.Namespace;
  889. type.Attributes.Add(attribute1);
  890. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  891. attribute2.Name = "tableTypeName";
  892. attribute2.FixedValue = "О_спецодеждеDataTable";
  893. type.Attributes.Add(attribute2);
  894. type.Particle = sequence;
  895. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  896. if (xs.Contains(dsSchema.TargetNamespace)) {
  897. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  898. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  899. try {
  900. global::System.Xml.Schema.XmlSchema schema = null;
  901. dsSchema.Write(s1);
  902. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  903. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  904. s2.SetLength(0);
  905. schema.Write(s2);
  906. if ((s1.Length == s2.Length)) {
  907. s1.Position = 0;
  908. s2.Position = 0;
  909. for (; ((s1.Position != s1.Length)
  910. && (s1.ReadByte() == s2.ReadByte())); ) {
  911. ;
  912. }
  913. if ((s1.Position == s1.Length)) {
  914. return type;
  915. }
  916. }
  917. }
  918. }
  919. finally {
  920. if ((s1 != null)) {
  921. s1.Close();
  922. }
  923. if ((s2 != null)) {
  924. s2.Close();
  925. }
  926. }
  927. }
  928. xs.Add(dsSchema);
  929. return type;
  930. }
  931. }
  932. /// <summary>
  933. ///Represents the strongly named DataTable class.
  934. ///</summary>
  935. [global::System.Serializable()]
  936. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  937. public partial class ПолучениеDataTable : global::System.Data.TypedTableBase<ПолучениеRow> {
  938. private global::System.Data.DataColumn columnКод_работника;
  939. private global::System.Data.DataColumn columnкод_спецодежды;
  940. private global::System.Data.DataColumn columnДата_получания;
  941. private global::System.Data.DataColumn columnРоспись;
  942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  943. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  944. public ПолучениеDataTable() {
  945. this.TableName = "Получение";
  946. this.BeginInit();
  947. this.InitClass();
  948. this.EndInit();
  949. }
  950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  951. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  952. internal ПолучениеDataTable(global::System.Data.DataTable table) {
  953. this.TableName = table.TableName;
  954. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  955. this.CaseSensitive = table.CaseSensitive;
  956. }
  957. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  958. this.Locale = table.Locale;
  959. }
  960. if ((table.Namespace != table.DataSet.Namespace)) {
  961. this.Namespace = table.Namespace;
  962. }
  963. this.Prefix = table.Prefix;
  964. this.MinimumCapacity = table.MinimumCapacity;
  965. }
  966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  967. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  968. protected ПолучениеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  969. base(info, context) {
  970. this.InitVars();
  971. }
  972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  974. public global::System.Data.DataColumn Код_работникаColumn {
  975. get {
  976. return this.columnКод_работника;
  977. }
  978. }
  979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  980. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  981. public global::System.Data.DataColumn код_спецодеждыColumn {
  982. get {
  983. return this.columnкод_спецодежды;
  984. }
  985. }
  986. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  987. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  988. public global::System.Data.DataColumn Дата_получанияColumn {
  989. get {
  990. return this.columnДата_получания;
  991. }
  992. }
  993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  994. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  995. public global::System.Data.DataColumn РосписьColumn {
  996. get {
  997. return this.columnРоспись;
  998. }
  999. }
  1000. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1001. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1002. [global::System.ComponentModel.Browsable(false)]
  1003. public int Count {
  1004. get {
  1005. return this.Rows.Count;
  1006. }
  1007. }
  1008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1009. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1010. public ПолучениеRow this[int index] {
  1011. get {
  1012. return ((ПолучениеRow)(this.Rows[index]));
  1013. }
  1014. }
  1015. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1016. public event ПолучениеRowChangeEventHandler ПолучениеRowChanging;
  1017. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1018. public event ПолучениеRowChangeEventHandler ПолучениеRowChanged;
  1019. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1020. public event ПолучениеRowChangeEventHandler ПолучениеRowDeleting;
  1021. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1022. public event ПолучениеRowChangeEventHandler ПолучениеRowDeleted;
  1023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1024. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1025. public void AddПолучениеRow(ПолучениеRow row) {
  1026. this.Rows.Add(row);
  1027. }
  1028. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1029. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1030. public ПолучениеRow AddПолучениеRow(byte Код_работника, О_спецодеждеRow parentО_спецодеждеRowByFK_Получение_О_спецодежде, System.DateTime Дата_получания, string Роспись) {
  1031. ПолучениеRow rowПолучениеRow = ((ПолучениеRow)(this.NewRow()));
  1032. object[] columnValuesArray = new object[] {
  1033. Код_работника,
  1034. null,
  1035. Дата_получания,
  1036. Роспись};
  1037. if ((parentО_спецодеждеRowByFK_Получение_О_спецодежде != null)) {
  1038. columnValuesArray[1] = parentО_спецодеждеRowByFK_Получение_О_спецодежде[0];
  1039. }
  1040. rowПолучениеRow.ItemArray = columnValuesArray;
  1041. this.Rows.Add(rowПолучениеRow);
  1042. return rowПолучениеRow;
  1043. }
  1044. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1045. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1046. public override global::System.Data.DataTable Clone() {
  1047. ПолучениеDataTable cln = ((ПолучениеDataTable)(base.Clone()));
  1048. cln.InitVars();
  1049. return cln;
  1050. }
  1051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1052. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1053. protected override global::System.Data.DataTable CreateInstance() {
  1054. return new ПолучениеDataTable();
  1055. }
  1056. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1057. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1058. internal void InitVars() {
  1059. this.columnКод_работника = base.Columns["Код работника"];
  1060. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  1061. this.columnДата_получания = base.Columns["Дата получания"];
  1062. this.columnРоспись = base.Columns["Роспись"];
  1063. }
  1064. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1065. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1066. private void InitClass() {
  1067. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  1068. base.Columns.Add(this.columnКод_работника);
  1069. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  1070. base.Columns.Add(this.columnкод_спецодежды);
  1071. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1072. base.Columns.Add(this.columnДата_получания);
  1073. this.columnРоспись = new global::System.Data.DataColumn("Роспись", typeof(string), null, global::System.Data.MappingType.Element);
  1074. base.Columns.Add(this.columnРоспись);
  1075. this.columnКод_работника.ReadOnly = true;
  1076. this.columnкод_спецодежды.AllowDBNull = false;
  1077. this.columnРоспись.MaxLength = 50;
  1078. }
  1079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1080. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1081. public ПолучениеRow NewПолучениеRow() {
  1082. return ((ПолучениеRow)(this.NewRow()));
  1083. }
  1084. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1085. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1086. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1087. return new ПолучениеRow(builder);
  1088. }
  1089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1090. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1091. protected override global::System.Type GetRowType() {
  1092. return typeof(ПолучениеRow);
  1093. }
  1094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1095. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1096. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1097. base.OnRowChanged(e);
  1098. if ((this.ПолучениеRowChanged != null)) {
  1099. this.ПолучениеRowChanged(this, new ПолучениеRowChangeEvent(((ПолучениеRow)(e.Row)), e.Action));
  1100. }
  1101. }
  1102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1104. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1105. base.OnRowChanging(e);
  1106. if ((this.ПолучениеRowChanging != null)) {
  1107. this.ПолучениеRowChanging(this, new ПолучениеRowChangeEvent(((ПолучениеRow)(e.Row)), e.Action));
  1108. }
  1109. }
  1110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1111. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1112. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1113. base.OnRowDeleted(e);
  1114. if ((this.ПолучениеRowDeleted != null)) {
  1115. this.ПолучениеRowDeleted(this, new ПолучениеRowChangeEvent(((ПолучениеRow)(e.Row)), e.Action));
  1116. }
  1117. }
  1118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1120. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1121. base.OnRowDeleting(e);
  1122. if ((this.ПолучениеRowDeleting != null)) {
  1123. this.ПолучениеRowDeleting(this, new ПолучениеRowChangeEvent(((ПолучениеRow)(e.Row)), e.Action));
  1124. }
  1125. }
  1126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1127. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1128. public void RemoveПолучениеRow(ПолучениеRow row) {
  1129. this.Rows.Remove(row);
  1130. }
  1131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1133. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1134. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1135. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1136. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  1137. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1138. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1139. any1.MinOccurs = new decimal(0);
  1140. any1.MaxOccurs = decimal.MaxValue;
  1141. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1142. sequence.Items.Add(any1);
  1143. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1144. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1145. any2.MinOccurs = new decimal(1);
  1146. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1147. sequence.Items.Add(any2);
  1148. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1149. attribute1.Name = "namespace";
  1150. attribute1.FixedValue = ds.Namespace;
  1151. type.Attributes.Add(attribute1);
  1152. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1153. attribute2.Name = "tableTypeName";
  1154. attribute2.FixedValue = "ПолучениеDataTable";
  1155. type.Attributes.Add(attribute2);
  1156. type.Particle = sequence;
  1157. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1158. if (xs.Contains(dsSchema.TargetNamespace)) {
  1159. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1160. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1161. try {
  1162. global::System.Xml.Schema.XmlSchema schema = null;
  1163. dsSchema.Write(s1);
  1164. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1165. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1166. s2.SetLength(0);
  1167. schema.Write(s2);
  1168. if ((s1.Length == s2.Length)) {
  1169. s1.Position = 0;
  1170. s2.Position = 0;
  1171. for (; ((s1.Position != s1.Length)
  1172. && (s1.ReadByte() == s2.ReadByte())); ) {
  1173. ;
  1174. }
  1175. if ((s1.Position == s1.Length)) {
  1176. return type;
  1177. }
  1178. }
  1179. }
  1180. }
  1181. finally {
  1182. if ((s1 != null)) {
  1183. s1.Close();
  1184. }
  1185. if ((s2 != null)) {
  1186. s2.Close();
  1187. }
  1188. }
  1189. }
  1190. xs.Add(dsSchema);
  1191. return type;
  1192. }
  1193. }
  1194. /// <summary>
  1195. ///Represents the strongly named DataTable class.
  1196. ///</summary>
  1197. [global::System.Serializable()]
  1198. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1199. public partial class РаботникиDataTable : global::System.Data.TypedTableBase<РаботникиRow> {
  1200. private global::System.Data.DataColumn columnКод_работника;
  1201. private global::System.Data.DataColumn columnФИО_работника;
  1202. private global::System.Data.DataColumn columnДолжность;
  1203. private global::System.Data.DataColumn columnСкидка_на_спецодежду;
  1204. private global::System.Data.DataColumn columnкод_цеха;
  1205. private global::System.Data.DataColumn columnкод_спецодежды;
  1206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1207. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1208. public РаботникиDataTable() {
  1209. this.TableName = "Работники";
  1210. this.BeginInit();
  1211. this.InitClass();
  1212. this.EndInit();
  1213. }
  1214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1216. internal РаботникиDataTable(global::System.Data.DataTable table) {
  1217. this.TableName = table.TableName;
  1218. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1219. this.CaseSensitive = table.CaseSensitive;
  1220. }
  1221. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1222. this.Locale = table.Locale;
  1223. }
  1224. if ((table.Namespace != table.DataSet.Namespace)) {
  1225. this.Namespace = table.Namespace;
  1226. }
  1227. this.Prefix = table.Prefix;
  1228. this.MinimumCapacity = table.MinimumCapacity;
  1229. }
  1230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1231. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1232. protected РаботникиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1233. base(info, context) {
  1234. this.InitVars();
  1235. }
  1236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1238. public global::System.Data.DataColumn Код_работникаColumn {
  1239. get {
  1240. return this.columnКод_работника;
  1241. }
  1242. }
  1243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1245. public global::System.Data.DataColumn ФИО_работникаColumn {
  1246. get {
  1247. return this.columnФИО_работника;
  1248. }
  1249. }
  1250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1251. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1252. public global::System.Data.DataColumn ДолжностьColumn {
  1253. get {
  1254. return this.columnДолжность;
  1255. }
  1256. }
  1257. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1258. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1259. public global::System.Data.DataColumn Скидка_на_спецодеждуColumn {
  1260. get {
  1261. return this.columnСкидка_на_спецодежду;
  1262. }
  1263. }
  1264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1266. public global::System.Data.DataColumn код_цехаColumn {
  1267. get {
  1268. return this.columnкод_цеха;
  1269. }
  1270. }
  1271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1272. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1273. public global::System.Data.DataColumn код_спецодеждыColumn {
  1274. get {
  1275. return this.columnкод_спецодежды;
  1276. }
  1277. }
  1278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1279. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1280. [global::System.ComponentModel.Browsable(false)]
  1281. public int Count {
  1282. get {
  1283. return this.Rows.Count;
  1284. }
  1285. }
  1286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1288. public РаботникиRow this[int index] {
  1289. get {
  1290. return ((РаботникиRow)(this.Rows[index]));
  1291. }
  1292. }
  1293. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1294. public event РаботникиRowChangeEventHandler РаботникиRowChanging;
  1295. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1296. public event РаботникиRowChangeEventHandler РаботникиRowChanged;
  1297. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1298. public event РаботникиRowChangeEventHandler РаботникиRowDeleting;
  1299. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1300. public event РаботникиRowChangeEventHandler РаботникиRowDeleted;
  1301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1303. public void AddРаботникиRow(РаботникиRow row) {
  1304. this.Rows.Add(row);
  1305. }
  1306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1307. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1308. public РаботникиRow AddРаботникиRow(byte Код_работника, string ФИО_работника, string Должность, decimal Скидка_на_спецодежду, int код_цеха, int код_спецодежды) {
  1309. РаботникиRow rowРаботникиRow = ((РаботникиRow)(this.NewRow()));
  1310. object[] columnValuesArray = new object[] {
  1311. Код_работника,
  1312. ФИО_работника,
  1313. Должность,
  1314. Скидка_на_спецодежду,
  1315. код_цеха,
  1316. код_спецодежды};
  1317. rowРаботникиRow.ItemArray = columnValuesArray;
  1318. this.Rows.Add(rowРаботникиRow);
  1319. return rowРаботникиRow;
  1320. }
  1321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1323. public override global::System.Data.DataTable Clone() {
  1324. РаботникиDataTable cln = ((РаботникиDataTable)(base.Clone()));
  1325. cln.InitVars();
  1326. return cln;
  1327. }
  1328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1329. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1330. protected override global::System.Data.DataTable CreateInstance() {
  1331. return new РаботникиDataTable();
  1332. }
  1333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1334. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1335. internal void InitVars() {
  1336. this.columnКод_работника = base.Columns["Код работника"];
  1337. this.columnФИО_работника = base.Columns["ФИО работника"];
  1338. this.columnДолжность = base.Columns["Должность"];
  1339. this.columnСкидка_на_спецодежду = base.Columns["Скидка на спецодежду"];
  1340. this.columnкод_цеха = base.Columns["код цеха"];
  1341. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  1342. }
  1343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1344. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1345. private void InitClass() {
  1346. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  1347. base.Columns.Add(this.columnКод_работника);
  1348. this.columnФИО_работника = new global::System.Data.DataColumn("ФИО работника", typeof(string), null, global::System.Data.MappingType.Element);
  1349. base.Columns.Add(this.columnФИО_работника);
  1350. this.columnДолжность = new global::System.Data.DataColumn("Должность", typeof(string), null, global::System.Data.MappingType.Element);
  1351. base.Columns.Add(this.columnДолжность);
  1352. this.columnСкидка_на_спецодежду = new global::System.Data.DataColumn("Скидка на спецодежду", typeof(decimal), null, global::System.Data.MappingType.Element);
  1353. base.Columns.Add(this.columnСкидка_на_спецодежду);
  1354. this.columnкод_цеха = new global::System.Data.DataColumn("код цеха", typeof(int), null, global::System.Data.MappingType.Element);
  1355. base.Columns.Add(this.columnкод_цеха);
  1356. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  1357. base.Columns.Add(this.columnкод_спецодежды);
  1358. this.columnКод_работника.AllowDBNull = false;
  1359. this.columnФИО_работника.MaxLength = 50;
  1360. this.columnДолжность.MaxLength = 50;
  1361. }
  1362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1364. public РаботникиRow NewРаботникиRow() {
  1365. return ((РаботникиRow)(this.NewRow()));
  1366. }
  1367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1368. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1369. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1370. return new РаботникиRow(builder);
  1371. }
  1372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1374. protected override global::System.Type GetRowType() {
  1375. return typeof(РаботникиRow);
  1376. }
  1377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1379. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1380. base.OnRowChanged(e);
  1381. if ((this.РаботникиRowChanged != null)) {
  1382. this.РаботникиRowChanged(this, new РаботникиRowChangeEvent(((РаботникиRow)(e.Row)), e.Action));
  1383. }
  1384. }
  1385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1386. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1387. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1388. base.OnRowChanging(e);
  1389. if ((this.РаботникиRowChanging != null)) {
  1390. this.РаботникиRowChanging(this, new РаботникиRowChangeEvent(((РаботникиRow)(e.Row)), e.Action));
  1391. }
  1392. }
  1393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1395. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1396. base.OnRowDeleted(e);
  1397. if ((this.РаботникиRowDeleted != null)) {
  1398. this.РаботникиRowDeleted(this, new РаботникиRowChangeEvent(((РаботникиRow)(e.Row)), e.Action));
  1399. }
  1400. }
  1401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1402. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1403. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1404. base.OnRowDeleting(e);
  1405. if ((this.РаботникиRowDeleting != null)) {
  1406. this.РаботникиRowDeleting(this, new РаботникиRowChangeEvent(((РаботникиRow)(e.Row)), e.Action));
  1407. }
  1408. }
  1409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1410. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1411. public void RemoveРаботникиRow(РаботникиRow row) {
  1412. this.Rows.Remove(row);
  1413. }
  1414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1416. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1417. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1418. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1419. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  1420. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1421. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1422. any1.MinOccurs = new decimal(0);
  1423. any1.MaxOccurs = decimal.MaxValue;
  1424. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1425. sequence.Items.Add(any1);
  1426. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1427. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1428. any2.MinOccurs = new decimal(1);
  1429. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1430. sequence.Items.Add(any2);
  1431. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1432. attribute1.Name = "namespace";
  1433. attribute1.FixedValue = ds.Namespace;
  1434. type.Attributes.Add(attribute1);
  1435. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1436. attribute2.Name = "tableTypeName";
  1437. attribute2.FixedValue = "РаботникиDataTable";
  1438. type.Attributes.Add(attribute2);
  1439. type.Particle = sequence;
  1440. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1441. if (xs.Contains(dsSchema.TargetNamespace)) {
  1442. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1443. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1444. try {
  1445. global::System.Xml.Schema.XmlSchema schema = null;
  1446. dsSchema.Write(s1);
  1447. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1448. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1449. s2.SetLength(0);
  1450. schema.Write(s2);
  1451. if ((s1.Length == s2.Length)) {
  1452. s1.Position = 0;
  1453. s2.Position = 0;
  1454. for (; ((s1.Position != s1.Length)
  1455. && (s1.ReadByte() == s2.ReadByte())); ) {
  1456. ;
  1457. }
  1458. if ((s1.Position == s1.Length)) {
  1459. return type;
  1460. }
  1461. }
  1462. }
  1463. }
  1464. finally {
  1465. if ((s1 != null)) {
  1466. s1.Close();
  1467. }
  1468. if ((s2 != null)) {
  1469. s2.Close();
  1470. }
  1471. }
  1472. }
  1473. xs.Add(dsSchema);
  1474. return type;
  1475. }
  1476. }
  1477. /// <summary>
  1478. ///Represents the strongly named DataTable class.
  1479. ///</summary>
  1480. [global::System.Serializable()]
  1481. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1482. public partial class ЦехиDataTable : global::System.Data.TypedTableBase<ЦехиRow> {
  1483. private global::System.Data.DataColumn columnКод_цеха;
  1484. private global::System.Data.DataColumn columnНаименование_цеха;
  1485. private global::System.Data.DataColumn columnФИО_начальника_цеха;
  1486. private global::System.Data.DataColumn columnКод_работника;
  1487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1488. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1489. public ЦехиDataTable() {
  1490. this.TableName = "Цехи";
  1491. this.BeginInit();
  1492. this.InitClass();
  1493. this.EndInit();
  1494. }
  1495. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1496. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1497. internal ЦехиDataTable(global::System.Data.DataTable table) {
  1498. this.TableName = table.TableName;
  1499. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1500. this.CaseSensitive = table.CaseSensitive;
  1501. }
  1502. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1503. this.Locale = table.Locale;
  1504. }
  1505. if ((table.Namespace != table.DataSet.Namespace)) {
  1506. this.Namespace = table.Namespace;
  1507. }
  1508. this.Prefix = table.Prefix;
  1509. this.MinimumCapacity = table.MinimumCapacity;
  1510. }
  1511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1512. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1513. protected ЦехиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1514. base(info, context) {
  1515. this.InitVars();
  1516. }
  1517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1518. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1519. public global::System.Data.DataColumn Код_цехаColumn {
  1520. get {
  1521. return this.columnКод_цеха;
  1522. }
  1523. }
  1524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1526. public global::System.Data.DataColumn Наименование_цехаColumn {
  1527. get {
  1528. return this.columnНаименование_цеха;
  1529. }
  1530. }
  1531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1532. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1533. public global::System.Data.DataColumn ФИО_начальника_цехаColumn {
  1534. get {
  1535. return this.columnФИО_начальника_цеха;
  1536. }
  1537. }
  1538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1540. public global::System.Data.DataColumn Код_работникаColumn {
  1541. get {
  1542. return this.columnКод_работника;
  1543. }
  1544. }
  1545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1546. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1547. [global::System.ComponentModel.Browsable(false)]
  1548. public int Count {
  1549. get {
  1550. return this.Rows.Count;
  1551. }
  1552. }
  1553. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1554. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1555. public ЦехиRow this[int index] {
  1556. get {
  1557. return ((ЦехиRow)(this.Rows[index]));
  1558. }
  1559. }
  1560. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1561. public event ЦехиRowChangeEventHandler ЦехиRowChanging;
  1562. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1563. public event ЦехиRowChangeEventHandler ЦехиRowChanged;
  1564. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1565. public event ЦехиRowChangeEventHandler ЦехиRowDeleting;
  1566. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1567. public event ЦехиRowChangeEventHandler ЦехиRowDeleted;
  1568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1570. public void AddЦехиRow(ЦехиRow row) {
  1571. this.Rows.Add(row);
  1572. }
  1573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1575. public ЦехиRow AddЦехиRow(string Наименование_цеха, string ФИО_начальника_цеха, byte Код_работника) {
  1576. ЦехиRow rowЦехиRow = ((ЦехиRow)(this.NewRow()));
  1577. object[] columnValuesArray = new object[] {
  1578. null,
  1579. Наименование_цеха,
  1580. ФИО_начальника_цеха,
  1581. Код_работника};
  1582. rowЦехиRow.ItemArray = columnValuesArray;
  1583. this.Rows.Add(rowЦехиRow);
  1584. return rowЦехиRow;
  1585. }
  1586. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1587. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1588. public ЦехиRow FindByКод_цеха(int Код_цеха) {
  1589. return ((ЦехиRow)(this.Rows.Find(new object[] {
  1590. Код_цеха})));
  1591. }
  1592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1593. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1594. public override global::System.Data.DataTable Clone() {
  1595. ЦехиDataTable cln = ((ЦехиDataTable)(base.Clone()));
  1596. cln.InitVars();
  1597. return cln;
  1598. }
  1599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1601. protected override global::System.Data.DataTable CreateInstance() {
  1602. return new ЦехиDataTable();
  1603. }
  1604. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1605. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1606. internal void InitVars() {
  1607. this.columnКод_цеха = base.Columns["Код_цеха"];
  1608. this.columnНаименование_цеха = base.Columns["Наименование_цеха"];
  1609. this.columnФИО_начальника_цеха = base.Columns["ФИО_начальника_цеха"];
  1610. this.columnКод_работника = base.Columns["Код_работника"];
  1611. }
  1612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1613. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1614. private void InitClass() {
  1615. this.columnКод_цеха = new global::System.Data.DataColumn("Код_цеха", typeof(int), null, global::System.Data.MappingType.Element);
  1616. base.Columns.Add(this.columnКод_цеха);
  1617. this.columnНаименование_цеха = new global::System.Data.DataColumn("Наименование_цеха", typeof(string), null, global::System.Data.MappingType.Element);
  1618. base.Columns.Add(this.columnНаименование_цеха);
  1619. this.columnФИО_начальника_цеха = new global::System.Data.DataColumn("ФИО_начальника_цеха", typeof(string), null, global::System.Data.MappingType.Element);
  1620. base.Columns.Add(this.columnФИО_начальника_цеха);
  1621. this.columnКод_работника = new global::System.Data.DataColumn("Код_работника", typeof(byte), null, global::System.Data.MappingType.Element);
  1622. this.columnКод_работника.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "Код_работника");
  1623. this.columnКод_работника.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "Код_работникаColumn");
  1624. this.columnКод_работника.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "columnКод_работника");
  1625. this.columnКод_работника.ExtendedProperties.Add("Generator_UserColumnName", "Код_работника");
  1626. base.Columns.Add(this.columnКод_работника);
  1627. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1628. this.columnКод_цеха}, true));
  1629. this.columnКод_цеха.AutoIncrement = true;
  1630. this.columnКод_цеха.AutoIncrementSeed = -1;
  1631. this.columnКод_цеха.AutoIncrementStep = -1;
  1632. this.columnКод_цеха.AllowDBNull = false;
  1633. this.columnКод_цеха.ReadOnly = true;
  1634. this.columnКод_цеха.Unique = true;
  1635. this.columnНаименование_цеха.MaxLength = 50;
  1636. this.columnФИО_начальника_цеха.MaxLength = 50;
  1637. this.columnКод_работника.AllowDBNull = false;
  1638. }
  1639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1641. public ЦехиRow NewЦехиRow() {
  1642. return ((ЦехиRow)(this.NewRow()));
  1643. }
  1644. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1645. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1646. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1647. return new ЦехиRow(builder);
  1648. }
  1649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1650. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1651. protected override global::System.Type GetRowType() {
  1652. return typeof(ЦехиRow);
  1653. }
  1654. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1655. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1656. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1657. base.OnRowChanged(e);
  1658. if ((this.ЦехиRowChanged != null)) {
  1659. this.ЦехиRowChanged(this, new ЦехиRowChangeEvent(((ЦехиRow)(e.Row)), e.Action));
  1660. }
  1661. }
  1662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1664. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1665. base.OnRowChanging(e);
  1666. if ((this.ЦехиRowChanging != null)) {
  1667. this.ЦехиRowChanging(this, new ЦехиRowChangeEvent(((ЦехиRow)(e.Row)), e.Action));
  1668. }
  1669. }
  1670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1672. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1673. base.OnRowDeleted(e);
  1674. if ((this.ЦехиRowDeleted != null)) {
  1675. this.ЦехиRowDeleted(this, new ЦехиRowChangeEvent(((ЦехиRow)(e.Row)), e.Action));
  1676. }
  1677. }
  1678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1679. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1680. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1681. base.OnRowDeleting(e);
  1682. if ((this.ЦехиRowDeleting != null)) {
  1683. this.ЦехиRowDeleting(this, new ЦехиRowChangeEvent(((ЦехиRow)(e.Row)), e.Action));
  1684. }
  1685. }
  1686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1688. public void RemoveЦехиRow(ЦехиRow row) {
  1689. this.Rows.Remove(row);
  1690. }
  1691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1693. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1694. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1695. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1696. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  1697. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1698. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1699. any1.MinOccurs = new decimal(0);
  1700. any1.MaxOccurs = decimal.MaxValue;
  1701. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1702. sequence.Items.Add(any1);
  1703. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1704. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1705. any2.MinOccurs = new decimal(1);
  1706. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1707. sequence.Items.Add(any2);
  1708. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1709. attribute1.Name = "namespace";
  1710. attribute1.FixedValue = ds.Namespace;
  1711. type.Attributes.Add(attribute1);
  1712. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1713. attribute2.Name = "tableTypeName";
  1714. attribute2.FixedValue = "ЦехиDataTable";
  1715. type.Attributes.Add(attribute2);
  1716. type.Particle = sequence;
  1717. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1718. if (xs.Contains(dsSchema.TargetNamespace)) {
  1719. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1720. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1721. try {
  1722. global::System.Xml.Schema.XmlSchema schema = null;
  1723. dsSchema.Write(s1);
  1724. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1725. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1726. s2.SetLength(0);
  1727. schema.Write(s2);
  1728. if ((s1.Length == s2.Length)) {
  1729. s1.Position = 0;
  1730. s2.Position = 0;
  1731. for (; ((s1.Position != s1.Length)
  1732. && (s1.ReadByte() == s2.ReadByte())); ) {
  1733. ;
  1734. }
  1735. if ((s1.Position == s1.Length)) {
  1736. return type;
  1737. }
  1738. }
  1739. }
  1740. }
  1741. finally {
  1742. if ((s1 != null)) {
  1743. s1.Close();
  1744. }
  1745. if ((s2 != null)) {
  1746. s2.Close();
  1747. }
  1748. }
  1749. }
  1750. xs.Add(dsSchema);
  1751. return type;
  1752. }
  1753. }
  1754. /// <summary>
  1755. ///Represents the strongly named DataTable class.
  1756. ///</summary>
  1757. [global::System.Serializable()]
  1758. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1759. public partial class Запрос_о_получении_спецодеждыDataTable : global::System.Data.TypedTableBase<Запрос_о_получении_спецодеждыRow> {
  1760. private global::System.Data.DataColumn columnкод_спецодежды;
  1761. private global::System.Data.DataColumn columnДата_получания;
  1762. private global::System.Data.DataColumn columnКод_работника;
  1763. private global::System.Data.DataColumn columnФИО_работника;
  1764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1765. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1766. public Запрос_о_получении_спецодеждыDataTable() {
  1767. this.TableName = "Запрос о получении спецодежды";
  1768. this.BeginInit();
  1769. this.InitClass();
  1770. this.EndInit();
  1771. }
  1772. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1773. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1774. internal Запрос_о_получении_спецодеждыDataTable(global::System.Data.DataTable table) {
  1775. this.TableName = table.TableName;
  1776. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1777. this.CaseSensitive = table.CaseSensitive;
  1778. }
  1779. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1780. this.Locale = table.Locale;
  1781. }
  1782. if ((table.Namespace != table.DataSet.Namespace)) {
  1783. this.Namespace = table.Namespace;
  1784. }
  1785. this.Prefix = table.Prefix;
  1786. this.MinimumCapacity = table.MinimumCapacity;
  1787. }
  1788. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1789. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1790. protected Запрос_о_получении_спецодеждыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1791. base(info, context) {
  1792. this.InitVars();
  1793. }
  1794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1795. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1796. public global::System.Data.DataColumn код_спецодеждыColumn {
  1797. get {
  1798. return this.columnкод_спецодежды;
  1799. }
  1800. }
  1801. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1802. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1803. public global::System.Data.DataColumn Дата_получанияColumn {
  1804. get {
  1805. return this.columnДата_получания;
  1806. }
  1807. }
  1808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1810. public global::System.Data.DataColumn Код_работникаColumn {
  1811. get {
  1812. return this.columnКод_работника;
  1813. }
  1814. }
  1815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1816. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1817. public global::System.Data.DataColumn ФИО_работникаColumn {
  1818. get {
  1819. return this.columnФИО_работника;
  1820. }
  1821. }
  1822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1823. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1824. [global::System.ComponentModel.Browsable(false)]
  1825. public int Count {
  1826. get {
  1827. return this.Rows.Count;
  1828. }
  1829. }
  1830. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1831. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1832. public Запрос_о_получении_спецодеждыRow this[int index] {
  1833. get {
  1834. return ((Запрос_о_получении_спецодеждыRow)(this.Rows[index]));
  1835. }
  1836. }
  1837. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1838. public event Запрос_о_получении_спецодеждыRowChangeEventHandler Запрос_о_получении_спецодеждыRowChanging;
  1839. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1840. public event Запрос_о_получении_спецодеждыRowChangeEventHandler Запрос_о_получении_спецодеждыRowChanged;
  1841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1842. public event Запрос_о_получении_спецодеждыRowChangeEventHandler Запрос_о_получении_спецодеждыRowDeleting;
  1843. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1844. public event Запрос_о_получении_спецодеждыRowChangeEventHandler Запрос_о_получении_спецодеждыRowDeleted;
  1845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1846. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1847. public void AddЗапрос_о_получении_спецодеждыRow(Запрос_о_получении_спецодеждыRow row) {
  1848. this.Rows.Add(row);
  1849. }
  1850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1852. public Запрос_о_получении_спецодеждыRow AddЗапрос_о_получении_спецодеждыRow(int код_спецодежды, System.DateTime Дата_получания, byte Код_работника, string ФИО_работника) {
  1853. Запрос_о_получении_спецодеждыRow rowЗапрос_о_получении_спецодеждыRow = ((Запрос_о_получении_спецодеждыRow)(this.NewRow()));
  1854. object[] columnValuesArray = new object[] {
  1855. код_спецодежды,
  1856. Дата_получания,
  1857. Код_работника,
  1858. ФИО_работника};
  1859. rowЗапрос_о_получении_спецодеждыRow.ItemArray = columnValuesArray;
  1860. this.Rows.Add(rowЗапрос_о_получении_спецодеждыRow);
  1861. return rowЗапрос_о_получении_спецодеждыRow;
  1862. }
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1865. public override global::System.Data.DataTable Clone() {
  1866. Запрос_о_получении_спецодеждыDataTable cln = ((Запрос_о_получении_спецодеждыDataTable)(base.Clone()));
  1867. cln.InitVars();
  1868. return cln;
  1869. }
  1870. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1871. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1872. protected override global::System.Data.DataTable CreateInstance() {
  1873. return new Запрос_о_получении_спецодеждыDataTable();
  1874. }
  1875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1876. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1877. internal void InitVars() {
  1878. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  1879. this.columnДата_получания = base.Columns["Дата получания"];
  1880. this.columnКод_работника = base.Columns["Код работника"];
  1881. this.columnФИО_работника = base.Columns["ФИО работника"];
  1882. }
  1883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1885. private void InitClass() {
  1886. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  1887. base.Columns.Add(this.columnкод_спецодежды);
  1888. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1889. base.Columns.Add(this.columnДата_получания);
  1890. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  1891. base.Columns.Add(this.columnКод_работника);
  1892. this.columnФИО_работника = new global::System.Data.DataColumn("ФИО работника", typeof(string), null, global::System.Data.MappingType.Element);
  1893. base.Columns.Add(this.columnФИО_работника);
  1894. this.columnкод_спецодежды.AllowDBNull = false;
  1895. this.columnКод_работника.AllowDBNull = false;
  1896. this.columnФИО_работника.MaxLength = 50;
  1897. }
  1898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1899. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1900. public Запрос_о_получении_спецодеждыRow NewЗапрос_о_получении_спецодеждыRow() {
  1901. return ((Запрос_о_получении_спецодеждыRow)(this.NewRow()));
  1902. }
  1903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1905. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1906. return new Запрос_о_получении_спецодеждыRow(builder);
  1907. }
  1908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1910. protected override global::System.Type GetRowType() {
  1911. return typeof(Запрос_о_получении_спецодеждыRow);
  1912. }
  1913. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1914. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1915. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1916. base.OnRowChanged(e);
  1917. if ((this.Запрос_о_получении_спецодеждыRowChanged != null)) {
  1918. this.Запрос_о_получении_спецодеждыRowChanged(this, new Запрос_о_получении_спецодеждыRowChangeEvent(((Запрос_о_получении_спецодеждыRow)(e.Row)), e.Action));
  1919. }
  1920. }
  1921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1922. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1923. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1924. base.OnRowChanging(e);
  1925. if ((this.Запрос_о_получении_спецодеждыRowChanging != null)) {
  1926. this.Запрос_о_получении_спецодеждыRowChanging(this, new Запрос_о_получении_спецодеждыRowChangeEvent(((Запрос_о_получении_спецодеждыRow)(e.Row)), e.Action));
  1927. }
  1928. }
  1929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1931. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1932. base.OnRowDeleted(e);
  1933. if ((this.Запрос_о_получении_спецодеждыRowDeleted != null)) {
  1934. this.Запрос_о_получении_спецодеждыRowDeleted(this, new Запрос_о_получении_спецодеждыRowChangeEvent(((Запрос_о_получении_спецодеждыRow)(e.Row)), e.Action));
  1935. }
  1936. }
  1937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1938. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1939. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1940. base.OnRowDeleting(e);
  1941. if ((this.Запрос_о_получении_спецодеждыRowDeleting != null)) {
  1942. this.Запрос_о_получении_спецодеждыRowDeleting(this, new Запрос_о_получении_спецодеждыRowChangeEvent(((Запрос_о_получении_спецодеждыRow)(e.Row)), e.Action));
  1943. }
  1944. }
  1945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1946. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1947. public void RemoveЗапрос_о_получении_спецодеждыRow(Запрос_о_получении_спецодеждыRow row) {
  1948. this.Rows.Remove(row);
  1949. }
  1950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1951. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1952. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1953. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1954. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1955. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  1956. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1957. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1958. any1.MinOccurs = new decimal(0);
  1959. any1.MaxOccurs = decimal.MaxValue;
  1960. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1961. sequence.Items.Add(any1);
  1962. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1963. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1964. any2.MinOccurs = new decimal(1);
  1965. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1966. sequence.Items.Add(any2);
  1967. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1968. attribute1.Name = "namespace";
  1969. attribute1.FixedValue = ds.Namespace;
  1970. type.Attributes.Add(attribute1);
  1971. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1972. attribute2.Name = "tableTypeName";
  1973. attribute2.FixedValue = "Запрос_о_получении_спецодеждыDataTable";
  1974. type.Attributes.Add(attribute2);
  1975. type.Particle = sequence;
  1976. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1977. if (xs.Contains(dsSchema.TargetNamespace)) {
  1978. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1979. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1980. try {
  1981. global::System.Xml.Schema.XmlSchema schema = null;
  1982. dsSchema.Write(s1);
  1983. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1984. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1985. s2.SetLength(0);
  1986. schema.Write(s2);
  1987. if ((s1.Length == s2.Length)) {
  1988. s1.Position = 0;
  1989. s2.Position = 0;
  1990. for (; ((s1.Position != s1.Length)
  1991. && (s1.ReadByte() == s2.ReadByte())); ) {
  1992. ;
  1993. }
  1994. if ((s1.Position == s1.Length)) {
  1995. return type;
  1996. }
  1997. }
  1998. }
  1999. }
  2000. finally {
  2001. if ((s1 != null)) {
  2002. s1.Close();
  2003. }
  2004. if ((s2 != null)) {
  2005. s2.Close();
  2006. }
  2007. }
  2008. }
  2009. xs.Add(dsSchema);
  2010. return type;
  2011. }
  2012. }
  2013. /// <summary>
  2014. ///Represents the strongly named DataTable class.
  2015. ///</summary>
  2016. [global::System.Serializable()]
  2017. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2018. public partial class Информация_о_спецодеждеDataTable : global::System.Data.TypedTableBase<Информация_о_спецодеждеRow> {
  2019. private global::System.Data.DataColumn columnКод_спецодежды;
  2020. private global::System.Data.DataColumn columnКод_работника;
  2021. private global::System.Data.DataColumn columnДата_получания;
  2022. private global::System.Data.DataColumn _columnСтоимость_единицы_руб_;
  2023. private global::System.Data.DataColumn columnВид_спецодежды;
  2024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2025. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2026. public Информация_о_спецодеждеDataTable() {
  2027. this.TableName = "Информация о спецодежде";
  2028. this.BeginInit();
  2029. this.InitClass();
  2030. this.EndInit();
  2031. }
  2032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2033. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2034. internal Информация_о_спецодеждеDataTable(global::System.Data.DataTable table) {
  2035. this.TableName = table.TableName;
  2036. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2037. this.CaseSensitive = table.CaseSensitive;
  2038. }
  2039. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2040. this.Locale = table.Locale;
  2041. }
  2042. if ((table.Namespace != table.DataSet.Namespace)) {
  2043. this.Namespace = table.Namespace;
  2044. }
  2045. this.Prefix = table.Prefix;
  2046. this.MinimumCapacity = table.MinimumCapacity;
  2047. }
  2048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2049. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2050. protected Информация_о_спецодеждеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2051. base(info, context) {
  2052. this.InitVars();
  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. [global::System.ComponentModel.Browsable(false)]
  2092. public int Count {
  2093. get {
  2094. return this.Rows.Count;
  2095. }
  2096. }
  2097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2099. public Информация_о_спецодеждеRow this[int index] {
  2100. get {
  2101. return ((Информация_о_спецодеждеRow)(this.Rows[index]));
  2102. }
  2103. }
  2104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2105. public event Информация_о_спецодеждеRowChangeEventHandler Информация_о_спецодеждеRowChanging;
  2106. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2107. public event Информация_о_спецодеждеRowChangeEventHandler Информация_о_спецодеждеRowChanged;
  2108. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2109. public event Информация_о_спецодеждеRowChangeEventHandler Информация_о_спецодеждеRowDeleting;
  2110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2111. public event Информация_о_спецодеждеRowChangeEventHandler Информация_о_спецодеждеRowDeleted;
  2112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2114. public void AddИнформация_о_спецодеждеRow(Информация_о_спецодеждеRow row) {
  2115. this.Rows.Add(row);
  2116. }
  2117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2119. public Информация_о_спецодеждеRow AddИнформация_о_спецодеждеRow(int Код_спецодежды, byte Код_работника, System.DateTime Дата_получания, decimal _Стоимость_единицы_руб_, string Вид_спецодежды) {
  2120. Информация_о_спецодеждеRow rowИнформация_о_спецодеждеRow = ((Информация_о_спецодеждеRow)(this.NewRow()));
  2121. object[] columnValuesArray = new object[] {
  2122. Код_спецодежды,
  2123. Код_работника,
  2124. Дата_получания,
  2125. _Стоимость_единицы_руб_,
  2126. Вид_спецодежды};
  2127. rowИнформация_о_спецодеждеRow.ItemArray = columnValuesArray;
  2128. this.Rows.Add(rowИнформация_о_спецодеждеRow);
  2129. return rowИнформация_о_спецодеждеRow;
  2130. }
  2131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2133. public Информация_о_спецодеждеRow FindByКод_спецодежды(int Код_спецодежды) {
  2134. return ((Информация_о_спецодеждеRow)(this.Rows.Find(new object[] {
  2135. Код_спецодежды})));
  2136. }
  2137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2139. public override global::System.Data.DataTable Clone() {
  2140. Информация_о_спецодеждеDataTable cln = ((Информация_о_спецодеждеDataTable)(base.Clone()));
  2141. cln.InitVars();
  2142. return cln;
  2143. }
  2144. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2145. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2146. protected override global::System.Data.DataTable CreateInstance() {
  2147. return new Информация_о_спецодеждеDataTable();
  2148. }
  2149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2150. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2151. internal void InitVars() {
  2152. this.columnКод_спецодежды = base.Columns["Код_спецодежды"];
  2153. this.columnКод_работника = base.Columns["Код работника"];
  2154. this.columnДата_получания = base.Columns["Дата получания"];
  2155. this._columnСтоимость_единицы_руб_ = base.Columns["Стоимость_единицы(руб)"];
  2156. this.columnВид_спецодежды = base.Columns["Вид_спецодежды"];
  2157. }
  2158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2159. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2160. private void InitClass() {
  2161. this.columnКод_спецодежды = new global::System.Data.DataColumn("Код_спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  2162. base.Columns.Add(this.columnКод_спецодежды);
  2163. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  2164. base.Columns.Add(this.columnКод_работника);
  2165. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2166. base.Columns.Add(this.columnДата_получания);
  2167. this._columnСтоимость_единицы_руб_ = new global::System.Data.DataColumn("Стоимость_единицы(руб)", typeof(decimal), null, global::System.Data.MappingType.Element);
  2168. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_единицы_руб_");
  2169. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость_единицы(руб)");
  2170. base.Columns.Add(this._columnСтоимость_единицы_руб_);
  2171. this.columnВид_спецодежды = new global::System.Data.DataColumn("Вид_спецодежды", typeof(string), null, global::System.Data.MappingType.Element);
  2172. base.Columns.Add(this.columnВид_спецодежды);
  2173. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2174. this.columnКод_спецодежды}, true));
  2175. this.columnКод_спецодежды.AllowDBNull = false;
  2176. this.columnКод_спецодежды.Unique = true;
  2177. this.columnКод_работника.AllowDBNull = false;
  2178. this.columnВид_спецодежды.MaxLength = 50;
  2179. }
  2180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2181. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2182. public Информация_о_спецодеждеRow NewИнформация_о_спецодеждеRow() {
  2183. return ((Информация_о_спецодеждеRow)(this.NewRow()));
  2184. }
  2185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2187. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2188. return new Информация_о_спецодеждеRow(builder);
  2189. }
  2190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2192. protected override global::System.Type GetRowType() {
  2193. return typeof(Информация_о_спецодеждеRow);
  2194. }
  2195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2196. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2197. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2198. base.OnRowChanged(e);
  2199. if ((this.Информация_о_спецодеждеRowChanged != null)) {
  2200. this.Информация_о_спецодеждеRowChanged(this, new Информация_о_спецодеждеRowChangeEvent(((Информация_о_спецодеждеRow)(e.Row)), e.Action));
  2201. }
  2202. }
  2203. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2204. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2205. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2206. base.OnRowChanging(e);
  2207. if ((this.Информация_о_спецодеждеRowChanging != null)) {
  2208. this.Информация_о_спецодеждеRowChanging(this, new Информация_о_спецодеждеRowChangeEvent(((Информация_о_спецодеждеRow)(e.Row)), e.Action));
  2209. }
  2210. }
  2211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2213. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2214. base.OnRowDeleted(e);
  2215. if ((this.Информация_о_спецодеждеRowDeleted != null)) {
  2216. this.Информация_о_спецодеждеRowDeleted(this, new Информация_о_спецодеждеRowChangeEvent(((Информация_о_спецодеждеRow)(e.Row)), e.Action));
  2217. }
  2218. }
  2219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2220. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2221. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2222. base.OnRowDeleting(e);
  2223. if ((this.Информация_о_спецодеждеRowDeleting != null)) {
  2224. this.Информация_о_спецодеждеRowDeleting(this, new Информация_о_спецодеждеRowChangeEvent(((Информация_о_спецодеждеRow)(e.Row)), e.Action));
  2225. }
  2226. }
  2227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2229. public void RemoveИнформация_о_спецодеждеRow(Информация_о_спецодеждеRow row) {
  2230. this.Rows.Remove(row);
  2231. }
  2232. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2233. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2234. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2235. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2236. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2237. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  2238. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2239. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2240. any1.MinOccurs = new decimal(0);
  2241. any1.MaxOccurs = decimal.MaxValue;
  2242. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2243. sequence.Items.Add(any1);
  2244. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2245. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2246. any2.MinOccurs = new decimal(1);
  2247. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2248. sequence.Items.Add(any2);
  2249. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2250. attribute1.Name = "namespace";
  2251. attribute1.FixedValue = ds.Namespace;
  2252. type.Attributes.Add(attribute1);
  2253. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2254. attribute2.Name = "tableTypeName";
  2255. attribute2.FixedValue = "Информация_о_спецодеждеDataTable";
  2256. type.Attributes.Add(attribute2);
  2257. type.Particle = sequence;
  2258. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2259. if (xs.Contains(dsSchema.TargetNamespace)) {
  2260. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2261. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2262. try {
  2263. global::System.Xml.Schema.XmlSchema schema = null;
  2264. dsSchema.Write(s1);
  2265. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2266. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2267. s2.SetLength(0);
  2268. schema.Write(s2);
  2269. if ((s1.Length == s2.Length)) {
  2270. s1.Position = 0;
  2271. s2.Position = 0;
  2272. for (; ((s1.Position != s1.Length)
  2273. && (s1.ReadByte() == s2.ReadByte())); ) {
  2274. ;
  2275. }
  2276. if ((s1.Position == s1.Length)) {
  2277. return type;
  2278. }
  2279. }
  2280. }
  2281. }
  2282. finally {
  2283. if ((s1 != null)) {
  2284. s1.Close();
  2285. }
  2286. if ((s2 != null)) {
  2287. s2.Close();
  2288. }
  2289. }
  2290. }
  2291. xs.Add(dsSchema);
  2292. return type;
  2293. }
  2294. }
  2295. /// <summary>
  2296. ///Represents the strongly named DataTable class.
  2297. ///</summary>
  2298. [global::System.Serializable()]
  2299. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2300. public partial class Фильтр_по_датеDataTable : global::System.Data.TypedTableBase<Фильтр_по_датеRow> {
  2301. private global::System.Data.DataColumn columnФИО_работника;
  2302. private global::System.Data.DataColumn columnКод_работника;
  2303. private global::System.Data.DataColumn columnДата_получания;
  2304. private global::System.Data.DataColumn columnкод_спецодежды;
  2305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2306. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2307. public Фильтр_по_датеDataTable() {
  2308. this.TableName = "Фильтр по дате";
  2309. this.BeginInit();
  2310. this.InitClass();
  2311. this.EndInit();
  2312. }
  2313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2314. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2315. internal Фильтр_по_датеDataTable(global::System.Data.DataTable table) {
  2316. this.TableName = table.TableName;
  2317. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2318. this.CaseSensitive = table.CaseSensitive;
  2319. }
  2320. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2321. this.Locale = table.Locale;
  2322. }
  2323. if ((table.Namespace != table.DataSet.Namespace)) {
  2324. this.Namespace = table.Namespace;
  2325. }
  2326. this.Prefix = table.Prefix;
  2327. this.MinimumCapacity = table.MinimumCapacity;
  2328. }
  2329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2330. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2331. protected Фильтр_по_датеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2332. base(info, context) {
  2333. this.InitVars();
  2334. }
  2335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2336. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2337. public global::System.Data.DataColumn ФИО_работникаColumn {
  2338. get {
  2339. return this.columnФИО_работника;
  2340. }
  2341. }
  2342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2343. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2344. public global::System.Data.DataColumn Код_работникаColumn {
  2345. get {
  2346. return this.columnКод_работника;
  2347. }
  2348. }
  2349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2351. public global::System.Data.DataColumn Дата_получанияColumn {
  2352. get {
  2353. return this.columnДата_получания;
  2354. }
  2355. }
  2356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2357. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2358. public global::System.Data.DataColumn код_спецодеждыColumn {
  2359. get {
  2360. return this.columnкод_спецодежды;
  2361. }
  2362. }
  2363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2364. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2365. [global::System.ComponentModel.Browsable(false)]
  2366. public int Count {
  2367. get {
  2368. return this.Rows.Count;
  2369. }
  2370. }
  2371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2372. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2373. public Фильтр_по_датеRow this[int index] {
  2374. get {
  2375. return ((Фильтр_по_датеRow)(this.Rows[index]));
  2376. }
  2377. }
  2378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2379. public event Фильтр_по_датеRowChangeEventHandler Фильтр_по_датеRowChanging;
  2380. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2381. public event Фильтр_по_датеRowChangeEventHandler Фильтр_по_датеRowChanged;
  2382. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2383. public event Фильтр_по_датеRowChangeEventHandler Фильтр_по_датеRowDeleting;
  2384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2385. public event Фильтр_по_датеRowChangeEventHandler Фильтр_по_датеRowDeleted;
  2386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2387. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2388. public void AddФильтр_по_датеRow(Фильтр_по_датеRow row) {
  2389. this.Rows.Add(row);
  2390. }
  2391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2392. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2393. public Фильтр_по_датеRow AddФильтр_по_датеRow(string ФИО_работника, byte Код_работника, System.DateTime Дата_получания, int код_спецодежды) {
  2394. Фильтр_по_датеRow rowФильтр_по_датеRow = ((Фильтр_по_датеRow)(this.NewRow()));
  2395. object[] columnValuesArray = new object[] {
  2396. ФИО_работника,
  2397. Код_работника,
  2398. Дата_получания,
  2399. код_спецодежды};
  2400. rowФильтр_по_датеRow.ItemArray = columnValuesArray;
  2401. this.Rows.Add(rowФильтр_по_датеRow);
  2402. return rowФильтр_по_датеRow;
  2403. }
  2404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2405. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2406. public override global::System.Data.DataTable Clone() {
  2407. Фильтр_по_датеDataTable cln = ((Фильтр_по_датеDataTable)(base.Clone()));
  2408. cln.InitVars();
  2409. return cln;
  2410. }
  2411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2412. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2413. protected override global::System.Data.DataTable CreateInstance() {
  2414. return new Фильтр_по_датеDataTable();
  2415. }
  2416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2417. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2418. internal void InitVars() {
  2419. this.columnФИО_работника = base.Columns["ФИО работника"];
  2420. this.columnКод_работника = base.Columns["Код работника"];
  2421. this.columnДата_получания = base.Columns["Дата получания"];
  2422. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  2423. }
  2424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2426. private void InitClass() {
  2427. this.columnФИО_работника = new global::System.Data.DataColumn("ФИО работника", typeof(string), null, global::System.Data.MappingType.Element);
  2428. base.Columns.Add(this.columnФИО_работника);
  2429. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  2430. base.Columns.Add(this.columnКод_работника);
  2431. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2432. base.Columns.Add(this.columnДата_получания);
  2433. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  2434. base.Columns.Add(this.columnкод_спецодежды);
  2435. this.columnФИО_работника.MaxLength = 50;
  2436. this.columnКод_работника.AllowDBNull = false;
  2437. this.columnкод_спецодежды.AllowDBNull = false;
  2438. }
  2439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2440. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2441. public Фильтр_по_датеRow NewФильтр_по_датеRow() {
  2442. return ((Фильтр_по_датеRow)(this.NewRow()));
  2443. }
  2444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2446. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2447. return new Фильтр_по_датеRow(builder);
  2448. }
  2449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2451. protected override global::System.Type GetRowType() {
  2452. return typeof(Фильтр_по_датеRow);
  2453. }
  2454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2456. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2457. base.OnRowChanged(e);
  2458. if ((this.Фильтр_по_датеRowChanged != null)) {
  2459. this.Фильтр_по_датеRowChanged(this, new Фильтр_по_датеRowChangeEvent(((Фильтр_по_датеRow)(e.Row)), e.Action));
  2460. }
  2461. }
  2462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2464. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2465. base.OnRowChanging(e);
  2466. if ((this.Фильтр_по_датеRowChanging != null)) {
  2467. this.Фильтр_по_датеRowChanging(this, new Фильтр_по_датеRowChangeEvent(((Фильтр_по_датеRow)(e.Row)), e.Action));
  2468. }
  2469. }
  2470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2471. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2472. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2473. base.OnRowDeleted(e);
  2474. if ((this.Фильтр_по_датеRowDeleted != null)) {
  2475. this.Фильтр_по_датеRowDeleted(this, new Фильтр_по_датеRowChangeEvent(((Фильтр_по_датеRow)(e.Row)), e.Action));
  2476. }
  2477. }
  2478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2479. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2480. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2481. base.OnRowDeleting(e);
  2482. if ((this.Фильтр_по_датеRowDeleting != null)) {
  2483. this.Фильтр_по_датеRowDeleting(this, new Фильтр_по_датеRowChangeEvent(((Фильтр_по_датеRow)(e.Row)), e.Action));
  2484. }
  2485. }
  2486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2487. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2488. public void RemoveФильтр_по_датеRow(Фильтр_по_датеRow row) {
  2489. this.Rows.Remove(row);
  2490. }
  2491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2492. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2493. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2494. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2495. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2496. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  2497. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2498. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2499. any1.MinOccurs = new decimal(0);
  2500. any1.MaxOccurs = decimal.MaxValue;
  2501. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2502. sequence.Items.Add(any1);
  2503. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2504. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2505. any2.MinOccurs = new decimal(1);
  2506. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2507. sequence.Items.Add(any2);
  2508. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2509. attribute1.Name = "namespace";
  2510. attribute1.FixedValue = ds.Namespace;
  2511. type.Attributes.Add(attribute1);
  2512. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2513. attribute2.Name = "tableTypeName";
  2514. attribute2.FixedValue = "Фильтр_по_датеDataTable";
  2515. type.Attributes.Add(attribute2);
  2516. type.Particle = sequence;
  2517. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2518. if (xs.Contains(dsSchema.TargetNamespace)) {
  2519. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2520. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2521. try {
  2522. global::System.Xml.Schema.XmlSchema schema = null;
  2523. dsSchema.Write(s1);
  2524. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2525. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2526. s2.SetLength(0);
  2527. schema.Write(s2);
  2528. if ((s1.Length == s2.Length)) {
  2529. s1.Position = 0;
  2530. s2.Position = 0;
  2531. for (; ((s1.Position != s1.Length)
  2532. && (s1.ReadByte() == s2.ReadByte())); ) {
  2533. ;
  2534. }
  2535. if ((s1.Position == s1.Length)) {
  2536. return type;
  2537. }
  2538. }
  2539. }
  2540. }
  2541. finally {
  2542. if ((s1 != null)) {
  2543. s1.Close();
  2544. }
  2545. if ((s2 != null)) {
  2546. s2.Close();
  2547. }
  2548. }
  2549. }
  2550. xs.Add(dsSchema);
  2551. return type;
  2552. }
  2553. }
  2554. /// <summary>
  2555. ///Represents the strongly named DataTable class.
  2556. ///</summary>
  2557. [global::System.Serializable()]
  2558. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2559. public partial class Фильтр_по_убыванию_кодаDataTable : global::System.Data.TypedTableBase<Фильтр_по_убыванию_кодаRow> {
  2560. private global::System.Data.DataColumn columnкод_спецодежды;
  2561. private global::System.Data.DataColumn columnДата_получания;
  2562. private global::System.Data.DataColumn columnКод_работника;
  2563. private global::System.Data.DataColumn columnФИО_работника;
  2564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2565. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2566. public Фильтр_по_убыванию_кодаDataTable() {
  2567. this.TableName = "Фильтр по убыванию кода";
  2568. this.BeginInit();
  2569. this.InitClass();
  2570. this.EndInit();
  2571. }
  2572. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2573. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2574. internal Фильтр_по_убыванию_кодаDataTable(global::System.Data.DataTable table) {
  2575. this.TableName = table.TableName;
  2576. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2577. this.CaseSensitive = table.CaseSensitive;
  2578. }
  2579. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2580. this.Locale = table.Locale;
  2581. }
  2582. if ((table.Namespace != table.DataSet.Namespace)) {
  2583. this.Namespace = table.Namespace;
  2584. }
  2585. this.Prefix = table.Prefix;
  2586. this.MinimumCapacity = table.MinimumCapacity;
  2587. }
  2588. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2589. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2590. protected Фильтр_по_убыванию_кодаDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2591. base(info, context) {
  2592. this.InitVars();
  2593. }
  2594. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2595. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2596. public global::System.Data.DataColumn код_спецодеждыColumn {
  2597. get {
  2598. return this.columnкод_спецодежды;
  2599. }
  2600. }
  2601. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2602. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2603. public global::System.Data.DataColumn Дата_получанияColumn {
  2604. get {
  2605. return this.columnДата_получания;
  2606. }
  2607. }
  2608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2609. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2610. public global::System.Data.DataColumn Код_работникаColumn {
  2611. get {
  2612. return this.columnКод_работника;
  2613. }
  2614. }
  2615. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2616. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2617. public global::System.Data.DataColumn ФИО_работникаColumn {
  2618. get {
  2619. return this.columnФИО_работника;
  2620. }
  2621. }
  2622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2624. [global::System.ComponentModel.Browsable(false)]
  2625. public int Count {
  2626. get {
  2627. return this.Rows.Count;
  2628. }
  2629. }
  2630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2631. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2632. public Фильтр_по_убыванию_кодаRow this[int index] {
  2633. get {
  2634. return ((Фильтр_по_убыванию_кодаRow)(this.Rows[index]));
  2635. }
  2636. }
  2637. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2638. public event Фильтр_по_убыванию_кодаRowChangeEventHandler Фильтр_по_убыванию_кодаRowChanging;
  2639. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2640. public event Фильтр_по_убыванию_кодаRowChangeEventHandler Фильтр_по_убыванию_кодаRowChanged;
  2641. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2642. public event Фильтр_по_убыванию_кодаRowChangeEventHandler Фильтр_по_убыванию_кодаRowDeleting;
  2643. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2644. public event Фильтр_по_убыванию_кодаRowChangeEventHandler Фильтр_по_убыванию_кодаRowDeleted;
  2645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2647. public void AddФильтр_по_убыванию_кодаRow(Фильтр_по_убыванию_кодаRow row) {
  2648. this.Rows.Add(row);
  2649. }
  2650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2651. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2652. public Фильтр_по_убыванию_кодаRow AddФильтр_по_убыванию_кодаRow(int код_спецодежды, System.DateTime Дата_получания, byte Код_работника, string ФИО_работника) {
  2653. Фильтр_по_убыванию_кодаRow rowФильтр_по_убыванию_кодаRow = ((Фильтр_по_убыванию_кодаRow)(this.NewRow()));
  2654. object[] columnValuesArray = new object[] {
  2655. код_спецодежды,
  2656. Дата_получания,
  2657. Код_работника,
  2658. ФИО_работника};
  2659. rowФильтр_по_убыванию_кодаRow.ItemArray = columnValuesArray;
  2660. this.Rows.Add(rowФильтр_по_убыванию_кодаRow);
  2661. return rowФильтр_по_убыванию_кодаRow;
  2662. }
  2663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2664. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2665. public override global::System.Data.DataTable Clone() {
  2666. Фильтр_по_убыванию_кодаDataTable cln = ((Фильтр_по_убыванию_кодаDataTable)(base.Clone()));
  2667. cln.InitVars();
  2668. return cln;
  2669. }
  2670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2672. protected override global::System.Data.DataTable CreateInstance() {
  2673. return new Фильтр_по_убыванию_кодаDataTable();
  2674. }
  2675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2677. internal void InitVars() {
  2678. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  2679. this.columnДата_получания = base.Columns["Дата получания"];
  2680. this.columnКод_работника = base.Columns["Код работника"];
  2681. this.columnФИО_работника = base.Columns["ФИО работника"];
  2682. }
  2683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2684. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2685. private void InitClass() {
  2686. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  2687. base.Columns.Add(this.columnкод_спецодежды);
  2688. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2689. base.Columns.Add(this.columnДата_получания);
  2690. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  2691. base.Columns.Add(this.columnКод_работника);
  2692. this.columnФИО_работника = new global::System.Data.DataColumn("ФИО работника", typeof(string), null, global::System.Data.MappingType.Element);
  2693. base.Columns.Add(this.columnФИО_работника);
  2694. this.columnкод_спецодежды.AllowDBNull = false;
  2695. this.columnКод_работника.AllowDBNull = false;
  2696. this.columnФИО_работника.MaxLength = 50;
  2697. }
  2698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2699. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2700. public Фильтр_по_убыванию_кодаRow NewФильтр_по_убыванию_кодаRow() {
  2701. return ((Фильтр_по_убыванию_кодаRow)(this.NewRow()));
  2702. }
  2703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2705. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2706. return new Фильтр_по_убыванию_кодаRow(builder);
  2707. }
  2708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2709. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2710. protected override global::System.Type GetRowType() {
  2711. return typeof(Фильтр_по_убыванию_кодаRow);
  2712. }
  2713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2714. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2715. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2716. base.OnRowChanged(e);
  2717. if ((this.Фильтр_по_убыванию_кодаRowChanged != null)) {
  2718. this.Фильтр_по_убыванию_кодаRowChanged(this, new Фильтр_по_убыванию_кодаRowChangeEvent(((Фильтр_по_убыванию_кодаRow)(e.Row)), e.Action));
  2719. }
  2720. }
  2721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2722. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2723. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2724. base.OnRowChanging(e);
  2725. if ((this.Фильтр_по_убыванию_кодаRowChanging != null)) {
  2726. this.Фильтр_по_убыванию_кодаRowChanging(this, new Фильтр_по_убыванию_кодаRowChangeEvent(((Фильтр_по_убыванию_кодаRow)(e.Row)), e.Action));
  2727. }
  2728. }
  2729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2730. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2731. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2732. base.OnRowDeleted(e);
  2733. if ((this.Фильтр_по_убыванию_кодаRowDeleted != null)) {
  2734. this.Фильтр_по_убыванию_кодаRowDeleted(this, new Фильтр_по_убыванию_кодаRowChangeEvent(((Фильтр_по_убыванию_кодаRow)(e.Row)), e.Action));
  2735. }
  2736. }
  2737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2738. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2739. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2740. base.OnRowDeleting(e);
  2741. if ((this.Фильтр_по_убыванию_кодаRowDeleting != null)) {
  2742. this.Фильтр_по_убыванию_кодаRowDeleting(this, new Фильтр_по_убыванию_кодаRowChangeEvent(((Фильтр_по_убыванию_кодаRow)(e.Row)), e.Action));
  2743. }
  2744. }
  2745. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2746. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2747. public void RemoveФильтр_по_убыванию_кодаRow(Фильтр_по_убыванию_кодаRow row) {
  2748. this.Rows.Remove(row);
  2749. }
  2750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2751. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2752. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2753. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2754. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2755. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  2756. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2757. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2758. any1.MinOccurs = new decimal(0);
  2759. any1.MaxOccurs = decimal.MaxValue;
  2760. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2761. sequence.Items.Add(any1);
  2762. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2763. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2764. any2.MinOccurs = new decimal(1);
  2765. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2766. sequence.Items.Add(any2);
  2767. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2768. attribute1.Name = "namespace";
  2769. attribute1.FixedValue = ds.Namespace;
  2770. type.Attributes.Add(attribute1);
  2771. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2772. attribute2.Name = "tableTypeName";
  2773. attribute2.FixedValue = "Фильтр_по_убыванию_кодаDataTable";
  2774. type.Attributes.Add(attribute2);
  2775. type.Particle = sequence;
  2776. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2777. if (xs.Contains(dsSchema.TargetNamespace)) {
  2778. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2779. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2780. try {
  2781. global::System.Xml.Schema.XmlSchema schema = null;
  2782. dsSchema.Write(s1);
  2783. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2784. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2785. s2.SetLength(0);
  2786. schema.Write(s2);
  2787. if ((s1.Length == s2.Length)) {
  2788. s1.Position = 0;
  2789. s2.Position = 0;
  2790. for (; ((s1.Position != s1.Length)
  2791. && (s1.ReadByte() == s2.ReadByte())); ) {
  2792. ;
  2793. }
  2794. if ((s1.Position == s1.Length)) {
  2795. return type;
  2796. }
  2797. }
  2798. }
  2799. }
  2800. finally {
  2801. if ((s1 != null)) {
  2802. s1.Close();
  2803. }
  2804. if ((s2 != null)) {
  2805. s2.Close();
  2806. }
  2807. }
  2808. }
  2809. xs.Add(dsSchema);
  2810. return type;
  2811. }
  2812. }
  2813. /// <summary>
  2814. ///Represents the strongly named DataTable class.
  2815. ///</summary>
  2816. [global::System.Serializable()]
  2817. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2818. public partial class Фильтр_стоимостьDataTable : global::System.Data.TypedTableBase<Фильтр_стоимостьRow> {
  2819. private global::System.Data.DataColumn columnКод_спецодежды;
  2820. private global::System.Data.DataColumn columnКод_работника;
  2821. private global::System.Data.DataColumn columnДата_получания;
  2822. private global::System.Data.DataColumn _columnСтоимость_единицы_руб_;
  2823. private global::System.Data.DataColumn columnВид_спецодежды;
  2824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2825. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2826. public Фильтр_стоимостьDataTable() {
  2827. this.TableName = "Фильтр стоимость";
  2828. this.BeginInit();
  2829. this.InitClass();
  2830. this.EndInit();
  2831. }
  2832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2834. internal Фильтр_стоимостьDataTable(global::System.Data.DataTable table) {
  2835. this.TableName = table.TableName;
  2836. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2837. this.CaseSensitive = table.CaseSensitive;
  2838. }
  2839. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2840. this.Locale = table.Locale;
  2841. }
  2842. if ((table.Namespace != table.DataSet.Namespace)) {
  2843. this.Namespace = table.Namespace;
  2844. }
  2845. this.Prefix = table.Prefix;
  2846. this.MinimumCapacity = table.MinimumCapacity;
  2847. }
  2848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2850. protected Фильтр_стоимостьDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2851. base(info, context) {
  2852. this.InitVars();
  2853. }
  2854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2855. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2856. public global::System.Data.DataColumn Код_спецодеждыColumn {
  2857. get {
  2858. return this.columnКод_спецодежды;
  2859. }
  2860. }
  2861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2862. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2863. public global::System.Data.DataColumn Код_работникаColumn {
  2864. get {
  2865. return this.columnКод_работника;
  2866. }
  2867. }
  2868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2870. public global::System.Data.DataColumn Дата_получанияColumn {
  2871. get {
  2872. return this.columnДата_получания;
  2873. }
  2874. }
  2875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2876. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2877. public global::System.Data.DataColumn _Стоимость_единицы_руб_Column {
  2878. get {
  2879. return this._columnСтоимость_единицы_руб_;
  2880. }
  2881. }
  2882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2883. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2884. public global::System.Data.DataColumn Вид_спецодеждыColumn {
  2885. get {
  2886. return this.columnВид_спецодежды;
  2887. }
  2888. }
  2889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2891. [global::System.ComponentModel.Browsable(false)]
  2892. public int Count {
  2893. get {
  2894. return this.Rows.Count;
  2895. }
  2896. }
  2897. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2898. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2899. public Фильтр_стоимостьRow this[int index] {
  2900. get {
  2901. return ((Фильтр_стоимостьRow)(this.Rows[index]));
  2902. }
  2903. }
  2904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2905. public event Фильтр_стоимостьRowChangeEventHandler Фильтр_стоимостьRowChanging;
  2906. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2907. public event Фильтр_стоимостьRowChangeEventHandler Фильтр_стоимостьRowChanged;
  2908. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2909. public event Фильтр_стоимостьRowChangeEventHandler Фильтр_стоимостьRowDeleting;
  2910. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2911. public event Фильтр_стоимостьRowChangeEventHandler Фильтр_стоимостьRowDeleted;
  2912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2913. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2914. public void AddФильтр_стоимостьRow(Фильтр_стоимостьRow row) {
  2915. this.Rows.Add(row);
  2916. }
  2917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2918. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2919. public Фильтр_стоимостьRow AddФильтр_стоимостьRow(int Код_спецодежды, byte Код_работника, System.DateTime Дата_получания, decimal _Стоимость_единицы_руб_, string Вид_спецодежды) {
  2920. Фильтр_стоимостьRow rowФильтр_стоимостьRow = ((Фильтр_стоимостьRow)(this.NewRow()));
  2921. object[] columnValuesArray = new object[] {
  2922. Код_спецодежды,
  2923. Код_работника,
  2924. Дата_получания,
  2925. _Стоимость_единицы_руб_,
  2926. Вид_спецодежды};
  2927. rowФильтр_стоимостьRow.ItemArray = columnValuesArray;
  2928. this.Rows.Add(rowФильтр_стоимостьRow);
  2929. return rowФильтр_стоимостьRow;
  2930. }
  2931. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2932. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2933. public Фильтр_стоимостьRow FindByКод_спецодежды(int Код_спецодежды) {
  2934. return ((Фильтр_стоимостьRow)(this.Rows.Find(new object[] {
  2935. Код_спецодежды})));
  2936. }
  2937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2938. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2939. public override global::System.Data.DataTable Clone() {
  2940. Фильтр_стоимостьDataTable cln = ((Фильтр_стоимостьDataTable)(base.Clone()));
  2941. cln.InitVars();
  2942. return cln;
  2943. }
  2944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2945. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2946. protected override global::System.Data.DataTable CreateInstance() {
  2947. return new Фильтр_стоимостьDataTable();
  2948. }
  2949. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2950. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2951. internal void InitVars() {
  2952. this.columnКод_спецодежды = base.Columns["Код_спецодежды"];
  2953. this.columnКод_работника = base.Columns["Код работника"];
  2954. this.columnДата_получания = base.Columns["Дата получания"];
  2955. this._columnСтоимость_единицы_руб_ = base.Columns["Стоимость_единицы(руб)"];
  2956. this.columnВид_спецодежды = base.Columns["Вид_спецодежды"];
  2957. }
  2958. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2959. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2960. private void InitClass() {
  2961. this.columnКод_спецодежды = new global::System.Data.DataColumn("Код_спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  2962. base.Columns.Add(this.columnКод_спецодежды);
  2963. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  2964. base.Columns.Add(this.columnКод_работника);
  2965. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2966. base.Columns.Add(this.columnДата_получания);
  2967. this._columnСтоимость_единицы_руб_ = new global::System.Data.DataColumn("Стоимость_единицы(руб)", typeof(decimal), null, global::System.Data.MappingType.Element);
  2968. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_единицы_руб_");
  2969. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость_единицы(руб)");
  2970. base.Columns.Add(this._columnСтоимость_единицы_руб_);
  2971. this.columnВид_спецодежды = new global::System.Data.DataColumn("Вид_спецодежды", typeof(string), null, global::System.Data.MappingType.Element);
  2972. base.Columns.Add(this.columnВид_спецодежды);
  2973. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2974. this.columnКод_спецодежды}, true));
  2975. this.columnКод_спецодежды.AllowDBNull = false;
  2976. this.columnКод_спецодежды.Unique = true;
  2977. this.columnКод_работника.AllowDBNull = false;
  2978. this.columnВид_спецодежды.MaxLength = 50;
  2979. }
  2980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2981. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2982. public Фильтр_стоимостьRow NewФильтр_стоимостьRow() {
  2983. return ((Фильтр_стоимостьRow)(this.NewRow()));
  2984. }
  2985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2987. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2988. return new Фильтр_стоимостьRow(builder);
  2989. }
  2990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2991. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2992. protected override global::System.Type GetRowType() {
  2993. return typeof(Фильтр_стоимостьRow);
  2994. }
  2995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2996. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2997. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2998. base.OnRowChanged(e);
  2999. if ((this.Фильтр_стоимостьRowChanged != null)) {
  3000. this.Фильтр_стоимостьRowChanged(this, new Фильтр_стоимостьRowChangeEvent(((Фильтр_стоимостьRow)(e.Row)), e.Action));
  3001. }
  3002. }
  3003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3004. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3005. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3006. base.OnRowChanging(e);
  3007. if ((this.Фильтр_стоимостьRowChanging != null)) {
  3008. this.Фильтр_стоимостьRowChanging(this, new Фильтр_стоимостьRowChangeEvent(((Фильтр_стоимостьRow)(e.Row)), e.Action));
  3009. }
  3010. }
  3011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3012. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3013. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3014. base.OnRowDeleted(e);
  3015. if ((this.Фильтр_стоимостьRowDeleted != null)) {
  3016. this.Фильтр_стоимостьRowDeleted(this, new Фильтр_стоимостьRowChangeEvent(((Фильтр_стоимостьRow)(e.Row)), e.Action));
  3017. }
  3018. }
  3019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3020. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3021. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3022. base.OnRowDeleting(e);
  3023. if ((this.Фильтр_стоимостьRowDeleting != null)) {
  3024. this.Фильтр_стоимостьRowDeleting(this, new Фильтр_стоимостьRowChangeEvent(((Фильтр_стоимостьRow)(e.Row)), e.Action));
  3025. }
  3026. }
  3027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3029. public void RemoveФильтр_стоимостьRow(Фильтр_стоимостьRow row) {
  3030. this.Rows.Remove(row);
  3031. }
  3032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3033. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3034. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3035. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3036. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3037. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  3038. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3039. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3040. any1.MinOccurs = new decimal(0);
  3041. any1.MaxOccurs = decimal.MaxValue;
  3042. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3043. sequence.Items.Add(any1);
  3044. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3045. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3046. any2.MinOccurs = new decimal(1);
  3047. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3048. sequence.Items.Add(any2);
  3049. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3050. attribute1.Name = "namespace";
  3051. attribute1.FixedValue = ds.Namespace;
  3052. type.Attributes.Add(attribute1);
  3053. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3054. attribute2.Name = "tableTypeName";
  3055. attribute2.FixedValue = "Фильтр_стоимостьDataTable";
  3056. type.Attributes.Add(attribute2);
  3057. type.Particle = sequence;
  3058. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3059. if (xs.Contains(dsSchema.TargetNamespace)) {
  3060. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3061. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3062. try {
  3063. global::System.Xml.Schema.XmlSchema schema = null;
  3064. dsSchema.Write(s1);
  3065. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3066. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3067. s2.SetLength(0);
  3068. schema.Write(s2);
  3069. if ((s1.Length == s2.Length)) {
  3070. s1.Position = 0;
  3071. s2.Position = 0;
  3072. for (; ((s1.Position != s1.Length)
  3073. && (s1.ReadByte() == s2.ReadByte())); ) {
  3074. ;
  3075. }
  3076. if ((s1.Position == s1.Length)) {
  3077. return type;
  3078. }
  3079. }
  3080. }
  3081. }
  3082. finally {
  3083. if ((s1 != null)) {
  3084. s1.Close();
  3085. }
  3086. if ((s2 != null)) {
  3087. s2.Close();
  3088. }
  3089. }
  3090. }
  3091. xs.Add(dsSchema);
  3092. return type;
  3093. }
  3094. }
  3095. /// <summary>
  3096. ///Represents the strongly named DataTable class.
  3097. ///</summary>
  3098. [global::System.Serializable()]
  3099. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3100. public partial class Фильтр_БадретдиновDataTable : global::System.Data.TypedTableBase<Фильтр_БадретдиновRow> {
  3101. private global::System.Data.DataColumn columnФИО_работника;
  3102. private global::System.Data.DataColumn columnКод_работника;
  3103. private global::System.Data.DataColumn columnкод_спецодежды;
  3104. private global::System.Data.DataColumn columnДата_получания;
  3105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3106. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3107. public Фильтр_БадретдиновDataTable() {
  3108. this.TableName = "Фильтр_Бадретдинов";
  3109. this.BeginInit();
  3110. this.InitClass();
  3111. this.EndInit();
  3112. }
  3113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3115. internal Фильтр_БадретдиновDataTable(global::System.Data.DataTable table) {
  3116. this.TableName = table.TableName;
  3117. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3118. this.CaseSensitive = table.CaseSensitive;
  3119. }
  3120. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3121. this.Locale = table.Locale;
  3122. }
  3123. if ((table.Namespace != table.DataSet.Namespace)) {
  3124. this.Namespace = table.Namespace;
  3125. }
  3126. this.Prefix = table.Prefix;
  3127. this.MinimumCapacity = table.MinimumCapacity;
  3128. }
  3129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3131. protected Фильтр_БадретдиновDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3132. base(info, context) {
  3133. this.InitVars();
  3134. }
  3135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3136. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3137. public global::System.Data.DataColumn ФИО_работникаColumn {
  3138. get {
  3139. return this.columnФИО_работника;
  3140. }
  3141. }
  3142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3143. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3144. public global::System.Data.DataColumn Код_работникаColumn {
  3145. get {
  3146. return this.columnКод_работника;
  3147. }
  3148. }
  3149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3150. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3151. public global::System.Data.DataColumn код_спецодеждыColumn {
  3152. get {
  3153. return this.columnкод_спецодежды;
  3154. }
  3155. }
  3156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3158. public global::System.Data.DataColumn Дата_получанияColumn {
  3159. get {
  3160. return this.columnДата_получания;
  3161. }
  3162. }
  3163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3165. [global::System.ComponentModel.Browsable(false)]
  3166. public int Count {
  3167. get {
  3168. return this.Rows.Count;
  3169. }
  3170. }
  3171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3173. public Фильтр_БадретдиновRow this[int index] {
  3174. get {
  3175. return ((Фильтр_БадретдиновRow)(this.Rows[index]));
  3176. }
  3177. }
  3178. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3179. public event Фильтр_БадретдиновRowChangeEventHandler Фильтр_БадретдиновRowChanging;
  3180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3181. public event Фильтр_БадретдиновRowChangeEventHandler Фильтр_БадретдиновRowChanged;
  3182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3183. public event Фильтр_БадретдиновRowChangeEventHandler Фильтр_БадретдиновRowDeleting;
  3184. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3185. public event Фильтр_БадретдиновRowChangeEventHandler Фильтр_БадретдиновRowDeleted;
  3186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3188. public void AddФильтр_БадретдиновRow(Фильтр_БадретдиновRow row) {
  3189. this.Rows.Add(row);
  3190. }
  3191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3193. public Фильтр_БадретдиновRow AddФильтр_БадретдиновRow(string ФИО_работника, byte Код_работника, int код_спецодежды, System.DateTime Дата_получания) {
  3194. Фильтр_БадретдиновRow rowФильтр_БадретдиновRow = ((Фильтр_БадретдиновRow)(this.NewRow()));
  3195. object[] columnValuesArray = new object[] {
  3196. ФИО_работника,
  3197. Код_работника,
  3198. код_спецодежды,
  3199. Дата_получания};
  3200. rowФильтр_БадретдиновRow.ItemArray = columnValuesArray;
  3201. this.Rows.Add(rowФильтр_БадретдиновRow);
  3202. return rowФильтр_БадретдиновRow;
  3203. }
  3204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3205. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3206. public override global::System.Data.DataTable Clone() {
  3207. Фильтр_БадретдиновDataTable cln = ((Фильтр_БадретдиновDataTable)(base.Clone()));
  3208. cln.InitVars();
  3209. return cln;
  3210. }
  3211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3213. protected override global::System.Data.DataTable CreateInstance() {
  3214. return new Фильтр_БадретдиновDataTable();
  3215. }
  3216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3217. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3218. internal void InitVars() {
  3219. this.columnФИО_работника = base.Columns["ФИО работника"];
  3220. this.columnКод_работника = base.Columns["Код работника"];
  3221. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  3222. this.columnДата_получания = base.Columns["Дата получания"];
  3223. }
  3224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3225. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3226. private void InitClass() {
  3227. this.columnФИО_работника = new global::System.Data.DataColumn("ФИО работника", typeof(string), null, global::System.Data.MappingType.Element);
  3228. base.Columns.Add(this.columnФИО_работника);
  3229. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  3230. base.Columns.Add(this.columnКод_работника);
  3231. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  3232. base.Columns.Add(this.columnкод_спецодежды);
  3233. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3234. base.Columns.Add(this.columnДата_получания);
  3235. this.columnФИО_работника.MaxLength = 50;
  3236. this.columnКод_работника.AllowDBNull = false;
  3237. this.columnкод_спецодежды.AllowDBNull = false;
  3238. }
  3239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3240. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3241. public Фильтр_БадретдиновRow NewФильтр_БадретдиновRow() {
  3242. return ((Фильтр_БадретдиновRow)(this.NewRow()));
  3243. }
  3244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3246. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3247. return new Фильтр_БадретдиновRow(builder);
  3248. }
  3249. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3250. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3251. protected override global::System.Type GetRowType() {
  3252. return typeof(Фильтр_БадретдиновRow);
  3253. }
  3254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3255. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3256. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3257. base.OnRowChanged(e);
  3258. if ((this.Фильтр_БадретдиновRowChanged != null)) {
  3259. this.Фильтр_БадретдиновRowChanged(this, new Фильтр_БадретдиновRowChangeEvent(((Фильтр_БадретдиновRow)(e.Row)), e.Action));
  3260. }
  3261. }
  3262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3263. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3264. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3265. base.OnRowChanging(e);
  3266. if ((this.Фильтр_БадретдиновRowChanging != null)) {
  3267. this.Фильтр_БадретдиновRowChanging(this, new Фильтр_БадретдиновRowChangeEvent(((Фильтр_БадретдиновRow)(e.Row)), e.Action));
  3268. }
  3269. }
  3270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3271. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3272. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3273. base.OnRowDeleted(e);
  3274. if ((this.Фильтр_БадретдиновRowDeleted != null)) {
  3275. this.Фильтр_БадретдиновRowDeleted(this, new Фильтр_БадретдиновRowChangeEvent(((Фильтр_БадретдиновRow)(e.Row)), e.Action));
  3276. }
  3277. }
  3278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3279. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3280. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3281. base.OnRowDeleting(e);
  3282. if ((this.Фильтр_БадретдиновRowDeleting != null)) {
  3283. this.Фильтр_БадретдиновRowDeleting(this, new Фильтр_БадретдиновRowChangeEvent(((Фильтр_БадретдиновRow)(e.Row)), e.Action));
  3284. }
  3285. }
  3286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3288. public void RemoveФильтр_БадретдиновRow(Фильтр_БадретдиновRow row) {
  3289. this.Rows.Remove(row);
  3290. }
  3291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3292. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3293. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3294. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3295. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3296. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  3297. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3298. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3299. any1.MinOccurs = new decimal(0);
  3300. any1.MaxOccurs = decimal.MaxValue;
  3301. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3302. sequence.Items.Add(any1);
  3303. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3304. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3305. any2.MinOccurs = new decimal(1);
  3306. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3307. sequence.Items.Add(any2);
  3308. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3309. attribute1.Name = "namespace";
  3310. attribute1.FixedValue = ds.Namespace;
  3311. type.Attributes.Add(attribute1);
  3312. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3313. attribute2.Name = "tableTypeName";
  3314. attribute2.FixedValue = "Фильтр_БадретдиновDataTable";
  3315. type.Attributes.Add(attribute2);
  3316. type.Particle = sequence;
  3317. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3318. if (xs.Contains(dsSchema.TargetNamespace)) {
  3319. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3320. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3321. try {
  3322. global::System.Xml.Schema.XmlSchema schema = null;
  3323. dsSchema.Write(s1);
  3324. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3325. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3326. s2.SetLength(0);
  3327. schema.Write(s2);
  3328. if ((s1.Length == s2.Length)) {
  3329. s1.Position = 0;
  3330. s2.Position = 0;
  3331. for (; ((s1.Position != s1.Length)
  3332. && (s1.ReadByte() == s2.ReadByte())); ) {
  3333. ;
  3334. }
  3335. if ((s1.Position == s1.Length)) {
  3336. return type;
  3337. }
  3338. }
  3339. }
  3340. }
  3341. finally {
  3342. if ((s1 != null)) {
  3343. s1.Close();
  3344. }
  3345. if ((s2 != null)) {
  3346. s2.Close();
  3347. }
  3348. }
  3349. }
  3350. xs.Add(dsSchema);
  3351. return type;
  3352. }
  3353. }
  3354. /// <summary>
  3355. ///Represents the strongly named DataTable class.
  3356. ///</summary>
  3357. [global::System.Serializable()]
  3358. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3359. public partial class Фильтр_семаковDataTable : global::System.Data.TypedTableBase<Фильтр_семаковRow> {
  3360. private global::System.Data.DataColumn columnФИО_работника;
  3361. private global::System.Data.DataColumn columnКод_работника;
  3362. private global::System.Data.DataColumn columnДата_получания;
  3363. private global::System.Data.DataColumn columnкод_спецодежды;
  3364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3366. public Фильтр_семаковDataTable() {
  3367. this.TableName = "Фильтр_семаков";
  3368. this.BeginInit();
  3369. this.InitClass();
  3370. this.EndInit();
  3371. }
  3372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3374. internal Фильтр_семаковDataTable(global::System.Data.DataTable table) {
  3375. this.TableName = table.TableName;
  3376. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3377. this.CaseSensitive = table.CaseSensitive;
  3378. }
  3379. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3380. this.Locale = table.Locale;
  3381. }
  3382. if ((table.Namespace != table.DataSet.Namespace)) {
  3383. this.Namespace = table.Namespace;
  3384. }
  3385. this.Prefix = table.Prefix;
  3386. this.MinimumCapacity = table.MinimumCapacity;
  3387. }
  3388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3389. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3390. protected Фильтр_семаковDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3391. base(info, context) {
  3392. this.InitVars();
  3393. }
  3394. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3395. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3396. public global::System.Data.DataColumn ФИО_работникаColumn {
  3397. get {
  3398. return this.columnФИО_работника;
  3399. }
  3400. }
  3401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3402. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3403. public global::System.Data.DataColumn Код_работникаColumn {
  3404. get {
  3405. return this.columnКод_работника;
  3406. }
  3407. }
  3408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3409. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3410. public global::System.Data.DataColumn Дата_получанияColumn {
  3411. get {
  3412. return this.columnДата_получания;
  3413. }
  3414. }
  3415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3416. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3417. public global::System.Data.DataColumn код_спецодеждыColumn {
  3418. get {
  3419. return this.columnкод_спецодежды;
  3420. }
  3421. }
  3422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3424. [global::System.ComponentModel.Browsable(false)]
  3425. public int Count {
  3426. get {
  3427. return this.Rows.Count;
  3428. }
  3429. }
  3430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3431. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3432. public Фильтр_семаковRow this[int index] {
  3433. get {
  3434. return ((Фильтр_семаковRow)(this.Rows[index]));
  3435. }
  3436. }
  3437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3438. public event Фильтр_семаковRowChangeEventHandler Фильтр_семаковRowChanging;
  3439. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3440. public event Фильтр_семаковRowChangeEventHandler Фильтр_семаковRowChanged;
  3441. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3442. public event Фильтр_семаковRowChangeEventHandler Фильтр_семаковRowDeleting;
  3443. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3444. public event Фильтр_семаковRowChangeEventHandler Фильтр_семаковRowDeleted;
  3445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3446. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3447. public void AddФильтр_семаковRow(Фильтр_семаковRow row) {
  3448. this.Rows.Add(row);
  3449. }
  3450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3452. public Фильтр_семаковRow AddФильтр_семаковRow(string ФИО_работника, byte Код_работника, System.DateTime Дата_получания, int код_спецодежды) {
  3453. Фильтр_семаковRow rowФильтр_семаковRow = ((Фильтр_семаковRow)(this.NewRow()));
  3454. object[] columnValuesArray = new object[] {
  3455. ФИО_работника,
  3456. Код_работника,
  3457. Дата_получания,
  3458. код_спецодежды};
  3459. rowФильтр_семаковRow.ItemArray = columnValuesArray;
  3460. this.Rows.Add(rowФильтр_семаковRow);
  3461. return rowФильтр_семаковRow;
  3462. }
  3463. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3464. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3465. public override global::System.Data.DataTable Clone() {
  3466. Фильтр_семаковDataTable cln = ((Фильтр_семаковDataTable)(base.Clone()));
  3467. cln.InitVars();
  3468. return cln;
  3469. }
  3470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3471. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3472. protected override global::System.Data.DataTable CreateInstance() {
  3473. return new Фильтр_семаковDataTable();
  3474. }
  3475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3476. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3477. internal void InitVars() {
  3478. this.columnФИО_работника = base.Columns["ФИО работника"];
  3479. this.columnКод_работника = base.Columns["Код работника"];
  3480. this.columnДата_получания = base.Columns["Дата получания"];
  3481. this.columnкод_спецодежды = base.Columns["код спецодежды"];
  3482. }
  3483. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3484. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3485. private void InitClass() {
  3486. this.columnФИО_работника = new global::System.Data.DataColumn("ФИО работника", typeof(string), null, global::System.Data.MappingType.Element);
  3487. base.Columns.Add(this.columnФИО_работника);
  3488. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  3489. base.Columns.Add(this.columnКод_работника);
  3490. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3491. base.Columns.Add(this.columnДата_получания);
  3492. this.columnкод_спецодежды = new global::System.Data.DataColumn("код спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  3493. base.Columns.Add(this.columnкод_спецодежды);
  3494. this.columnФИО_работника.MaxLength = 50;
  3495. this.columnКод_работника.AllowDBNull = false;
  3496. this.columnкод_спецодежды.AllowDBNull = false;
  3497. }
  3498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3499. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3500. public Фильтр_семаковRow NewФильтр_семаковRow() {
  3501. return ((Фильтр_семаковRow)(this.NewRow()));
  3502. }
  3503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3505. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3506. return new Фильтр_семаковRow(builder);
  3507. }
  3508. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3509. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3510. protected override global::System.Type GetRowType() {
  3511. return typeof(Фильтр_семаковRow);
  3512. }
  3513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3515. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3516. base.OnRowChanged(e);
  3517. if ((this.Фильтр_семаковRowChanged != null)) {
  3518. this.Фильтр_семаковRowChanged(this, new Фильтр_семаковRowChangeEvent(((Фильтр_семаковRow)(e.Row)), e.Action));
  3519. }
  3520. }
  3521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3523. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3524. base.OnRowChanging(e);
  3525. if ((this.Фильтр_семаковRowChanging != null)) {
  3526. this.Фильтр_семаковRowChanging(this, new Фильтр_семаковRowChangeEvent(((Фильтр_семаковRow)(e.Row)), e.Action));
  3527. }
  3528. }
  3529. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3530. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3531. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3532. base.OnRowDeleted(e);
  3533. if ((this.Фильтр_семаковRowDeleted != null)) {
  3534. this.Фильтр_семаковRowDeleted(this, new Фильтр_семаковRowChangeEvent(((Фильтр_семаковRow)(e.Row)), e.Action));
  3535. }
  3536. }
  3537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3539. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3540. base.OnRowDeleting(e);
  3541. if ((this.Фильтр_семаковRowDeleting != null)) {
  3542. this.Фильтр_семаковRowDeleting(this, new Фильтр_семаковRowChangeEvent(((Фильтр_семаковRow)(e.Row)), e.Action));
  3543. }
  3544. }
  3545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3546. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3547. public void RemoveФильтр_семаковRow(Фильтр_семаковRow row) {
  3548. this.Rows.Remove(row);
  3549. }
  3550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3552. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3553. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3554. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3555. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  3556. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3557. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3558. any1.MinOccurs = new decimal(0);
  3559. any1.MaxOccurs = decimal.MaxValue;
  3560. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3561. sequence.Items.Add(any1);
  3562. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3563. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3564. any2.MinOccurs = new decimal(1);
  3565. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3566. sequence.Items.Add(any2);
  3567. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3568. attribute1.Name = "namespace";
  3569. attribute1.FixedValue = ds.Namespace;
  3570. type.Attributes.Add(attribute1);
  3571. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3572. attribute2.Name = "tableTypeName";
  3573. attribute2.FixedValue = "Фильтр_семаковDataTable";
  3574. type.Attributes.Add(attribute2);
  3575. type.Particle = sequence;
  3576. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3577. if (xs.Contains(dsSchema.TargetNamespace)) {
  3578. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3579. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3580. try {
  3581. global::System.Xml.Schema.XmlSchema schema = null;
  3582. dsSchema.Write(s1);
  3583. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3584. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3585. s2.SetLength(0);
  3586. schema.Write(s2);
  3587. if ((s1.Length == s2.Length)) {
  3588. s1.Position = 0;
  3589. s2.Position = 0;
  3590. for (; ((s1.Position != s1.Length)
  3591. && (s1.ReadByte() == s2.ReadByte())); ) {
  3592. ;
  3593. }
  3594. if ((s1.Position == s1.Length)) {
  3595. return type;
  3596. }
  3597. }
  3598. }
  3599. }
  3600. finally {
  3601. if ((s1 != null)) {
  3602. s1.Close();
  3603. }
  3604. if ((s2 != null)) {
  3605. s2.Close();
  3606. }
  3607. }
  3608. }
  3609. xs.Add(dsSchema);
  3610. return type;
  3611. }
  3612. }
  3613. /// <summary>
  3614. ///Represents the strongly named DataTable class.
  3615. ///</summary>
  3616. [global::System.Serializable()]
  3617. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3618. public partial class _фильтр_зимняяDataTable : global::System.Data.TypedTableBase<_фильтр_зимняяRow> {
  3619. private global::System.Data.DataColumn columnКод_спецодежды;
  3620. private global::System.Data.DataColumn columnКод_работника;
  3621. private global::System.Data.DataColumn columnДата_получания;
  3622. private global::System.Data.DataColumn _columnСтоимость_единицы_руб_;
  3623. private global::System.Data.DataColumn columnВид_спецодежды;
  3624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3626. public _фильтр_зимняяDataTable() {
  3627. this.TableName = "фильтр-зимняя";
  3628. this.BeginInit();
  3629. this.InitClass();
  3630. this.EndInit();
  3631. }
  3632. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3633. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3634. internal _фильтр_зимняяDataTable(global::System.Data.DataTable table) {
  3635. this.TableName = table.TableName;
  3636. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3637. this.CaseSensitive = table.CaseSensitive;
  3638. }
  3639. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3640. this.Locale = table.Locale;
  3641. }
  3642. if ((table.Namespace != table.DataSet.Namespace)) {
  3643. this.Namespace = table.Namespace;
  3644. }
  3645. this.Prefix = table.Prefix;
  3646. this.MinimumCapacity = table.MinimumCapacity;
  3647. }
  3648. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3649. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3650. protected _фильтр_зимняяDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3651. base(info, context) {
  3652. this.InitVars();
  3653. }
  3654. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3655. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3656. public global::System.Data.DataColumn Код_спецодеждыColumn {
  3657. get {
  3658. return this.columnКод_спецодежды;
  3659. }
  3660. }
  3661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3662. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3663. public global::System.Data.DataColumn Код_работникаColumn {
  3664. get {
  3665. return this.columnКод_работника;
  3666. }
  3667. }
  3668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3669. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3670. public global::System.Data.DataColumn Дата_получанияColumn {
  3671. get {
  3672. return this.columnДата_получания;
  3673. }
  3674. }
  3675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3677. public global::System.Data.DataColumn _Стоимость_единицы_руб_Column {
  3678. get {
  3679. return this._columnСтоимость_единицы_руб_;
  3680. }
  3681. }
  3682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3683. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3684. public global::System.Data.DataColumn Вид_спецодеждыColumn {
  3685. get {
  3686. return this.columnВид_спецодежды;
  3687. }
  3688. }
  3689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3690. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3691. [global::System.ComponentModel.Browsable(false)]
  3692. public int Count {
  3693. get {
  3694. return this.Rows.Count;
  3695. }
  3696. }
  3697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3698. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3699. public _фильтр_зимняяRow this[int index] {
  3700. get {
  3701. return ((_фильтр_зимняяRow)(this.Rows[index]));
  3702. }
  3703. }
  3704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3705. public event _фильтр_зимняяRowChangeEventHandler _фильтр_зимняяRowChanging;
  3706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3707. public event _фильтр_зимняяRowChangeEventHandler _фильтр_зимняяRowChanged;
  3708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3709. public event _фильтр_зимняяRowChangeEventHandler _фильтр_зимняяRowDeleting;
  3710. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3711. public event _фильтр_зимняяRowChangeEventHandler _фильтр_зимняяRowDeleted;
  3712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3714. public void Add_фильтр_зимняяRow(_фильтр_зимняяRow row) {
  3715. this.Rows.Add(row);
  3716. }
  3717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3718. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3719. public _фильтр_зимняяRow Add_фильтр_зимняяRow(int Код_спецодежды, byte Код_работника, System.DateTime Дата_получания, decimal _Стоимость_единицы_руб_, string Вид_спецодежды) {
  3720. _фильтр_зимняяRow row_фильтр_зимняяRow = ((_фильтр_зимняяRow)(this.NewRow()));
  3721. object[] columnValuesArray = new object[] {
  3722. Код_спецодежды,
  3723. Код_работника,
  3724. Дата_получания,
  3725. _Стоимость_единицы_руб_,
  3726. Вид_спецодежды};
  3727. row_фильтр_зимняяRow.ItemArray = columnValuesArray;
  3728. this.Rows.Add(row_фильтр_зимняяRow);
  3729. return row_фильтр_зимняяRow;
  3730. }
  3731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3732. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3733. public _фильтр_зимняяRow FindByКод_спецодежды(int Код_спецодежды) {
  3734. return ((_фильтр_зимняяRow)(this.Rows.Find(new object[] {
  3735. Код_спецодежды})));
  3736. }
  3737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3738. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3739. public override global::System.Data.DataTable Clone() {
  3740. _фильтр_зимняяDataTable cln = ((_фильтр_зимняяDataTable)(base.Clone()));
  3741. cln.InitVars();
  3742. return cln;
  3743. }
  3744. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3745. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3746. protected override global::System.Data.DataTable CreateInstance() {
  3747. return new _фильтр_зимняяDataTable();
  3748. }
  3749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3750. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3751. internal void InitVars() {
  3752. this.columnКод_спецодежды = base.Columns["Код_спецодежды"];
  3753. this.columnКод_работника = base.Columns["Код работника"];
  3754. this.columnДата_получания = base.Columns["Дата получания"];
  3755. this._columnСтоимость_единицы_руб_ = base.Columns["Стоимость_единицы(руб)"];
  3756. this.columnВид_спецодежды = base.Columns["Вид_спецодежды"];
  3757. }
  3758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3759. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3760. private void InitClass() {
  3761. this.columnКод_спецодежды = new global::System.Data.DataColumn("Код_спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  3762. base.Columns.Add(this.columnКод_спецодежды);
  3763. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  3764. base.Columns.Add(this.columnКод_работника);
  3765. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3766. base.Columns.Add(this.columnДата_получания);
  3767. this._columnСтоимость_единицы_руб_ = new global::System.Data.DataColumn("Стоимость_единицы(руб)", typeof(decimal), null, global::System.Data.MappingType.Element);
  3768. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_единицы_руб_");
  3769. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость_единицы(руб)");
  3770. base.Columns.Add(this._columnСтоимость_единицы_руб_);
  3771. this.columnВид_спецодежды = new global::System.Data.DataColumn("Вид_спецодежды", typeof(string), null, global::System.Data.MappingType.Element);
  3772. base.Columns.Add(this.columnВид_спецодежды);
  3773. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  3774. this.columnКод_спецодежды}, true));
  3775. this.columnКод_спецодежды.AllowDBNull = false;
  3776. this.columnКод_спецодежды.Unique = true;
  3777. this.columnКод_работника.AllowDBNull = false;
  3778. this.columnВид_спецодежды.MaxLength = 50;
  3779. this.ExtendedProperties.Add("Generator_TableVarName", "_tableфильтр_зимняя");
  3780. this.ExtendedProperties.Add("Generator_UserTableName", "фильтр-зимняя");
  3781. }
  3782. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3783. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3784. public _фильтр_зимняяRow New_фильтр_зимняяRow() {
  3785. return ((_фильтр_зимняяRow)(this.NewRow()));
  3786. }
  3787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3788. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3789. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3790. return new _фильтр_зимняяRow(builder);
  3791. }
  3792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3793. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3794. protected override global::System.Type GetRowType() {
  3795. return typeof(_фильтр_зимняяRow);
  3796. }
  3797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3798. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3799. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3800. base.OnRowChanged(e);
  3801. if ((this._фильтр_зимняяRowChanged != null)) {
  3802. this._фильтр_зимняяRowChanged(this, new _фильтр_зимняяRowChangeEvent(((_фильтр_зимняяRow)(e.Row)), e.Action));
  3803. }
  3804. }
  3805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3806. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3807. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3808. base.OnRowChanging(e);
  3809. if ((this._фильтр_зимняяRowChanging != null)) {
  3810. this._фильтр_зимняяRowChanging(this, new _фильтр_зимняяRowChangeEvent(((_фильтр_зимняяRow)(e.Row)), e.Action));
  3811. }
  3812. }
  3813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3814. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3815. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3816. base.OnRowDeleted(e);
  3817. if ((this._фильтр_зимняяRowDeleted != null)) {
  3818. this._фильтр_зимняяRowDeleted(this, new _фильтр_зимняяRowChangeEvent(((_фильтр_зимняяRow)(e.Row)), e.Action));
  3819. }
  3820. }
  3821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3823. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3824. base.OnRowDeleting(e);
  3825. if ((this._фильтр_зимняяRowDeleting != null)) {
  3826. this._фильтр_зимняяRowDeleting(this, new _фильтр_зимняяRowChangeEvent(((_фильтр_зимняяRow)(e.Row)), e.Action));
  3827. }
  3828. }
  3829. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3830. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3831. public void Remove_фильтр_зимняяRow(_фильтр_зимняяRow row) {
  3832. this.Rows.Remove(row);
  3833. }
  3834. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3835. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3836. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3837. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3838. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3839. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  3840. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3841. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3842. any1.MinOccurs = new decimal(0);
  3843. any1.MaxOccurs = decimal.MaxValue;
  3844. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3845. sequence.Items.Add(any1);
  3846. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3847. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3848. any2.MinOccurs = new decimal(1);
  3849. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3850. sequence.Items.Add(any2);
  3851. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3852. attribute1.Name = "namespace";
  3853. attribute1.FixedValue = ds.Namespace;
  3854. type.Attributes.Add(attribute1);
  3855. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3856. attribute2.Name = "tableTypeName";
  3857. attribute2.FixedValue = "_фильтр_зимняяDataTable";
  3858. type.Attributes.Add(attribute2);
  3859. type.Particle = sequence;
  3860. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3861. if (xs.Contains(dsSchema.TargetNamespace)) {
  3862. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3863. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3864. try {
  3865. global::System.Xml.Schema.XmlSchema schema = null;
  3866. dsSchema.Write(s1);
  3867. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3868. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3869. s2.SetLength(0);
  3870. schema.Write(s2);
  3871. if ((s1.Length == s2.Length)) {
  3872. s1.Position = 0;
  3873. s2.Position = 0;
  3874. for (; ((s1.Position != s1.Length)
  3875. && (s1.ReadByte() == s2.ReadByte())); ) {
  3876. ;
  3877. }
  3878. if ((s1.Position == s1.Length)) {
  3879. return type;
  3880. }
  3881. }
  3882. }
  3883. }
  3884. finally {
  3885. if ((s1 != null)) {
  3886. s1.Close();
  3887. }
  3888. if ((s2 != null)) {
  3889. s2.Close();
  3890. }
  3891. }
  3892. }
  3893. xs.Add(dsSchema);
  3894. return type;
  3895. }
  3896. }
  3897. /// <summary>
  3898. ///Represents the strongly named DataTable class.
  3899. ///</summary>
  3900. [global::System.Serializable()]
  3901. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3902. public partial class _Фильтр_ЛетняяDataTable : global::System.Data.TypedTableBase<_Фильтр_ЛетняяRow> {
  3903. private global::System.Data.DataColumn columnКод_спецодежды;
  3904. private global::System.Data.DataColumn columnКод_работника;
  3905. private global::System.Data.DataColumn columnДата_получания;
  3906. private global::System.Data.DataColumn _columnСтоимость_единицы_руб_;
  3907. private global::System.Data.DataColumn columnВид_спецодежды;
  3908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3910. public _Фильтр_ЛетняяDataTable() {
  3911. this.TableName = "Фильтр-Летняя";
  3912. this.BeginInit();
  3913. this.InitClass();
  3914. this.EndInit();
  3915. }
  3916. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3917. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3918. internal _Фильтр_ЛетняяDataTable(global::System.Data.DataTable table) {
  3919. this.TableName = table.TableName;
  3920. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3921. this.CaseSensitive = table.CaseSensitive;
  3922. }
  3923. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3924. this.Locale = table.Locale;
  3925. }
  3926. if ((table.Namespace != table.DataSet.Namespace)) {
  3927. this.Namespace = table.Namespace;
  3928. }
  3929. this.Prefix = table.Prefix;
  3930. this.MinimumCapacity = table.MinimumCapacity;
  3931. }
  3932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3934. protected _Фильтр_ЛетняяDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3935. base(info, context) {
  3936. this.InitVars();
  3937. }
  3938. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3939. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3940. public global::System.Data.DataColumn Код_спецодеждыColumn {
  3941. get {
  3942. return this.columnКод_спецодежды;
  3943. }
  3944. }
  3945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3946. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3947. public global::System.Data.DataColumn Код_работникаColumn {
  3948. get {
  3949. return this.columnКод_работника;
  3950. }
  3951. }
  3952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3953. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3954. public global::System.Data.DataColumn Дата_получанияColumn {
  3955. get {
  3956. return this.columnДата_получания;
  3957. }
  3958. }
  3959. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3960. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3961. public global::System.Data.DataColumn _Стоимость_единицы_руб_Column {
  3962. get {
  3963. return this._columnСтоимость_единицы_руб_;
  3964. }
  3965. }
  3966. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3967. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3968. public global::System.Data.DataColumn Вид_спецодеждыColumn {
  3969. get {
  3970. return this.columnВид_спецодежды;
  3971. }
  3972. }
  3973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3974. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3975. [global::System.ComponentModel.Browsable(false)]
  3976. public int Count {
  3977. get {
  3978. return this.Rows.Count;
  3979. }
  3980. }
  3981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3983. public _Фильтр_ЛетняяRow this[int index] {
  3984. get {
  3985. return ((_Фильтр_ЛетняяRow)(this.Rows[index]));
  3986. }
  3987. }
  3988. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3989. public event _Фильтр_ЛетняяRowChangeEventHandler _Фильтр_ЛетняяRowChanging;
  3990. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3991. public event _Фильтр_ЛетняяRowChangeEventHandler _Фильтр_ЛетняяRowChanged;
  3992. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3993. public event _Фильтр_ЛетняяRowChangeEventHandler _Фильтр_ЛетняяRowDeleting;
  3994. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3995. public event _Фильтр_ЛетняяRowChangeEventHandler _Фильтр_ЛетняяRowDeleted;
  3996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3997. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3998. public void Add_Фильтр_ЛетняяRow(_Фильтр_ЛетняяRow row) {
  3999. this.Rows.Add(row);
  4000. }
  4001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4002. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4003. public _Фильтр_ЛетняяRow Add_Фильтр_ЛетняяRow(int Код_спецодежды, byte Код_работника, System.DateTime Дата_получания, decimal _Стоимость_единицы_руб_, string Вид_спецодежды) {
  4004. _Фильтр_ЛетняяRow row_Фильтр_ЛетняяRow = ((_Фильтр_ЛетняяRow)(this.NewRow()));
  4005. object[] columnValuesArray = new object[] {
  4006. Код_спецодежды,
  4007. Код_работника,
  4008. Дата_получания,
  4009. _Стоимость_единицы_руб_,
  4010. Вид_спецодежды};
  4011. row_Фильтр_ЛетняяRow.ItemArray = columnValuesArray;
  4012. this.Rows.Add(row_Фильтр_ЛетняяRow);
  4013. return row_Фильтр_ЛетняяRow;
  4014. }
  4015. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4016. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4017. public _Фильтр_ЛетняяRow FindByКод_спецодежды(int Код_спецодежды) {
  4018. return ((_Фильтр_ЛетняяRow)(this.Rows.Find(new object[] {
  4019. Код_спецодежды})));
  4020. }
  4021. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4022. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4023. public override global::System.Data.DataTable Clone() {
  4024. _Фильтр_ЛетняяDataTable cln = ((_Фильтр_ЛетняяDataTable)(base.Clone()));
  4025. cln.InitVars();
  4026. return cln;
  4027. }
  4028. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4029. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4030. protected override global::System.Data.DataTable CreateInstance() {
  4031. return new _Фильтр_ЛетняяDataTable();
  4032. }
  4033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4034. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4035. internal void InitVars() {
  4036. this.columnКод_спецодежды = base.Columns["Код_спецодежды"];
  4037. this.columnКод_работника = base.Columns["Код работника"];
  4038. this.columnДата_получания = base.Columns["Дата получания"];
  4039. this._columnСтоимость_единицы_руб_ = base.Columns["Стоимость_единицы(руб)"];
  4040. this.columnВид_спецодежды = base.Columns["Вид_спецодежды"];
  4041. }
  4042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4044. private void InitClass() {
  4045. this.columnКод_спецодежды = new global::System.Data.DataColumn("Код_спецодежды", typeof(int), null, global::System.Data.MappingType.Element);
  4046. base.Columns.Add(this.columnКод_спецодежды);
  4047. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  4048. base.Columns.Add(this.columnКод_работника);
  4049. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  4050. base.Columns.Add(this.columnДата_получания);
  4051. this._columnСтоимость_единицы_руб_ = new global::System.Data.DataColumn("Стоимость_единицы(руб)", typeof(decimal), null, global::System.Data.MappingType.Element);
  4052. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_единицы_руб_");
  4053. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость_единицы(руб)");
  4054. base.Columns.Add(this._columnСтоимость_единицы_руб_);
  4055. this.columnВид_спецодежды = new global::System.Data.DataColumn("Вид_спецодежды", typeof(string), null, global::System.Data.MappingType.Element);
  4056. base.Columns.Add(this.columnВид_спецодежды);
  4057. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  4058. this.columnКод_спецодежды}, true));
  4059. this.columnКод_спецодежды.AllowDBNull = false;
  4060. this.columnКод_спецодежды.Unique = true;
  4061. this.columnКод_работника.AllowDBNull = false;
  4062. this.columnВид_спецодежды.MaxLength = 50;
  4063. this.ExtendedProperties.Add("Generator_TableVarName", "_tableФильтр_Летняя");
  4064. this.ExtendedProperties.Add("Generator_UserTableName", "Фильтр-Летняя");
  4065. }
  4066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4067. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4068. public _Фильтр_ЛетняяRow New_Фильтр_ЛетняяRow() {
  4069. return ((_Фильтр_ЛетняяRow)(this.NewRow()));
  4070. }
  4071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4072. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4073. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  4074. return new _Фильтр_ЛетняяRow(builder);
  4075. }
  4076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4077. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4078. protected override global::System.Type GetRowType() {
  4079. return typeof(_Фильтр_ЛетняяRow);
  4080. }
  4081. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4082. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4083. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  4084. base.OnRowChanged(e);
  4085. if ((this._Фильтр_ЛетняяRowChanged != null)) {
  4086. this._Фильтр_ЛетняяRowChanged(this, new _Фильтр_ЛетняяRowChangeEvent(((_Фильтр_ЛетняяRow)(e.Row)), e.Action));
  4087. }
  4088. }
  4089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4090. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4091. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  4092. base.OnRowChanging(e);
  4093. if ((this._Фильтр_ЛетняяRowChanging != null)) {
  4094. this._Фильтр_ЛетняяRowChanging(this, new _Фильтр_ЛетняяRowChangeEvent(((_Фильтр_ЛетняяRow)(e.Row)), e.Action));
  4095. }
  4096. }
  4097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4099. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  4100. base.OnRowDeleted(e);
  4101. if ((this._Фильтр_ЛетняяRowDeleted != null)) {
  4102. this._Фильтр_ЛетняяRowDeleted(this, new _Фильтр_ЛетняяRowChangeEvent(((_Фильтр_ЛетняяRow)(e.Row)), e.Action));
  4103. }
  4104. }
  4105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4106. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4107. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  4108. base.OnRowDeleting(e);
  4109. if ((this._Фильтр_ЛетняяRowDeleting != null)) {
  4110. this._Фильтр_ЛетняяRowDeleting(this, new _Фильтр_ЛетняяRowChangeEvent(((_Фильтр_ЛетняяRow)(e.Row)), e.Action));
  4111. }
  4112. }
  4113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4115. public void Remove_Фильтр_ЛетняяRow(_Фильтр_ЛетняяRow row) {
  4116. this.Rows.Remove(row);
  4117. }
  4118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4120. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  4121. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  4122. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  4123. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  4124. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  4125. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  4126. any1.MinOccurs = new decimal(0);
  4127. any1.MaxOccurs = decimal.MaxValue;
  4128. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4129. sequence.Items.Add(any1);
  4130. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  4131. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  4132. any2.MinOccurs = new decimal(1);
  4133. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4134. sequence.Items.Add(any2);
  4135. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4136. attribute1.Name = "namespace";
  4137. attribute1.FixedValue = ds.Namespace;
  4138. type.Attributes.Add(attribute1);
  4139. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4140. attribute2.Name = "tableTypeName";
  4141. attribute2.FixedValue = "_Фильтр_ЛетняяDataTable";
  4142. type.Attributes.Add(attribute2);
  4143. type.Particle = sequence;
  4144. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  4145. if (xs.Contains(dsSchema.TargetNamespace)) {
  4146. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  4147. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  4148. try {
  4149. global::System.Xml.Schema.XmlSchema schema = null;
  4150. dsSchema.Write(s1);
  4151. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  4152. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  4153. s2.SetLength(0);
  4154. schema.Write(s2);
  4155. if ((s1.Length == s2.Length)) {
  4156. s1.Position = 0;
  4157. s2.Position = 0;
  4158. for (; ((s1.Position != s1.Length)
  4159. && (s1.ReadByte() == s2.ReadByte())); ) {
  4160. ;
  4161. }
  4162. if ((s1.Position == s1.Length)) {
  4163. return type;
  4164. }
  4165. }
  4166. }
  4167. }
  4168. finally {
  4169. if ((s1 != null)) {
  4170. s1.Close();
  4171. }
  4172. if ((s2 != null)) {
  4173. s2.Close();
  4174. }
  4175. }
  4176. }
  4177. xs.Add(dsSchema);
  4178. return type;
  4179. }
  4180. }
  4181. /// <summary>
  4182. ///Represents the strongly named DataTable class.
  4183. ///</summary>
  4184. [global::System.Serializable()]
  4185. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  4186. public partial class _Фильтр_охраннаяDataTable : global::System.Data.TypedTableBase<_Фильтр_охраннаяRow> {
  4187. private global::System.Data.DataColumn columnКод_спецодежды;
  4188. private global::System.Data.DataColumn columnКод_работника;
  4189. private global::System.Data.DataColumn columnДата_получания;
  4190. private global::System.Data.DataColumn _columnСтоимость_единицы_руб_;
  4191. private global::System.Data.DataColumn columnВид_спецодежды;
  4192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4193. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4194. public _Фильтр_охраннаяDataTable() {
  4195. this.TableName = "Фильтр-охранная";
  4196. this.BeginInit();
  4197. this.InitClass();
  4198. this.EndInit();
  4199. }
  4200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4201. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4202. internal _Фильтр_охраннаяDataTable(global::System.Data.DataTable table) {
  4203. this.TableName = table.TableName;
  4204. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  4205. this.CaseSensitive = table.CaseSensitive;
  4206. }
  4207. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  4208. this.Locale = table.Locale;
  4209. }
  4210. if ((table.Namespace != table.DataSet.Namespace)) {
  4211. this.Namespace = table.Namespace;
  4212. }
  4213. this.Prefix = table.Prefix;
  4214. this.MinimumCapacity = table.MinimumCapacity;
  4215. }
  4216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4217. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4218. protected _Фильтр_охраннаяDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  4219. base(info, context) {
  4220. this.InitVars();
  4221. }
  4222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4223. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4224. public global::System.Data.DataColumn Код_спецодеждыColumn {
  4225. get {
  4226. return this.columnКод_спецодежды;
  4227. }
  4228. }
  4229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4230. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4231. public global::System.Data.DataColumn Код_работникаColumn {
  4232. get {
  4233. return this.columnКод_работника;
  4234. }
  4235. }
  4236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4238. public global::System.Data.DataColumn Дата_получанияColumn {
  4239. get {
  4240. return this.columnДата_получания;
  4241. }
  4242. }
  4243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4245. public global::System.Data.DataColumn _Стоимость_единицы_руб_Column {
  4246. get {
  4247. return this._columnСтоимость_единицы_руб_;
  4248. }
  4249. }
  4250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4251. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4252. public global::System.Data.DataColumn Вид_спецодеждыColumn {
  4253. get {
  4254. return this.columnВид_спецодежды;
  4255. }
  4256. }
  4257. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4258. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4259. [global::System.ComponentModel.Browsable(false)]
  4260. public int Count {
  4261. get {
  4262. return this.Rows.Count;
  4263. }
  4264. }
  4265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4267. public _Фильтр_охраннаяRow this[int index] {
  4268. get {
  4269. return ((_Фильтр_охраннаяRow)(this.Rows[index]));
  4270. }
  4271. }
  4272. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4273. public event _Фильтр_охраннаяRowChangeEventHandler _Фильтр_охраннаяRowChanging;
  4274. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4275. public event _Фильтр_охраннаяRowChangeEventHandler _Фильтр_охраннаяRowChanged;
  4276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4277. public event _Фильтр_охраннаяRowChangeEventHandler _Фильтр_охраннаяRowDeleting;
  4278. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4279. public event _Фильтр_охраннаяRowChangeEventHandler _Фильтр_охраннаяRowDeleted;
  4280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4282. public void Add_Фильтр_охраннаяRow(_Фильтр_охраннаяRow row) {
  4283. this.Rows.Add(row);
  4284. }
  4285. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4286. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4287. public _Фильтр_охраннаяRow Add_Фильтр_охраннаяRow(int Код_спецодежды, byte Код_работника, System.DateTime Дата_получания, decimal _Стоимость_единицы_руб_, string Вид_спецодежды) {
  4288. _Фильтр_охраннаяRow row_Фильтр_охраннаяRow = ((_Фильтр_охраннаяRow)(this.NewRow()));
  4289. object[] columnValuesArray = new object[] {
  4290. Код_спецодежды,
  4291. Код_работника,
  4292. Дата_получания,
  4293. _Стоимость_единицы_руб_,
  4294. Вид_спецодежды};
  4295. row_Фильтр_охраннаяRow.ItemArray = columnValuesArray;
  4296. this.Rows.Add(row_Фильтр_охраннаяRow);
  4297. return row_Фильтр_охраннаяRow;
  4298. }
  4299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4300. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4301. public _Фильтр_охраннаяRow FindByКод_спецодежды(int Код_спецодежды) {
  4302. return ((_Фильтр_охраннаяRow)(this.Rows.Find(new object[] {
  4303. Код_спецодежды})));
  4304. }
  4305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4306. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4307. public override global::System.Data.DataTable Clone() {
  4308. _Фильтр_охраннаяDataTable cln = ((_Фильтр_охраннаяDataTable)(base.Clone()));
  4309. cln.InitVars();
  4310. return cln;
  4311. }
  4312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4313. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4314. protected override global::System.Data.DataTable CreateInstance() {
  4315. return new _Фильтр_охраннаяDataTable();
  4316. }
  4317. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4318. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4319. internal void InitVars() {
  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(int), null, global::System.Data.MappingType.Element);
  4330. base.Columns.Add(this.columnКод_спецодежды);
  4331. this.columnКод_работника = new global::System.Data.DataColumn("Код работника", typeof(byte), null, global::System.Data.MappingType.Element);
  4332. base.Columns.Add(this.columnКод_работника);
  4333. this.columnДата_получания = new global::System.Data.DataColumn("Дата получания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  4334. base.Columns.Add(this.columnДата_получания);
  4335. this._columnСтоимость_единицы_руб_ = new global::System.Data.DataColumn("Стоимость_единицы(руб)", typeof(decimal), null, global::System.Data.MappingType.Element);
  4336. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnСтоимость_единицы_руб_");
  4337. this._columnСтоимость_единицы_руб_.ExtendedProperties.Add("Generator_UserColumnName", "Стоимость_единицы(руб)");
  4338. base.Columns.Add(this._columnСтоимость_единицы_руб_);
  4339. this.columnВид_спецодежды = new global::System.Data.DataColumn("Вид_спецодежды", typeof(string), null, global::System.Data.MappingType.Element);
  4340. base.Columns.Add(this.columnВид_спецодежды);
  4341. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  4342. this.columnКод_спецодежды}, true));
  4343. this.columnКод_спецодежды.AllowDBNull = false;
  4344. this.columnКод_спецодежды.Unique = true;
  4345. this.columnКод_работника.AllowDBNull = false;
  4346. this.columnВид_спецодежды.MaxLength = 50;
  4347. this.ExtendedProperties.Add("Generator_TableVarName", "_tableФильтр_охранная");
  4348. this.ExtendedProperties.Add("Generator_UserTableName", "Фильтр-охранная");
  4349. }
  4350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4351. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4352. public _Фильтр_охраннаяRow New_Фильтр_охраннаяRow() {
  4353. return ((_Фильтр_охраннаяRow)(this.NewRow()));
  4354. }
  4355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4357. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  4358. return new _Фильтр_охраннаяRow(builder);
  4359. }
  4360. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4361. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4362. protected override global::System.Type GetRowType() {
  4363. return typeof(_Фильтр_охраннаяRow);
  4364. }
  4365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4366. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4367. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  4368. base.OnRowChanged(e);
  4369. if ((this._Фильтр_охраннаяRowChanged != null)) {
  4370. this._Фильтр_охраннаяRowChanged(this, new _Фильтр_охраннаяRowChangeEvent(((_Фильтр_охраннаяRow)(e.Row)), e.Action));
  4371. }
  4372. }
  4373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4374. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4375. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  4376. base.OnRowChanging(e);
  4377. if ((this._Фильтр_охраннаяRowChanging != null)) {
  4378. this._Фильтр_охраннаяRowChanging(this, new _Фильтр_охраннаяRowChangeEvent(((_Фильтр_охраннаяRow)(e.Row)), e.Action));
  4379. }
  4380. }
  4381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4382. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4383. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  4384. base.OnRowDeleted(e);
  4385. if ((this._Фильтр_охраннаяRowDeleted != null)) {
  4386. this._Фильтр_охраннаяRowDeleted(this, new _Фильтр_охраннаяRowChangeEvent(((_Фильтр_охраннаяRow)(e.Row)), e.Action));
  4387. }
  4388. }
  4389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4390. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4391. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  4392. base.OnRowDeleting(e);
  4393. if ((this._Фильтр_охраннаяRowDeleting != null)) {
  4394. this._Фильтр_охраннаяRowDeleting(this, new _Фильтр_охраннаяRowChangeEvent(((_Фильтр_охраннаяRow)(e.Row)), e.Action));
  4395. }
  4396. }
  4397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4398. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4399. public void Remove_Фильтр_охраннаяRow(_Фильтр_охраннаяRow row) {
  4400. this.Rows.Remove(row);
  4401. }
  4402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4403. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4404. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  4405. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  4406. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  4407. badretdinov_cpecodezhdaDataSet1 ds = new badretdinov_cpecodezhdaDataSet1();
  4408. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  4409. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  4410. any1.MinOccurs = new decimal(0);
  4411. any1.MaxOccurs = decimal.MaxValue;
  4412. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4413. sequence.Items.Add(any1);
  4414. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  4415. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  4416. any2.MinOccurs = new decimal(1);
  4417. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  4418. sequence.Items.Add(any2);
  4419. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4420. attribute1.Name = "namespace";
  4421. attribute1.FixedValue = ds.Namespace;
  4422. type.Attributes.Add(attribute1);
  4423. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  4424. attribute2.Name = "tableTypeName";
  4425. attribute2.FixedValue = "_Фильтр_охраннаяDataTable";
  4426. type.Attributes.Add(attribute2);
  4427. type.Particle = sequence;
  4428. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  4429. if (xs.Contains(dsSchema.TargetNamespace)) {
  4430. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  4431. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  4432. try {
  4433. global::System.Xml.Schema.XmlSchema schema = null;
  4434. dsSchema.Write(s1);
  4435. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  4436. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  4437. s2.SetLength(0);
  4438. schema.Write(s2);
  4439. if ((s1.Length == s2.Length)) {
  4440. s1.Position = 0;
  4441. s2.Position = 0;
  4442. for (; ((s1.Position != s1.Length)
  4443. && (s1.ReadByte() == s2.ReadByte())); ) {
  4444. ;
  4445. }
  4446. if ((s1.Position == s1.Length)) {
  4447. return type;
  4448. }
  4449. }
  4450. }
  4451. }
  4452. finally {
  4453. if ((s1 != null)) {
  4454. s1.Close();
  4455. }
  4456. if ((s2 != null)) {
  4457. s2.Close();
  4458. }
  4459. }
  4460. }
  4461. xs.Add(dsSchema);
  4462. return type;
  4463. }
  4464. }
  4465. /// <summary>
  4466. ///Represents strongly named DataRow class.
  4467. ///</summary>
  4468. public partial class О_спецодеждеRow : global::System.Data.DataRow {
  4469. private О_спецодеждеDataTable tableО_спецодежде;
  4470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4471. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4472. internal О_спецодеждеRow(global::System.Data.DataRowBuilder rb) :
  4473. base(rb) {
  4474. this.tableО_спецодежде = ((О_спецодеждеDataTable)(this.Table));
  4475. }
  4476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4478. public int Код_спецодежды {
  4479. get {
  4480. return ((int)(this[this.tableО_спецодежде.Код_спецодеждыColumn]));
  4481. }
  4482. set {
  4483. this[this.tableО_спецодежде.Код_спецодеждыColumn] = value;
  4484. }
  4485. }
  4486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4487. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4488. public string Вид_спецодежды {
  4489. get {
  4490. try {
  4491. return ((string)(this[this.tableО_спецодежде.Вид_спецодеждыColumn]));
  4492. }
  4493. catch (global::System.InvalidCastException e) {
  4494. throw new global::System.Data.StrongTypingException("Значение для столбца \'Вид_спецодежды\' в таблице \'О_спецодежде\' равно DBNull.", e);
  4495. }
  4496. }
  4497. set {
  4498. this[this.tableО_спецодежде.Вид_спецодеждыColumn] = value;
  4499. }
  4500. }
  4501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4502. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4503. public string Срок_носки {
  4504. get {
  4505. try {
  4506. return ((string)(this[this.tableО_спецодежде.Срок_носкиColumn]));
  4507. }
  4508. catch (global::System.InvalidCastException e) {
  4509. throw new global::System.Data.StrongTypingException("Значение для столбца \'Срок_носки\' в таблице \'О_спецодежде\' равно DBNull.", e);
  4510. }
  4511. }
  4512. set {
  4513. this[this.tableО_спецодежде.Срок_носкиColumn] = value;
  4514. }
  4515. }
  4516. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4517. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4518. public decimal _Стоимость_единицы_руб_ {
  4519. get {
  4520. try {
  4521. return ((decimal)(this[this.tableО_спецодежде._Стоимость_единицы_руб_Column]));
  4522. }
  4523. catch (global::System.InvalidCastException e) {
  4524. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость_единицы(руб)\' в таблице \'О_спецодежде\' равно DBNu" +
  4525. "ll.", e);
  4526. }
  4527. }
  4528. set {
  4529. this[this.tableО_спецодежде._Стоимость_единицы_руб_Column] = value;
  4530. }
  4531. }
  4532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4534. public bool IsВид_спецодеждыNull() {
  4535. return this.IsNull(this.tableО_спецодежде.Вид_спецодеждыColumn);
  4536. }
  4537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4539. public void SetВид_спецодеждыNull() {
  4540. this[this.tableО_спецодежде.Вид_спецодеждыColumn] = global::System.Convert.DBNull;
  4541. }
  4542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4544. public bool IsСрок_носкиNull() {
  4545. return this.IsNull(this.tableО_спецодежде.Срок_носкиColumn);
  4546. }
  4547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4548. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4549. public void SetСрок_носкиNull() {
  4550. this[this.tableО_спецодежде.Срок_носкиColumn] = global::System.Convert.DBNull;
  4551. }
  4552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4554. public bool Is_Стоимость_единицы_руб_Null() {
  4555. return this.IsNull(this.tableО_спецодежде._Стоимость_единицы_руб_Column);
  4556. }
  4557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4559. public void Set_Стоимость_единицы_руб_Null() {
  4560. this[this.tableО_спецодежде._Стоимость_единицы_руб_Column] = global::System.Convert.DBNull;
  4561. }
  4562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4563. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4564. public ПолучениеRow[] GetПолучениеRows() {
  4565. if ((this.Table.ChildRelations["FK_Получение_О_спецодежде"] == null)) {
  4566. return new ПолучениеRow[0];
  4567. }
  4568. else {
  4569. return ((ПолучениеRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Получение_О_спецодежде"])));
  4570. }
  4571. }
  4572. }
  4573. /// <summary>
  4574. ///Represents strongly named DataRow class.
  4575. ///</summary>
  4576. public partial class ПолучениеRow : global::System.Data.DataRow {
  4577. private ПолучениеDataTable tableПолучение;
  4578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4580. internal ПолучениеRow(global::System.Data.DataRowBuilder rb) :
  4581. base(rb) {
  4582. this.tableПолучение = ((ПолучениеDataTable)(this.Table));
  4583. }
  4584. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4585. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4586. public byte Код_работника {
  4587. get {
  4588. try {
  4589. return ((byte)(this[this.tableПолучение.Код_работникаColumn]));
  4590. }
  4591. catch (global::System.InvalidCastException e) {
  4592. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код работника\' в таблице \'Получение\' равно DBNull.", e);
  4593. }
  4594. }
  4595. set {
  4596. this[this.tableПолучение.Код_работникаColumn] = value;
  4597. }
  4598. }
  4599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4601. public int код_спецодежды {
  4602. get {
  4603. return ((int)(this[this.tableПолучение.код_спецодеждыColumn]));
  4604. }
  4605. set {
  4606. this[this.tableПолучение.код_спецодеждыColumn] = value;
  4607. }
  4608. }
  4609. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4610. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4611. public System.DateTime Дата_получания {
  4612. get {
  4613. try {
  4614. return ((global::System.DateTime)(this[this.tableПолучение.Дата_получанияColumn]));
  4615. }
  4616. catch (global::System.InvalidCastException e) {
  4617. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Получение\' равно DBNull.", e);
  4618. }
  4619. }
  4620. set {
  4621. this[this.tableПолучение.Дата_получанияColumn] = value;
  4622. }
  4623. }
  4624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4626. public string Роспись {
  4627. get {
  4628. try {
  4629. return ((string)(this[this.tableПолучение.РосписьColumn]));
  4630. }
  4631. catch (global::System.InvalidCastException e) {
  4632. throw new global::System.Data.StrongTypingException("Значение для столбца \'Роспись\' в таблице \'Получение\' равно DBNull.", e);
  4633. }
  4634. }
  4635. set {
  4636. this[this.tableПолучение.РосписьColumn] = value;
  4637. }
  4638. }
  4639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4641. public О_спецодеждеRow О_спецодеждеRow {
  4642. get {
  4643. return ((О_спецодеждеRow)(this.GetParentRow(this.Table.ParentRelations["FK_Получение_О_спецодежде"])));
  4644. }
  4645. set {
  4646. this.SetParentRow(value, this.Table.ParentRelations["FK_Получение_О_спецодежде"]);
  4647. }
  4648. }
  4649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4650. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4651. public bool IsКод_работникаNull() {
  4652. return this.IsNull(this.tableПолучение.Код_работникаColumn);
  4653. }
  4654. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4655. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4656. public void SetКод_работникаNull() {
  4657. this[this.tableПолучение.Код_работникаColumn] = global::System.Convert.DBNull;
  4658. }
  4659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4661. public bool IsДата_получанияNull() {
  4662. return this.IsNull(this.tableПолучение.Дата_получанияColumn);
  4663. }
  4664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4665. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4666. public void SetДата_получанияNull() {
  4667. this[this.tableПолучение.Дата_получанияColumn] = global::System.Convert.DBNull;
  4668. }
  4669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4670. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4671. public bool IsРосписьNull() {
  4672. return this.IsNull(this.tableПолучение.РосписьColumn);
  4673. }
  4674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4675. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4676. public void SetРосписьNull() {
  4677. this[this.tableПолучение.РосписьColumn] = global::System.Convert.DBNull;
  4678. }
  4679. }
  4680. /// <summary>
  4681. ///Represents strongly named DataRow class.
  4682. ///</summary>
  4683. public partial class РаботникиRow : global::System.Data.DataRow {
  4684. private РаботникиDataTable tableРаботники;
  4685. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4686. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4687. internal РаботникиRow(global::System.Data.DataRowBuilder rb) :
  4688. base(rb) {
  4689. this.tableРаботники = ((РаботникиDataTable)(this.Table));
  4690. }
  4691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4693. public byte Код_работника {
  4694. get {
  4695. return ((byte)(this[this.tableРаботники.Код_работникаColumn]));
  4696. }
  4697. set {
  4698. this[this.tableРаботники.Код_работникаColumn] = value;
  4699. }
  4700. }
  4701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4702. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4703. public string ФИО_работника {
  4704. get {
  4705. try {
  4706. return ((string)(this[this.tableРаботники.ФИО_работникаColumn]));
  4707. }
  4708. catch (global::System.InvalidCastException e) {
  4709. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО работника\' в таблице \'Работники\' равно DBNull.", e);
  4710. }
  4711. }
  4712. set {
  4713. this[this.tableРаботники.ФИО_работникаColumn] = value;
  4714. }
  4715. }
  4716. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4717. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4718. public string Должность {
  4719. get {
  4720. try {
  4721. return ((string)(this[this.tableРаботники.ДолжностьColumn]));
  4722. }
  4723. catch (global::System.InvalidCastException e) {
  4724. throw new global::System.Data.StrongTypingException("Значение для столбца \'Должность\' в таблице \'Работники\' равно DBNull.", e);
  4725. }
  4726. }
  4727. set {
  4728. this[this.tableРаботники.ДолжностьColumn] = value;
  4729. }
  4730. }
  4731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4732. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4733. public decimal Скидка_на_спецодежду {
  4734. get {
  4735. try {
  4736. return ((decimal)(this[this.tableРаботники.Скидка_на_спецодеждуColumn]));
  4737. }
  4738. catch (global::System.InvalidCastException e) {
  4739. throw new global::System.Data.StrongTypingException("Значение для столбца \'Скидка на спецодежду\' в таблице \'Работники\' равно DBNull.", e);
  4740. }
  4741. }
  4742. set {
  4743. this[this.tableРаботники.Скидка_на_спецодеждуColumn] = value;
  4744. }
  4745. }
  4746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4748. public int код_цеха {
  4749. get {
  4750. try {
  4751. return ((int)(this[this.tableРаботники.код_цехаColumn]));
  4752. }
  4753. catch (global::System.InvalidCastException e) {
  4754. throw new global::System.Data.StrongTypingException("Значение для столбца \'код цеха\' в таблице \'Работники\' равно DBNull.", e);
  4755. }
  4756. }
  4757. set {
  4758. this[this.tableРаботники.код_цехаColumn] = value;
  4759. }
  4760. }
  4761. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4762. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4763. public int код_спецодежды {
  4764. get {
  4765. try {
  4766. return ((int)(this[this.tableРаботники.код_спецодеждыColumn]));
  4767. }
  4768. catch (global::System.InvalidCastException e) {
  4769. throw new global::System.Data.StrongTypingException("Значение для столбца \'код спецодежды\' в таблице \'Работники\' равно DBNull.", e);
  4770. }
  4771. }
  4772. set {
  4773. this[this.tableРаботники.код_спецодеждыColumn] = value;
  4774. }
  4775. }
  4776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4777. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4778. public bool IsФИО_работникаNull() {
  4779. return this.IsNull(this.tableРаботники.ФИО_работникаColumn);
  4780. }
  4781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4782. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4783. public void SetФИО_работникаNull() {
  4784. this[this.tableРаботники.ФИО_работникаColumn] = global::System.Convert.DBNull;
  4785. }
  4786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4787. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4788. public bool IsДолжностьNull() {
  4789. return this.IsNull(this.tableРаботники.ДолжностьColumn);
  4790. }
  4791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4792. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4793. public void SetДолжностьNull() {
  4794. this[this.tableРаботники.ДолжностьColumn] = global::System.Convert.DBNull;
  4795. }
  4796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4797. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4798. public bool IsСкидка_на_спецодеждуNull() {
  4799. return this.IsNull(this.tableРаботники.Скидка_на_спецодеждуColumn);
  4800. }
  4801. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4802. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4803. public void SetСкидка_на_спецодеждуNull() {
  4804. this[this.tableРаботники.Скидка_на_спецодеждуColumn] = global::System.Convert.DBNull;
  4805. }
  4806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4807. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4808. public bool Isкод_цехаNull() {
  4809. return this.IsNull(this.tableРаботники.код_цехаColumn);
  4810. }
  4811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4812. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4813. public void Setкод_цехаNull() {
  4814. this[this.tableРаботники.код_цехаColumn] = global::System.Convert.DBNull;
  4815. }
  4816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4817. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4818. public bool Isкод_спецодеждыNull() {
  4819. return this.IsNull(this.tableРаботники.код_спецодеждыColumn);
  4820. }
  4821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4823. public void Setкод_спецодеждыNull() {
  4824. this[this.tableРаботники.код_спецодеждыColumn] = global::System.Convert.DBNull;
  4825. }
  4826. }
  4827. /// <summary>
  4828. ///Represents strongly named DataRow class.
  4829. ///</summary>
  4830. public partial class ЦехиRow : global::System.Data.DataRow {
  4831. private ЦехиDataTable tableЦехи;
  4832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4834. internal ЦехиRow(global::System.Data.DataRowBuilder rb) :
  4835. base(rb) {
  4836. this.tableЦехи = ((ЦехиDataTable)(this.Table));
  4837. }
  4838. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4839. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4840. public int Код_цеха {
  4841. get {
  4842. return ((int)(this[this.tableЦехи.Код_цехаColumn]));
  4843. }
  4844. set {
  4845. this[this.tableЦехи.Код_цехаColumn] = value;
  4846. }
  4847. }
  4848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4850. public string Наименование_цеха {
  4851. get {
  4852. try {
  4853. return ((string)(this[this.tableЦехи.Наименование_цехаColumn]));
  4854. }
  4855. catch (global::System.InvalidCastException e) {
  4856. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование_цеха\' в таблице \'Цехи\' равно DBNull.", e);
  4857. }
  4858. }
  4859. set {
  4860. this[this.tableЦехи.Наименование_цехаColumn] = value;
  4861. }
  4862. }
  4863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4865. public string ФИО_начальника_цеха {
  4866. get {
  4867. try {
  4868. return ((string)(this[this.tableЦехи.ФИО_начальника_цехаColumn]));
  4869. }
  4870. catch (global::System.InvalidCastException e) {
  4871. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО_начальника_цеха\' в таблице \'Цехи\' равно DBNull.", e);
  4872. }
  4873. }
  4874. set {
  4875. this[this.tableЦехи.ФИО_начальника_цехаColumn] = value;
  4876. }
  4877. }
  4878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4879. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4880. public byte Код_работника {
  4881. get {
  4882. return ((byte)(this[this.tableЦехи.Код_работникаColumn]));
  4883. }
  4884. set {
  4885. this[this.tableЦехи.Код_работникаColumn] = value;
  4886. }
  4887. }
  4888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4890. public bool IsНаименование_цехаNull() {
  4891. return this.IsNull(this.tableЦехи.Наименование_цехаColumn);
  4892. }
  4893. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4894. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4895. public void SetНаименование_цехаNull() {
  4896. this[this.tableЦехи.Наименование_цехаColumn] = global::System.Convert.DBNull;
  4897. }
  4898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4899. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4900. public bool IsФИО_начальника_цехаNull() {
  4901. return this.IsNull(this.tableЦехи.ФИО_начальника_цехаColumn);
  4902. }
  4903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4905. public void SetФИО_начальника_цехаNull() {
  4906. this[this.tableЦехи.ФИО_начальника_цехаColumn] = global::System.Convert.DBNull;
  4907. }
  4908. }
  4909. /// <summary>
  4910. ///Represents strongly named DataRow class.
  4911. ///</summary>
  4912. public partial class Запрос_о_получении_спецодеждыRow : global::System.Data.DataRow {
  4913. private Запрос_о_получении_спецодеждыDataTable tableЗапрос_о_получении_спецодежды;
  4914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4915. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4916. internal Запрос_о_получении_спецодеждыRow(global::System.Data.DataRowBuilder rb) :
  4917. base(rb) {
  4918. this.tableЗапрос_о_получении_спецодежды = ((Запрос_о_получении_спецодеждыDataTable)(this.Table));
  4919. }
  4920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4921. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4922. public int код_спецодежды {
  4923. get {
  4924. return ((int)(this[this.tableЗапрос_о_получении_спецодежды.код_спецодеждыColumn]));
  4925. }
  4926. set {
  4927. this[this.tableЗапрос_о_получении_спецодежды.код_спецодеждыColumn] = value;
  4928. }
  4929. }
  4930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4932. public System.DateTime Дата_получания {
  4933. get {
  4934. try {
  4935. return ((global::System.DateTime)(this[this.tableЗапрос_о_получении_спецодежды.Дата_получанияColumn]));
  4936. }
  4937. catch (global::System.InvalidCastException e) {
  4938. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Запрос о получении спецодежды\' р" +
  4939. "авно DBNull.", e);
  4940. }
  4941. }
  4942. set {
  4943. this[this.tableЗапрос_о_получении_спецодежды.Дата_получанияColumn] = value;
  4944. }
  4945. }
  4946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4947. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4948. public byte Код_работника {
  4949. get {
  4950. return ((byte)(this[this.tableЗапрос_о_получении_спецодежды.Код_работникаColumn]));
  4951. }
  4952. set {
  4953. this[this.tableЗапрос_о_получении_спецодежды.Код_работникаColumn] = value;
  4954. }
  4955. }
  4956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4958. public string ФИО_работника {
  4959. get {
  4960. try {
  4961. return ((string)(this[this.tableЗапрос_о_получении_спецодежды.ФИО_работникаColumn]));
  4962. }
  4963. catch (global::System.InvalidCastException e) {
  4964. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО работника\' в таблице \'Запрос о получении спецодежды\' ра" +
  4965. "вно DBNull.", e);
  4966. }
  4967. }
  4968. set {
  4969. this[this.tableЗапрос_о_получении_спецодежды.ФИО_работникаColumn] = value;
  4970. }
  4971. }
  4972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4974. public bool IsДата_получанияNull() {
  4975. return this.IsNull(this.tableЗапрос_о_получении_спецодежды.Дата_получанияColumn);
  4976. }
  4977. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4978. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4979. public void SetДата_получанияNull() {
  4980. this[this.tableЗапрос_о_получении_спецодежды.Дата_получанияColumn] = global::System.Convert.DBNull;
  4981. }
  4982. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4983. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4984. public bool IsФИО_работникаNull() {
  4985. return this.IsNull(this.tableЗапрос_о_получении_спецодежды.ФИО_работникаColumn);
  4986. }
  4987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4988. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4989. public void SetФИО_работникаNull() {
  4990. this[this.tableЗапрос_о_получении_спецодежды.ФИО_работникаColumn] = global::System.Convert.DBNull;
  4991. }
  4992. }
  4993. /// <summary>
  4994. ///Represents strongly named DataRow class.
  4995. ///</summary>
  4996. public partial class Информация_о_спецодеждеRow : global::System.Data.DataRow {
  4997. private Информация_о_спецодеждеDataTable tableИнформация_о_спецодежде;
  4998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4999. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5000. internal Информация_о_спецодеждеRow(global::System.Data.DataRowBuilder rb) :
  5001. base(rb) {
  5002. this.tableИнформация_о_спецодежде = ((Информация_о_спецодеждеDataTable)(this.Table));
  5003. }
  5004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5006. public int Код_спецодежды {
  5007. get {
  5008. return ((int)(this[this.tableИнформация_о_спецодежде.Код_спецодеждыColumn]));
  5009. }
  5010. set {
  5011. this[this.tableИнформация_о_спецодежде.Код_спецодеждыColumn] = value;
  5012. }
  5013. }
  5014. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5015. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5016. public byte Код_работника {
  5017. get {
  5018. return ((byte)(this[this.tableИнформация_о_спецодежде.Код_работникаColumn]));
  5019. }
  5020. set {
  5021. this[this.tableИнформация_о_спецодежде.Код_работникаColumn] = value;
  5022. }
  5023. }
  5024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5025. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5026. public System.DateTime Дата_получания {
  5027. get {
  5028. try {
  5029. return ((global::System.DateTime)(this[this.tableИнформация_о_спецодежде.Дата_получанияColumn]));
  5030. }
  5031. catch (global::System.InvalidCastException e) {
  5032. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Информация о спецодежде\' равно D" +
  5033. "BNull.", e);
  5034. }
  5035. }
  5036. set {
  5037. this[this.tableИнформация_о_спецодежде.Дата_получанияColumn] = value;
  5038. }
  5039. }
  5040. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5041. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5042. public decimal _Стоимость_единицы_руб_ {
  5043. get {
  5044. try {
  5045. return ((decimal)(this[this.tableИнформация_о_спецодежде._Стоимость_единицы_руб_Column]));
  5046. }
  5047. catch (global::System.InvalidCastException e) {
  5048. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость_единицы(руб)\' в таблице \'Информация о спецодежде\'" +
  5049. " равно DBNull.", e);
  5050. }
  5051. }
  5052. set {
  5053. this[this.tableИнформация_о_спецодежде._Стоимость_единицы_руб_Column] = value;
  5054. }
  5055. }
  5056. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5057. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5058. public string Вид_спецодежды {
  5059. get {
  5060. try {
  5061. return ((string)(this[this.tableИнформация_о_спецодежде.Вид_спецодеждыColumn]));
  5062. }
  5063. catch (global::System.InvalidCastException e) {
  5064. throw new global::System.Data.StrongTypingException("Значение для столбца \'Вид_спецодежды\' в таблице \'Информация о спецодежде\' равно D" +
  5065. "BNull.", e);
  5066. }
  5067. }
  5068. set {
  5069. this[this.tableИнформация_о_спецодежде.Вид_спецодеждыColumn] = value;
  5070. }
  5071. }
  5072. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5073. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5074. public bool IsДата_получанияNull() {
  5075. return this.IsNull(this.tableИнформация_о_спецодежде.Дата_получанияColumn);
  5076. }
  5077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5078. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5079. public void SetДата_получанияNull() {
  5080. this[this.tableИнформация_о_спецодежде.Дата_получанияColumn] = global::System.Convert.DBNull;
  5081. }
  5082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5083. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5084. public bool Is_Стоимость_единицы_руб_Null() {
  5085. return this.IsNull(this.tableИнформация_о_спецодежде._Стоимость_единицы_руб_Column);
  5086. }
  5087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5089. public void Set_Стоимость_единицы_руб_Null() {
  5090. this[this.tableИнформация_о_спецодежде._Стоимость_единицы_руб_Column] = global::System.Convert.DBNull;
  5091. }
  5092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5093. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5094. public bool IsВид_спецодеждыNull() {
  5095. return this.IsNull(this.tableИнформация_о_спецодежде.Вид_спецодеждыColumn);
  5096. }
  5097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5099. public void SetВид_спецодеждыNull() {
  5100. this[this.tableИнформация_о_спецодежде.Вид_спецодеждыColumn] = global::System.Convert.DBNull;
  5101. }
  5102. }
  5103. /// <summary>
  5104. ///Represents strongly named DataRow class.
  5105. ///</summary>
  5106. public partial class Фильтр_по_датеRow : global::System.Data.DataRow {
  5107. private Фильтр_по_датеDataTable tableФильтр_по_дате;
  5108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5110. internal Фильтр_по_датеRow(global::System.Data.DataRowBuilder rb) :
  5111. base(rb) {
  5112. this.tableФильтр_по_дате = ((Фильтр_по_датеDataTable)(this.Table));
  5113. }
  5114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5115. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5116. public string ФИО_работника {
  5117. get {
  5118. try {
  5119. return ((string)(this[this.tableФильтр_по_дате.ФИО_работникаColumn]));
  5120. }
  5121. catch (global::System.InvalidCastException e) {
  5122. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО работника\' в таблице \'Фильтр по дате\' равно DBNull.", e);
  5123. }
  5124. }
  5125. set {
  5126. this[this.tableФильтр_по_дате.ФИО_работникаColumn] = value;
  5127. }
  5128. }
  5129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5131. public byte Код_работника {
  5132. get {
  5133. return ((byte)(this[this.tableФильтр_по_дате.Код_работникаColumn]));
  5134. }
  5135. set {
  5136. this[this.tableФильтр_по_дате.Код_работникаColumn] = value;
  5137. }
  5138. }
  5139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5141. public System.DateTime Дата_получания {
  5142. get {
  5143. try {
  5144. return ((global::System.DateTime)(this[this.tableФильтр_по_дате.Дата_получанияColumn]));
  5145. }
  5146. catch (global::System.InvalidCastException e) {
  5147. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр по дате\' равно DBNull.", e);
  5148. }
  5149. }
  5150. set {
  5151. this[this.tableФильтр_по_дате.Дата_получанияColumn] = value;
  5152. }
  5153. }
  5154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5156. public int код_спецодежды {
  5157. get {
  5158. return ((int)(this[this.tableФильтр_по_дате.код_спецодеждыColumn]));
  5159. }
  5160. set {
  5161. this[this.tableФильтр_по_дате.код_спецодеждыColumn] = value;
  5162. }
  5163. }
  5164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5165. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5166. public bool IsФИО_работникаNull() {
  5167. return this.IsNull(this.tableФильтр_по_дате.ФИО_работникаColumn);
  5168. }
  5169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5170. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5171. public void SetФИО_работникаNull() {
  5172. this[this.tableФильтр_по_дате.ФИО_работникаColumn] = global::System.Convert.DBNull;
  5173. }
  5174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5176. public bool IsДата_получанияNull() {
  5177. return this.IsNull(this.tableФильтр_по_дате.Дата_получанияColumn);
  5178. }
  5179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5181. public void SetДата_получанияNull() {
  5182. this[this.tableФильтр_по_дате.Дата_получанияColumn] = global::System.Convert.DBNull;
  5183. }
  5184. }
  5185. /// <summary>
  5186. ///Represents strongly named DataRow class.
  5187. ///</summary>
  5188. public partial class Фильтр_по_убыванию_кодаRow : global::System.Data.DataRow {
  5189. private Фильтр_по_убыванию_кодаDataTable tableФильтр_по_убыванию_кода;
  5190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5192. internal Фильтр_по_убыванию_кодаRow(global::System.Data.DataRowBuilder rb) :
  5193. base(rb) {
  5194. this.tableФильтр_по_убыванию_кода = ((Фильтр_по_убыванию_кодаDataTable)(this.Table));
  5195. }
  5196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5197. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5198. public int код_спецодежды {
  5199. get {
  5200. return ((int)(this[this.tableФильтр_по_убыванию_кода.код_спецодеждыColumn]));
  5201. }
  5202. set {
  5203. this[this.tableФильтр_по_убыванию_кода.код_спецодеждыColumn] = value;
  5204. }
  5205. }
  5206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5207. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5208. public System.DateTime Дата_получания {
  5209. get {
  5210. try {
  5211. return ((global::System.DateTime)(this[this.tableФильтр_по_убыванию_кода.Дата_получанияColumn]));
  5212. }
  5213. catch (global::System.InvalidCastException e) {
  5214. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр по убыванию кода\' равно D" +
  5215. "BNull.", e);
  5216. }
  5217. }
  5218. set {
  5219. this[this.tableФильтр_по_убыванию_кода.Дата_получанияColumn] = value;
  5220. }
  5221. }
  5222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5223. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5224. public byte Код_работника {
  5225. get {
  5226. return ((byte)(this[this.tableФильтр_по_убыванию_кода.Код_работникаColumn]));
  5227. }
  5228. set {
  5229. this[this.tableФильтр_по_убыванию_кода.Код_работникаColumn] = value;
  5230. }
  5231. }
  5232. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5233. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5234. public string ФИО_работника {
  5235. get {
  5236. try {
  5237. return ((string)(this[this.tableФильтр_по_убыванию_кода.ФИО_работникаColumn]));
  5238. }
  5239. catch (global::System.InvalidCastException e) {
  5240. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО работника\' в таблице \'Фильтр по убыванию кода\' равно DB" +
  5241. "Null.", 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 bool IsДата_получанияNull() {
  5251. return this.IsNull(this.tableФильтр_по_убыванию_кода.Дата_получанияColumn);
  5252. }
  5253. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5254. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5255. public void SetДата_получанияNull() {
  5256. this[this.tableФильтр_по_убыванию_кода.Дата_получанияColumn] = global::System.Convert.DBNull;
  5257. }
  5258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5259. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5260. public bool IsФИО_работникаNull() {
  5261. return this.IsNull(this.tableФильтр_по_убыванию_кода.ФИО_работникаColumn);
  5262. }
  5263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5264. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5265. public void SetФИО_работникаNull() {
  5266. this[this.tableФильтр_по_убыванию_кода.ФИО_работникаColumn] = global::System.Convert.DBNull;
  5267. }
  5268. }
  5269. /// <summary>
  5270. ///Represents strongly named DataRow class.
  5271. ///</summary>
  5272. public partial class Фильтр_стоимостьRow : global::System.Data.DataRow {
  5273. private Фильтр_стоимостьDataTable tableФильтр_стоимость;
  5274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5275. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5276. internal Фильтр_стоимостьRow(global::System.Data.DataRowBuilder rb) :
  5277. base(rb) {
  5278. this.tableФильтр_стоимость = ((Фильтр_стоимостьDataTable)(this.Table));
  5279. }
  5280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5282. public int Код_спецодежды {
  5283. get {
  5284. return ((int)(this[this.tableФильтр_стоимость.Код_спецодеждыColumn]));
  5285. }
  5286. set {
  5287. this[this.tableФильтр_стоимость.Код_спецодеждыColumn] = value;
  5288. }
  5289. }
  5290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5292. public byte Код_работника {
  5293. get {
  5294. return ((byte)(this[this.tableФильтр_стоимость.Код_работникаColumn]));
  5295. }
  5296. set {
  5297. this[this.tableФильтр_стоимость.Код_работникаColumn] = value;
  5298. }
  5299. }
  5300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5301. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5302. public System.DateTime Дата_получания {
  5303. get {
  5304. try {
  5305. return ((global::System.DateTime)(this[this.tableФильтр_стоимость.Дата_получанияColumn]));
  5306. }
  5307. catch (global::System.InvalidCastException e) {
  5308. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр стоимость\' равно DBNull.", e);
  5309. }
  5310. }
  5311. set {
  5312. this[this.tableФильтр_стоимость.Дата_получанияColumn] = value;
  5313. }
  5314. }
  5315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5316. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5317. public decimal _Стоимость_единицы_руб_ {
  5318. get {
  5319. try {
  5320. return ((decimal)(this[this.tableФильтр_стоимость._Стоимость_единицы_руб_Column]));
  5321. }
  5322. catch (global::System.InvalidCastException e) {
  5323. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость_единицы(руб)\' в таблице \'Фильтр стоимость\' равно " +
  5324. "DBNull.", e);
  5325. }
  5326. }
  5327. set {
  5328. this[this.tableФильтр_стоимость._Стоимость_единицы_руб_Column] = value;
  5329. }
  5330. }
  5331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5333. public string Вид_спецодежды {
  5334. get {
  5335. try {
  5336. return ((string)(this[this.tableФильтр_стоимость.Вид_спецодеждыColumn]));
  5337. }
  5338. catch (global::System.InvalidCastException e) {
  5339. throw new global::System.Data.StrongTypingException("Значение для столбца \'Вид_спецодежды\' в таблице \'Фильтр стоимость\' равно DBNull.", e);
  5340. }
  5341. }
  5342. set {
  5343. this[this.tableФильтр_стоимость.Вид_спецодеждыColumn] = value;
  5344. }
  5345. }
  5346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5347. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5348. public bool IsДата_получанияNull() {
  5349. return this.IsNull(this.tableФильтр_стоимость.Дата_получанияColumn);
  5350. }
  5351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5352. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5353. public void SetДата_получанияNull() {
  5354. this[this.tableФильтр_стоимость.Дата_получанияColumn] = global::System.Convert.DBNull;
  5355. }
  5356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5357. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5358. public bool Is_Стоимость_единицы_руб_Null() {
  5359. return this.IsNull(this.tableФильтр_стоимость._Стоимость_единицы_руб_Column);
  5360. }
  5361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5362. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5363. public void Set_Стоимость_единицы_руб_Null() {
  5364. this[this.tableФильтр_стоимость._Стоимость_единицы_руб_Column] = global::System.Convert.DBNull;
  5365. }
  5366. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5367. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5368. public bool IsВид_спецодеждыNull() {
  5369. return this.IsNull(this.tableФильтр_стоимость.Вид_спецодеждыColumn);
  5370. }
  5371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5372. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5373. public void SetВид_спецодеждыNull() {
  5374. this[this.tableФильтр_стоимость.Вид_спецодеждыColumn] = global::System.Convert.DBNull;
  5375. }
  5376. }
  5377. /// <summary>
  5378. ///Represents strongly named DataRow class.
  5379. ///</summary>
  5380. public partial class Фильтр_БадретдиновRow : global::System.Data.DataRow {
  5381. private Фильтр_БадретдиновDataTable tableФильтр_Бадретдинов;
  5382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5384. internal Фильтр_БадретдиновRow(global::System.Data.DataRowBuilder rb) :
  5385. base(rb) {
  5386. this.tableФильтр_Бадретдинов = ((Фильтр_БадретдиновDataTable)(this.Table));
  5387. }
  5388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5389. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5390. public string ФИО_работника {
  5391. get {
  5392. try {
  5393. return ((string)(this[this.tableФильтр_Бадретдинов.ФИО_работникаColumn]));
  5394. }
  5395. catch (global::System.InvalidCastException e) {
  5396. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО работника\' в таблице \'Фильтр_Бадретдинов\' равно DBNull." +
  5397. "", e);
  5398. }
  5399. }
  5400. set {
  5401. this[this.tableФильтр_Бадретдинов.ФИО_работникаColumn] = value;
  5402. }
  5403. }
  5404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5405. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5406. public byte Код_работника {
  5407. get {
  5408. return ((byte)(this[this.tableФильтр_Бадретдинов.Код_работникаColumn]));
  5409. }
  5410. set {
  5411. this[this.tableФильтр_Бадретдинов.Код_работникаColumn] = value;
  5412. }
  5413. }
  5414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5416. public int код_спецодежды {
  5417. get {
  5418. return ((int)(this[this.tableФильтр_Бадретдинов.код_спецодеждыColumn]));
  5419. }
  5420. set {
  5421. this[this.tableФильтр_Бадретдинов.код_спецодеждыColumn] = value;
  5422. }
  5423. }
  5424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5426. public System.DateTime Дата_получания {
  5427. get {
  5428. try {
  5429. return ((global::System.DateTime)(this[this.tableФильтр_Бадретдинов.Дата_получанияColumn]));
  5430. }
  5431. catch (global::System.InvalidCastException e) {
  5432. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр_Бадретдинов\' равно DBNull" +
  5433. ".", e);
  5434. }
  5435. }
  5436. set {
  5437. this[this.tableФильтр_Бадретдинов.Дата_получанияColumn] = value;
  5438. }
  5439. }
  5440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5441. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5442. public bool IsФИО_работникаNull() {
  5443. return this.IsNull(this.tableФильтр_Бадретдинов.ФИО_работникаColumn);
  5444. }
  5445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5446. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5447. public void SetФИО_работникаNull() {
  5448. this[this.tableФильтр_Бадретдинов.ФИО_работникаColumn] = global::System.Convert.DBNull;
  5449. }
  5450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5452. public bool IsДата_получанияNull() {
  5453. return this.IsNull(this.tableФильтр_Бадретдинов.Дата_получанияColumn);
  5454. }
  5455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5456. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5457. public void SetДата_получанияNull() {
  5458. this[this.tableФильтр_Бадретдинов.Дата_получанияColumn] = global::System.Convert.DBNull;
  5459. }
  5460. }
  5461. /// <summary>
  5462. ///Represents strongly named DataRow class.
  5463. ///</summary>
  5464. public partial class Фильтр_семаковRow : global::System.Data.DataRow {
  5465. private Фильтр_семаковDataTable tableФильтр_семаков;
  5466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5468. internal Фильтр_семаковRow(global::System.Data.DataRowBuilder rb) :
  5469. base(rb) {
  5470. this.tableФильтр_семаков = ((Фильтр_семаковDataTable)(this.Table));
  5471. }
  5472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5473. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5474. public string ФИО_работника {
  5475. get {
  5476. try {
  5477. return ((string)(this[this.tableФильтр_семаков.ФИО_работникаColumn]));
  5478. }
  5479. catch (global::System.InvalidCastException e) {
  5480. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО работника\' в таблице \'Фильтр_семаков\' равно DBNull.", e);
  5481. }
  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 byte Код_работника {
  5490. get {
  5491. return ((byte)(this[this.tableФильтр_семаков.Код_работникаColumn]));
  5492. }
  5493. set {
  5494. this[this.tableФильтр_семаков.Код_работникаColumn] = value;
  5495. }
  5496. }
  5497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5498. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5499. public System.DateTime Дата_получания {
  5500. get {
  5501. try {
  5502. return ((global::System.DateTime)(this[this.tableФильтр_семаков.Дата_получанияColumn]));
  5503. }
  5504. catch (global::System.InvalidCastException e) {
  5505. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр_семаков\' равно DBNull.", e);
  5506. }
  5507. }
  5508. set {
  5509. this[this.tableФильтр_семаков.Дата_получанияColumn] = value;
  5510. }
  5511. }
  5512. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5513. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5514. public int код_спецодежды {
  5515. get {
  5516. return ((int)(this[this.tableФильтр_семаков.код_спецодеждыColumn]));
  5517. }
  5518. set {
  5519. this[this.tableФильтр_семаков.код_спецодеждыColumn] = value;
  5520. }
  5521. }
  5522. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5523. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5524. public bool IsФИО_работникаNull() {
  5525. return this.IsNull(this.tableФильтр_семаков.ФИО_работникаColumn);
  5526. }
  5527. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5528. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5529. public void SetФИО_работникаNull() {
  5530. this[this.tableФильтр_семаков.ФИО_работникаColumn] = global::System.Convert.DBNull;
  5531. }
  5532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5534. public bool IsДата_получанияNull() {
  5535. return this.IsNull(this.tableФильтр_семаков.Дата_получанияColumn);
  5536. }
  5537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5539. public void SetДата_получанияNull() {
  5540. this[this.tableФильтр_семаков.Дата_получанияColumn] = global::System.Convert.DBNull;
  5541. }
  5542. }
  5543. /// <summary>
  5544. ///Represents strongly named DataRow class.
  5545. ///</summary>
  5546. public partial class _фильтр_зимняяRow : global::System.Data.DataRow {
  5547. private _фильтр_зимняяDataTable _tableфильтр_зимняя;
  5548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5550. internal _фильтр_зимняяRow(global::System.Data.DataRowBuilder rb) :
  5551. base(rb) {
  5552. this._tableфильтр_зимняя = ((_фильтр_зимняяDataTable)(this.Table));
  5553. }
  5554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5555. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5556. public int Код_спецодежды {
  5557. get {
  5558. return ((int)(this[this._tableфильтр_зимняя.Код_спецодеждыColumn]));
  5559. }
  5560. set {
  5561. this[this._tableфильтр_зимняя.Код_спецодеждыColumn] = value;
  5562. }
  5563. }
  5564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5565. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5566. public byte Код_работника {
  5567. get {
  5568. return ((byte)(this[this._tableфильтр_зимняя.Код_работникаColumn]));
  5569. }
  5570. set {
  5571. this[this._tableфильтр_зимняя.Код_работникаColumn] = value;
  5572. }
  5573. }
  5574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5575. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5576. public System.DateTime Дата_получания {
  5577. get {
  5578. try {
  5579. return ((global::System.DateTime)(this[this._tableфильтр_зимняя.Дата_получанияColumn]));
  5580. }
  5581. catch (global::System.InvalidCastException e) {
  5582. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'фильтр-зимняя\' равно DBNull.", e);
  5583. }
  5584. }
  5585. set {
  5586. this[this._tableфильтр_зимняя.Дата_получанияColumn] = value;
  5587. }
  5588. }
  5589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5590. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5591. public decimal _Стоимость_единицы_руб_ {
  5592. get {
  5593. try {
  5594. return ((decimal)(this[this._tableфильтр_зимняя._Стоимость_единицы_руб_Column]));
  5595. }
  5596. catch (global::System.InvalidCastException e) {
  5597. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость_единицы(руб)\' в таблице \'фильтр-зимняя\' равно DBN" +
  5598. "ull.", e);
  5599. }
  5600. }
  5601. set {
  5602. this[this._tableфильтр_зимняя._Стоимость_единицы_руб_Column] = value;
  5603. }
  5604. }
  5605. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5606. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5607. public string Вид_спецодежды {
  5608. get {
  5609. try {
  5610. return ((string)(this[this._tableфильтр_зимняя.Вид_спецодеждыColumn]));
  5611. }
  5612. catch (global::System.InvalidCastException e) {
  5613. throw new global::System.Data.StrongTypingException("Значение для столбца \'Вид_спецодежды\' в таблице \'фильтр-зимняя\' равно DBNull.", e);
  5614. }
  5615. }
  5616. set {
  5617. this[this._tableфильтр_зимняя.Вид_спецодеждыColumn] = value;
  5618. }
  5619. }
  5620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5621. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5622. public bool IsДата_получанияNull() {
  5623. return this.IsNull(this._tableфильтр_зимняя.Дата_получанияColumn);
  5624. }
  5625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5626. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5627. public void SetДата_получанияNull() {
  5628. this[this._tableфильтр_зимняя.Дата_получанияColumn] = global::System.Convert.DBNull;
  5629. }
  5630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5631. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5632. public bool Is_Стоимость_единицы_руб_Null() {
  5633. return this.IsNull(this._tableфильтр_зимняя._Стоимость_единицы_руб_Column);
  5634. }
  5635. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5636. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5637. public void Set_Стоимость_единицы_руб_Null() {
  5638. this[this._tableфильтр_зимняя._Стоимость_единицы_руб_Column] = global::System.Convert.DBNull;
  5639. }
  5640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5641. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5642. public bool IsВид_спецодеждыNull() {
  5643. return this.IsNull(this._tableфильтр_зимняя.Вид_спецодеждыColumn);
  5644. }
  5645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5647. public void SetВид_спецодеждыNull() {
  5648. this[this._tableфильтр_зимняя.Вид_спецодеждыColumn] = global::System.Convert.DBNull;
  5649. }
  5650. }
  5651. /// <summary>
  5652. ///Represents strongly named DataRow class.
  5653. ///</summary>
  5654. public partial class _Фильтр_ЛетняяRow : global::System.Data.DataRow {
  5655. private _Фильтр_ЛетняяDataTable _tableФильтр_Летняя;
  5656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5657. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5658. internal _Фильтр_ЛетняяRow(global::System.Data.DataRowBuilder rb) :
  5659. base(rb) {
  5660. this._tableФильтр_Летняя = ((_Фильтр_ЛетняяDataTable)(this.Table));
  5661. }
  5662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5664. public int Код_спецодежды {
  5665. get {
  5666. return ((int)(this[this._tableФильтр_Летняя.Код_спецодеждыColumn]));
  5667. }
  5668. set {
  5669. this[this._tableФильтр_Летняя.Код_спецодеждыColumn] = value;
  5670. }
  5671. }
  5672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5673. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5674. public byte Код_работника {
  5675. get {
  5676. return ((byte)(this[this._tableФильтр_Летняя.Код_работникаColumn]));
  5677. }
  5678. set {
  5679. this[this._tableФильтр_Летняя.Код_работникаColumn] = value;
  5680. }
  5681. }
  5682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5683. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5684. public System.DateTime Дата_получания {
  5685. get {
  5686. try {
  5687. return ((global::System.DateTime)(this[this._tableФильтр_Летняя.Дата_получанияColumn]));
  5688. }
  5689. catch (global::System.InvalidCastException e) {
  5690. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр-Летняя\' равно DBNull.", e);
  5691. }
  5692. }
  5693. set {
  5694. this[this._tableФильтр_Летняя.Дата_получанияColumn] = value;
  5695. }
  5696. }
  5697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5698. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5699. public decimal _Стоимость_единицы_руб_ {
  5700. get {
  5701. try {
  5702. return ((decimal)(this[this._tableФильтр_Летняя._Стоимость_единицы_руб_Column]));
  5703. }
  5704. catch (global::System.InvalidCastException e) {
  5705. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость_единицы(руб)\' в таблице \'Фильтр-Летняя\' равно DBN" +
  5706. "ull.", e);
  5707. }
  5708. }
  5709. set {
  5710. this[this._tableФильтр_Летняя._Стоимость_единицы_руб_Column] = value;
  5711. }
  5712. }
  5713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5714. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5715. public string Вид_спецодежды {
  5716. get {
  5717. try {
  5718. return ((string)(this[this._tableФильтр_Летняя.Вид_спецодеждыColumn]));
  5719. }
  5720. catch (global::System.InvalidCastException e) {
  5721. throw new global::System.Data.StrongTypingException("Значение для столбца \'Вид_спецодежды\' в таблице \'Фильтр-Летняя\' равно DBNull.", e);
  5722. }
  5723. }
  5724. set {
  5725. this[this._tableФильтр_Летняя.Вид_спецодеждыColumn] = value;
  5726. }
  5727. }
  5728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5729. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5730. public bool IsДата_получанияNull() {
  5731. return this.IsNull(this._tableФильтр_Летняя.Дата_получанияColumn);
  5732. }
  5733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5734. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5735. public void SetДата_получанияNull() {
  5736. this[this._tableФильтр_Летняя.Дата_получанияColumn] = global::System.Convert.DBNull;
  5737. }
  5738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5739. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5740. public bool Is_Стоимость_единицы_руб_Null() {
  5741. return this.IsNull(this._tableФильтр_Летняя._Стоимость_единицы_руб_Column);
  5742. }
  5743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5744. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5745. public void Set_Стоимость_единицы_руб_Null() {
  5746. this[this._tableФильтр_Летняя._Стоимость_единицы_руб_Column] = global::System.Convert.DBNull;
  5747. }
  5748. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5750. public bool IsВид_спецодеждыNull() {
  5751. return this.IsNull(this._tableФильтр_Летняя.Вид_спецодеждыColumn);
  5752. }
  5753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5754. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5755. public void SetВид_спецодеждыNull() {
  5756. this[this._tableФильтр_Летняя.Вид_спецодеждыColumn] = global::System.Convert.DBNull;
  5757. }
  5758. }
  5759. /// <summary>
  5760. ///Represents strongly named DataRow class.
  5761. ///</summary>
  5762. public partial class _Фильтр_охраннаяRow : global::System.Data.DataRow {
  5763. private _Фильтр_охраннаяDataTable _tableФильтр_охранная;
  5764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5765. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5766. internal _Фильтр_охраннаяRow(global::System.Data.DataRowBuilder rb) :
  5767. base(rb) {
  5768. this._tableФильтр_охранная = ((_Фильтр_охраннаяDataTable)(this.Table));
  5769. }
  5770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5772. public int Код_спецодежды {
  5773. get {
  5774. return ((int)(this[this._tableФильтр_охранная.Код_спецодеждыColumn]));
  5775. }
  5776. set {
  5777. this[this._tableФильтр_охранная.Код_спецодеждыColumn] = value;
  5778. }
  5779. }
  5780. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5781. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5782. public byte Код_работника {
  5783. get {
  5784. return ((byte)(this[this._tableФильтр_охранная.Код_работникаColumn]));
  5785. }
  5786. set {
  5787. this[this._tableФильтр_охранная.Код_работникаColumn] = value;
  5788. }
  5789. }
  5790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5791. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5792. public System.DateTime Дата_получания {
  5793. get {
  5794. try {
  5795. return ((global::System.DateTime)(this[this._tableФильтр_охранная.Дата_получанияColumn]));
  5796. }
  5797. catch (global::System.InvalidCastException e) {
  5798. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата получания\' в таблице \'Фильтр-охранная\' равно DBNull.", e);
  5799. }
  5800. }
  5801. set {
  5802. this[this._tableФильтр_охранная.Дата_получанияColumn] = value;
  5803. }
  5804. }
  5805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5806. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5807. public decimal _Стоимость_единицы_руб_ {
  5808. get {
  5809. try {
  5810. return ((decimal)(this[this._tableФильтр_охранная._Стоимость_единицы_руб_Column]));
  5811. }
  5812. catch (global::System.InvalidCastException e) {
  5813. throw new global::System.Data.StrongTypingException("Значение для столбца \'Стоимость_единицы(руб)\' в таблице \'Фильтр-охранная\' равно D" +
  5814. "BNull.", e);
  5815. }
  5816. }
  5817. set {
  5818. this[this._tableФильтр_охранная._Стоимость_единицы_руб_Column] = value;
  5819. }
  5820. }
  5821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5823. public string Вид_спецодежды {
  5824. get {
  5825. try {
  5826. return ((string)(this[this._tableФильтр_охранная.Вид_спецодеждыColumn]));
  5827. }
  5828. catch (global::System.InvalidCastException e) {
  5829. throw new global::System.Data.StrongTypingException("Значение для столбца \'Вид_спецодежды\' в таблице \'Фильтр-охранная\' равно DBNull.", e);
  5830. }
  5831. }
  5832. set {
  5833. this[this._tableФильтр_охранная.Вид_спецодеждыColumn] = value;
  5834. }
  5835. }
  5836. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5837. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5838. public bool IsДата_получанияNull() {
  5839. return this.IsNull(this._tableФильтр_охранная.Дата_получанияColumn);
  5840. }
  5841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5842. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5843. public void SetДата_получанияNull() {
  5844. this[this._tableФильтр_охранная.Дата_получанияColumn] = global::System.Convert.DBNull;
  5845. }
  5846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5847. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5848. public bool Is_Стоимость_единицы_руб_Null() {
  5849. return this.IsNull(this._tableФильтр_охранная._Стоимость_единицы_руб_Column);
  5850. }
  5851. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5852. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5853. public void Set_Стоимость_единицы_руб_Null() {
  5854. this[this._tableФильтр_охранная._Стоимость_единицы_руб_Column] = global::System.Convert.DBNull;
  5855. }
  5856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5858. public bool IsВид_спецодеждыNull() {
  5859. return this.IsNull(this._tableФильтр_охранная.Вид_спецодеждыColumn);
  5860. }
  5861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5862. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5863. public void SetВид_спецодеждыNull() {
  5864. this[this._tableФильтр_охранная.Вид_спецодеждыColumn] = global::System.Convert.DBNull;
  5865. }
  5866. }
  5867. /// <summary>
  5868. ///Row event argument class
  5869. ///</summary>
  5870. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5871. public class О_спецодеждеRowChangeEvent : global::System.EventArgs {
  5872. private О_спецодеждеRow eventRow;
  5873. private global::System.Data.DataRowAction eventAction;
  5874. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5875. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5876. public О_спецодеждеRowChangeEvent(О_спецодеждеRow row, global::System.Data.DataRowAction action) {
  5877. this.eventRow = row;
  5878. this.eventAction = action;
  5879. }
  5880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5881. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5882. public О_спецодеждеRow Row {
  5883. get {
  5884. return this.eventRow;
  5885. }
  5886. }
  5887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5888. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5889. public global::System.Data.DataRowAction Action {
  5890. get {
  5891. return this.eventAction;
  5892. }
  5893. }
  5894. }
  5895. /// <summary>
  5896. ///Row event argument class
  5897. ///</summary>
  5898. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5899. public class ПолучениеRowChangeEvent : global::System.EventArgs {
  5900. private ПолучениеRow eventRow;
  5901. private global::System.Data.DataRowAction eventAction;
  5902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5903. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5904. public ПолучениеRowChangeEvent(ПолучениеRow row, global::System.Data.DataRowAction action) {
  5905. this.eventRow = row;
  5906. this.eventAction = action;
  5907. }
  5908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5910. public ПолучениеRow Row {
  5911. get {
  5912. return this.eventRow;
  5913. }
  5914. }
  5915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5916. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5917. public global::System.Data.DataRowAction Action {
  5918. get {
  5919. return this.eventAction;
  5920. }
  5921. }
  5922. }
  5923. /// <summary>
  5924. ///Row event argument class
  5925. ///</summary>
  5926. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5927. public class РаботникиRowChangeEvent : global::System.EventArgs {
  5928. private РаботникиRow eventRow;
  5929. private global::System.Data.DataRowAction eventAction;
  5930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5932. public РаботникиRowChangeEvent(РаботникиRow row, global::System.Data.DataRowAction action) {
  5933. this.eventRow = row;
  5934. this.eventAction = action;
  5935. }
  5936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5937. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5938. public РаботникиRow Row {
  5939. get {
  5940. return this.eventRow;
  5941. }
  5942. }
  5943. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5944. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5945. public global::System.Data.DataRowAction Action {
  5946. get {
  5947. return this.eventAction;
  5948. }
  5949. }
  5950. }
  5951. /// <summary>
  5952. ///Row event argument class
  5953. ///</summary>
  5954. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5955. public class ЦехиRowChangeEvent : global::System.EventArgs {
  5956. private ЦехиRow eventRow;
  5957. private global::System.Data.DataRowAction eventAction;
  5958. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5959. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5960. public ЦехиRowChangeEvent(ЦехиRow row, global::System.Data.DataRowAction action) {
  5961. this.eventRow = row;
  5962. this.eventAction = action;
  5963. }
  5964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5965. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5966. public ЦехиRow Row {
  5967. get {
  5968. return this.eventRow;
  5969. }
  5970. }
  5971. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5972. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5973. public global::System.Data.DataRowAction Action {
  5974. get {
  5975. return this.eventAction;
  5976. }
  5977. }
  5978. }
  5979. /// <summary>
  5980. ///Row event argument class
  5981. ///</summary>
  5982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5983. public class Запрос_о_получении_спецодеждыRowChangeEvent : global::System.EventArgs {
  5984. private Запрос_о_получении_спецодеждыRow eventRow;
  5985. private global::System.Data.DataRowAction eventAction;
  5986. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5987. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5988. public Запрос_о_получении_спецодеждыRowChangeEvent(Запрос_о_получении_спецодеждыRow row, global::System.Data.DataRowAction action) {
  5989. this.eventRow = row;
  5990. this.eventAction = action;
  5991. }
  5992. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5993. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5994. public Запрос_о_получении_спецодеждыRow Row {
  5995. get {
  5996. return this.eventRow;
  5997. }
  5998. }
  5999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6000. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6001. public global::System.Data.DataRowAction Action {
  6002. get {
  6003. return this.eventAction;
  6004. }
  6005. }
  6006. }
  6007. /// <summary>
  6008. ///Row event argument class
  6009. ///</summary>
  6010. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6011. public class Информация_о_спецодеждеRowChangeEvent : global::System.EventArgs {
  6012. private Информация_о_спецодеждеRow eventRow;
  6013. private global::System.Data.DataRowAction eventAction;
  6014. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6015. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6016. public Информация_о_спецодеждеRowChangeEvent(Информация_о_спецодеждеRow row, global::System.Data.DataRowAction action) {
  6017. this.eventRow = row;
  6018. this.eventAction = action;
  6019. }
  6020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6021. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6022. public Информация_о_спецодеждеRow Row {
  6023. get {
  6024. return this.eventRow;
  6025. }
  6026. }
  6027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6029. public global::System.Data.DataRowAction Action {
  6030. get {
  6031. return this.eventAction;
  6032. }
  6033. }
  6034. }
  6035. /// <summary>
  6036. ///Row event argument class
  6037. ///</summary>
  6038. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6039. public class Фильтр_по_датеRowChangeEvent : global::System.EventArgs {
  6040. private Фильтр_по_датеRow eventRow;
  6041. private global::System.Data.DataRowAction eventAction;
  6042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6044. public Фильтр_по_датеRowChangeEvent(Фильтр_по_датеRow row, global::System.Data.DataRowAction action) {
  6045. this.eventRow = row;
  6046. this.eventAction = action;
  6047. }
  6048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6049. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6050. public Фильтр_по_датеRow Row {
  6051. get {
  6052. return this.eventRow;
  6053. }
  6054. }
  6055. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6056. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6057. public global::System.Data.DataRowAction Action {
  6058. get {
  6059. return this.eventAction;
  6060. }
  6061. }
  6062. }
  6063. /// <summary>
  6064. ///Row event argument class
  6065. ///</summary>
  6066. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6067. public class Фильтр_по_убыванию_кодаRowChangeEvent : global::System.EventArgs {
  6068. private Фильтр_по_убыванию_кодаRow eventRow;
  6069. private global::System.Data.DataRowAction eventAction;
  6070. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6071. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6072. public Фильтр_по_убыванию_кодаRowChangeEvent(Фильтр_по_убыванию_кодаRow row, global::System.Data.DataRowAction action) {
  6073. this.eventRow = row;
  6074. this.eventAction = action;
  6075. }
  6076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6077. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6078. public Фильтр_по_убыванию_кодаRow Row {
  6079. get {
  6080. return this.eventRow;
  6081. }
  6082. }
  6083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6085. public global::System.Data.DataRowAction Action {
  6086. get {
  6087. return this.eventAction;
  6088. }
  6089. }
  6090. }
  6091. /// <summary>
  6092. ///Row event argument class
  6093. ///</summary>
  6094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6095. public class Фильтр_стоимостьRowChangeEvent : global::System.EventArgs {
  6096. private Фильтр_стоимостьRow eventRow;
  6097. private global::System.Data.DataRowAction eventAction;
  6098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6099. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6100. public Фильтр_стоимостьRowChangeEvent(Фильтр_стоимостьRow row, global::System.Data.DataRowAction action) {
  6101. this.eventRow = row;
  6102. this.eventAction = action;
  6103. }
  6104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6106. public Фильтр_стоимостьRow Row {
  6107. get {
  6108. return this.eventRow;
  6109. }
  6110. }
  6111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6112. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6113. public global::System.Data.DataRowAction Action {
  6114. get {
  6115. return this.eventAction;
  6116. }
  6117. }
  6118. }
  6119. /// <summary>
  6120. ///Row event argument class
  6121. ///</summary>
  6122. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6123. public class Фильтр_БадретдиновRowChangeEvent : global::System.EventArgs {
  6124. private Фильтр_БадретдиновRow eventRow;
  6125. private global::System.Data.DataRowAction eventAction;
  6126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6127. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6128. public Фильтр_БадретдиновRowChangeEvent(Фильтр_БадретдиновRow row, global::System.Data.DataRowAction action) {
  6129. this.eventRow = row;
  6130. this.eventAction = action;
  6131. }
  6132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6133. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6134. public Фильтр_БадретдиновRow Row {
  6135. get {
  6136. return this.eventRow;
  6137. }
  6138. }
  6139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6141. public global::System.Data.DataRowAction Action {
  6142. get {
  6143. return this.eventAction;
  6144. }
  6145. }
  6146. }
  6147. /// <summary>
  6148. ///Row event argument class
  6149. ///</summary>
  6150. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6151. public class Фильтр_семаковRowChangeEvent : global::System.EventArgs {
  6152. private Фильтр_семаковRow eventRow;
  6153. private global::System.Data.DataRowAction eventAction;
  6154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6156. public Фильтр_семаковRowChangeEvent(Фильтр_семаковRow row, global::System.Data.DataRowAction action) {
  6157. this.eventRow = row;
  6158. this.eventAction = action;
  6159. }
  6160. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6161. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6162. public Фильтр_семаковRow Row {
  6163. get {
  6164. return this.eventRow;
  6165. }
  6166. }
  6167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6169. public global::System.Data.DataRowAction Action {
  6170. get {
  6171. return this.eventAction;
  6172. }
  6173. }
  6174. }
  6175. /// <summary>
  6176. ///Row event argument class
  6177. ///</summary>
  6178. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6179. public class _фильтр_зимняяRowChangeEvent : global::System.EventArgs {
  6180. private _фильтр_зимняяRow eventRow;
  6181. private global::System.Data.DataRowAction eventAction;
  6182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6183. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6184. public _фильтр_зимняяRowChangeEvent(_фильтр_зимняяRow row, global::System.Data.DataRowAction action) {
  6185. this.eventRow = row;
  6186. this.eventAction = action;
  6187. }
  6188. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6189. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6190. public _фильтр_зимняяRow Row {
  6191. get {
  6192. return this.eventRow;
  6193. }
  6194. }
  6195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6196. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6197. public global::System.Data.DataRowAction Action {
  6198. get {
  6199. return this.eventAction;
  6200. }
  6201. }
  6202. }
  6203. /// <summary>
  6204. ///Row event argument class
  6205. ///</summary>
  6206. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6207. public class _Фильтр_ЛетняяRowChangeEvent : global::System.EventArgs {
  6208. private _Фильтр_ЛетняяRow eventRow;
  6209. private global::System.Data.DataRowAction eventAction;
  6210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6211. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6212. public _Фильтр_ЛетняяRowChangeEvent(_Фильтр_ЛетняяRow row, global::System.Data.DataRowAction action) {
  6213. this.eventRow = row;
  6214. this.eventAction = action;
  6215. }
  6216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6217. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6218. public _Фильтр_ЛетняяRow Row {
  6219. get {
  6220. return this.eventRow;
  6221. }
  6222. }
  6223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6224. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6225. public global::System.Data.DataRowAction Action {
  6226. get {
  6227. return this.eventAction;
  6228. }
  6229. }
  6230. }
  6231. /// <summary>
  6232. ///Row event argument class
  6233. ///</summary>
  6234. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6235. public class _Фильтр_охраннаяRowChangeEvent : global::System.EventArgs {
  6236. private _Фильтр_охраннаяRow eventRow;
  6237. private global::System.Data.DataRowAction eventAction;
  6238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6239. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6240. public _Фильтр_охраннаяRowChangeEvent(_Фильтр_охраннаяRow row, global::System.Data.DataRowAction action) {
  6241. this.eventRow = row;
  6242. this.eventAction = action;
  6243. }
  6244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6246. public _Фильтр_охраннаяRow Row {
  6247. get {
  6248. return this.eventRow;
  6249. }
  6250. }
  6251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6252. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6253. public global::System.Data.DataRowAction Action {
  6254. get {
  6255. return this.eventAction;
  6256. }
  6257. }
  6258. }
  6259. }
  6260. }
  6261. namespace Badretdinov_specodezhda.badretdinov_cpecodezhdaDataSet1TableAdapters {
  6262. /// <summary>
  6263. ///Represents the connection and commands used to retrieve and save data.
  6264. ///</summary>
  6265. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6266. [global::System.ComponentModel.ToolboxItem(true)]
  6267. [global::System.ComponentModel.DataObjectAttribute(true)]
  6268. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6269. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6270. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6271. public partial class О_спецодеждеTableAdapter : global::System.ComponentModel.Component {
  6272. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6273. private global::System.Data.SqlClient.SqlConnection _connection;
  6274. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6275. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6276. private bool _clearBeforeFill;
  6277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6278. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6279. public О_спецодеждеTableAdapter() {
  6280. this.ClearBeforeFill = true;
  6281. }
  6282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6284. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6285. get {
  6286. if ((this._adapter == null)) {
  6287. this.InitAdapter();
  6288. }
  6289. return this._adapter;
  6290. }
  6291. }
  6292. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6293. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6294. internal global::System.Data.SqlClient.SqlConnection Connection {
  6295. get {
  6296. if ((this._connection == null)) {
  6297. this.InitConnection();
  6298. }
  6299. return this._connection;
  6300. }
  6301. set {
  6302. this._connection = value;
  6303. if ((this.Adapter.InsertCommand != null)) {
  6304. this.Adapter.InsertCommand.Connection = value;
  6305. }
  6306. if ((this.Adapter.DeleteCommand != null)) {
  6307. this.Adapter.DeleteCommand.Connection = value;
  6308. }
  6309. if ((this.Adapter.UpdateCommand != null)) {
  6310. this.Adapter.UpdateCommand.Connection = value;
  6311. }
  6312. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6313. if ((this.CommandCollection[i] != null)) {
  6314. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6315. }
  6316. }
  6317. }
  6318. }
  6319. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6320. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6321. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6322. get {
  6323. return this._transaction;
  6324. }
  6325. set {
  6326. this._transaction = value;
  6327. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6328. this.CommandCollection[i].Transaction = this._transaction;
  6329. }
  6330. if (((this.Adapter != null)
  6331. && (this.Adapter.DeleteCommand != null))) {
  6332. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6333. }
  6334. if (((this.Adapter != null)
  6335. && (this.Adapter.InsertCommand != null))) {
  6336. this.Adapter.InsertCommand.Transaction = this._transaction;
  6337. }
  6338. if (((this.Adapter != null)
  6339. && (this.Adapter.UpdateCommand != null))) {
  6340. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6341. }
  6342. }
  6343. }
  6344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6345. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6346. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6347. get {
  6348. if ((this._commandCollection == null)) {
  6349. this.InitCommandCollection();
  6350. }
  6351. return this._commandCollection;
  6352. }
  6353. }
  6354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6355. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6356. public bool ClearBeforeFill {
  6357. get {
  6358. return this._clearBeforeFill;
  6359. }
  6360. set {
  6361. this._clearBeforeFill = value;
  6362. }
  6363. }
  6364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6366. private void InitAdapter() {
  6367. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6368. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6369. tableMapping.SourceTable = "Table";
  6370. tableMapping.DataSetTable = "О_спецодежде";
  6371. tableMapping.ColumnMappings.Add("Код_спецодежды", "Код_спецодежды");
  6372. tableMapping.ColumnMappings.Add("Вид_спецодежды", "Вид_спецодежды");
  6373. tableMapping.ColumnMappings.Add("Срок_носки", "Срок_носки");
  6374. tableMapping.ColumnMappings.Add("Стоимость_единицы(руб)", "Стоимость_единицы(руб)");
  6375. this._adapter.TableMappings.Add(tableMapping);
  6376. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  6377. this._adapter.DeleteCommand.Connection = this.Connection;
  6378. this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[О_спецодежде] WHERE (([Код_спецодежды] = @Original_Код_спецодежды) AND ((@IsNull_Вид_спецодежды = 1 AND [Вид_спецодежды] IS NULL) OR ([Вид_спецодежды] = @Original_Вид_спецодежды)) AND ((@IsNull_Срок_носки = 1 AND [Срок_носки] IS NULL) OR ([Срок_носки] = @Original_Срок_носки)) AND ((@p3 = 1 AND [Стоимость_единицы(руб)] IS NULL) OR ([Стоимость_единицы(руб)] = @p2)))";
  6379. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  6380. 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, "", "", ""));
  6381. 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, "", "", ""));
  6382. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Вид_спецодежды", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Вид_спецодежды", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6383. 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, "", "", ""));
  6384. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Срок_носки", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Срок_носки", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6385. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость_единицы(руб)", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  6386. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p2", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость_единицы(руб)", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6387. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  6388. this._adapter.InsertCommand.Connection = this.Connection;
  6389. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[О_спецодежде] ([Вид_спецодежды], [Срок_носки], [Стоимость_единицы(руб)]) VALUES (@Вид_спецодежды, @Срок_носки, @p1);
  6390. SELECT Код_спецодежды, Вид_спецодежды, Срок_носки, [Стоимость_единицы(руб)] FROM О_спецодежде WHERE (Код_спецодежды = SCOPE_IDENTITY())";
  6391. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  6392. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Вид_спецодежды", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Вид_спецодежды", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6393. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Срок_носки", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Срок_носки", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6394. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость_единицы(руб)", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6395. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  6396. this._adapter.UpdateCommand.Connection = this.Connection;
  6397. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[О_спецодежде] SET [Вид_спецодежды] = @Вид_спецодежды, [Срок_носки] = @Срок_носки, [Стоимость_единицы(руб)] = @p1 WHERE (([Код_спецодежды] = @Original_Код_спецодежды) AND ((@IsNull_Вид_спецодежды = 1 AND [Вид_спецодежды] IS NULL) OR ([Вид_спецодежды] = @Original_Вид_спецодежды)) AND ((@IsNull_Срок_носки = 1 AND [Срок_носки] IS NULL) OR ([Срок_носки] = @Original_Срок_носки)) AND ((@p3 = 1 AND [Стоимость_единицы(руб)] IS NULL) OR ([Стоимость_единицы(руб)] = @p2)));
  6398. SELECT Код_спецодежды, Вид_спецодежды, Срок_носки, [Стоимость_единицы(руб)] FROM О_спецодежде WHERE (Код_спецодежды = @Код_спецодежды)";
  6399. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  6400. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Вид_спецодежды", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Вид_спецодежды", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6401. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Срок_носки", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Срок_носки", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6402. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость_единицы(руб)", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6403. 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, "", "", ""));
  6404. 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, "", "", ""));
  6405. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Вид_спецодежды", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Вид_спецодежды", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6406. 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, "", "", ""));
  6407. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Срок_носки", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Срок_носки", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6408. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p3", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость_единицы(руб)", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  6409. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p2", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Стоимость_единицы(руб)", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6410. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_спецодежды", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Код_спецодежды", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6411. }
  6412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6413. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6414. private void InitConnection() {
  6415. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6416. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  6417. }
  6418. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6419. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6420. private void InitCommandCollection() {
  6421. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6422. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6423. this._commandCollection[0].Connection = this.Connection;
  6424. this._commandCollection[0].CommandText = "SELECT Код_спецодежды, Вид_спецодежды, Срок_носки, [Стоимость_единицы(руб)] FROM " +
  6425. "dbo.О_спецодежде";
  6426. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6427. }
  6428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6429. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6430. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6431. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6432. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.О_спецодеждеDataTable dataTable) {
  6433. this.Adapter.SelectCommand = this.CommandCollection[0];
  6434. if ((this.ClearBeforeFill == true)) {
  6435. dataTable.Clear();
  6436. }
  6437. int returnValue = this.Adapter.Fill(dataTable);
  6438. return returnValue;
  6439. }
  6440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6441. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6442. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6443. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6444. public virtual badretdinov_cpecodezhdaDataSet1.О_спецодеждеDataTable GetData() {
  6445. this.Adapter.SelectCommand = this.CommandCollection[0];
  6446. badretdinov_cpecodezhdaDataSet1.О_спецодеждеDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.О_спецодеждеDataTable();
  6447. this.Adapter.Fill(dataTable);
  6448. return dataTable;
  6449. }
  6450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6452. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6453. public virtual int Update(badretdinov_cpecodezhdaDataSet1.О_спецодеждеDataTable dataTable) {
  6454. return this.Adapter.Update(dataTable);
  6455. }
  6456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6458. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6459. public virtual int Update(badretdinov_cpecodezhdaDataSet1 dataSet) {
  6460. return this.Adapter.Update(dataSet, "О_спецодежде");
  6461. }
  6462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6464. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6465. public virtual int Update(global::System.Data.DataRow dataRow) {
  6466. return this.Adapter.Update(new global::System.Data.DataRow[] {
  6467. dataRow});
  6468. }
  6469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6470. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6471. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6472. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  6473. return this.Adapter.Update(dataRows);
  6474. }
  6475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6476. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6477. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6478. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  6479. public virtual int Delete(int Original_Код_спецодежды, string Original_Вид_спецодежды, string Original_Срок_носки, global::System.Nullable<decimal> p2) {
  6480. this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Код_спецодежды));
  6481. if ((Original_Вид_спецодежды == null)) {
  6482. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  6483. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  6484. }
  6485. else {
  6486. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  6487. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Вид_спецодежды));
  6488. }
  6489. if ((Original_Срок_носки == null)) {
  6490. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  6491. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  6492. }
  6493. else {
  6494. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  6495. this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Срок_носки));
  6496. }
  6497. if ((p2.HasValue == true)) {
  6498. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  6499. this.Adapter.DeleteCommand.Parameters[6].Value = ((decimal)(p2.Value));
  6500. }
  6501. else {
  6502. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  6503. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  6504. }
  6505. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  6506. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6507. != global::System.Data.ConnectionState.Open)) {
  6508. this.Adapter.DeleteCommand.Connection.Open();
  6509. }
  6510. try {
  6511. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  6512. return returnValue;
  6513. }
  6514. finally {
  6515. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6516. this.Adapter.DeleteCommand.Connection.Close();
  6517. }
  6518. }
  6519. }
  6520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6521. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6522. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6523. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  6524. public virtual int Insert(string Вид_спецодежды, string Срок_носки, global::System.Nullable<decimal> p1) {
  6525. if ((Вид_спецодежды == null)) {
  6526. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  6527. }
  6528. else {
  6529. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Вид_спецодежды));
  6530. }
  6531. if ((Срок_носки == null)) {
  6532. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  6533. }
  6534. else {
  6535. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Срок_носки));
  6536. }
  6537. if ((p1.HasValue == true)) {
  6538. this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(p1.Value));
  6539. }
  6540. else {
  6541. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  6542. }
  6543. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  6544. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6545. != global::System.Data.ConnectionState.Open)) {
  6546. this.Adapter.InsertCommand.Connection.Open();
  6547. }
  6548. try {
  6549. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  6550. return returnValue;
  6551. }
  6552. finally {
  6553. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6554. this.Adapter.InsertCommand.Connection.Close();
  6555. }
  6556. }
  6557. }
  6558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6560. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6561. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6562. public virtual int Update(string Вид_спецодежды, string Срок_носки, global::System.Nullable<decimal> p1, int Original_Код_спецодежды, string Original_Вид_спецодежды, string Original_Срок_носки, global::System.Nullable<decimal> p2, int Код_спецодежды) {
  6563. if ((Вид_спецодежды == null)) {
  6564. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  6565. }
  6566. else {
  6567. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Вид_спецодежды));
  6568. }
  6569. if ((Срок_носки == null)) {
  6570. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  6571. }
  6572. else {
  6573. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Срок_носки));
  6574. }
  6575. if ((p1.HasValue == true)) {
  6576. this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(p1.Value));
  6577. }
  6578. else {
  6579. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  6580. }
  6581. this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_Код_спецодежды));
  6582. if ((Original_Вид_спецодежды == null)) {
  6583. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1));
  6584. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  6585. }
  6586. else {
  6587. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0));
  6588. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Вид_спецодежды));
  6589. }
  6590. if ((Original_Срок_носки == null)) {
  6591. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
  6592. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  6593. }
  6594. else {
  6595. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
  6596. this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Срок_носки));
  6597. }
  6598. if ((p2.HasValue == true)) {
  6599. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
  6600. this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(p2.Value));
  6601. }
  6602. else {
  6603. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
  6604. this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
  6605. }
  6606. this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Код_спецодежды));
  6607. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  6608. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6609. != global::System.Data.ConnectionState.Open)) {
  6610. this.Adapter.UpdateCommand.Connection.Open();
  6611. }
  6612. try {
  6613. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  6614. return returnValue;
  6615. }
  6616. finally {
  6617. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6618. this.Adapter.UpdateCommand.Connection.Close();
  6619. }
  6620. }
  6621. }
  6622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6624. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6625. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6626. public virtual int Update(string Вид_спецодежды, string Срок_носки, global::System.Nullable<decimal> p1, int Original_Код_спецодежды, string Original_Вид_спецодежды, string Original_Срок_носки, global::System.Nullable<decimal> p2) {
  6627. return this.Update(Вид_спецодежды, Срок_носки, p1, Original_Код_спецодежды, Original_Вид_спецодежды, Original_Срок_носки, p2, Original_Код_спецодежды);
  6628. }
  6629. }
  6630. /// <summary>
  6631. ///Represents the connection and commands used to retrieve and save data.
  6632. ///</summary>
  6633. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6634. [global::System.ComponentModel.ToolboxItem(true)]
  6635. [global::System.ComponentModel.DataObjectAttribute(true)]
  6636. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6637. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6638. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6639. public partial class ПолучениеTableAdapter : global::System.ComponentModel.Component {
  6640. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6641. private global::System.Data.SqlClient.SqlConnection _connection;
  6642. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6643. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6644. private bool _clearBeforeFill;
  6645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6647. public ПолучениеTableAdapter() {
  6648. this.ClearBeforeFill = true;
  6649. }
  6650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6651. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6652. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6653. get {
  6654. if ((this._adapter == null)) {
  6655. this.InitAdapter();
  6656. }
  6657. return this._adapter;
  6658. }
  6659. }
  6660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6661. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6662. internal global::System.Data.SqlClient.SqlConnection Connection {
  6663. get {
  6664. if ((this._connection == null)) {
  6665. this.InitConnection();
  6666. }
  6667. return this._connection;
  6668. }
  6669. set {
  6670. this._connection = value;
  6671. if ((this.Adapter.InsertCommand != null)) {
  6672. this.Adapter.InsertCommand.Connection = value;
  6673. }
  6674. if ((this.Adapter.DeleteCommand != null)) {
  6675. this.Adapter.DeleteCommand.Connection = value;
  6676. }
  6677. if ((this.Adapter.UpdateCommand != null)) {
  6678. this.Adapter.UpdateCommand.Connection = value;
  6679. }
  6680. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6681. if ((this.CommandCollection[i] != null)) {
  6682. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6683. }
  6684. }
  6685. }
  6686. }
  6687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6688. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6689. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6690. get {
  6691. return this._transaction;
  6692. }
  6693. set {
  6694. this._transaction = value;
  6695. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6696. this.CommandCollection[i].Transaction = this._transaction;
  6697. }
  6698. if (((this.Adapter != null)
  6699. && (this.Adapter.DeleteCommand != null))) {
  6700. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6701. }
  6702. if (((this.Adapter != null)
  6703. && (this.Adapter.InsertCommand != null))) {
  6704. this.Adapter.InsertCommand.Transaction = this._transaction;
  6705. }
  6706. if (((this.Adapter != null)
  6707. && (this.Adapter.UpdateCommand != null))) {
  6708. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6709. }
  6710. }
  6711. }
  6712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6714. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6715. get {
  6716. if ((this._commandCollection == null)) {
  6717. this.InitCommandCollection();
  6718. }
  6719. return this._commandCollection;
  6720. }
  6721. }
  6722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6724. public bool ClearBeforeFill {
  6725. get {
  6726. return this._clearBeforeFill;
  6727. }
  6728. set {
  6729. this._clearBeforeFill = value;
  6730. }
  6731. }
  6732. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6733. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6734. private void InitAdapter() {
  6735. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6736. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6737. tableMapping.SourceTable = "Table";
  6738. tableMapping.DataSetTable = "Получение";
  6739. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  6740. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  6741. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  6742. tableMapping.ColumnMappings.Add("Роспись", "Роспись");
  6743. this._adapter.TableMappings.Add(tableMapping);
  6744. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  6745. this._adapter.InsertCommand.Connection = this.Connection;
  6746. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Получение] ([код спецодежды], [Дата получания], [Роспись]) VAL" +
  6747. "UES (@код_спецодежды, @Дата_получания, @Роспись)";
  6748. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  6749. 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, "", "", ""));
  6750. 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, "", "", ""));
  6751. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Роспись", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Роспись", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6752. }
  6753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6754. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6755. private void InitConnection() {
  6756. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6757. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  6758. }
  6759. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6760. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6761. private void InitCommandCollection() {
  6762. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6763. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6764. this._commandCollection[0].Connection = this.Connection;
  6765. this._commandCollection[0].CommandText = "SELECT [Код работника], [код спецодежды], [Дата получания], Роспись FROM dbo.Полу" +
  6766. "чение";
  6767. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6768. }
  6769. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6770. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6771. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6772. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6773. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.ПолучениеDataTable dataTable) {
  6774. this.Adapter.SelectCommand = this.CommandCollection[0];
  6775. if ((this.ClearBeforeFill == true)) {
  6776. dataTable.Clear();
  6777. }
  6778. int returnValue = this.Adapter.Fill(dataTable);
  6779. return returnValue;
  6780. }
  6781. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6782. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6783. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6784. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6785. public virtual badretdinov_cpecodezhdaDataSet1.ПолучениеDataTable GetData() {
  6786. this.Adapter.SelectCommand = this.CommandCollection[0];
  6787. badretdinov_cpecodezhdaDataSet1.ПолучениеDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.ПолучениеDataTable();
  6788. this.Adapter.Fill(dataTable);
  6789. return dataTable;
  6790. }
  6791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6792. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6793. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6794. public virtual int Update(badretdinov_cpecodezhdaDataSet1.ПолучениеDataTable dataTable) {
  6795. return this.Adapter.Update(dataTable);
  6796. }
  6797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6798. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6799. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6800. public virtual int Update(badretdinov_cpecodezhdaDataSet1 dataSet) {
  6801. return this.Adapter.Update(dataSet, "Получение");
  6802. }
  6803. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6804. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6805. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6806. public virtual int Update(global::System.Data.DataRow dataRow) {
  6807. return this.Adapter.Update(new global::System.Data.DataRow[] {
  6808. dataRow});
  6809. }
  6810. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6811. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6812. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6813. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  6814. return this.Adapter.Update(dataRows);
  6815. }
  6816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6817. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6818. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6819. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  6820. public virtual int Insert(int код_спецодежды, global::System.Nullable<global::System.DateTime> Дата_получания, string Роспись) {
  6821. this.Adapter.InsertCommand.Parameters[0].Value = ((int)(код_спецодежды));
  6822. if ((Дата_получания.HasValue == true)) {
  6823. this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Дата_получания.Value));
  6824. }
  6825. else {
  6826. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  6827. }
  6828. if ((Роспись == null)) {
  6829. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  6830. }
  6831. else {
  6832. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Роспись));
  6833. }
  6834. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  6835. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6836. != global::System.Data.ConnectionState.Open)) {
  6837. this.Adapter.InsertCommand.Connection.Open();
  6838. }
  6839. try {
  6840. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  6841. return returnValue;
  6842. }
  6843. finally {
  6844. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6845. this.Adapter.InsertCommand.Connection.Close();
  6846. }
  6847. }
  6848. }
  6849. }
  6850. /// <summary>
  6851. ///Represents the connection and commands used to retrieve and save data.
  6852. ///</summary>
  6853. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6854. [global::System.ComponentModel.ToolboxItem(true)]
  6855. [global::System.ComponentModel.DataObjectAttribute(true)]
  6856. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6857. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6858. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6859. public partial class РаботникиTableAdapter : global::System.ComponentModel.Component {
  6860. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6861. private global::System.Data.SqlClient.SqlConnection _connection;
  6862. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6863. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6864. private bool _clearBeforeFill;
  6865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6866. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6867. public РаботникиTableAdapter() {
  6868. this.ClearBeforeFill = true;
  6869. }
  6870. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6871. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6872. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6873. get {
  6874. if ((this._adapter == null)) {
  6875. this.InitAdapter();
  6876. }
  6877. return this._adapter;
  6878. }
  6879. }
  6880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6881. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6882. internal global::System.Data.SqlClient.SqlConnection Connection {
  6883. get {
  6884. if ((this._connection == null)) {
  6885. this.InitConnection();
  6886. }
  6887. return this._connection;
  6888. }
  6889. set {
  6890. this._connection = value;
  6891. if ((this.Adapter.InsertCommand != null)) {
  6892. this.Adapter.InsertCommand.Connection = value;
  6893. }
  6894. if ((this.Adapter.DeleteCommand != null)) {
  6895. this.Adapter.DeleteCommand.Connection = value;
  6896. }
  6897. if ((this.Adapter.UpdateCommand != null)) {
  6898. this.Adapter.UpdateCommand.Connection = value;
  6899. }
  6900. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6901. if ((this.CommandCollection[i] != null)) {
  6902. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6903. }
  6904. }
  6905. }
  6906. }
  6907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6908. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6909. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6910. get {
  6911. return this._transaction;
  6912. }
  6913. set {
  6914. this._transaction = value;
  6915. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6916. this.CommandCollection[i].Transaction = this._transaction;
  6917. }
  6918. if (((this.Adapter != null)
  6919. && (this.Adapter.DeleteCommand != null))) {
  6920. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6921. }
  6922. if (((this.Adapter != null)
  6923. && (this.Adapter.InsertCommand != null))) {
  6924. this.Adapter.InsertCommand.Transaction = this._transaction;
  6925. }
  6926. if (((this.Adapter != null)
  6927. && (this.Adapter.UpdateCommand != null))) {
  6928. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6929. }
  6930. }
  6931. }
  6932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6934. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6935. get {
  6936. if ((this._commandCollection == null)) {
  6937. this.InitCommandCollection();
  6938. }
  6939. return this._commandCollection;
  6940. }
  6941. }
  6942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6943. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6944. public bool ClearBeforeFill {
  6945. get {
  6946. return this._clearBeforeFill;
  6947. }
  6948. set {
  6949. this._clearBeforeFill = value;
  6950. }
  6951. }
  6952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6953. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6954. private void InitAdapter() {
  6955. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6956. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6957. tableMapping.SourceTable = "Table";
  6958. tableMapping.DataSetTable = "Работники";
  6959. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  6960. tableMapping.ColumnMappings.Add("ФИО работника", "ФИО работника");
  6961. tableMapping.ColumnMappings.Add("Должность", "Должность");
  6962. tableMapping.ColumnMappings.Add("Скидка на спецодежду", "Скидка на спецодежду");
  6963. tableMapping.ColumnMappings.Add("код цеха", "код цеха");
  6964. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  6965. this._adapter.TableMappings.Add(tableMapping);
  6966. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  6967. this._adapter.InsertCommand.Connection = this.Connection;
  6968. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Работники] ([Код работника], [ФИО работника], [Должность], [Ск" +
  6969. "идка на спецодежду], [код цеха], [код спецодежды]) VALUES (@Код_работника, @ФИО_" +
  6970. "работника, @Должность, @Скидка_на_спецодежду, @код_цеха, @код_спецодежды)";
  6971. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  6972. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_работника", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код работника", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6973. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ФИО_работника", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО работника", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6974. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Должность", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Должность", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6975. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Скидка_на_спецодежду", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Скидка на спецодежду", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6976. 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, "", "", ""));
  6977. 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, "", "", ""));
  6978. }
  6979. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6980. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6981. private void InitConnection() {
  6982. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6983. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  6984. }
  6985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6987. private void InitCommandCollection() {
  6988. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6989. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6990. this._commandCollection[0].Connection = this.Connection;
  6991. this._commandCollection[0].CommandText = "SELECT [Код работника], [ФИО работника], Должность, [Скидка на спецодежду], [код " +
  6992. "цеха], [код спецодежды] FROM dbo.Работники";
  6993. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6994. }
  6995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6996. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6997. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6998. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6999. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.РаботникиDataTable dataTable) {
  7000. this.Adapter.SelectCommand = this.CommandCollection[0];
  7001. if ((this.ClearBeforeFill == true)) {
  7002. dataTable.Clear();
  7003. }
  7004. int returnValue = this.Adapter.Fill(dataTable);
  7005. return returnValue;
  7006. }
  7007. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7008. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7009. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7010. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7011. public virtual badretdinov_cpecodezhdaDataSet1.РаботникиDataTable GetData() {
  7012. this.Adapter.SelectCommand = this.CommandCollection[0];
  7013. badretdinov_cpecodezhdaDataSet1.РаботникиDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.РаботникиDataTable();
  7014. this.Adapter.Fill(dataTable);
  7015. return dataTable;
  7016. }
  7017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7018. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7019. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7020. public virtual int Update(badretdinov_cpecodezhdaDataSet1.РаботникиDataTable dataTable) {
  7021. return this.Adapter.Update(dataTable);
  7022. }
  7023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7024. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7025. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7026. public virtual int Update(badretdinov_cpecodezhdaDataSet1 dataSet) {
  7027. return this.Adapter.Update(dataSet, "Работники");
  7028. }
  7029. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7030. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7031. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7032. public virtual int Update(global::System.Data.DataRow dataRow) {
  7033. return this.Adapter.Update(new global::System.Data.DataRow[] {
  7034. dataRow});
  7035. }
  7036. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7037. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7038. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7039. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  7040. return this.Adapter.Update(dataRows);
  7041. }
  7042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7044. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7045. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  7046. public virtual int Insert(byte Код_работника, string ФИО_работника, string Должность, global::System.Nullable<decimal> Скидка_на_спецодежду, global::System.Nullable<int> код_цеха, global::System.Nullable<int> код_спецодежды) {
  7047. this.Adapter.InsertCommand.Parameters[0].Value = ((byte)(Код_работника));
  7048. if ((ФИО_работника == null)) {
  7049. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  7050. }
  7051. else {
  7052. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ФИО_работника));
  7053. }
  7054. if ((Должность == null)) {
  7055. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  7056. }
  7057. else {
  7058. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Должность));
  7059. }
  7060. if ((Скидка_на_спецодежду.HasValue == true)) {
  7061. this.Adapter.InsertCommand.Parameters[3].Value = ((decimal)(Скидка_на_спецодежду.Value));
  7062. }
  7063. else {
  7064. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  7065. }
  7066. if ((код_цеха.HasValue == true)) {
  7067. this.Adapter.InsertCommand.Parameters[4].Value = ((int)(код_цеха.Value));
  7068. }
  7069. else {
  7070. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  7071. }
  7072. if ((код_спецодежды.HasValue == true)) {
  7073. this.Adapter.InsertCommand.Parameters[5].Value = ((int)(код_спецодежды.Value));
  7074. }
  7075. else {
  7076. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  7077. }
  7078. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  7079. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7080. != global::System.Data.ConnectionState.Open)) {
  7081. this.Adapter.InsertCommand.Connection.Open();
  7082. }
  7083. try {
  7084. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  7085. return returnValue;
  7086. }
  7087. finally {
  7088. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7089. this.Adapter.InsertCommand.Connection.Close();
  7090. }
  7091. }
  7092. }
  7093. }
  7094. /// <summary>
  7095. ///Represents the connection and commands used to retrieve and save data.
  7096. ///</summary>
  7097. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7098. [global::System.ComponentModel.ToolboxItem(true)]
  7099. [global::System.ComponentModel.DataObjectAttribute(true)]
  7100. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7101. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7102. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7103. public partial class ЦехиTableAdapter : global::System.ComponentModel.Component {
  7104. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7105. private global::System.Data.SqlClient.SqlConnection _connection;
  7106. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7107. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7108. private bool _clearBeforeFill;
  7109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7111. public ЦехиTableAdapter() {
  7112. this.ClearBeforeFill = true;
  7113. }
  7114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7115. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7116. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7117. get {
  7118. if ((this._adapter == null)) {
  7119. this.InitAdapter();
  7120. }
  7121. return this._adapter;
  7122. }
  7123. }
  7124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7125. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7126. internal global::System.Data.SqlClient.SqlConnection Connection {
  7127. get {
  7128. if ((this._connection == null)) {
  7129. this.InitConnection();
  7130. }
  7131. return this._connection;
  7132. }
  7133. set {
  7134. this._connection = value;
  7135. if ((this.Adapter.InsertCommand != null)) {
  7136. this.Adapter.InsertCommand.Connection = value;
  7137. }
  7138. if ((this.Adapter.DeleteCommand != null)) {
  7139. this.Adapter.DeleteCommand.Connection = value;
  7140. }
  7141. if ((this.Adapter.UpdateCommand != null)) {
  7142. this.Adapter.UpdateCommand.Connection = value;
  7143. }
  7144. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7145. if ((this.CommandCollection[i] != null)) {
  7146. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7147. }
  7148. }
  7149. }
  7150. }
  7151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7152. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7153. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7154. get {
  7155. return this._transaction;
  7156. }
  7157. set {
  7158. this._transaction = value;
  7159. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7160. this.CommandCollection[i].Transaction = this._transaction;
  7161. }
  7162. if (((this.Adapter != null)
  7163. && (this.Adapter.DeleteCommand != null))) {
  7164. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7165. }
  7166. if (((this.Adapter != null)
  7167. && (this.Adapter.InsertCommand != null))) {
  7168. this.Adapter.InsertCommand.Transaction = this._transaction;
  7169. }
  7170. if (((this.Adapter != null)
  7171. && (this.Adapter.UpdateCommand != null))) {
  7172. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7173. }
  7174. }
  7175. }
  7176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7177. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7178. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7179. get {
  7180. if ((this._commandCollection == null)) {
  7181. this.InitCommandCollection();
  7182. }
  7183. return this._commandCollection;
  7184. }
  7185. }
  7186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7188. public bool ClearBeforeFill {
  7189. get {
  7190. return this._clearBeforeFill;
  7191. }
  7192. set {
  7193. this._clearBeforeFill = value;
  7194. }
  7195. }
  7196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7197. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7198. private void InitAdapter() {
  7199. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7200. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7201. tableMapping.SourceTable = "Table";
  7202. tableMapping.DataSetTable = "Цехи";
  7203. tableMapping.ColumnMappings.Add("Код_цеха", "Код_цеха");
  7204. tableMapping.ColumnMappings.Add("Наименование_цеха", "Наименование_цеха");
  7205. tableMapping.ColumnMappings.Add("ФИО_начальника_цеха", "ФИО_начальника_цеха");
  7206. tableMapping.ColumnMappings.Add("Код_работника", "Код_работника");
  7207. this._adapter.TableMappings.Add(tableMapping);
  7208. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  7209. this._adapter.DeleteCommand.Connection = this.Connection;
  7210. this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Цехи] WHERE (([Код_цеха] = @Original_Код_цеха) AND ((@IsNull_Наименование_цеха = 1 AND [Наименование_цеха] IS NULL) OR ([Наименование_цеха] = @Original_Наименование_цеха)) AND ((@IsNull_ФИО_начальника_цеха = 1 AND [ФИО_начальника_цеха] IS NULL) OR ([ФИО_начальника_цеха] = @Original_ФИО_начальника_цеха)) AND ([Код_работника] = @Original_Код_работника))";
  7211. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  7212. 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, "", "", ""));
  7213. 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, "", "", ""));
  7214. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование_цеха", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7215. 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, "", "", ""));
  7216. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ФИО_начальника_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО_начальника_цеха", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7217. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_работника", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код_работника", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7218. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  7219. this._adapter.InsertCommand.Connection = this.Connection;
  7220. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Цехи] ([Наименование_цеха], [ФИО_начальника_цеха], [Код_работника]) VALUES (@Наименование_цеха, @ФИО_начальника_цеха, @Код_работника);
  7221. SELECT Код_цеха, Наименование_цеха, ФИО_начальника_цеха, Код_работника FROM Цехи WHERE (Код_цеха = SCOPE_IDENTITY())";
  7222. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  7223. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Наименование_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование_цеха", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7224. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ФИО_начальника_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО_начальника_цеха", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7225. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_работника", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код_работника", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7226. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  7227. this._adapter.UpdateCommand.Connection = this.Connection;
  7228. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Цехи] SET [Наименование_цеха] = @Наименование_цеха, [ФИО_начальника_цеха] = @ФИО_начальника_цеха, [Код_работника] = @Код_работника WHERE (([Код_цеха] = @Original_Код_цеха) AND ((@IsNull_Наименование_цеха = 1 AND [Наименование_цеха] IS NULL) OR ([Наименование_цеха] = @Original_Наименование_цеха)) AND ((@IsNull_ФИО_начальника_цеха = 1 AND [ФИО_начальника_цеха] IS NULL) OR ([ФИО_начальника_цеха] = @Original_ФИО_начальника_цеха)) AND ([Код_работника] = @Original_Код_работника));
  7229. SELECT Код_цеха, Наименование_цеха, ФИО_начальника_цеха, Код_работника FROM Цехи WHERE (Код_цеха = @Код_цеха)";
  7230. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  7231. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Наименование_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование_цеха", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7232. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ФИО_начальника_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО_начальника_цеха", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7233. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_работника", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код_работника", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7234. 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, "", "", ""));
  7235. 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, "", "", ""));
  7236. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование_цеха", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7237. 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, "", "", ""));
  7238. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ФИО_начальника_цеха", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО_начальника_цеха", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7239. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_работника", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код_работника", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7240. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_цеха", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Код_цеха", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7241. }
  7242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7243. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7244. private void InitConnection() {
  7245. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7246. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  7247. }
  7248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7250. private void InitCommandCollection() {
  7251. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7252. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7253. this._commandCollection[0].Connection = this.Connection;
  7254. this._commandCollection[0].CommandText = "SELECT Код_цеха, Наименование_цеха, ФИО_начальника_цеха, Код_работника FROM dbo.Ц" +
  7255. "ехи";
  7256. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7257. }
  7258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7259. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7260. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7261. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7262. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.ЦехиDataTable dataTable) {
  7263. this.Adapter.SelectCommand = this.CommandCollection[0];
  7264. if ((this.ClearBeforeFill == true)) {
  7265. dataTable.Clear();
  7266. }
  7267. int returnValue = this.Adapter.Fill(dataTable);
  7268. return returnValue;
  7269. }
  7270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7271. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7272. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7273. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7274. public virtual badretdinov_cpecodezhdaDataSet1.ЦехиDataTable GetData() {
  7275. this.Adapter.SelectCommand = this.CommandCollection[0];
  7276. badretdinov_cpecodezhdaDataSet1.ЦехиDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.ЦехиDataTable();
  7277. this.Adapter.Fill(dataTable);
  7278. return dataTable;
  7279. }
  7280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7282. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7283. public virtual int Update(badretdinov_cpecodezhdaDataSet1.ЦехиDataTable dataTable) {
  7284. return this.Adapter.Update(dataTable);
  7285. }
  7286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7288. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7289. public virtual int Update(badretdinov_cpecodezhdaDataSet1 dataSet) {
  7290. return this.Adapter.Update(dataSet, "Цехи");
  7291. }
  7292. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7293. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7294. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7295. public virtual int Update(global::System.Data.DataRow dataRow) {
  7296. return this.Adapter.Update(new global::System.Data.DataRow[] {
  7297. dataRow});
  7298. }
  7299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7300. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7301. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7302. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  7303. return this.Adapter.Update(dataRows);
  7304. }
  7305. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7306. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7307. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7308. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  7309. public virtual int Delete(int Original_Код_цеха, string Original_Наименование_цеха, string Original_ФИО_начальника_цеха, byte Original_Код_работника) {
  7310. this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Код_цеха));
  7311. if ((Original_Наименование_цеха == null)) {
  7312. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  7313. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  7314. }
  7315. else {
  7316. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  7317. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Наименование_цеха));
  7318. }
  7319. if ((Original_ФИО_начальника_цеха == null)) {
  7320. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  7321. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  7322. }
  7323. else {
  7324. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  7325. this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_ФИО_начальника_цеха));
  7326. }
  7327. this.Adapter.DeleteCommand.Parameters[5].Value = ((byte)(Original_Код_работника));
  7328. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  7329. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7330. != global::System.Data.ConnectionState.Open)) {
  7331. this.Adapter.DeleteCommand.Connection.Open();
  7332. }
  7333. try {
  7334. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  7335. return returnValue;
  7336. }
  7337. finally {
  7338. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7339. this.Adapter.DeleteCommand.Connection.Close();
  7340. }
  7341. }
  7342. }
  7343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7344. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7345. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7346. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  7347. public virtual int Insert(string Наименование_цеха, string ФИО_начальника_цеха, byte Код_работника) {
  7348. if ((Наименование_цеха == null)) {
  7349. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  7350. }
  7351. else {
  7352. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Наименование_цеха));
  7353. }
  7354. if ((ФИО_начальника_цеха == null)) {
  7355. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  7356. }
  7357. else {
  7358. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ФИО_начальника_цеха));
  7359. }
  7360. this.Adapter.InsertCommand.Parameters[2].Value = ((byte)(Код_работника));
  7361. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  7362. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7363. != global::System.Data.ConnectionState.Open)) {
  7364. this.Adapter.InsertCommand.Connection.Open();
  7365. }
  7366. try {
  7367. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  7368. return returnValue;
  7369. }
  7370. finally {
  7371. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7372. this.Adapter.InsertCommand.Connection.Close();
  7373. }
  7374. }
  7375. }
  7376. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7377. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7378. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7379. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7380. public virtual int Update(string Наименование_цеха, string ФИО_начальника_цеха, byte Код_работника, int Original_Код_цеха, string Original_Наименование_цеха, string Original_ФИО_начальника_цеха, byte Original_Код_работника, int Код_цеха) {
  7381. if ((Наименование_цеха == null)) {
  7382. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  7383. }
  7384. else {
  7385. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Наименование_цеха));
  7386. }
  7387. if ((ФИО_начальника_цеха == null)) {
  7388. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  7389. }
  7390. else {
  7391. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ФИО_начальника_цеха));
  7392. }
  7393. this.Adapter.UpdateCommand.Parameters[2].Value = ((byte)(Код_работника));
  7394. this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_Код_цеха));
  7395. if ((Original_Наименование_цеха == null)) {
  7396. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1));
  7397. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  7398. }
  7399. else {
  7400. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0));
  7401. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Наименование_цеха));
  7402. }
  7403. if ((Original_ФИО_начальника_цеха == null)) {
  7404. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
  7405. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  7406. }
  7407. else {
  7408. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
  7409. this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_ФИО_начальника_цеха));
  7410. }
  7411. this.Adapter.UpdateCommand.Parameters[8].Value = ((byte)(Original_Код_работника));
  7412. this.Adapter.UpdateCommand.Parameters[9].Value = ((int)(Код_цеха));
  7413. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  7414. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7415. != global::System.Data.ConnectionState.Open)) {
  7416. this.Adapter.UpdateCommand.Connection.Open();
  7417. }
  7418. try {
  7419. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  7420. return returnValue;
  7421. }
  7422. finally {
  7423. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7424. this.Adapter.UpdateCommand.Connection.Close();
  7425. }
  7426. }
  7427. }
  7428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7429. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7430. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7431. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7432. public virtual int Update(string Наименование_цеха, string ФИО_начальника_цеха, byte Код_работника, int Original_Код_цеха, string Original_Наименование_цеха, string Original_ФИО_начальника_цеха, byte Original_Код_работника) {
  7433. return this.Update(Наименование_цеха, ФИО_начальника_цеха, Код_работника, Original_Код_цеха, Original_Наименование_цеха, Original_ФИО_начальника_цеха, Original_Код_работника, Original_Код_цеха);
  7434. }
  7435. }
  7436. /// <summary>
  7437. ///Represents the connection and commands used to retrieve and save data.
  7438. ///</summary>
  7439. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7440. [global::System.ComponentModel.ToolboxItem(true)]
  7441. [global::System.ComponentModel.DataObjectAttribute(true)]
  7442. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7443. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7444. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7445. public partial class Запрос_о_получении_спецодеждыTableAdapter : global::System.ComponentModel.Component {
  7446. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7447. private global::System.Data.SqlClient.SqlConnection _connection;
  7448. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7449. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7450. private bool _clearBeforeFill;
  7451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7452. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7453. public Запрос_о_получении_спецодеждыTableAdapter() {
  7454. this.ClearBeforeFill = true;
  7455. }
  7456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7458. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7459. get {
  7460. if ((this._adapter == null)) {
  7461. this.InitAdapter();
  7462. }
  7463. return this._adapter;
  7464. }
  7465. }
  7466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7468. internal global::System.Data.SqlClient.SqlConnection Connection {
  7469. get {
  7470. if ((this._connection == null)) {
  7471. this.InitConnection();
  7472. }
  7473. return this._connection;
  7474. }
  7475. set {
  7476. this._connection = value;
  7477. if ((this.Adapter.InsertCommand != null)) {
  7478. this.Adapter.InsertCommand.Connection = value;
  7479. }
  7480. if ((this.Adapter.DeleteCommand != null)) {
  7481. this.Adapter.DeleteCommand.Connection = value;
  7482. }
  7483. if ((this.Adapter.UpdateCommand != null)) {
  7484. this.Adapter.UpdateCommand.Connection = value;
  7485. }
  7486. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7487. if ((this.CommandCollection[i] != null)) {
  7488. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7489. }
  7490. }
  7491. }
  7492. }
  7493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7494. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7495. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7496. get {
  7497. return this._transaction;
  7498. }
  7499. set {
  7500. this._transaction = value;
  7501. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7502. this.CommandCollection[i].Transaction = this._transaction;
  7503. }
  7504. if (((this.Adapter != null)
  7505. && (this.Adapter.DeleteCommand != null))) {
  7506. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7507. }
  7508. if (((this.Adapter != null)
  7509. && (this.Adapter.InsertCommand != null))) {
  7510. this.Adapter.InsertCommand.Transaction = this._transaction;
  7511. }
  7512. if (((this.Adapter != null)
  7513. && (this.Adapter.UpdateCommand != null))) {
  7514. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7515. }
  7516. }
  7517. }
  7518. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7519. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7520. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7521. get {
  7522. if ((this._commandCollection == null)) {
  7523. this.InitCommandCollection();
  7524. }
  7525. return this._commandCollection;
  7526. }
  7527. }
  7528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7529. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7530. public bool ClearBeforeFill {
  7531. get {
  7532. return this._clearBeforeFill;
  7533. }
  7534. set {
  7535. this._clearBeforeFill = value;
  7536. }
  7537. }
  7538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7540. private void InitAdapter() {
  7541. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7542. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7543. tableMapping.SourceTable = "Table";
  7544. tableMapping.DataSetTable = "Запрос о получении спецодежды";
  7545. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  7546. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  7547. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  7548. tableMapping.ColumnMappings.Add("ФИО работника", "ФИО работника");
  7549. this._adapter.TableMappings.Add(tableMapping);
  7550. }
  7551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7552. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7553. private void InitConnection() {
  7554. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7555. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  7556. }
  7557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7559. private void InitCommandCollection() {
  7560. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7561. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7562. this._commandCollection[0].Connection = this.Connection;
  7563. this._commandCollection[0].CommandText = "SELECT [код спецодежды], [Дата получания], [Код работника], [ФИО работника] FROM " +
  7564. "dbo.[Запрос о получении спецодежды]";
  7565. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7566. }
  7567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7568. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7569. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7570. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7571. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Запрос_о_получении_спецодеждыDataTable dataTable) {
  7572. this.Adapter.SelectCommand = this.CommandCollection[0];
  7573. if ((this.ClearBeforeFill == true)) {
  7574. dataTable.Clear();
  7575. }
  7576. int returnValue = this.Adapter.Fill(dataTable);
  7577. return returnValue;
  7578. }
  7579. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7580. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7581. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7582. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7583. public virtual badretdinov_cpecodezhdaDataSet1.Запрос_о_получении_спецодеждыDataTable GetData() {
  7584. this.Adapter.SelectCommand = this.CommandCollection[0];
  7585. badretdinov_cpecodezhdaDataSet1.Запрос_о_получении_спецодеждыDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Запрос_о_получении_спецодеждыDataTable();
  7586. this.Adapter.Fill(dataTable);
  7587. return dataTable;
  7588. }
  7589. }
  7590. /// <summary>
  7591. ///Represents the connection and commands used to retrieve and save data.
  7592. ///</summary>
  7593. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7594. [global::System.ComponentModel.ToolboxItem(true)]
  7595. [global::System.ComponentModel.DataObjectAttribute(true)]
  7596. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7597. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7598. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7599. public partial class Информация_о_спецодеждеTableAdapter : global::System.ComponentModel.Component {
  7600. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7601. private global::System.Data.SqlClient.SqlConnection _connection;
  7602. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7603. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7604. private bool _clearBeforeFill;
  7605. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7606. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7607. public Информация_о_спецодеждеTableAdapter() {
  7608. this.ClearBeforeFill = true;
  7609. }
  7610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7611. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7612. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7613. get {
  7614. if ((this._adapter == null)) {
  7615. this.InitAdapter();
  7616. }
  7617. return this._adapter;
  7618. }
  7619. }
  7620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7621. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7622. internal global::System.Data.SqlClient.SqlConnection Connection {
  7623. get {
  7624. if ((this._connection == null)) {
  7625. this.InitConnection();
  7626. }
  7627. return this._connection;
  7628. }
  7629. set {
  7630. this._connection = value;
  7631. if ((this.Adapter.InsertCommand != null)) {
  7632. this.Adapter.InsertCommand.Connection = value;
  7633. }
  7634. if ((this.Adapter.DeleteCommand != null)) {
  7635. this.Adapter.DeleteCommand.Connection = value;
  7636. }
  7637. if ((this.Adapter.UpdateCommand != null)) {
  7638. this.Adapter.UpdateCommand.Connection = value;
  7639. }
  7640. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7641. if ((this.CommandCollection[i] != null)) {
  7642. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7643. }
  7644. }
  7645. }
  7646. }
  7647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7648. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7649. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7650. get {
  7651. return this._transaction;
  7652. }
  7653. set {
  7654. this._transaction = value;
  7655. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7656. this.CommandCollection[i].Transaction = this._transaction;
  7657. }
  7658. if (((this.Adapter != null)
  7659. && (this.Adapter.DeleteCommand != null))) {
  7660. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7661. }
  7662. if (((this.Adapter != null)
  7663. && (this.Adapter.InsertCommand != null))) {
  7664. this.Adapter.InsertCommand.Transaction = this._transaction;
  7665. }
  7666. if (((this.Adapter != null)
  7667. && (this.Adapter.UpdateCommand != null))) {
  7668. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7669. }
  7670. }
  7671. }
  7672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7673. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7674. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7675. get {
  7676. if ((this._commandCollection == null)) {
  7677. this.InitCommandCollection();
  7678. }
  7679. return this._commandCollection;
  7680. }
  7681. }
  7682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7683. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7684. public bool ClearBeforeFill {
  7685. get {
  7686. return this._clearBeforeFill;
  7687. }
  7688. set {
  7689. this._clearBeforeFill = value;
  7690. }
  7691. }
  7692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7694. private void InitAdapter() {
  7695. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7696. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7697. tableMapping.SourceTable = "Table";
  7698. tableMapping.DataSetTable = "Информация о спецодежде";
  7699. tableMapping.ColumnMappings.Add("Код_спецодежды", "Код_спецодежды");
  7700. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  7701. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  7702. tableMapping.ColumnMappings.Add("Стоимость_единицы(руб)", "Стоимость_единицы(руб)");
  7703. tableMapping.ColumnMappings.Add("Вид_спецодежды", "Вид_спецодежды");
  7704. this._adapter.TableMappings.Add(tableMapping);
  7705. }
  7706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7707. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7708. private void InitConnection() {
  7709. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7710. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  7711. }
  7712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7714. private void InitCommandCollection() {
  7715. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7716. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7717. this._commandCollection[0].Connection = this.Connection;
  7718. this._commandCollection[0].CommandText = "SELECT Код_спецодежды, [Код работника], [Дата получания], [Стоимость_единицы(руб)" +
  7719. "], Вид_спецодежды FROM dbo.[Информация о спецодежде]";
  7720. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7721. }
  7722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7724. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7725. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7726. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Информация_о_спецодеждеDataTable dataTable) {
  7727. this.Adapter.SelectCommand = this.CommandCollection[0];
  7728. if ((this.ClearBeforeFill == true)) {
  7729. dataTable.Clear();
  7730. }
  7731. int returnValue = this.Adapter.Fill(dataTable);
  7732. return returnValue;
  7733. }
  7734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7736. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7737. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7738. public virtual badretdinov_cpecodezhdaDataSet1.Информация_о_спецодеждеDataTable GetData() {
  7739. this.Adapter.SelectCommand = this.CommandCollection[0];
  7740. badretdinov_cpecodezhdaDataSet1.Информация_о_спецодеждеDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Информация_о_спецодеждеDataTable();
  7741. this.Adapter.Fill(dataTable);
  7742. return dataTable;
  7743. }
  7744. }
  7745. /// <summary>
  7746. ///Represents the connection and commands used to retrieve and save data.
  7747. ///</summary>
  7748. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7749. [global::System.ComponentModel.ToolboxItem(true)]
  7750. [global::System.ComponentModel.DataObjectAttribute(true)]
  7751. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7752. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7753. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7754. public partial class Фильтр_по_датеTableAdapter : global::System.ComponentModel.Component {
  7755. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7756. private global::System.Data.SqlClient.SqlConnection _connection;
  7757. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7758. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7759. private bool _clearBeforeFill;
  7760. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7761. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7762. public Фильтр_по_датеTableAdapter() {
  7763. this.ClearBeforeFill = true;
  7764. }
  7765. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7766. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7767. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7768. get {
  7769. if ((this._adapter == null)) {
  7770. this.InitAdapter();
  7771. }
  7772. return this._adapter;
  7773. }
  7774. }
  7775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7776. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7777. internal global::System.Data.SqlClient.SqlConnection Connection {
  7778. get {
  7779. if ((this._connection == null)) {
  7780. this.InitConnection();
  7781. }
  7782. return this._connection;
  7783. }
  7784. set {
  7785. this._connection = value;
  7786. if ((this.Adapter.InsertCommand != null)) {
  7787. this.Adapter.InsertCommand.Connection = value;
  7788. }
  7789. if ((this.Adapter.DeleteCommand != null)) {
  7790. this.Adapter.DeleteCommand.Connection = value;
  7791. }
  7792. if ((this.Adapter.UpdateCommand != null)) {
  7793. this.Adapter.UpdateCommand.Connection = value;
  7794. }
  7795. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7796. if ((this.CommandCollection[i] != null)) {
  7797. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7798. }
  7799. }
  7800. }
  7801. }
  7802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7803. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7804. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7805. get {
  7806. return this._transaction;
  7807. }
  7808. set {
  7809. this._transaction = value;
  7810. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7811. this.CommandCollection[i].Transaction = this._transaction;
  7812. }
  7813. if (((this.Adapter != null)
  7814. && (this.Adapter.DeleteCommand != null))) {
  7815. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7816. }
  7817. if (((this.Adapter != null)
  7818. && (this.Adapter.InsertCommand != null))) {
  7819. this.Adapter.InsertCommand.Transaction = this._transaction;
  7820. }
  7821. if (((this.Adapter != null)
  7822. && (this.Adapter.UpdateCommand != null))) {
  7823. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7824. }
  7825. }
  7826. }
  7827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7829. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7830. get {
  7831. if ((this._commandCollection == null)) {
  7832. this.InitCommandCollection();
  7833. }
  7834. return this._commandCollection;
  7835. }
  7836. }
  7837. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7838. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7839. public bool ClearBeforeFill {
  7840. get {
  7841. return this._clearBeforeFill;
  7842. }
  7843. set {
  7844. this._clearBeforeFill = value;
  7845. }
  7846. }
  7847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7848. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7849. private void InitAdapter() {
  7850. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7851. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7852. tableMapping.SourceTable = "Table";
  7853. tableMapping.DataSetTable = "Фильтр по дате";
  7854. tableMapping.ColumnMappings.Add("ФИО работника", "ФИО работника");
  7855. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  7856. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  7857. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  7858. this._adapter.TableMappings.Add(tableMapping);
  7859. }
  7860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7861. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7862. private void InitConnection() {
  7863. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7864. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  7865. }
  7866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7867. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7868. private void InitCommandCollection() {
  7869. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7870. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7871. this._commandCollection[0].Connection = this.Connection;
  7872. this._commandCollection[0].CommandText = "SELECT [ФИО работника], [Код работника], [Дата получания], [код спецодежды] FROM " +
  7873. "dbo.[Фильтр по дате]";
  7874. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  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. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7880. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Фильтр_по_датеDataTable dataTable) {
  7881. this.Adapter.SelectCommand = this.CommandCollection[0];
  7882. if ((this.ClearBeforeFill == true)) {
  7883. dataTable.Clear();
  7884. }
  7885. int returnValue = this.Adapter.Fill(dataTable);
  7886. return returnValue;
  7887. }
  7888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7890. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7891. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7892. public virtual badretdinov_cpecodezhdaDataSet1.Фильтр_по_датеDataTable GetData() {
  7893. this.Adapter.SelectCommand = this.CommandCollection[0];
  7894. badretdinov_cpecodezhdaDataSet1.Фильтр_по_датеDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Фильтр_по_датеDataTable();
  7895. this.Adapter.Fill(dataTable);
  7896. return dataTable;
  7897. }
  7898. }
  7899. /// <summary>
  7900. ///Represents the connection and commands used to retrieve and save data.
  7901. ///</summary>
  7902. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7903. [global::System.ComponentModel.ToolboxItem(true)]
  7904. [global::System.ComponentModel.DataObjectAttribute(true)]
  7905. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7906. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7907. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7908. public partial class Фильтр_по_убыванию_кодаTableAdapter : global::System.ComponentModel.Component {
  7909. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7910. private global::System.Data.SqlClient.SqlConnection _connection;
  7911. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7912. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7913. private bool _clearBeforeFill;
  7914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7915. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7916. public Фильтр_по_убыванию_кодаTableAdapter() {
  7917. this.ClearBeforeFill = true;
  7918. }
  7919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7920. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7921. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7922. get {
  7923. if ((this._adapter == null)) {
  7924. this.InitAdapter();
  7925. }
  7926. return this._adapter;
  7927. }
  7928. }
  7929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7931. internal global::System.Data.SqlClient.SqlConnection Connection {
  7932. get {
  7933. if ((this._connection == null)) {
  7934. this.InitConnection();
  7935. }
  7936. return this._connection;
  7937. }
  7938. set {
  7939. this._connection = value;
  7940. if ((this.Adapter.InsertCommand != null)) {
  7941. this.Adapter.InsertCommand.Connection = value;
  7942. }
  7943. if ((this.Adapter.DeleteCommand != null)) {
  7944. this.Adapter.DeleteCommand.Connection = value;
  7945. }
  7946. if ((this.Adapter.UpdateCommand != null)) {
  7947. this.Adapter.UpdateCommand.Connection = value;
  7948. }
  7949. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7950. if ((this.CommandCollection[i] != null)) {
  7951. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7952. }
  7953. }
  7954. }
  7955. }
  7956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7958. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7959. get {
  7960. return this._transaction;
  7961. }
  7962. set {
  7963. this._transaction = value;
  7964. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7965. this.CommandCollection[i].Transaction = this._transaction;
  7966. }
  7967. if (((this.Adapter != null)
  7968. && (this.Adapter.DeleteCommand != null))) {
  7969. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7970. }
  7971. if (((this.Adapter != null)
  7972. && (this.Adapter.InsertCommand != null))) {
  7973. this.Adapter.InsertCommand.Transaction = this._transaction;
  7974. }
  7975. if (((this.Adapter != null)
  7976. && (this.Adapter.UpdateCommand != null))) {
  7977. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7978. }
  7979. }
  7980. }
  7981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7983. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7984. get {
  7985. if ((this._commandCollection == null)) {
  7986. this.InitCommandCollection();
  7987. }
  7988. return this._commandCollection;
  7989. }
  7990. }
  7991. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7992. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7993. public bool ClearBeforeFill {
  7994. get {
  7995. return this._clearBeforeFill;
  7996. }
  7997. set {
  7998. this._clearBeforeFill = value;
  7999. }
  8000. }
  8001. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8002. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8003. private void InitAdapter() {
  8004. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8005. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8006. tableMapping.SourceTable = "Table";
  8007. tableMapping.DataSetTable = "Фильтр по убыванию кода";
  8008. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  8009. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8010. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8011. tableMapping.ColumnMappings.Add("ФИО работника", "ФИО работника");
  8012. this._adapter.TableMappings.Add(tableMapping);
  8013. }
  8014. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8015. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8016. private void InitConnection() {
  8017. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8018. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8019. }
  8020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8021. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8022. private void InitCommandCollection() {
  8023. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8024. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8025. this._commandCollection[0].Connection = this.Connection;
  8026. this._commandCollection[0].CommandText = "SELECT [код спецодежды], [Дата получания], [Код работника], [ФИО работника] FROM " +
  8027. "dbo.[Фильтр по убыванию кода]";
  8028. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8029. }
  8030. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8031. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8032. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8033. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8034. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Фильтр_по_убыванию_кодаDataTable dataTable) {
  8035. this.Adapter.SelectCommand = this.CommandCollection[0];
  8036. if ((this.ClearBeforeFill == true)) {
  8037. dataTable.Clear();
  8038. }
  8039. int returnValue = this.Adapter.Fill(dataTable);
  8040. return returnValue;
  8041. }
  8042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8044. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8045. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8046. public virtual badretdinov_cpecodezhdaDataSet1.Фильтр_по_убыванию_кодаDataTable GetData() {
  8047. this.Adapter.SelectCommand = this.CommandCollection[0];
  8048. badretdinov_cpecodezhdaDataSet1.Фильтр_по_убыванию_кодаDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Фильтр_по_убыванию_кодаDataTable();
  8049. this.Adapter.Fill(dataTable);
  8050. return dataTable;
  8051. }
  8052. }
  8053. /// <summary>
  8054. ///Represents the connection and commands used to retrieve and save data.
  8055. ///</summary>
  8056. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8057. [global::System.ComponentModel.ToolboxItem(true)]
  8058. [global::System.ComponentModel.DataObjectAttribute(true)]
  8059. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8060. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8061. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8062. public partial class Фильтр_стоимостьTableAdapter : global::System.ComponentModel.Component {
  8063. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8064. private global::System.Data.SqlClient.SqlConnection _connection;
  8065. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8066. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8067. private bool _clearBeforeFill;
  8068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8070. public Фильтр_стоимостьTableAdapter() {
  8071. this.ClearBeforeFill = true;
  8072. }
  8073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8074. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8075. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8076. get {
  8077. if ((this._adapter == null)) {
  8078. this.InitAdapter();
  8079. }
  8080. return this._adapter;
  8081. }
  8082. }
  8083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8085. internal global::System.Data.SqlClient.SqlConnection Connection {
  8086. get {
  8087. if ((this._connection == null)) {
  8088. this.InitConnection();
  8089. }
  8090. return this._connection;
  8091. }
  8092. set {
  8093. this._connection = value;
  8094. if ((this.Adapter.InsertCommand != null)) {
  8095. this.Adapter.InsertCommand.Connection = value;
  8096. }
  8097. if ((this.Adapter.DeleteCommand != null)) {
  8098. this.Adapter.DeleteCommand.Connection = value;
  8099. }
  8100. if ((this.Adapter.UpdateCommand != null)) {
  8101. this.Adapter.UpdateCommand.Connection = value;
  8102. }
  8103. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8104. if ((this.CommandCollection[i] != null)) {
  8105. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8106. }
  8107. }
  8108. }
  8109. }
  8110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8111. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8112. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8113. get {
  8114. return this._transaction;
  8115. }
  8116. set {
  8117. this._transaction = value;
  8118. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8119. this.CommandCollection[i].Transaction = this._transaction;
  8120. }
  8121. if (((this.Adapter != null)
  8122. && (this.Adapter.DeleteCommand != null))) {
  8123. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8124. }
  8125. if (((this.Adapter != null)
  8126. && (this.Adapter.InsertCommand != null))) {
  8127. this.Adapter.InsertCommand.Transaction = this._transaction;
  8128. }
  8129. if (((this.Adapter != null)
  8130. && (this.Adapter.UpdateCommand != null))) {
  8131. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8132. }
  8133. }
  8134. }
  8135. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8136. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8137. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8138. get {
  8139. if ((this._commandCollection == null)) {
  8140. this.InitCommandCollection();
  8141. }
  8142. return this._commandCollection;
  8143. }
  8144. }
  8145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8147. public bool ClearBeforeFill {
  8148. get {
  8149. return this._clearBeforeFill;
  8150. }
  8151. set {
  8152. this._clearBeforeFill = value;
  8153. }
  8154. }
  8155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8157. private void InitAdapter() {
  8158. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8159. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8160. tableMapping.SourceTable = "Table";
  8161. tableMapping.DataSetTable = "Фильтр стоимость";
  8162. tableMapping.ColumnMappings.Add("Код_спецодежды", "Код_спецодежды");
  8163. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8164. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8165. tableMapping.ColumnMappings.Add("Стоимость_единицы(руб)", "Стоимость_единицы(руб)");
  8166. tableMapping.ColumnMappings.Add("Вид_спецодежды", "Вид_спецодежды");
  8167. this._adapter.TableMappings.Add(tableMapping);
  8168. }
  8169. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8170. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8171. private void InitConnection() {
  8172. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8173. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8174. }
  8175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8176. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8177. private void InitCommandCollection() {
  8178. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8179. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8180. this._commandCollection[0].Connection = this.Connection;
  8181. this._commandCollection[0].CommandText = "SELECT Код_спецодежды, [Код работника], [Дата получания], [Стоимость_единицы(руб)" +
  8182. "], Вид_спецодежды FROM dbo.[Фильтр стоимость]";
  8183. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8184. }
  8185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8187. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8188. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8189. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Фильтр_стоимостьDataTable dataTable) {
  8190. this.Adapter.SelectCommand = this.CommandCollection[0];
  8191. if ((this.ClearBeforeFill == true)) {
  8192. dataTable.Clear();
  8193. }
  8194. int returnValue = this.Adapter.Fill(dataTable);
  8195. return returnValue;
  8196. }
  8197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8198. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8199. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8200. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8201. public virtual badretdinov_cpecodezhdaDataSet1.Фильтр_стоимостьDataTable GetData() {
  8202. this.Adapter.SelectCommand = this.CommandCollection[0];
  8203. badretdinov_cpecodezhdaDataSet1.Фильтр_стоимостьDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Фильтр_стоимостьDataTable();
  8204. this.Adapter.Fill(dataTable);
  8205. return dataTable;
  8206. }
  8207. }
  8208. /// <summary>
  8209. ///Represents the connection and commands used to retrieve and save data.
  8210. ///</summary>
  8211. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8212. [global::System.ComponentModel.ToolboxItem(true)]
  8213. [global::System.ComponentModel.DataObjectAttribute(true)]
  8214. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8215. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8216. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8217. public partial class Фильтр_БадретдиновTableAdapter : global::System.ComponentModel.Component {
  8218. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8219. private global::System.Data.SqlClient.SqlConnection _connection;
  8220. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8221. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8222. private bool _clearBeforeFill;
  8223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8224. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8225. public Фильтр_БадретдиновTableAdapter() {
  8226. this.ClearBeforeFill = true;
  8227. }
  8228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8230. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8231. get {
  8232. if ((this._adapter == null)) {
  8233. this.InitAdapter();
  8234. }
  8235. return this._adapter;
  8236. }
  8237. }
  8238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8239. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8240. internal global::System.Data.SqlClient.SqlConnection Connection {
  8241. get {
  8242. if ((this._connection == null)) {
  8243. this.InitConnection();
  8244. }
  8245. return this._connection;
  8246. }
  8247. set {
  8248. this._connection = value;
  8249. if ((this.Adapter.InsertCommand != null)) {
  8250. this.Adapter.InsertCommand.Connection = value;
  8251. }
  8252. if ((this.Adapter.DeleteCommand != null)) {
  8253. this.Adapter.DeleteCommand.Connection = value;
  8254. }
  8255. if ((this.Adapter.UpdateCommand != null)) {
  8256. this.Adapter.UpdateCommand.Connection = value;
  8257. }
  8258. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8259. if ((this.CommandCollection[i] != null)) {
  8260. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8261. }
  8262. }
  8263. }
  8264. }
  8265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8267. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8268. get {
  8269. return this._transaction;
  8270. }
  8271. set {
  8272. this._transaction = value;
  8273. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8274. this.CommandCollection[i].Transaction = this._transaction;
  8275. }
  8276. if (((this.Adapter != null)
  8277. && (this.Adapter.DeleteCommand != null))) {
  8278. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8279. }
  8280. if (((this.Adapter != null)
  8281. && (this.Adapter.InsertCommand != null))) {
  8282. this.Adapter.InsertCommand.Transaction = this._transaction;
  8283. }
  8284. if (((this.Adapter != null)
  8285. && (this.Adapter.UpdateCommand != null))) {
  8286. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8287. }
  8288. }
  8289. }
  8290. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8291. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8292. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8293. get {
  8294. if ((this._commandCollection == null)) {
  8295. this.InitCommandCollection();
  8296. }
  8297. return this._commandCollection;
  8298. }
  8299. }
  8300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8301. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8302. public bool ClearBeforeFill {
  8303. get {
  8304. return this._clearBeforeFill;
  8305. }
  8306. set {
  8307. this._clearBeforeFill = value;
  8308. }
  8309. }
  8310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8312. private void InitAdapter() {
  8313. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8314. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8315. tableMapping.SourceTable = "Table";
  8316. tableMapping.DataSetTable = "Фильтр_Бадретдинов";
  8317. tableMapping.ColumnMappings.Add("ФИО работника", "ФИО работника");
  8318. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8319. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  8320. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8321. this._adapter.TableMappings.Add(tableMapping);
  8322. }
  8323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8324. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8325. private void InitConnection() {
  8326. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8327. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8328. }
  8329. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8330. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8331. private void InitCommandCollection() {
  8332. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8333. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8334. this._commandCollection[0].Connection = this.Connection;
  8335. this._commandCollection[0].CommandText = "SELECT [ФИО работника], [Код работника], [код спецодежды], [Дата получания] FROM " +
  8336. "dbo.Фильтр_Бадретдинов";
  8337. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8338. }
  8339. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8340. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8341. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8342. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8343. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Фильтр_БадретдиновDataTable dataTable) {
  8344. this.Adapter.SelectCommand = this.CommandCollection[0];
  8345. if ((this.ClearBeforeFill == true)) {
  8346. dataTable.Clear();
  8347. }
  8348. int returnValue = this.Adapter.Fill(dataTable);
  8349. return returnValue;
  8350. }
  8351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8352. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8353. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8354. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8355. public virtual badretdinov_cpecodezhdaDataSet1.Фильтр_БадретдиновDataTable GetData() {
  8356. this.Adapter.SelectCommand = this.CommandCollection[0];
  8357. badretdinov_cpecodezhdaDataSet1.Фильтр_БадретдиновDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Фильтр_БадретдиновDataTable();
  8358. this.Adapter.Fill(dataTable);
  8359. return dataTable;
  8360. }
  8361. }
  8362. /// <summary>
  8363. ///Represents the connection and commands used to retrieve and save data.
  8364. ///</summary>
  8365. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8366. [global::System.ComponentModel.ToolboxItem(true)]
  8367. [global::System.ComponentModel.DataObjectAttribute(true)]
  8368. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8369. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8370. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8371. public partial class Фильтр_семаковTableAdapter : global::System.ComponentModel.Component {
  8372. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8373. private global::System.Data.SqlClient.SqlConnection _connection;
  8374. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8375. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8376. private bool _clearBeforeFill;
  8377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8379. public Фильтр_семаковTableAdapter() {
  8380. this.ClearBeforeFill = true;
  8381. }
  8382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8384. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8385. get {
  8386. if ((this._adapter == null)) {
  8387. this.InitAdapter();
  8388. }
  8389. return this._adapter;
  8390. }
  8391. }
  8392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8393. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8394. internal global::System.Data.SqlClient.SqlConnection Connection {
  8395. get {
  8396. if ((this._connection == null)) {
  8397. this.InitConnection();
  8398. }
  8399. return this._connection;
  8400. }
  8401. set {
  8402. this._connection = value;
  8403. if ((this.Adapter.InsertCommand != null)) {
  8404. this.Adapter.InsertCommand.Connection = value;
  8405. }
  8406. if ((this.Adapter.DeleteCommand != null)) {
  8407. this.Adapter.DeleteCommand.Connection = value;
  8408. }
  8409. if ((this.Adapter.UpdateCommand != null)) {
  8410. this.Adapter.UpdateCommand.Connection = value;
  8411. }
  8412. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8413. if ((this.CommandCollection[i] != null)) {
  8414. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8415. }
  8416. }
  8417. }
  8418. }
  8419. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8420. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8421. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8422. get {
  8423. return this._transaction;
  8424. }
  8425. set {
  8426. this._transaction = value;
  8427. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8428. this.CommandCollection[i].Transaction = this._transaction;
  8429. }
  8430. if (((this.Adapter != null)
  8431. && (this.Adapter.DeleteCommand != null))) {
  8432. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8433. }
  8434. if (((this.Adapter != null)
  8435. && (this.Adapter.InsertCommand != null))) {
  8436. this.Adapter.InsertCommand.Transaction = this._transaction;
  8437. }
  8438. if (((this.Adapter != null)
  8439. && (this.Adapter.UpdateCommand != null))) {
  8440. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8441. }
  8442. }
  8443. }
  8444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8446. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8447. get {
  8448. if ((this._commandCollection == null)) {
  8449. this.InitCommandCollection();
  8450. }
  8451. return this._commandCollection;
  8452. }
  8453. }
  8454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8456. public bool ClearBeforeFill {
  8457. get {
  8458. return this._clearBeforeFill;
  8459. }
  8460. set {
  8461. this._clearBeforeFill = value;
  8462. }
  8463. }
  8464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8466. private void InitAdapter() {
  8467. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8468. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8469. tableMapping.SourceTable = "Table";
  8470. tableMapping.DataSetTable = "Фильтр_семаков";
  8471. tableMapping.ColumnMappings.Add("ФИО работника", "ФИО работника");
  8472. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8473. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8474. tableMapping.ColumnMappings.Add("код спецодежды", "код спецодежды");
  8475. this._adapter.TableMappings.Add(tableMapping);
  8476. }
  8477. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8478. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8479. private void InitConnection() {
  8480. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8481. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8482. }
  8483. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8484. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8485. private void InitCommandCollection() {
  8486. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8487. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8488. this._commandCollection[0].Connection = this.Connection;
  8489. this._commandCollection[0].CommandText = "SELECT [ФИО работника], [Код работника], [Дата получания], [код спецодежды] FROM " +
  8490. "dbo.Фильтр_семаков";
  8491. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8492. }
  8493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8494. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8495. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8496. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8497. public virtual int Fill(badretdinov_cpecodezhdaDataSet1.Фильтр_семаковDataTable dataTable) {
  8498. this.Adapter.SelectCommand = this.CommandCollection[0];
  8499. if ((this.ClearBeforeFill == true)) {
  8500. dataTable.Clear();
  8501. }
  8502. int returnValue = this.Adapter.Fill(dataTable);
  8503. return returnValue;
  8504. }
  8505. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8506. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8507. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8508. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8509. public virtual badretdinov_cpecodezhdaDataSet1.Фильтр_семаковDataTable GetData() {
  8510. this.Adapter.SelectCommand = this.CommandCollection[0];
  8511. badretdinov_cpecodezhdaDataSet1.Фильтр_семаковDataTable dataTable = new badretdinov_cpecodezhdaDataSet1.Фильтр_семаковDataTable();
  8512. this.Adapter.Fill(dataTable);
  8513. return dataTable;
  8514. }
  8515. }
  8516. /// <summary>
  8517. ///Represents the connection and commands used to retrieve and save data.
  8518. ///</summary>
  8519. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8520. [global::System.ComponentModel.ToolboxItem(true)]
  8521. [global::System.ComponentModel.DataObjectAttribute(true)]
  8522. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8523. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8524. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8525. public partial class фильтр_зимняяTableAdapter : global::System.ComponentModel.Component {
  8526. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8527. private global::System.Data.SqlClient.SqlConnection _connection;
  8528. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8529. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8530. private bool _clearBeforeFill;
  8531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8532. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8533. public фильтр_зимняяTableAdapter() {
  8534. this.ClearBeforeFill = true;
  8535. }
  8536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8538. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8539. get {
  8540. if ((this._adapter == null)) {
  8541. this.InitAdapter();
  8542. }
  8543. return this._adapter;
  8544. }
  8545. }
  8546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8547. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8548. internal global::System.Data.SqlClient.SqlConnection Connection {
  8549. get {
  8550. if ((this._connection == null)) {
  8551. this.InitConnection();
  8552. }
  8553. return this._connection;
  8554. }
  8555. set {
  8556. this._connection = value;
  8557. if ((this.Adapter.InsertCommand != null)) {
  8558. this.Adapter.InsertCommand.Connection = value;
  8559. }
  8560. if ((this.Adapter.DeleteCommand != null)) {
  8561. this.Adapter.DeleteCommand.Connection = value;
  8562. }
  8563. if ((this.Adapter.UpdateCommand != null)) {
  8564. this.Adapter.UpdateCommand.Connection = value;
  8565. }
  8566. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8567. if ((this.CommandCollection[i] != null)) {
  8568. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8569. }
  8570. }
  8571. }
  8572. }
  8573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8575. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8576. get {
  8577. return this._transaction;
  8578. }
  8579. set {
  8580. this._transaction = value;
  8581. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8582. this.CommandCollection[i].Transaction = this._transaction;
  8583. }
  8584. if (((this.Adapter != null)
  8585. && (this.Adapter.DeleteCommand != null))) {
  8586. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8587. }
  8588. if (((this.Adapter != null)
  8589. && (this.Adapter.InsertCommand != null))) {
  8590. this.Adapter.InsertCommand.Transaction = this._transaction;
  8591. }
  8592. if (((this.Adapter != null)
  8593. && (this.Adapter.UpdateCommand != null))) {
  8594. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8595. }
  8596. }
  8597. }
  8598. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8599. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8600. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8601. get {
  8602. if ((this._commandCollection == null)) {
  8603. this.InitCommandCollection();
  8604. }
  8605. return this._commandCollection;
  8606. }
  8607. }
  8608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8609. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8610. public bool ClearBeforeFill {
  8611. get {
  8612. return this._clearBeforeFill;
  8613. }
  8614. set {
  8615. this._clearBeforeFill = value;
  8616. }
  8617. }
  8618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8619. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8620. private void InitAdapter() {
  8621. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8622. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8623. tableMapping.SourceTable = "Table";
  8624. tableMapping.DataSetTable = "фильтр-зимняя";
  8625. tableMapping.ColumnMappings.Add("Код_спецодежды", "Код_спецодежды");
  8626. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8627. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8628. tableMapping.ColumnMappings.Add("Стоимость_единицы(руб)", "Стоимость_единицы(руб)");
  8629. tableMapping.ColumnMappings.Add("Вид_спецодежды", "Вид_спецодежды");
  8630. this._adapter.TableMappings.Add(tableMapping);
  8631. }
  8632. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8633. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8634. private void InitConnection() {
  8635. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8636. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8637. }
  8638. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8639. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8640. private void InitCommandCollection() {
  8641. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8642. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8643. this._commandCollection[0].Connection = this.Connection;
  8644. this._commandCollection[0].CommandText = "SELECT Код_спецодежды, [Код работника], [Дата получания], [Стоимость_единицы(руб)" +
  8645. "], Вид_спецодежды FROM dbo.[фильтр-зимняя]";
  8646. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8647. }
  8648. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8649. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8650. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8651. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8652. public virtual int Fill(badretdinov_cpecodezhdaDataSet1._фильтр_зимняяDataTable dataTable) {
  8653. this.Adapter.SelectCommand = this.CommandCollection[0];
  8654. if ((this.ClearBeforeFill == true)) {
  8655. dataTable.Clear();
  8656. }
  8657. int returnValue = this.Adapter.Fill(dataTable);
  8658. return returnValue;
  8659. }
  8660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8661. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8662. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8663. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8664. public virtual badretdinov_cpecodezhdaDataSet1._фильтр_зимняяDataTable GetData() {
  8665. this.Adapter.SelectCommand = this.CommandCollection[0];
  8666. badretdinov_cpecodezhdaDataSet1._фильтр_зимняяDataTable dataTable = new badretdinov_cpecodezhdaDataSet1._фильтр_зимняяDataTable();
  8667. this.Adapter.Fill(dataTable);
  8668. return dataTable;
  8669. }
  8670. }
  8671. /// <summary>
  8672. ///Represents the connection and commands used to retrieve and save data.
  8673. ///</summary>
  8674. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8675. [global::System.ComponentModel.ToolboxItem(true)]
  8676. [global::System.ComponentModel.DataObjectAttribute(true)]
  8677. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8678. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8679. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8680. public partial class Фильтр_ЛетняяTableAdapter : global::System.ComponentModel.Component {
  8681. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8682. private global::System.Data.SqlClient.SqlConnection _connection;
  8683. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8684. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8685. private bool _clearBeforeFill;
  8686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8688. public Фильтр_ЛетняяTableAdapter() {
  8689. this.ClearBeforeFill = true;
  8690. }
  8691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8693. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8694. get {
  8695. if ((this._adapter == null)) {
  8696. this.InitAdapter();
  8697. }
  8698. return this._adapter;
  8699. }
  8700. }
  8701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8702. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8703. internal global::System.Data.SqlClient.SqlConnection Connection {
  8704. get {
  8705. if ((this._connection == null)) {
  8706. this.InitConnection();
  8707. }
  8708. return this._connection;
  8709. }
  8710. set {
  8711. this._connection = value;
  8712. if ((this.Adapter.InsertCommand != null)) {
  8713. this.Adapter.InsertCommand.Connection = value;
  8714. }
  8715. if ((this.Adapter.DeleteCommand != null)) {
  8716. this.Adapter.DeleteCommand.Connection = value;
  8717. }
  8718. if ((this.Adapter.UpdateCommand != null)) {
  8719. this.Adapter.UpdateCommand.Connection = value;
  8720. }
  8721. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8722. if ((this.CommandCollection[i] != null)) {
  8723. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8724. }
  8725. }
  8726. }
  8727. }
  8728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8729. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8730. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8731. get {
  8732. return this._transaction;
  8733. }
  8734. set {
  8735. this._transaction = value;
  8736. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8737. this.CommandCollection[i].Transaction = this._transaction;
  8738. }
  8739. if (((this.Adapter != null)
  8740. && (this.Adapter.DeleteCommand != null))) {
  8741. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8742. }
  8743. if (((this.Adapter != null)
  8744. && (this.Adapter.InsertCommand != null))) {
  8745. this.Adapter.InsertCommand.Transaction = this._transaction;
  8746. }
  8747. if (((this.Adapter != null)
  8748. && (this.Adapter.UpdateCommand != null))) {
  8749. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8750. }
  8751. }
  8752. }
  8753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8754. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8755. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8756. get {
  8757. if ((this._commandCollection == null)) {
  8758. this.InitCommandCollection();
  8759. }
  8760. return this._commandCollection;
  8761. }
  8762. }
  8763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8764. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8765. public bool ClearBeforeFill {
  8766. get {
  8767. return this._clearBeforeFill;
  8768. }
  8769. set {
  8770. this._clearBeforeFill = value;
  8771. }
  8772. }
  8773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8774. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8775. private void InitAdapter() {
  8776. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8777. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8778. tableMapping.SourceTable = "Table";
  8779. tableMapping.DataSetTable = "Фильтр-Летняя";
  8780. tableMapping.ColumnMappings.Add("Код_спецодежды", "Код_спецодежды");
  8781. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8782. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8783. tableMapping.ColumnMappings.Add("Стоимость_единицы(руб)", "Стоимость_единицы(руб)");
  8784. tableMapping.ColumnMappings.Add("Вид_спецодежды", "Вид_спецодежды");
  8785. this._adapter.TableMappings.Add(tableMapping);
  8786. }
  8787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8788. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8789. private void InitConnection() {
  8790. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8791. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8792. }
  8793. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8794. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8795. private void InitCommandCollection() {
  8796. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8797. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8798. this._commandCollection[0].Connection = this.Connection;
  8799. this._commandCollection[0].CommandText = "SELECT Код_спецодежды, [Код работника], [Дата получания], [Стоимость_единицы(руб)" +
  8800. "], Вид_спецодежды FROM dbo.[Фильтр-Летняя]";
  8801. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8802. }
  8803. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8804. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8805. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8806. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8807. public virtual int Fill(badretdinov_cpecodezhdaDataSet1._Фильтр_ЛетняяDataTable dataTable) {
  8808. this.Adapter.SelectCommand = this.CommandCollection[0];
  8809. if ((this.ClearBeforeFill == true)) {
  8810. dataTable.Clear();
  8811. }
  8812. int returnValue = this.Adapter.Fill(dataTable);
  8813. return returnValue;
  8814. }
  8815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8816. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8817. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8818. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8819. public virtual badretdinov_cpecodezhdaDataSet1._Фильтр_ЛетняяDataTable GetData() {
  8820. this.Adapter.SelectCommand = this.CommandCollection[0];
  8821. badretdinov_cpecodezhdaDataSet1._Фильтр_ЛетняяDataTable dataTable = new badretdinov_cpecodezhdaDataSet1._Фильтр_ЛетняяDataTable();
  8822. this.Adapter.Fill(dataTable);
  8823. return dataTable;
  8824. }
  8825. }
  8826. /// <summary>
  8827. ///Represents the connection and commands used to retrieve and save data.
  8828. ///</summary>
  8829. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8830. [global::System.ComponentModel.ToolboxItem(true)]
  8831. [global::System.ComponentModel.DataObjectAttribute(true)]
  8832. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8833. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8834. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8835. public partial class Фильтр_охраннаяTableAdapter : global::System.ComponentModel.Component {
  8836. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8837. private global::System.Data.SqlClient.SqlConnection _connection;
  8838. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8839. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8840. private bool _clearBeforeFill;
  8841. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8842. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8843. public Фильтр_охраннаяTableAdapter() {
  8844. this.ClearBeforeFill = true;
  8845. }
  8846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8847. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8848. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8849. get {
  8850. if ((this._adapter == null)) {
  8851. this.InitAdapter();
  8852. }
  8853. return this._adapter;
  8854. }
  8855. }
  8856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8858. internal global::System.Data.SqlClient.SqlConnection Connection {
  8859. get {
  8860. if ((this._connection == null)) {
  8861. this.InitConnection();
  8862. }
  8863. return this._connection;
  8864. }
  8865. set {
  8866. this._connection = value;
  8867. if ((this.Adapter.InsertCommand != null)) {
  8868. this.Adapter.InsertCommand.Connection = value;
  8869. }
  8870. if ((this.Adapter.DeleteCommand != null)) {
  8871. this.Adapter.DeleteCommand.Connection = value;
  8872. }
  8873. if ((this.Adapter.UpdateCommand != null)) {
  8874. this.Adapter.UpdateCommand.Connection = value;
  8875. }
  8876. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8877. if ((this.CommandCollection[i] != null)) {
  8878. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8879. }
  8880. }
  8881. }
  8882. }
  8883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8885. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8886. get {
  8887. return this._transaction;
  8888. }
  8889. set {
  8890. this._transaction = value;
  8891. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8892. this.CommandCollection[i].Transaction = this._transaction;
  8893. }
  8894. if (((this.Adapter != null)
  8895. && (this.Adapter.DeleteCommand != null))) {
  8896. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8897. }
  8898. if (((this.Adapter != null)
  8899. && (this.Adapter.InsertCommand != null))) {
  8900. this.Adapter.InsertCommand.Transaction = this._transaction;
  8901. }
  8902. if (((this.Adapter != null)
  8903. && (this.Adapter.UpdateCommand != null))) {
  8904. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8905. }
  8906. }
  8907. }
  8908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8910. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8911. get {
  8912. if ((this._commandCollection == null)) {
  8913. this.InitCommandCollection();
  8914. }
  8915. return this._commandCollection;
  8916. }
  8917. }
  8918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8919. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8920. public bool ClearBeforeFill {
  8921. get {
  8922. return this._clearBeforeFill;
  8923. }
  8924. set {
  8925. this._clearBeforeFill = value;
  8926. }
  8927. }
  8928. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8929. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8930. private void InitAdapter() {
  8931. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8932. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8933. tableMapping.SourceTable = "Table";
  8934. tableMapping.DataSetTable = "Фильтр-охранная";
  8935. tableMapping.ColumnMappings.Add("Код_спецодежды", "Код_спецодежды");
  8936. tableMapping.ColumnMappings.Add("Код работника", "Код работника");
  8937. tableMapping.ColumnMappings.Add("Дата получания", "Дата получания");
  8938. tableMapping.ColumnMappings.Add("Стоимость_единицы(руб)", "Стоимость_единицы(руб)");
  8939. tableMapping.ColumnMappings.Add("Вид_спецодежды", "Вид_спецодежды");
  8940. this._adapter.TableMappings.Add(tableMapping);
  8941. }
  8942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8943. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8944. private void InitConnection() {
  8945. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8946. this._connection.ConnectionString = global::Badretdinov_specodezhda.Properties.Settings.Default.badretdinov_cpecodezhdaConnectionString;
  8947. }
  8948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8949. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8950. private void InitCommandCollection() {
  8951. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8952. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8953. this._commandCollection[0].Connection = this.Connection;
  8954. this._commandCollection[0].CommandText = "SELECT Код_спецодежды, [Код работника], [Дата получания], [Стоимость_единицы(руб)" +
  8955. "], Вид_спецодежды FROM dbo.[Фильтр-охранная]";
  8956. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8957. }
  8958. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8959. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8960. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8961. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8962. public virtual int Fill(badretdinov_cpecodezhdaDataSet1._Фильтр_охраннаяDataTable dataTable) {
  8963. this.Adapter.SelectCommand = this.CommandCollection[0];
  8964. if ((this.ClearBeforeFill == true)) {
  8965. dataTable.Clear();
  8966. }
  8967. int returnValue = this.Adapter.Fill(dataTable);
  8968. return returnValue;
  8969. }
  8970. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8971. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8972. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8973. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8974. public virtual badretdinov_cpecodezhdaDataSet1._Фильтр_охраннаяDataTable GetData() {
  8975. this.Adapter.SelectCommand = this.CommandCollection[0];
  8976. badretdinov_cpecodezhdaDataSet1._Фильтр_охраннаяDataTable dataTable = new badretdinov_cpecodezhdaDataSet1._Фильтр_охраннаяDataTable();
  8977. this.Adapter.Fill(dataTable);
  8978. return dataTable;
  8979. }
  8980. }
  8981. /// <summary>
  8982. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  8983. ///</summary>
  8984. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8985. [global::System.ComponentModel.ToolboxItem(true)]
  8986. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  8987. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8988. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  8989. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  8990. private UpdateOrderOption _updateOrder;
  8991. private О_спецодеждеTableAdapter _о_спецодеждеTableAdapter;
  8992. private ПолучениеTableAdapter _получениеTableAdapter;
  8993. private РаботникиTableAdapter _работникиTableAdapter;
  8994. private ЦехиTableAdapter _цехиTableAdapter;
  8995. private bool _backupDataSetBeforeUpdate;
  8996. private global::System.Data.IDbConnection _connection;
  8997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8998. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8999. public UpdateOrderOption UpdateOrder {
  9000. get {
  9001. return this._updateOrder;
  9002. }
  9003. set {
  9004. this._updateOrder = value;
  9005. }
  9006. }
  9007. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9008. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9009. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  9010. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  9011. "a", "System.Drawing.Design.UITypeEditor")]
  9012. public О_спецодеждеTableAdapter О_спецодеждеTableAdapter {
  9013. get {
  9014. return this._о_спецодеждеTableAdapter;
  9015. }
  9016. set {
  9017. this._о_спецодеждеTableAdapter = value;
  9018. }
  9019. }
  9020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9021. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9022. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  9023. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  9024. "a", "System.Drawing.Design.UITypeEditor")]
  9025. public ПолучениеTableAdapter ПолучениеTableAdapter {
  9026. get {
  9027. return this._получениеTableAdapter;
  9028. }
  9029. set {
  9030. this._получениеTableAdapter = value;
  9031. }
  9032. }
  9033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9034. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9035. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  9036. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  9037. "a", "System.Drawing.Design.UITypeEditor")]
  9038. public РаботникиTableAdapter РаботникиTableAdapter {
  9039. get {
  9040. return this._работникиTableAdapter;
  9041. }
  9042. set {
  9043. this._работникиTableAdapter = value;
  9044. }
  9045. }
  9046. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9047. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9048. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  9049. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  9050. "a", "System.Drawing.Design.UITypeEditor")]
  9051. public ЦехиTableAdapter ЦехиTableAdapter {
  9052. get {
  9053. return this._цехиTableAdapter;
  9054. }
  9055. set {
  9056. this._цехиTableAdapter = value;
  9057. }
  9058. }
  9059. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9060. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9061. public bool BackupDataSetBeforeUpdate {
  9062. get {
  9063. return this._backupDataSetBeforeUpdate;
  9064. }
  9065. set {
  9066. this._backupDataSetBeforeUpdate = value;
  9067. }
  9068. }
  9069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9070. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9071. [global::System.ComponentModel.Browsable(false)]
  9072. public global::System.Data.IDbConnection Connection {
  9073. get {
  9074. if ((this._connection != null)) {
  9075. return this._connection;
  9076. }
  9077. if (((this._о_спецодеждеTableAdapter != null)
  9078. && (this._о_спецодеждеTableAdapter.Connection != null))) {
  9079. return this._о_спецодеждеTableAdapter.Connection;
  9080. }
  9081. if (((this._получениеTableAdapter != null)
  9082. && (this._получениеTableAdapter.Connection != null))) {
  9083. return this._получениеTableAdapter.Connection;
  9084. }
  9085. if (((this._работникиTableAdapter != null)
  9086. && (this._работникиTableAdapter.Connection != null))) {
  9087. return this._работникиTableAdapter.Connection;
  9088. }
  9089. if (((this._цехиTableAdapter != null)
  9090. && (this._цехиTableAdapter.Connection != null))) {
  9091. return this._цехиTableAdapter.Connection;
  9092. }
  9093. return null;
  9094. }
  9095. set {
  9096. this._connection = value;
  9097. }
  9098. }
  9099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9100. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9101. [global::System.ComponentModel.Browsable(false)]
  9102. public int TableAdapterInstanceCount {
  9103. get {
  9104. int count = 0;
  9105. if ((this._о_спецодеждеTableAdapter != null)) {
  9106. count = (count + 1);
  9107. }
  9108. if ((this._получениеTableAdapter != null)) {
  9109. count = (count + 1);
  9110. }
  9111. if ((this._работникиTableAdapter != null)) {
  9112. count = (count + 1);
  9113. }
  9114. if ((this._цехиTableAdapter != null)) {
  9115. count = (count + 1);
  9116. }
  9117. return count;
  9118. }
  9119. }
  9120. /// <summary>
  9121. ///Update rows in top-down order.
  9122. ///</summary>
  9123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9125. private int UpdateUpdatedRows(badretdinov_cpecodezhdaDataSet1 dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  9126. int result = 0;
  9127. if ((this._о_спецодеждеTableAdapter != null)) {
  9128. global::System.Data.DataRow[] updatedRows = dataSet.О_спецодежде.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9129. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9130. if (((updatedRows != null)
  9131. && (0 < updatedRows.Length))) {
  9132. result = (result + this._о_спецодеждеTableAdapter.Update(updatedRows));
  9133. allChangedRows.AddRange(updatedRows);
  9134. }
  9135. }
  9136. if ((this._получениеTableAdapter != null)) {
  9137. global::System.Data.DataRow[] updatedRows = dataSet.Получение.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9138. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9139. if (((updatedRows != null)
  9140. && (0 < updatedRows.Length))) {
  9141. result = (result + this._получениеTableAdapter.Update(updatedRows));
  9142. allChangedRows.AddRange(updatedRows);
  9143. }
  9144. }
  9145. if ((this._работникиTableAdapter != null)) {
  9146. global::System.Data.DataRow[] updatedRows = dataSet.Работники.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9147. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9148. if (((updatedRows != null)
  9149. && (0 < updatedRows.Length))) {
  9150. result = (result + this._работникиTableAdapter.Update(updatedRows));
  9151. allChangedRows.AddRange(updatedRows);
  9152. }
  9153. }
  9154. if ((this._цехиTableAdapter != null)) {
  9155. global::System.Data.DataRow[] updatedRows = dataSet.Цехи.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9156. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9157. if (((updatedRows != null)
  9158. && (0 < updatedRows.Length))) {
  9159. result = (result + this._цехиTableAdapter.Update(updatedRows));
  9160. allChangedRows.AddRange(updatedRows);
  9161. }
  9162. }
  9163. return result;
  9164. }
  9165. /// <summary>
  9166. ///Insert rows in top-down order.
  9167. ///</summary>
  9168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9170. private int UpdateInsertedRows(badretdinov_cpecodezhdaDataSet1 dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  9171. int result = 0;
  9172. if ((this._о_спецодеждеTableAdapter != null)) {
  9173. global::System.Data.DataRow[] addedRows = dataSet.О_спецодежде.Select(null, null, global::System.Data.DataViewRowState.Added);
  9174. if (((addedRows != null)
  9175. && (0 < addedRows.Length))) {
  9176. result = (result + this._о_спецодеждеTableAdapter.Update(addedRows));
  9177. allAddedRows.AddRange(addedRows);
  9178. }
  9179. }
  9180. if ((this._получениеTableAdapter != null)) {
  9181. global::System.Data.DataRow[] addedRows = dataSet.Получение.Select(null, null, global::System.Data.DataViewRowState.Added);
  9182. if (((addedRows != null)
  9183. && (0 < addedRows.Length))) {
  9184. result = (result + this._получениеTableAdapter.Update(addedRows));
  9185. allAddedRows.AddRange(addedRows);
  9186. }
  9187. }
  9188. if ((this._работникиTableAdapter != null)) {
  9189. global::System.Data.DataRow[] addedRows = dataSet.Работники.Select(null, null, global::System.Data.DataViewRowState.Added);
  9190. if (((addedRows != null)
  9191. && (0 < addedRows.Length))) {
  9192. result = (result + this._работникиTableAdapter.Update(addedRows));
  9193. allAddedRows.AddRange(addedRows);
  9194. }
  9195. }
  9196. if ((this._цехиTableAdapter != null)) {
  9197. global::System.Data.DataRow[] addedRows = dataSet.Цехи.Select(null, null, global::System.Data.DataViewRowState.Added);
  9198. if (((addedRows != null)
  9199. && (0 < addedRows.Length))) {
  9200. result = (result + this._цехиTableAdapter.Update(addedRows));
  9201. allAddedRows.AddRange(addedRows);
  9202. }
  9203. }
  9204. return result;
  9205. }
  9206. /// <summary>
  9207. ///Delete rows in bottom-up order.
  9208. ///</summary>
  9209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9210. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9211. private int UpdateDeletedRows(badretdinov_cpecodezhdaDataSet1 dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  9212. int result = 0;
  9213. if ((this._цехиTableAdapter != null)) {
  9214. global::System.Data.DataRow[] deletedRows = dataSet.Цехи.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9215. if (((deletedRows != null)
  9216. && (0 < deletedRows.Length))) {
  9217. result = (result + this._цехиTableAdapter.Update(deletedRows));
  9218. allChangedRows.AddRange(deletedRows);
  9219. }
  9220. }
  9221. if ((this._работникиTableAdapter != null)) {
  9222. global::System.Data.DataRow[] deletedRows = dataSet.Работники.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9223. if (((deletedRows != null)
  9224. && (0 < deletedRows.Length))) {
  9225. result = (result + this._работникиTableAdapter.Update(deletedRows));
  9226. allChangedRows.AddRange(deletedRows);
  9227. }
  9228. }
  9229. if ((this._получениеTableAdapter != null)) {
  9230. global::System.Data.DataRow[] deletedRows = dataSet.Получение.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9231. if (((deletedRows != null)
  9232. && (0 < deletedRows.Length))) {
  9233. result = (result + this._получениеTableAdapter.Update(deletedRows));
  9234. allChangedRows.AddRange(deletedRows);
  9235. }
  9236. }
  9237. if ((this._о_спецодеждеTableAdapter != null)) {
  9238. global::System.Data.DataRow[] deletedRows = dataSet.О_спецодежде.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9239. if (((deletedRows != null)
  9240. && (0 < deletedRows.Length))) {
  9241. result = (result + this._о_спецодеждеTableAdapter.Update(deletedRows));
  9242. allChangedRows.AddRange(deletedRows);
  9243. }
  9244. }
  9245. return result;
  9246. }
  9247. /// <summary>
  9248. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  9249. ///</summary>
  9250. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9251. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9252. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  9253. if (((updatedRows == null)
  9254. || (updatedRows.Length < 1))) {
  9255. return updatedRows;
  9256. }
  9257. if (((allAddedRows == null)
  9258. || (allAddedRows.Count < 1))) {
  9259. return updatedRows;
  9260. }
  9261. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  9262. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  9263. global::System.Data.DataRow row = updatedRows[i];
  9264. if ((allAddedRows.Contains(row) == false)) {
  9265. realUpdatedRows.Add(row);
  9266. }
  9267. }
  9268. return realUpdatedRows.ToArray();
  9269. }
  9270. /// <summary>
  9271. ///Update all changes to the dataset.
  9272. ///</summary>
  9273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9274. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9275. public virtual int UpdateAll(badretdinov_cpecodezhdaDataSet1 dataSet) {
  9276. if ((dataSet == null)) {
  9277. throw new global::System.ArgumentNullException("dataSet");
  9278. }
  9279. if ((dataSet.HasChanges() == false)) {
  9280. return 0;
  9281. }
  9282. if (((this._о_спецодеждеTableAdapter != null)
  9283. && (this.MatchTableAdapterConnection(this._о_спецодеждеTableAdapter.Connection) == false))) {
  9284. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9285. "r, должны использовать одинаковую строку подключения.");
  9286. }
  9287. if (((this._получениеTableAdapter != null)
  9288. && (this.MatchTableAdapterConnection(this._получениеTableAdapter.Connection) == false))) {
  9289. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9290. "r, должны использовать одинаковую строку подключения.");
  9291. }
  9292. if (((this._работникиTableAdapter != null)
  9293. && (this.MatchTableAdapterConnection(this._работникиTableAdapter.Connection) == false))) {
  9294. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9295. "r, должны использовать одинаковую строку подключения.");
  9296. }
  9297. if (((this._цехиTableAdapter != null)
  9298. && (this.MatchTableAdapterConnection(this._цехиTableAdapter.Connection) == false))) {
  9299. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9300. "r, должны использовать одинаковую строку подключения.");
  9301. }
  9302. global::System.Data.IDbConnection workConnection = this.Connection;
  9303. if ((workConnection == null)) {
  9304. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  9305. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  9306. }
  9307. bool workConnOpened = false;
  9308. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  9309. == global::System.Data.ConnectionState.Broken)) {
  9310. workConnection.Close();
  9311. }
  9312. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  9313. workConnection.Open();
  9314. workConnOpened = true;
  9315. }
  9316. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  9317. if ((workTransaction == null)) {
  9318. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  9319. "и или текущее состояние не позволяет начать транзакцию.");
  9320. }
  9321. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  9322. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  9323. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  9324. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  9325. int result = 0;
  9326. global::System.Data.DataSet backupDataSet = null;
  9327. if (this.BackupDataSetBeforeUpdate) {
  9328. backupDataSet = new global::System.Data.DataSet();
  9329. backupDataSet.Merge(dataSet);
  9330. }
  9331. try {
  9332. // ---- Prepare for update -----------
  9333. //
  9334. if ((this._о_спецодеждеTableAdapter != null)) {
  9335. revertConnections.Add(this._о_спецодеждеTableAdapter, this._о_спецодеждеTableAdapter.Connection);
  9336. this._о_спецодеждеTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9337. this._о_спецодеждеTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9338. if (this._о_спецодеждеTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9339. this._о_спецодеждеTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9340. adaptersWithAcceptChangesDuringUpdate.Add(this._о_спецодеждеTableAdapter.Adapter);
  9341. }
  9342. }
  9343. if ((this._получениеTableAdapter != null)) {
  9344. revertConnections.Add(this._получениеTableAdapter, this._получениеTableAdapter.Connection);
  9345. this._получениеTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9346. this._получениеTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9347. if (this._получениеTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9348. this._получениеTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9349. adaptersWithAcceptChangesDuringUpdate.Add(this._получениеTableAdapter.Adapter);
  9350. }
  9351. }
  9352. if ((this._работникиTableAdapter != null)) {
  9353. revertConnections.Add(this._работникиTableAdapter, this._работникиTableAdapter.Connection);
  9354. this._работникиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9355. this._работникиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9356. if (this._работникиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9357. this._работникиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9358. adaptersWithAcceptChangesDuringUpdate.Add(this._работникиTableAdapter.Adapter);
  9359. }
  9360. }
  9361. if ((this._цехиTableAdapter != null)) {
  9362. revertConnections.Add(this._цехиTableAdapter, this._цехиTableAdapter.Connection);
  9363. this._цехиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9364. this._цехиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9365. if (this._цехиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9366. this._цехиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9367. adaptersWithAcceptChangesDuringUpdate.Add(this._цехиTableAdapter.Adapter);
  9368. }
  9369. }
  9370. //
  9371. //---- Perform updates -----------
  9372. //
  9373. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  9374. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  9375. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  9376. }
  9377. else {
  9378. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  9379. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  9380. }
  9381. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  9382. //
  9383. //---- Commit updates -----------
  9384. //
  9385. workTransaction.Commit();
  9386. if ((0 < allAddedRows.Count)) {
  9387. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  9388. allAddedRows.CopyTo(rows);
  9389. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  9390. global::System.Data.DataRow row = rows[i];
  9391. row.AcceptChanges();
  9392. }
  9393. }
  9394. if ((0 < allChangedRows.Count)) {
  9395. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  9396. allChangedRows.CopyTo(rows);
  9397. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  9398. global::System.Data.DataRow row = rows[i];
  9399. row.AcceptChanges();
  9400. }
  9401. }
  9402. }
  9403. catch (global::System.Exception ex) {
  9404. workTransaction.Rollback();
  9405. // ---- Restore the dataset -----------
  9406. if (this.BackupDataSetBeforeUpdate) {
  9407. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  9408. dataSet.Clear();
  9409. dataSet.Merge(backupDataSet);
  9410. }
  9411. else {
  9412. if ((0 < allAddedRows.Count)) {
  9413. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  9414. allAddedRows.CopyTo(rows);
  9415. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  9416. global::System.Data.DataRow row = rows[i];
  9417. row.AcceptChanges();
  9418. row.SetAdded();
  9419. }
  9420. }
  9421. }
  9422. throw ex;
  9423. }
  9424. finally {
  9425. if (workConnOpened) {
  9426. workConnection.Close();
  9427. }
  9428. if ((this._о_спецодеждеTableAdapter != null)) {
  9429. this._о_спецодеждеTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._о_спецодеждеTableAdapter]));
  9430. this._о_спецодеждеTableAdapter.Transaction = null;
  9431. }
  9432. if ((this._получениеTableAdapter != null)) {
  9433. this._получениеTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._получениеTableAdapter]));
  9434. this._получениеTableAdapter.Transaction = null;
  9435. }
  9436. if ((this._работникиTableAdapter != null)) {
  9437. this._работникиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._работникиTableAdapter]));
  9438. this._работникиTableAdapter.Transaction = null;
  9439. }
  9440. if ((this._цехиTableAdapter != null)) {
  9441. this._цехиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._цехиTableAdapter]));
  9442. this._цехиTableAdapter.Transaction = null;
  9443. }
  9444. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  9445. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  9446. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  9447. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  9448. global::System.Data.Common.DataAdapter adapter = adapters[i];
  9449. adapter.AcceptChangesDuringUpdate = true;
  9450. }
  9451. }
  9452. }
  9453. return result;
  9454. }
  9455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9456. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9457. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  9458. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  9459. }
  9460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9461. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9462. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  9463. if ((this._connection != null)) {
  9464. return true;
  9465. }
  9466. if (((this.Connection == null)
  9467. || (inputConnection == null))) {
  9468. return true;
  9469. }
  9470. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  9471. return true;
  9472. }
  9473. return false;
  9474. }
  9475. /// <summary>
  9476. ///Update Order Option
  9477. ///</summary>
  9478. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9479. public enum UpdateOrderOption {
  9480. InsertUpdateDelete = 0,
  9481. UpdateInsertDelete = 1,
  9482. }
  9483. /// <summary>
  9484. ///Used to sort self-referenced table's rows
  9485. ///</summary>
  9486. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9487. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  9488. private global::System.Data.DataRelation _relation;
  9489. private int _childFirst;
  9490. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9491. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9492. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  9493. this._relation = relation;
  9494. if (childFirst) {
  9495. this._childFirst = -1;
  9496. }
  9497. else {
  9498. this._childFirst = 1;
  9499. }
  9500. }
  9501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9502. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9503. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  9504. global::System.Diagnostics.Debug.Assert((row != null));
  9505. global::System.Data.DataRow root = row;
  9506. distance = 0;
  9507. 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>();
  9508. traversedRows[row] = row;
  9509. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  9510. for (
  9511. ; ((parent != null)
  9512. && (traversedRows.ContainsKey(parent) == false));
  9513. ) {
  9514. distance = (distance + 1);
  9515. root = parent;
  9516. traversedRows[parent] = parent;
  9517. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  9518. }
  9519. if ((distance == 0)) {
  9520. traversedRows.Clear();
  9521. traversedRows[row] = row;
  9522. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  9523. for (
  9524. ; ((parent != null)
  9525. && (traversedRows.ContainsKey(parent) == false));
  9526. ) {
  9527. distance = (distance + 1);
  9528. root = parent;
  9529. traversedRows[parent] = parent;
  9530. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  9531. }
  9532. }
  9533. return root;
  9534. }
  9535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9536. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9537. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  9538. if (object.ReferenceEquals(row1, row2)) {
  9539. return 0;
  9540. }
  9541. if ((row1 == null)) {
  9542. return -1;
  9543. }
  9544. if ((row2 == null)) {
  9545. return 1;
  9546. }
  9547. int distance1 = 0;
  9548. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  9549. int distance2 = 0;
  9550. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  9551. if (object.ReferenceEquals(root1, root2)) {
  9552. return (this._childFirst * distance1.CompareTo(distance2));
  9553. }
  9554. else {
  9555. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  9556. && (root2.Table != null)));
  9557. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  9558. return -1;
  9559. }
  9560. else {
  9561. return 1;
  9562. }
  9563. }
  9564. }
  9565. }
  9566. }
  9567. }
  9568. #pragma warning restore 1591