IS31Valov12DataSet.Designer.cs 656 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace Валов_проект_ГАИ {
  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("IS31Valov12DataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class IS31Valov12DataSet : global::System.Data.DataSet {
  22. private АвтомобилиDataTable tableАвтомобили;
  23. private ВзысканияDataTable tableВзыскания;
  24. private ВодителиDataTable tableВодители;
  25. private НарушенияDataTable tableНарушения;
  26. private BMWDataTable tableBMW;
  27. private FordDataTable tableFord;
  28. private _Взыскания_нарушенияDataTable _tableВзыскания_нарушения;
  29. private _Водители__автомобильDataTable _tableВодители__автомобиль;
  30. private Лишены_праваDataTable tableЛишены_права;
  31. private Нарушения_за_сентябрь_2023DataTable tableНарушения_за_сентябрь_2023;
  32. private фильтр_нарушениеDataTable tableфильтр_нарушение;
  33. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  34. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  35. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  36. public IS31Valov12DataSet() {
  37. this.BeginInit();
  38. this.InitClass();
  39. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  40. base.Tables.CollectionChanged += schemaChangedHandler;
  41. base.Relations.CollectionChanged += schemaChangedHandler;
  42. this.EndInit();
  43. }
  44. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  45. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  46. protected IS31Valov12DataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  47. base(info, context, false) {
  48. if ((this.IsBinarySerialized(info, context) == true)) {
  49. this.InitVars(false);
  50. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  51. this.Tables.CollectionChanged += schemaChangedHandler1;
  52. this.Relations.CollectionChanged += schemaChangedHandler1;
  53. return;
  54. }
  55. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  56. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  57. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  58. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  59. if ((ds.Tables["Автомобили"] != null)) {
  60. base.Tables.Add(new АвтомобилиDataTable(ds.Tables["Автомобили"]));
  61. }
  62. if ((ds.Tables["Взыскания"] != null)) {
  63. base.Tables.Add(new ВзысканияDataTable(ds.Tables["Взыскания"]));
  64. }
  65. if ((ds.Tables["Водители"] != null)) {
  66. base.Tables.Add(new ВодителиDataTable(ds.Tables["Водители"]));
  67. }
  68. if ((ds.Tables["Нарушения"] != null)) {
  69. base.Tables.Add(new НарушенияDataTable(ds.Tables["Нарушения"]));
  70. }
  71. if ((ds.Tables["BMW"] != null)) {
  72. base.Tables.Add(new BMWDataTable(ds.Tables["BMW"]));
  73. }
  74. if ((ds.Tables["Ford"] != null)) {
  75. base.Tables.Add(new FordDataTable(ds.Tables["Ford"]));
  76. }
  77. if ((ds.Tables["Взыскания+нарушения"] != null)) {
  78. base.Tables.Add(new _Взыскания_нарушенияDataTable(ds.Tables["Взыскания+нарушения"]));
  79. }
  80. if ((ds.Tables["Водители+ автомобиль"] != null)) {
  81. base.Tables.Add(new _Водители__автомобильDataTable(ds.Tables["Водители+ автомобиль"]));
  82. }
  83. if ((ds.Tables["Лишены права"] != null)) {
  84. base.Tables.Add(new Лишены_праваDataTable(ds.Tables["Лишены права"]));
  85. }
  86. if ((ds.Tables["Нарушения за сентябрь 2023"] != null)) {
  87. base.Tables.Add(new Нарушения_за_сентябрь_2023DataTable(ds.Tables["Нарушения за сентябрь 2023"]));
  88. }
  89. if ((ds.Tables["фильтр нарушение"] != null)) {
  90. base.Tables.Add(new фильтр_нарушениеDataTable(ds.Tables["фильтр нарушение"]));
  91. }
  92. this.DataSetName = ds.DataSetName;
  93. this.Prefix = ds.Prefix;
  94. this.Namespace = ds.Namespace;
  95. this.Locale = ds.Locale;
  96. this.CaseSensitive = ds.CaseSensitive;
  97. this.EnforceConstraints = ds.EnforceConstraints;
  98. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  99. this.InitVars();
  100. }
  101. else {
  102. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  103. }
  104. this.GetSerializationData(info, context);
  105. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  106. base.Tables.CollectionChanged += schemaChangedHandler;
  107. this.Relations.CollectionChanged += schemaChangedHandler;
  108. }
  109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  111. [global::System.ComponentModel.Browsable(false)]
  112. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  113. public АвтомобилиDataTable Автомобили {
  114. get {
  115. return this.tableАвтомобили;
  116. }
  117. }
  118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  120. [global::System.ComponentModel.Browsable(false)]
  121. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  122. public ВзысканияDataTable Взыскания {
  123. get {
  124. return this.tableВзыскания;
  125. }
  126. }
  127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  128. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  129. [global::System.ComponentModel.Browsable(false)]
  130. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  131. public ВодителиDataTable Водители {
  132. get {
  133. return this.tableВодители;
  134. }
  135. }
  136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  137. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  138. [global::System.ComponentModel.Browsable(false)]
  139. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  140. public НарушенияDataTable Нарушения {
  141. get {
  142. return this.tableНарушения;
  143. }
  144. }
  145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  147. [global::System.ComponentModel.Browsable(false)]
  148. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  149. public BMWDataTable BMW {
  150. get {
  151. return this.tableBMW;
  152. }
  153. }
  154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  156. [global::System.ComponentModel.Browsable(false)]
  157. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  158. public FordDataTable Ford {
  159. get {
  160. return this.tableFord;
  161. }
  162. }
  163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  165. [global::System.ComponentModel.Browsable(false)]
  166. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  167. public _Взыскания_нарушенияDataTable _Взыскания_нарушения {
  168. get {
  169. return this._tableВзыскания_нарушения;
  170. }
  171. }
  172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  173. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  174. [global::System.ComponentModel.Browsable(false)]
  175. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  176. public _Водители__автомобильDataTable _Водители__автомобиль {
  177. get {
  178. return this._tableВодители__автомобиль;
  179. }
  180. }
  181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  183. [global::System.ComponentModel.Browsable(false)]
  184. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  185. public Лишены_праваDataTable Лишены_права {
  186. get {
  187. return this.tableЛишены_права;
  188. }
  189. }
  190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  192. [global::System.ComponentModel.Browsable(false)]
  193. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  194. public Нарушения_за_сентябрь_2023DataTable Нарушения_за_сентябрь_2023 {
  195. get {
  196. return this.tableНарушения_за_сентябрь_2023;
  197. }
  198. }
  199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  201. [global::System.ComponentModel.Browsable(false)]
  202. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  203. public фильтр_нарушениеDataTable фильтр_нарушение {
  204. get {
  205. return this.tableфильтр_нарушение;
  206. }
  207. }
  208. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  209. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  210. [global::System.ComponentModel.BrowsableAttribute(true)]
  211. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  212. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  213. get {
  214. return this._schemaSerializationMode;
  215. }
  216. set {
  217. this._schemaSerializationMode = value;
  218. }
  219. }
  220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  222. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  223. public new global::System.Data.DataTableCollection Tables {
  224. get {
  225. return base.Tables;
  226. }
  227. }
  228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  230. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  231. public new global::System.Data.DataRelationCollection Relations {
  232. get {
  233. return base.Relations;
  234. }
  235. }
  236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  238. protected override void InitializeDerivedDataSet() {
  239. this.BeginInit();
  240. this.InitClass();
  241. this.EndInit();
  242. }
  243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  245. public override global::System.Data.DataSet Clone() {
  246. IS31Valov12DataSet cln = ((IS31Valov12DataSet)(base.Clone()));
  247. cln.InitVars();
  248. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  249. return cln;
  250. }
  251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  252. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  253. protected override bool ShouldSerializeTables() {
  254. return false;
  255. }
  256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  257. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  258. protected override bool ShouldSerializeRelations() {
  259. return false;
  260. }
  261. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  262. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  263. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  264. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  265. this.Reset();
  266. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  267. ds.ReadXml(reader);
  268. if ((ds.Tables["Автомобили"] != null)) {
  269. base.Tables.Add(new АвтомобилиDataTable(ds.Tables["Автомобили"]));
  270. }
  271. if ((ds.Tables["Взыскания"] != null)) {
  272. base.Tables.Add(new ВзысканияDataTable(ds.Tables["Взыскания"]));
  273. }
  274. if ((ds.Tables["Водители"] != null)) {
  275. base.Tables.Add(new ВодителиDataTable(ds.Tables["Водители"]));
  276. }
  277. if ((ds.Tables["Нарушения"] != null)) {
  278. base.Tables.Add(new НарушенияDataTable(ds.Tables["Нарушения"]));
  279. }
  280. if ((ds.Tables["BMW"] != null)) {
  281. base.Tables.Add(new BMWDataTable(ds.Tables["BMW"]));
  282. }
  283. if ((ds.Tables["Ford"] != null)) {
  284. base.Tables.Add(new FordDataTable(ds.Tables["Ford"]));
  285. }
  286. if ((ds.Tables["Взыскания+нарушения"] != null)) {
  287. base.Tables.Add(new _Взыскания_нарушенияDataTable(ds.Tables["Взыскания+нарушения"]));
  288. }
  289. if ((ds.Tables["Водители+ автомобиль"] != null)) {
  290. base.Tables.Add(new _Водители__автомобильDataTable(ds.Tables["Водители+ автомобиль"]));
  291. }
  292. if ((ds.Tables["Лишены права"] != null)) {
  293. base.Tables.Add(new Лишены_праваDataTable(ds.Tables["Лишены права"]));
  294. }
  295. if ((ds.Tables["Нарушения за сентябрь 2023"] != null)) {
  296. base.Tables.Add(new Нарушения_за_сентябрь_2023DataTable(ds.Tables["Нарушения за сентябрь 2023"]));
  297. }
  298. if ((ds.Tables["фильтр нарушение"] != null)) {
  299. base.Tables.Add(new фильтр_нарушениеDataTable(ds.Tables["фильтр нарушение"]));
  300. }
  301. this.DataSetName = ds.DataSetName;
  302. this.Prefix = ds.Prefix;
  303. this.Namespace = ds.Namespace;
  304. this.Locale = ds.Locale;
  305. this.CaseSensitive = ds.CaseSensitive;
  306. this.EnforceConstraints = ds.EnforceConstraints;
  307. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  308. this.InitVars();
  309. }
  310. else {
  311. this.ReadXml(reader);
  312. this.InitVars();
  313. }
  314. }
  315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  316. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  317. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  318. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  319. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  320. stream.Position = 0;
  321. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  322. }
  323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  324. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  325. internal void InitVars() {
  326. this.InitVars(true);
  327. }
  328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  329. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  330. internal void InitVars(bool initTable) {
  331. this.tableАвтомобили = ((АвтомобилиDataTable)(base.Tables["Автомобили"]));
  332. if ((initTable == true)) {
  333. if ((this.tableАвтомобили != null)) {
  334. this.tableАвтомобили.InitVars();
  335. }
  336. }
  337. this.tableВзыскания = ((ВзысканияDataTable)(base.Tables["Взыскания"]));
  338. if ((initTable == true)) {
  339. if ((this.tableВзыскания != null)) {
  340. this.tableВзыскания.InitVars();
  341. }
  342. }
  343. this.tableВодители = ((ВодителиDataTable)(base.Tables["Водители"]));
  344. if ((initTable == true)) {
  345. if ((this.tableВодители != null)) {
  346. this.tableВодители.InitVars();
  347. }
  348. }
  349. this.tableНарушения = ((НарушенияDataTable)(base.Tables["Нарушения"]));
  350. if ((initTable == true)) {
  351. if ((this.tableНарушения != null)) {
  352. this.tableНарушения.InitVars();
  353. }
  354. }
  355. this.tableBMW = ((BMWDataTable)(base.Tables["BMW"]));
  356. if ((initTable == true)) {
  357. if ((this.tableBMW != null)) {
  358. this.tableBMW.InitVars();
  359. }
  360. }
  361. this.tableFord = ((FordDataTable)(base.Tables["Ford"]));
  362. if ((initTable == true)) {
  363. if ((this.tableFord != null)) {
  364. this.tableFord.InitVars();
  365. }
  366. }
  367. this._tableВзыскания_нарушения = ((_Взыскания_нарушенияDataTable)(base.Tables["Взыскания+нарушения"]));
  368. if ((initTable == true)) {
  369. if ((this._tableВзыскания_нарушения != null)) {
  370. this._tableВзыскания_нарушения.InitVars();
  371. }
  372. }
  373. this._tableВодители__автомобиль = ((_Водители__автомобильDataTable)(base.Tables["Водители+ автомобиль"]));
  374. if ((initTable == true)) {
  375. if ((this._tableВодители__автомобиль != null)) {
  376. this._tableВодители__автомобиль.InitVars();
  377. }
  378. }
  379. this.tableЛишены_права = ((Лишены_праваDataTable)(base.Tables["Лишены права"]));
  380. if ((initTable == true)) {
  381. if ((this.tableЛишены_права != null)) {
  382. this.tableЛишены_права.InitVars();
  383. }
  384. }
  385. this.tableНарушения_за_сентябрь_2023 = ((Нарушения_за_сентябрь_2023DataTable)(base.Tables["Нарушения за сентябрь 2023"]));
  386. if ((initTable == true)) {
  387. if ((this.tableНарушения_за_сентябрь_2023 != null)) {
  388. this.tableНарушения_за_сентябрь_2023.InitVars();
  389. }
  390. }
  391. this.tableфильтр_нарушение = ((фильтр_нарушениеDataTable)(base.Tables["фильтр нарушение"]));
  392. if ((initTable == true)) {
  393. if ((this.tableфильтр_нарушение != null)) {
  394. this.tableфильтр_нарушение.InitVars();
  395. }
  396. }
  397. }
  398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  399. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  400. private void InitClass() {
  401. this.DataSetName = "IS31Valov12DataSet";
  402. this.Prefix = "";
  403. this.Namespace = "http://tempuri.org/IS31Valov12DataSet.xsd";
  404. this.EnforceConstraints = true;
  405. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  406. this.tableАвтомобили = new АвтомобилиDataTable();
  407. base.Tables.Add(this.tableАвтомобили);
  408. this.tableВзыскания = new ВзысканияDataTable();
  409. base.Tables.Add(this.tableВзыскания);
  410. this.tableВодители = new ВодителиDataTable();
  411. base.Tables.Add(this.tableВодители);
  412. this.tableНарушения = new НарушенияDataTable();
  413. base.Tables.Add(this.tableНарушения);
  414. this.tableBMW = new BMWDataTable();
  415. base.Tables.Add(this.tableBMW);
  416. this.tableFord = new FordDataTable();
  417. base.Tables.Add(this.tableFord);
  418. this._tableВзыскания_нарушения = new _Взыскания_нарушенияDataTable();
  419. base.Tables.Add(this._tableВзыскания_нарушения);
  420. this._tableВодители__автомобиль = new _Водители__автомобильDataTable();
  421. base.Tables.Add(this._tableВодители__автомобиль);
  422. this.tableЛишены_права = new Лишены_праваDataTable();
  423. base.Tables.Add(this.tableЛишены_права);
  424. this.tableНарушения_за_сентябрь_2023 = new Нарушения_за_сентябрь_2023DataTable();
  425. base.Tables.Add(this.tableНарушения_за_сентябрь_2023);
  426. this.tableфильтр_нарушение = new фильтр_нарушениеDataTable();
  427. base.Tables.Add(this.tableфильтр_нарушение);
  428. }
  429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  431. private bool ShouldSerializeАвтомобили() {
  432. return false;
  433. }
  434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  435. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  436. private bool ShouldSerializeВзыскания() {
  437. return false;
  438. }
  439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  440. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  441. private bool ShouldSerializeВодители() {
  442. return false;
  443. }
  444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  446. private bool ShouldSerializeНарушения() {
  447. return false;
  448. }
  449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  451. private bool ShouldSerializeBMW() {
  452. return false;
  453. }
  454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  456. private bool ShouldSerializeFord() {
  457. return false;
  458. }
  459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  461. private bool ShouldSerialize_Взыскания_нарушения() {
  462. return false;
  463. }
  464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  466. private bool ShouldSerialize_Водители__автомобиль() {
  467. return false;
  468. }
  469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  470. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  471. private bool ShouldSerializeЛишены_права() {
  472. return false;
  473. }
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  476. private bool ShouldSerializeНарушения_за_сентябрь_2023() {
  477. return false;
  478. }
  479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  481. private bool ShouldSerializeфильтр_нарушение() {
  482. return false;
  483. }
  484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  485. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  486. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  487. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  488. this.InitVars();
  489. }
  490. }
  491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  492. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  493. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  494. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  495. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  496. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  497. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  498. any.Namespace = ds.Namespace;
  499. sequence.Items.Add(any);
  500. type.Particle = sequence;
  501. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  502. if (xs.Contains(dsSchema.TargetNamespace)) {
  503. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  504. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  505. try {
  506. global::System.Xml.Schema.XmlSchema schema = null;
  507. dsSchema.Write(s1);
  508. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  509. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  510. s2.SetLength(0);
  511. schema.Write(s2);
  512. if ((s1.Length == s2.Length)) {
  513. s1.Position = 0;
  514. s2.Position = 0;
  515. for (; ((s1.Position != s1.Length)
  516. && (s1.ReadByte() == s2.ReadByte())); ) {
  517. ;
  518. }
  519. if ((s1.Position == s1.Length)) {
  520. return type;
  521. }
  522. }
  523. }
  524. }
  525. finally {
  526. if ((s1 != null)) {
  527. s1.Close();
  528. }
  529. if ((s2 != null)) {
  530. s2.Close();
  531. }
  532. }
  533. }
  534. xs.Add(dsSchema);
  535. return type;
  536. }
  537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  538. public delegate void АвтомобилиRowChangeEventHandler(object sender, АвтомобилиRowChangeEvent e);
  539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  540. public delegate void ВзысканияRowChangeEventHandler(object sender, ВзысканияRowChangeEvent e);
  541. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  542. public delegate void ВодителиRowChangeEventHandler(object sender, ВодителиRowChangeEvent e);
  543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  544. public delegate void НарушенияRowChangeEventHandler(object sender, НарушенияRowChangeEvent e);
  545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  546. public delegate void BMWRowChangeEventHandler(object sender, BMWRowChangeEvent e);
  547. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  548. public delegate void FordRowChangeEventHandler(object sender, FordRowChangeEvent e);
  549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  550. public delegate void _Взыскания_нарушенияRowChangeEventHandler(object sender, _Взыскания_нарушенияRowChangeEvent e);
  551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  552. public delegate void _Водители__автомобильRowChangeEventHandler(object sender, _Водители__автомобильRowChangeEvent e);
  553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  554. public delegate void Лишены_праваRowChangeEventHandler(object sender, Лишены_праваRowChangeEvent e);
  555. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  556. public delegate void Нарушения_за_сентябрь_2023RowChangeEventHandler(object sender, Нарушения_за_сентябрь_2023RowChangeEvent e);
  557. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  558. public delegate void фильтр_нарушениеRowChangeEventHandler(object sender, фильтр_нарушениеRowChangeEvent e);
  559. /// <summary>
  560. ///Represents the strongly named DataTable class.
  561. ///</summary>
  562. [global::System.Serializable()]
  563. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  564. public partial class АвтомобилиDataTable : global::System.Data.TypedTableBase<АвтомобилиRow> {
  565. private global::System.Data.DataColumn columnНомер_автомобиля;
  566. private global::System.Data.DataColumn columnмарка;
  567. private global::System.Data.DataColumn columnмодель;
  568. private global::System.Data.DataColumn columnцвет;
  569. private global::System.Data.DataColumn columnгод_выпуска;
  570. private global::System.Data.DataColumn columnдата_регистрации_в_ГАИ;
  571. private global::System.Data.DataColumn columnГОС_номера;
  572. private global::System.Data.DataColumn columnНомер_ВУ;
  573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  575. public АвтомобилиDataTable() {
  576. this.TableName = "Автомобили";
  577. this.BeginInit();
  578. this.InitClass();
  579. this.EndInit();
  580. }
  581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  583. internal АвтомобилиDataTable(global::System.Data.DataTable table) {
  584. this.TableName = table.TableName;
  585. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  586. this.CaseSensitive = table.CaseSensitive;
  587. }
  588. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  589. this.Locale = table.Locale;
  590. }
  591. if ((table.Namespace != table.DataSet.Namespace)) {
  592. this.Namespace = table.Namespace;
  593. }
  594. this.Prefix = table.Prefix;
  595. this.MinimumCapacity = table.MinimumCapacity;
  596. }
  597. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  598. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  599. protected АвтомобилиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  600. base(info, context) {
  601. this.InitVars();
  602. }
  603. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  604. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  605. public global::System.Data.DataColumn Номер_автомобиляColumn {
  606. get {
  607. return this.columnНомер_автомобиля;
  608. }
  609. }
  610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  611. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  612. public global::System.Data.DataColumn маркаColumn {
  613. get {
  614. return this.columnмарка;
  615. }
  616. }
  617. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  618. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  619. public global::System.Data.DataColumn модельColumn {
  620. get {
  621. return this.columnмодель;
  622. }
  623. }
  624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  626. public global::System.Data.DataColumn цветColumn {
  627. get {
  628. return this.columnцвет;
  629. }
  630. }
  631. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  632. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  633. public global::System.Data.DataColumn год_выпускаColumn {
  634. get {
  635. return this.columnгод_выпуска;
  636. }
  637. }
  638. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  639. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  640. public global::System.Data.DataColumn дата_регистрации_в_ГАИColumn {
  641. get {
  642. return this.columnдата_регистрации_в_ГАИ;
  643. }
  644. }
  645. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  647. public global::System.Data.DataColumn ГОС_номераColumn {
  648. get {
  649. return this.columnГОС_номера;
  650. }
  651. }
  652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  653. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  654. public global::System.Data.DataColumn Номер_ВУColumn {
  655. get {
  656. return this.columnНомер_ВУ;
  657. }
  658. }
  659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  661. [global::System.ComponentModel.Browsable(false)]
  662. public int Count {
  663. get {
  664. return this.Rows.Count;
  665. }
  666. }
  667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  668. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  669. public АвтомобилиRow this[int index] {
  670. get {
  671. return ((АвтомобилиRow)(this.Rows[index]));
  672. }
  673. }
  674. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  675. public event АвтомобилиRowChangeEventHandler АвтомобилиRowChanging;
  676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  677. public event АвтомобилиRowChangeEventHandler АвтомобилиRowChanged;
  678. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  679. public event АвтомобилиRowChangeEventHandler АвтомобилиRowDeleting;
  680. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  681. public event АвтомобилиRowChangeEventHandler АвтомобилиRowDeleted;
  682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  683. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  684. public void AddАвтомобилиRow(АвтомобилиRow row) {
  685. this.Rows.Add(row);
  686. }
  687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  688. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  689. public АвтомобилиRow AddАвтомобилиRow(long Номер_автомобиля, string марка, string модель, string цвет, System.DateTime год_выпуска, System.DateTime дата_регистрации_в_ГАИ, string ГОС_номера, string Номер_ВУ) {
  690. АвтомобилиRow rowАвтомобилиRow = ((АвтомобилиRow)(this.NewRow()));
  691. object[] columnValuesArray = new object[] {
  692. Номер_автомобиля,
  693. марка,
  694. модель,
  695. цвет,
  696. год_выпуска,
  697. дата_регистрации_в_ГАИ,
  698. ГОС_номера,
  699. Номер_ВУ};
  700. rowАвтомобилиRow.ItemArray = columnValuesArray;
  701. this.Rows.Add(rowАвтомобилиRow);
  702. return rowАвтомобилиRow;
  703. }
  704. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  705. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  706. public АвтомобилиRow FindByНомер_автомобиля(long Номер_автомобиля) {
  707. return ((АвтомобилиRow)(this.Rows.Find(new object[] {
  708. Номер_автомобиля})));
  709. }
  710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  711. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  712. public override global::System.Data.DataTable Clone() {
  713. АвтомобилиDataTable cln = ((АвтомобилиDataTable)(base.Clone()));
  714. cln.InitVars();
  715. return cln;
  716. }
  717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  718. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  719. protected override global::System.Data.DataTable CreateInstance() {
  720. return new АвтомобилиDataTable();
  721. }
  722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  724. internal void InitVars() {
  725. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  726. this.columnмарка = base.Columns["марка"];
  727. this.columnмодель = base.Columns["модель"];
  728. this.columnцвет = base.Columns["цвет"];
  729. this.columnгод_выпуска = base.Columns["год выпуска"];
  730. this.columnдата_регистрации_в_ГАИ = base.Columns["дата регистрации в ГАИ"];
  731. this.columnГОС_номера = base.Columns["ГОС номера"];
  732. this.columnНомер_ВУ = base.Columns["Номер ВУ"];
  733. }
  734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  736. private void InitClass() {
  737. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  738. base.Columns.Add(this.columnНомер_автомобиля);
  739. this.columnмарка = new global::System.Data.DataColumn("марка", typeof(string), null, global::System.Data.MappingType.Element);
  740. base.Columns.Add(this.columnмарка);
  741. this.columnмодель = new global::System.Data.DataColumn("модель", typeof(string), null, global::System.Data.MappingType.Element);
  742. base.Columns.Add(this.columnмодель);
  743. this.columnцвет = new global::System.Data.DataColumn("цвет", typeof(string), null, global::System.Data.MappingType.Element);
  744. base.Columns.Add(this.columnцвет);
  745. this.columnгод_выпуска = new global::System.Data.DataColumn("год выпуска", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  746. base.Columns.Add(this.columnгод_выпуска);
  747. this.columnдата_регистрации_в_ГАИ = new global::System.Data.DataColumn("дата регистрации в ГАИ", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  748. base.Columns.Add(this.columnдата_регистрации_в_ГАИ);
  749. this.columnГОС_номера = new global::System.Data.DataColumn("ГОС номера", typeof(string), null, global::System.Data.MappingType.Element);
  750. base.Columns.Add(this.columnГОС_номера);
  751. this.columnНомер_ВУ = new global::System.Data.DataColumn("Номер ВУ", typeof(string), null, global::System.Data.MappingType.Element);
  752. base.Columns.Add(this.columnНомер_ВУ);
  753. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  754. this.columnНомер_автомобиля}, true));
  755. this.columnНомер_автомобиля.AllowDBNull = false;
  756. this.columnНомер_автомобиля.Unique = true;
  757. this.columnмарка.MaxLength = 2147483647;
  758. this.columnмодель.MaxLength = 2147483647;
  759. this.columnцвет.MaxLength = 2147483647;
  760. this.columnГОС_номера.MaxLength = 10;
  761. this.columnНомер_ВУ.MaxLength = 10;
  762. }
  763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  764. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  765. public АвтомобилиRow NewАвтомобилиRow() {
  766. return ((АвтомобилиRow)(this.NewRow()));
  767. }
  768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  769. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  770. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  771. return new АвтомобилиRow(builder);
  772. }
  773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  774. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  775. protected override global::System.Type GetRowType() {
  776. return typeof(АвтомобилиRow);
  777. }
  778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  779. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  780. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  781. base.OnRowChanged(e);
  782. if ((this.АвтомобилиRowChanged != null)) {
  783. this.АвтомобилиRowChanged(this, new АвтомобилиRowChangeEvent(((АвтомобилиRow)(e.Row)), e.Action));
  784. }
  785. }
  786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  787. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  788. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  789. base.OnRowChanging(e);
  790. if ((this.АвтомобилиRowChanging != null)) {
  791. this.АвтомобилиRowChanging(this, new АвтомобилиRowChangeEvent(((АвтомобилиRow)(e.Row)), e.Action));
  792. }
  793. }
  794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  795. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  796. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  797. base.OnRowDeleted(e);
  798. if ((this.АвтомобилиRowDeleted != null)) {
  799. this.АвтомобилиRowDeleted(this, new АвтомобилиRowChangeEvent(((АвтомобилиRow)(e.Row)), e.Action));
  800. }
  801. }
  802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  803. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  804. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  805. base.OnRowDeleting(e);
  806. if ((this.АвтомобилиRowDeleting != null)) {
  807. this.АвтомобилиRowDeleting(this, new АвтомобилиRowChangeEvent(((АвтомобилиRow)(e.Row)), e.Action));
  808. }
  809. }
  810. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  811. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  812. public void RemoveАвтомобилиRow(АвтомобилиRow row) {
  813. this.Rows.Remove(row);
  814. }
  815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  816. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  817. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  818. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  819. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  820. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  821. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  822. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  823. any1.MinOccurs = new decimal(0);
  824. any1.MaxOccurs = decimal.MaxValue;
  825. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  826. sequence.Items.Add(any1);
  827. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  828. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  829. any2.MinOccurs = new decimal(1);
  830. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  831. sequence.Items.Add(any2);
  832. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  833. attribute1.Name = "namespace";
  834. attribute1.FixedValue = ds.Namespace;
  835. type.Attributes.Add(attribute1);
  836. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  837. attribute2.Name = "tableTypeName";
  838. attribute2.FixedValue = "АвтомобилиDataTable";
  839. type.Attributes.Add(attribute2);
  840. type.Particle = sequence;
  841. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  842. if (xs.Contains(dsSchema.TargetNamespace)) {
  843. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  844. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  845. try {
  846. global::System.Xml.Schema.XmlSchema schema = null;
  847. dsSchema.Write(s1);
  848. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  849. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  850. s2.SetLength(0);
  851. schema.Write(s2);
  852. if ((s1.Length == s2.Length)) {
  853. s1.Position = 0;
  854. s2.Position = 0;
  855. for (; ((s1.Position != s1.Length)
  856. && (s1.ReadByte() == s2.ReadByte())); ) {
  857. ;
  858. }
  859. if ((s1.Position == s1.Length)) {
  860. return type;
  861. }
  862. }
  863. }
  864. }
  865. finally {
  866. if ((s1 != null)) {
  867. s1.Close();
  868. }
  869. if ((s2 != null)) {
  870. s2.Close();
  871. }
  872. }
  873. }
  874. xs.Add(dsSchema);
  875. return type;
  876. }
  877. }
  878. /// <summary>
  879. ///Represents the strongly named DataTable class.
  880. ///</summary>
  881. [global::System.Serializable()]
  882. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  883. public partial class ВзысканияDataTable : global::System.Data.TypedTableBase<ВзысканияRow> {
  884. private global::System.Data.DataColumn columnКод_нарушения;
  885. private global::System.Data.DataColumn columnШтраф_за_нарушения;
  886. private global::System.Data.DataColumn columnСрок_лишения_месяц;
  887. private global::System.Data.DataColumn columnпредупреждение;
  888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  890. public ВзысканияDataTable() {
  891. this.TableName = "Взыскания";
  892. this.BeginInit();
  893. this.InitClass();
  894. this.EndInit();
  895. }
  896. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  897. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  898. internal ВзысканияDataTable(global::System.Data.DataTable table) {
  899. this.TableName = table.TableName;
  900. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  901. this.CaseSensitive = table.CaseSensitive;
  902. }
  903. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  904. this.Locale = table.Locale;
  905. }
  906. if ((table.Namespace != table.DataSet.Namespace)) {
  907. this.Namespace = table.Namespace;
  908. }
  909. this.Prefix = table.Prefix;
  910. this.MinimumCapacity = table.MinimumCapacity;
  911. }
  912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  913. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  914. protected ВзысканияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  915. base(info, context) {
  916. this.InitVars();
  917. }
  918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  919. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  920. public global::System.Data.DataColumn Код_нарушенияColumn {
  921. get {
  922. return this.columnКод_нарушения;
  923. }
  924. }
  925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  926. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  927. public global::System.Data.DataColumn Штраф_за_нарушенияColumn {
  928. get {
  929. return this.columnШтраф_за_нарушения;
  930. }
  931. }
  932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  934. public global::System.Data.DataColumn Срок_лишения_месяцColumn {
  935. get {
  936. return this.columnСрок_лишения_месяц;
  937. }
  938. }
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  940. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  941. public global::System.Data.DataColumn предупреждениеColumn {
  942. get {
  943. return this.columnпредупреждение;
  944. }
  945. }
  946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  947. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  948. [global::System.ComponentModel.Browsable(false)]
  949. public int Count {
  950. get {
  951. return this.Rows.Count;
  952. }
  953. }
  954. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  955. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  956. public ВзысканияRow this[int index] {
  957. get {
  958. return ((ВзысканияRow)(this.Rows[index]));
  959. }
  960. }
  961. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  962. public event ВзысканияRowChangeEventHandler ВзысканияRowChanging;
  963. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  964. public event ВзысканияRowChangeEventHandler ВзысканияRowChanged;
  965. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  966. public event ВзысканияRowChangeEventHandler ВзысканияRowDeleting;
  967. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  968. public event ВзысканияRowChangeEventHandler ВзысканияRowDeleted;
  969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  970. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  971. public void AddВзысканияRow(ВзысканияRow row) {
  972. this.Rows.Add(row);
  973. }
  974. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  975. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  976. public ВзысканияRow AddВзысканияRow(long Код_нарушения, decimal Штраф_за_нарушения, byte Срок_лишения_месяц, bool предупреждение) {
  977. ВзысканияRow rowВзысканияRow = ((ВзысканияRow)(this.NewRow()));
  978. object[] columnValuesArray = new object[] {
  979. Код_нарушения,
  980. Штраф_за_нарушения,
  981. Срок_лишения_месяц,
  982. предупреждение};
  983. rowВзысканияRow.ItemArray = columnValuesArray;
  984. this.Rows.Add(rowВзысканияRow);
  985. return rowВзысканияRow;
  986. }
  987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  988. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  989. public ВзысканияRow FindByКод_нарушения(long Код_нарушения) {
  990. return ((ВзысканияRow)(this.Rows.Find(new object[] {
  991. Код_нарушения})));
  992. }
  993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  994. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  995. public override global::System.Data.DataTable Clone() {
  996. ВзысканияDataTable cln = ((ВзысканияDataTable)(base.Clone()));
  997. cln.InitVars();
  998. return cln;
  999. }
  1000. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1001. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1002. protected override global::System.Data.DataTable CreateInstance() {
  1003. return new ВзысканияDataTable();
  1004. }
  1005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1006. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1007. internal void InitVars() {
  1008. this.columnКод_нарушения = base.Columns["Код нарушения"];
  1009. this.columnШтраф_за_нарушения = base.Columns["Штраф за нарушения"];
  1010. this.columnСрок_лишения_месяц = base.Columns["Срок лишения месяц"];
  1011. this.columnпредупреждение = base.Columns["предупреждение"];
  1012. }
  1013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1014. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1015. private void InitClass() {
  1016. this.columnКод_нарушения = new global::System.Data.DataColumn("Код нарушения", typeof(long), null, global::System.Data.MappingType.Element);
  1017. base.Columns.Add(this.columnКод_нарушения);
  1018. this.columnШтраф_за_нарушения = new global::System.Data.DataColumn("Штраф за нарушения", typeof(decimal), null, global::System.Data.MappingType.Element);
  1019. base.Columns.Add(this.columnШтраф_за_нарушения);
  1020. this.columnСрок_лишения_месяц = new global::System.Data.DataColumn("Срок лишения месяц", typeof(byte), null, global::System.Data.MappingType.Element);
  1021. base.Columns.Add(this.columnСрок_лишения_месяц);
  1022. this.columnпредупреждение = new global::System.Data.DataColumn("предупреждение", typeof(bool), null, global::System.Data.MappingType.Element);
  1023. base.Columns.Add(this.columnпредупреждение);
  1024. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1025. this.columnКод_нарушения}, true));
  1026. this.columnКод_нарушения.AllowDBNull = false;
  1027. this.columnКод_нарушения.Unique = true;
  1028. }
  1029. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1030. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1031. public ВзысканияRow NewВзысканияRow() {
  1032. return ((ВзысканияRow)(this.NewRow()));
  1033. }
  1034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1035. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1036. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1037. return new ВзысканияRow(builder);
  1038. }
  1039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1040. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1041. protected override global::System.Type GetRowType() {
  1042. return typeof(ВзысканияRow);
  1043. }
  1044. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1045. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1046. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1047. base.OnRowChanged(e);
  1048. if ((this.ВзысканияRowChanged != null)) {
  1049. this.ВзысканияRowChanged(this, new ВзысканияRowChangeEvent(((ВзысканияRow)(e.Row)), e.Action));
  1050. }
  1051. }
  1052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1053. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1054. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1055. base.OnRowChanging(e);
  1056. if ((this.ВзысканияRowChanging != null)) {
  1057. this.ВзысканияRowChanging(this, new ВзысканияRowChangeEvent(((ВзысканияRow)(e.Row)), e.Action));
  1058. }
  1059. }
  1060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1061. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1062. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1063. base.OnRowDeleted(e);
  1064. if ((this.ВзысканияRowDeleted != null)) {
  1065. this.ВзысканияRowDeleted(this, new ВзысканияRowChangeEvent(((ВзысканияRow)(e.Row)), e.Action));
  1066. }
  1067. }
  1068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1070. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1071. base.OnRowDeleting(e);
  1072. if ((this.ВзысканияRowDeleting != null)) {
  1073. this.ВзысканияRowDeleting(this, new ВзысканияRowChangeEvent(((ВзысканияRow)(e.Row)), e.Action));
  1074. }
  1075. }
  1076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1077. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1078. public void RemoveВзысканияRow(ВзысканияRow row) {
  1079. this.Rows.Remove(row);
  1080. }
  1081. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1082. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1083. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1084. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1085. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1086. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  1087. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1088. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1089. any1.MinOccurs = new decimal(0);
  1090. any1.MaxOccurs = decimal.MaxValue;
  1091. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1092. sequence.Items.Add(any1);
  1093. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1094. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1095. any2.MinOccurs = new decimal(1);
  1096. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1097. sequence.Items.Add(any2);
  1098. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1099. attribute1.Name = "namespace";
  1100. attribute1.FixedValue = ds.Namespace;
  1101. type.Attributes.Add(attribute1);
  1102. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1103. attribute2.Name = "tableTypeName";
  1104. attribute2.FixedValue = "ВзысканияDataTable";
  1105. type.Attributes.Add(attribute2);
  1106. type.Particle = sequence;
  1107. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1108. if (xs.Contains(dsSchema.TargetNamespace)) {
  1109. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1110. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1111. try {
  1112. global::System.Xml.Schema.XmlSchema schema = null;
  1113. dsSchema.Write(s1);
  1114. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1115. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1116. s2.SetLength(0);
  1117. schema.Write(s2);
  1118. if ((s1.Length == s2.Length)) {
  1119. s1.Position = 0;
  1120. s2.Position = 0;
  1121. for (; ((s1.Position != s1.Length)
  1122. && (s1.ReadByte() == s2.ReadByte())); ) {
  1123. ;
  1124. }
  1125. if ((s1.Position == s1.Length)) {
  1126. return type;
  1127. }
  1128. }
  1129. }
  1130. }
  1131. finally {
  1132. if ((s1 != null)) {
  1133. s1.Close();
  1134. }
  1135. if ((s2 != null)) {
  1136. s2.Close();
  1137. }
  1138. }
  1139. }
  1140. xs.Add(dsSchema);
  1141. return type;
  1142. }
  1143. }
  1144. /// <summary>
  1145. ///Represents the strongly named DataTable class.
  1146. ///</summary>
  1147. [global::System.Serializable()]
  1148. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1149. public partial class ВодителиDataTable : global::System.Data.TypedTableBase<ВодителиRow> {
  1150. private global::System.Data.DataColumn columnНомер_водительского_удостоверения;
  1151. private global::System.Data.DataColumn columnФамилия;
  1152. private global::System.Data.DataColumn columnИмя;
  1153. private global::System.Data.DataColumn columnОтчество;
  1154. private global::System.Data.DataColumn columnАдрес;
  1155. private global::System.Data.DataColumn columnТелефон;
  1156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1158. public ВодителиDataTable() {
  1159. this.TableName = "Водители";
  1160. this.BeginInit();
  1161. this.InitClass();
  1162. this.EndInit();
  1163. }
  1164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1165. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1166. internal ВодителиDataTable(global::System.Data.DataTable table) {
  1167. this.TableName = table.TableName;
  1168. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1169. this.CaseSensitive = table.CaseSensitive;
  1170. }
  1171. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1172. this.Locale = table.Locale;
  1173. }
  1174. if ((table.Namespace != table.DataSet.Namespace)) {
  1175. this.Namespace = table.Namespace;
  1176. }
  1177. this.Prefix = table.Prefix;
  1178. this.MinimumCapacity = table.MinimumCapacity;
  1179. }
  1180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1181. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1182. protected ВодителиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1183. base(info, context) {
  1184. this.InitVars();
  1185. }
  1186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1188. public global::System.Data.DataColumn Номер_водительского_удостоверенияColumn {
  1189. get {
  1190. return this.columnНомер_водительского_удостоверения;
  1191. }
  1192. }
  1193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1194. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1195. public global::System.Data.DataColumn ФамилияColumn {
  1196. get {
  1197. return this.columnФамилия;
  1198. }
  1199. }
  1200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1201. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1202. public global::System.Data.DataColumn ИмяColumn {
  1203. get {
  1204. return this.columnИмя;
  1205. }
  1206. }
  1207. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1208. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1209. public global::System.Data.DataColumn ОтчествоColumn {
  1210. get {
  1211. return this.columnОтчество;
  1212. }
  1213. }
  1214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1216. public global::System.Data.DataColumn АдресColumn {
  1217. get {
  1218. return this.columnАдрес;
  1219. }
  1220. }
  1221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1223. public global::System.Data.DataColumn ТелефонColumn {
  1224. get {
  1225. return this.columnТелефон;
  1226. }
  1227. }
  1228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1230. [global::System.ComponentModel.Browsable(false)]
  1231. public int Count {
  1232. get {
  1233. return this.Rows.Count;
  1234. }
  1235. }
  1236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1238. public ВодителиRow this[int index] {
  1239. get {
  1240. return ((ВодителиRow)(this.Rows[index]));
  1241. }
  1242. }
  1243. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1244. public event ВодителиRowChangeEventHandler ВодителиRowChanging;
  1245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1246. public event ВодителиRowChangeEventHandler ВодителиRowChanged;
  1247. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1248. public event ВодителиRowChangeEventHandler ВодителиRowDeleting;
  1249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1250. public event ВодителиRowChangeEventHandler ВодителиRowDeleted;
  1251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1252. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1253. public void AddВодителиRow(ВодителиRow row) {
  1254. this.Rows.Add(row);
  1255. }
  1256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1257. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1258. public ВодителиRow AddВодителиRow(string Номер_водительского_удостоверения, string Фамилия, string Имя, string Отчество, string Адрес, string Телефон) {
  1259. ВодителиRow rowВодителиRow = ((ВодителиRow)(this.NewRow()));
  1260. object[] columnValuesArray = new object[] {
  1261. Номер_водительского_удостоверения,
  1262. Фамилия,
  1263. Имя,
  1264. Отчество,
  1265. Адрес,
  1266. Телефон};
  1267. rowВодителиRow.ItemArray = columnValuesArray;
  1268. this.Rows.Add(rowВодителиRow);
  1269. return rowВодителиRow;
  1270. }
  1271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1272. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1273. public ВодителиRow FindByНомер_водительского_удостоверения(string Номер_водительского_удостоверения) {
  1274. return ((ВодителиRow)(this.Rows.Find(new object[] {
  1275. Номер_водительского_удостоверения})));
  1276. }
  1277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1278. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1279. public override global::System.Data.DataTable Clone() {
  1280. ВодителиDataTable cln = ((ВодителиDataTable)(base.Clone()));
  1281. cln.InitVars();
  1282. return cln;
  1283. }
  1284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1286. protected override global::System.Data.DataTable CreateInstance() {
  1287. return new ВодителиDataTable();
  1288. }
  1289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1291. internal void InitVars() {
  1292. this.columnНомер_водительского_удостоверения = base.Columns["Номер водительского удостоверения"];
  1293. this.columnФамилия = base.Columns["Фамилия"];
  1294. this.columnИмя = base.Columns["Имя"];
  1295. this.columnОтчество = base.Columns["Отчество"];
  1296. this.columnАдрес = base.Columns["Адрес"];
  1297. this.columnТелефон = base.Columns["Телефон"];
  1298. }
  1299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1300. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1301. private void InitClass() {
  1302. this.columnНомер_водительского_удостоверения = new global::System.Data.DataColumn("Номер водительского удостоверения", typeof(string), null, global::System.Data.MappingType.Element);
  1303. base.Columns.Add(this.columnНомер_водительского_удостоверения);
  1304. this.columnФамилия = new global::System.Data.DataColumn("Фамилия", typeof(string), null, global::System.Data.MappingType.Element);
  1305. base.Columns.Add(this.columnФамилия);
  1306. this.columnИмя = new global::System.Data.DataColumn("Имя", typeof(string), null, global::System.Data.MappingType.Element);
  1307. base.Columns.Add(this.columnИмя);
  1308. this.columnОтчество = new global::System.Data.DataColumn("Отчество", typeof(string), null, global::System.Data.MappingType.Element);
  1309. base.Columns.Add(this.columnОтчество);
  1310. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  1311. base.Columns.Add(this.columnАдрес);
  1312. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  1313. base.Columns.Add(this.columnТелефон);
  1314. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1315. this.columnНомер_водительского_удостоверения}, true));
  1316. this.columnНомер_водительского_удостоверения.AllowDBNull = false;
  1317. this.columnНомер_водительского_удостоверения.Unique = true;
  1318. this.columnНомер_водительского_удостоверения.MaxLength = 10;
  1319. this.columnФамилия.MaxLength = 2147483647;
  1320. this.columnИмя.MaxLength = 2147483647;
  1321. this.columnОтчество.MaxLength = 2147483647;
  1322. this.columnАдрес.MaxLength = 2147483647;
  1323. this.columnТелефон.MaxLength = 2147483647;
  1324. }
  1325. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1326. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1327. public ВодителиRow NewВодителиRow() {
  1328. return ((ВодителиRow)(this.NewRow()));
  1329. }
  1330. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1331. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1332. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1333. return new ВодителиRow(builder);
  1334. }
  1335. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1336. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1337. protected override global::System.Type GetRowType() {
  1338. return typeof(ВодителиRow);
  1339. }
  1340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1341. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1342. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1343. base.OnRowChanged(e);
  1344. if ((this.ВодителиRowChanged != null)) {
  1345. this.ВодителиRowChanged(this, new ВодителиRowChangeEvent(((ВодителиRow)(e.Row)), e.Action));
  1346. }
  1347. }
  1348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1349. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1350. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1351. base.OnRowChanging(e);
  1352. if ((this.ВодителиRowChanging != null)) {
  1353. this.ВодителиRowChanging(this, new ВодителиRowChangeEvent(((ВодителиRow)(e.Row)), e.Action));
  1354. }
  1355. }
  1356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1357. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1358. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1359. base.OnRowDeleted(e);
  1360. if ((this.ВодителиRowDeleted != null)) {
  1361. this.ВодителиRowDeleted(this, new ВодителиRowChangeEvent(((ВодителиRow)(e.Row)), e.Action));
  1362. }
  1363. }
  1364. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1366. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1367. base.OnRowDeleting(e);
  1368. if ((this.ВодителиRowDeleting != null)) {
  1369. this.ВодителиRowDeleting(this, new ВодителиRowChangeEvent(((ВодителиRow)(e.Row)), e.Action));
  1370. }
  1371. }
  1372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1374. public void RemoveВодителиRow(ВодителиRow row) {
  1375. this.Rows.Remove(row);
  1376. }
  1377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1379. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1380. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1381. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1382. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  1383. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1384. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1385. any1.MinOccurs = new decimal(0);
  1386. any1.MaxOccurs = decimal.MaxValue;
  1387. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1388. sequence.Items.Add(any1);
  1389. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1390. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1391. any2.MinOccurs = new decimal(1);
  1392. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1393. sequence.Items.Add(any2);
  1394. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1395. attribute1.Name = "namespace";
  1396. attribute1.FixedValue = ds.Namespace;
  1397. type.Attributes.Add(attribute1);
  1398. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1399. attribute2.Name = "tableTypeName";
  1400. attribute2.FixedValue = "ВодителиDataTable";
  1401. type.Attributes.Add(attribute2);
  1402. type.Particle = sequence;
  1403. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1404. if (xs.Contains(dsSchema.TargetNamespace)) {
  1405. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1406. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1407. try {
  1408. global::System.Xml.Schema.XmlSchema schema = null;
  1409. dsSchema.Write(s1);
  1410. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1411. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1412. s2.SetLength(0);
  1413. schema.Write(s2);
  1414. if ((s1.Length == s2.Length)) {
  1415. s1.Position = 0;
  1416. s2.Position = 0;
  1417. for (; ((s1.Position != s1.Length)
  1418. && (s1.ReadByte() == s2.ReadByte())); ) {
  1419. ;
  1420. }
  1421. if ((s1.Position == s1.Length)) {
  1422. return type;
  1423. }
  1424. }
  1425. }
  1426. }
  1427. finally {
  1428. if ((s1 != null)) {
  1429. s1.Close();
  1430. }
  1431. if ((s2 != null)) {
  1432. s2.Close();
  1433. }
  1434. }
  1435. }
  1436. xs.Add(dsSchema);
  1437. return type;
  1438. }
  1439. }
  1440. /// <summary>
  1441. ///Represents the strongly named DataTable class.
  1442. ///</summary>
  1443. [global::System.Serializable()]
  1444. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1445. public partial class НарушенияDataTable : global::System.Data.TypedTableBase<НарушенияRow> {
  1446. private global::System.Data.DataColumn columnКод_нарушения;
  1447. private global::System.Data.DataColumn columnвид_нарушения;
  1448. private global::System.Data.DataColumn columnштраф_за_нарушение;
  1449. private global::System.Data.DataColumn columnдата_нарушения;
  1450. private global::System.Data.DataColumn columnНомер_автомобиля;
  1451. private global::System.Data.DataColumn columnГОС_номер_авто;
  1452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1454. public НарушенияDataTable() {
  1455. this.TableName = "Нарушения";
  1456. this.BeginInit();
  1457. this.InitClass();
  1458. this.EndInit();
  1459. }
  1460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1461. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1462. internal НарушенияDataTable(global::System.Data.DataTable table) {
  1463. this.TableName = table.TableName;
  1464. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1465. this.CaseSensitive = table.CaseSensitive;
  1466. }
  1467. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1468. this.Locale = table.Locale;
  1469. }
  1470. if ((table.Namespace != table.DataSet.Namespace)) {
  1471. this.Namespace = table.Namespace;
  1472. }
  1473. this.Prefix = table.Prefix;
  1474. this.MinimumCapacity = table.MinimumCapacity;
  1475. }
  1476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1478. protected НарушенияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1479. base(info, context) {
  1480. this.InitVars();
  1481. }
  1482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1483. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1484. public global::System.Data.DataColumn Код_нарушенияColumn {
  1485. get {
  1486. return this.columnКод_нарушения;
  1487. }
  1488. }
  1489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1491. public global::System.Data.DataColumn вид_нарушенияColumn {
  1492. get {
  1493. return this.columnвид_нарушения;
  1494. }
  1495. }
  1496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1498. public global::System.Data.DataColumn штраф_за_нарушениеColumn {
  1499. get {
  1500. return this.columnштраф_за_нарушение;
  1501. }
  1502. }
  1503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1505. public global::System.Data.DataColumn дата_нарушенияColumn {
  1506. get {
  1507. return this.columnдата_нарушения;
  1508. }
  1509. }
  1510. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1511. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1512. public global::System.Data.DataColumn Номер_автомобиляColumn {
  1513. get {
  1514. return this.columnНомер_автомобиля;
  1515. }
  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. [global::System.ComponentModel.Browsable(false)]
  1527. public int Count {
  1528. get {
  1529. return this.Rows.Count;
  1530. }
  1531. }
  1532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1534. public НарушенияRow this[int index] {
  1535. get {
  1536. return ((НарушенияRow)(this.Rows[index]));
  1537. }
  1538. }
  1539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1540. public event НарушенияRowChangeEventHandler НарушенияRowChanging;
  1541. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1542. public event НарушенияRowChangeEventHandler НарушенияRowChanged;
  1543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1544. public event НарушенияRowChangeEventHandler НарушенияRowDeleting;
  1545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1546. public event НарушенияRowChangeEventHandler НарушенияRowDeleted;
  1547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1548. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1549. public void AddНарушенияRow(НарушенияRow row) {
  1550. this.Rows.Add(row);
  1551. }
  1552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1554. public НарушенияRow AddНарушенияRow(long Код_нарушения, string вид_нарушения, decimal штраф_за_нарушение, System.DateTime дата_нарушения, long Номер_автомобиля, string ГОС_номер_авто) {
  1555. НарушенияRow rowНарушенияRow = ((НарушенияRow)(this.NewRow()));
  1556. object[] columnValuesArray = new object[] {
  1557. Код_нарушения,
  1558. вид_нарушения,
  1559. штраф_за_нарушение,
  1560. дата_нарушения,
  1561. Номер_автомобиля,
  1562. ГОС_номер_авто};
  1563. rowНарушенияRow.ItemArray = columnValuesArray;
  1564. this.Rows.Add(rowНарушенияRow);
  1565. return rowНарушенияRow;
  1566. }
  1567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1568. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1569. public НарушенияRow FindByКод_нарушения(long Код_нарушения) {
  1570. return ((НарушенияRow)(this.Rows.Find(new object[] {
  1571. Код_нарушения})));
  1572. }
  1573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1575. public override global::System.Data.DataTable Clone() {
  1576. НарушенияDataTable cln = ((НарушенияDataTable)(base.Clone()));
  1577. cln.InitVars();
  1578. return cln;
  1579. }
  1580. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1581. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1582. protected override global::System.Data.DataTable CreateInstance() {
  1583. return new НарушенияDataTable();
  1584. }
  1585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1586. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1587. internal void InitVars() {
  1588. this.columnКод_нарушения = base.Columns["Код нарушения"];
  1589. this.columnвид_нарушения = base.Columns["вид нарушения"];
  1590. this.columnштраф_за_нарушение = base.Columns["штраф за нарушение"];
  1591. this.columnдата_нарушения = base.Columns["дата нарушения"];
  1592. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  1593. this.columnГОС_номер_авто = base.Columns["ГОС номер авто"];
  1594. }
  1595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1596. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1597. private void InitClass() {
  1598. this.columnКод_нарушения = new global::System.Data.DataColumn("Код нарушения", typeof(long), null, global::System.Data.MappingType.Element);
  1599. base.Columns.Add(this.columnКод_нарушения);
  1600. this.columnвид_нарушения = new global::System.Data.DataColumn("вид нарушения", typeof(string), null, global::System.Data.MappingType.Element);
  1601. base.Columns.Add(this.columnвид_нарушения);
  1602. this.columnштраф_за_нарушение = new global::System.Data.DataColumn("штраф за нарушение", typeof(decimal), null, global::System.Data.MappingType.Element);
  1603. base.Columns.Add(this.columnштраф_за_нарушение);
  1604. this.columnдата_нарушения = new global::System.Data.DataColumn("дата нарушения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1605. base.Columns.Add(this.columnдата_нарушения);
  1606. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  1607. base.Columns.Add(this.columnНомер_автомобиля);
  1608. this.columnГОС_номер_авто = new global::System.Data.DataColumn("ГОС номер авто", typeof(string), null, global::System.Data.MappingType.Element);
  1609. base.Columns.Add(this.columnГОС_номер_авто);
  1610. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1611. this.columnКод_нарушения}, true));
  1612. this.columnКод_нарушения.AllowDBNull = false;
  1613. this.columnКод_нарушения.Unique = true;
  1614. this.columnвид_нарушения.MaxLength = 2147483647;
  1615. this.columnГОС_номер_авто.MaxLength = 10;
  1616. }
  1617. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1618. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1619. public НарушенияRow NewНарушенияRow() {
  1620. return ((НарушенияRow)(this.NewRow()));
  1621. }
  1622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1624. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1625. return new НарушенияRow(builder);
  1626. }
  1627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1628. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1629. protected override global::System.Type GetRowType() {
  1630. return typeof(НарушенияRow);
  1631. }
  1632. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1633. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1634. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1635. base.OnRowChanged(e);
  1636. if ((this.НарушенияRowChanged != null)) {
  1637. this.НарушенияRowChanged(this, new НарушенияRowChangeEvent(((НарушенияRow)(e.Row)), e.Action));
  1638. }
  1639. }
  1640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1641. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1642. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1643. base.OnRowChanging(e);
  1644. if ((this.НарушенияRowChanging != null)) {
  1645. this.НарушенияRowChanging(this, new НарушенияRowChangeEvent(((НарушенияRow)(e.Row)), e.Action));
  1646. }
  1647. }
  1648. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1649. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1650. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1651. base.OnRowDeleted(e);
  1652. if ((this.НарушенияRowDeleted != null)) {
  1653. this.НарушенияRowDeleted(this, new НарушенияRowChangeEvent(((НарушенияRow)(e.Row)), e.Action));
  1654. }
  1655. }
  1656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1657. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1658. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1659. base.OnRowDeleting(e);
  1660. if ((this.НарушенияRowDeleting != null)) {
  1661. this.НарушенияRowDeleting(this, new НарушенияRowChangeEvent(((НарушенияRow)(e.Row)), e.Action));
  1662. }
  1663. }
  1664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1665. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1666. public void RemoveНарушенияRow(НарушенияRow row) {
  1667. this.Rows.Remove(row);
  1668. }
  1669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1670. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1671. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1672. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1673. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1674. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  1675. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1676. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1677. any1.MinOccurs = new decimal(0);
  1678. any1.MaxOccurs = decimal.MaxValue;
  1679. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1680. sequence.Items.Add(any1);
  1681. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1682. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1683. any2.MinOccurs = new decimal(1);
  1684. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1685. sequence.Items.Add(any2);
  1686. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1687. attribute1.Name = "namespace";
  1688. attribute1.FixedValue = ds.Namespace;
  1689. type.Attributes.Add(attribute1);
  1690. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1691. attribute2.Name = "tableTypeName";
  1692. attribute2.FixedValue = "НарушенияDataTable";
  1693. type.Attributes.Add(attribute2);
  1694. type.Particle = sequence;
  1695. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1696. if (xs.Contains(dsSchema.TargetNamespace)) {
  1697. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1698. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1699. try {
  1700. global::System.Xml.Schema.XmlSchema schema = null;
  1701. dsSchema.Write(s1);
  1702. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1703. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1704. s2.SetLength(0);
  1705. schema.Write(s2);
  1706. if ((s1.Length == s2.Length)) {
  1707. s1.Position = 0;
  1708. s2.Position = 0;
  1709. for (; ((s1.Position != s1.Length)
  1710. && (s1.ReadByte() == s2.ReadByte())); ) {
  1711. ;
  1712. }
  1713. if ((s1.Position == s1.Length)) {
  1714. return type;
  1715. }
  1716. }
  1717. }
  1718. }
  1719. finally {
  1720. if ((s1 != null)) {
  1721. s1.Close();
  1722. }
  1723. if ((s2 != null)) {
  1724. s2.Close();
  1725. }
  1726. }
  1727. }
  1728. xs.Add(dsSchema);
  1729. return type;
  1730. }
  1731. }
  1732. /// <summary>
  1733. ///Represents the strongly named DataTable class.
  1734. ///</summary>
  1735. [global::System.Serializable()]
  1736. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1737. public partial class BMWDataTable : global::System.Data.TypedTableBase<BMWRow> {
  1738. private global::System.Data.DataColumn columnмарка;
  1739. private global::System.Data.DataColumn columnмодель;
  1740. private global::System.Data.DataColumn columnцвет;
  1741. private global::System.Data.DataColumn columnгод_выпуска;
  1742. private global::System.Data.DataColumn columnГОС_номера;
  1743. private global::System.Data.DataColumn columnдата_регистрации_в_ГАИ;
  1744. private global::System.Data.DataColumn columnНомер_ВУ;
  1745. private global::System.Data.DataColumn columnНомер_автомобиля;
  1746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1748. public BMWDataTable() {
  1749. this.TableName = "BMW";
  1750. this.BeginInit();
  1751. this.InitClass();
  1752. this.EndInit();
  1753. }
  1754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1755. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1756. internal BMWDataTable(global::System.Data.DataTable table) {
  1757. this.TableName = table.TableName;
  1758. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1759. this.CaseSensitive = table.CaseSensitive;
  1760. }
  1761. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1762. this.Locale = table.Locale;
  1763. }
  1764. if ((table.Namespace != table.DataSet.Namespace)) {
  1765. this.Namespace = table.Namespace;
  1766. }
  1767. this.Prefix = table.Prefix;
  1768. this.MinimumCapacity = table.MinimumCapacity;
  1769. }
  1770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1772. protected BMWDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1773. base(info, context) {
  1774. this.InitVars();
  1775. }
  1776. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1777. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1778. public global::System.Data.DataColumn маркаColumn {
  1779. get {
  1780. return this.columnмарка;
  1781. }
  1782. }
  1783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1784. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1785. public global::System.Data.DataColumn модельColumn {
  1786. get {
  1787. return this.columnмодель;
  1788. }
  1789. }
  1790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1791. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1792. public global::System.Data.DataColumn цветColumn {
  1793. get {
  1794. return this.columnцвет;
  1795. }
  1796. }
  1797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1798. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1799. public global::System.Data.DataColumn год_выпускаColumn {
  1800. get {
  1801. return this.columnгод_выпуска;
  1802. }
  1803. }
  1804. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1805. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1806. public global::System.Data.DataColumn ГОС_номераColumn {
  1807. get {
  1808. return this.columnГОС_номера;
  1809. }
  1810. }
  1811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1812. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1813. public global::System.Data.DataColumn дата_регистрации_в_ГАИColumn {
  1814. get {
  1815. return this.columnдата_регистрации_в_ГАИ;
  1816. }
  1817. }
  1818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1819. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1820. public global::System.Data.DataColumn Номер_ВУColumn {
  1821. get {
  1822. return this.columnНомер_ВУ;
  1823. }
  1824. }
  1825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1826. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1827. public global::System.Data.DataColumn Номер_автомобиляColumn {
  1828. get {
  1829. return this.columnНомер_автомобиля;
  1830. }
  1831. }
  1832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1834. [global::System.ComponentModel.Browsable(false)]
  1835. public int Count {
  1836. get {
  1837. return this.Rows.Count;
  1838. }
  1839. }
  1840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1842. public BMWRow this[int index] {
  1843. get {
  1844. return ((BMWRow)(this.Rows[index]));
  1845. }
  1846. }
  1847. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1848. public event BMWRowChangeEventHandler BMWRowChanging;
  1849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1850. public event BMWRowChangeEventHandler BMWRowChanged;
  1851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1852. public event BMWRowChangeEventHandler BMWRowDeleting;
  1853. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1854. public event BMWRowChangeEventHandler BMWRowDeleted;
  1855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1856. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1857. public void AddBMWRow(BMWRow row) {
  1858. this.Rows.Add(row);
  1859. }
  1860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1861. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1862. public BMWRow AddBMWRow(string марка, string модель, string цвет, System.DateTime год_выпуска, string ГОС_номера, System.DateTime дата_регистрации_в_ГАИ, string Номер_ВУ, long Номер_автомобиля) {
  1863. BMWRow rowBMWRow = ((BMWRow)(this.NewRow()));
  1864. object[] columnValuesArray = new object[] {
  1865. марка,
  1866. модель,
  1867. цвет,
  1868. год_выпуска,
  1869. ГОС_номера,
  1870. дата_регистрации_в_ГАИ,
  1871. Номер_ВУ,
  1872. Номер_автомобиля};
  1873. rowBMWRow.ItemArray = columnValuesArray;
  1874. this.Rows.Add(rowBMWRow);
  1875. return rowBMWRow;
  1876. }
  1877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1878. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1879. public BMWRow FindByНомер_автомобиля(long Номер_автомобиля) {
  1880. return ((BMWRow)(this.Rows.Find(new object[] {
  1881. Номер_автомобиля})));
  1882. }
  1883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1885. public override global::System.Data.DataTable Clone() {
  1886. BMWDataTable cln = ((BMWDataTable)(base.Clone()));
  1887. cln.InitVars();
  1888. return cln;
  1889. }
  1890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1891. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1892. protected override global::System.Data.DataTable CreateInstance() {
  1893. return new BMWDataTable();
  1894. }
  1895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1896. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1897. internal void InitVars() {
  1898. this.columnмарка = base.Columns["марка"];
  1899. this.columnмодель = base.Columns["модель"];
  1900. this.columnцвет = base.Columns["цвет"];
  1901. this.columnгод_выпуска = base.Columns["год выпуска"];
  1902. this.columnГОС_номера = base.Columns["ГОС номера"];
  1903. this.columnдата_регистрации_в_ГАИ = base.Columns["дата регистрации в ГАИ"];
  1904. this.columnНомер_ВУ = base.Columns["Номер ВУ"];
  1905. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  1906. }
  1907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1908. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1909. private void InitClass() {
  1910. this.columnмарка = new global::System.Data.DataColumn("марка", typeof(string), null, global::System.Data.MappingType.Element);
  1911. base.Columns.Add(this.columnмарка);
  1912. this.columnмодель = new global::System.Data.DataColumn("модель", typeof(string), null, global::System.Data.MappingType.Element);
  1913. base.Columns.Add(this.columnмодель);
  1914. this.columnцвет = new global::System.Data.DataColumn("цвет", typeof(string), null, global::System.Data.MappingType.Element);
  1915. base.Columns.Add(this.columnцвет);
  1916. this.columnгод_выпуска = new global::System.Data.DataColumn("год выпуска", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1917. base.Columns.Add(this.columnгод_выпуска);
  1918. this.columnГОС_номера = new global::System.Data.DataColumn("ГОС номера", typeof(string), null, global::System.Data.MappingType.Element);
  1919. base.Columns.Add(this.columnГОС_номера);
  1920. this.columnдата_регистрации_в_ГАИ = new global::System.Data.DataColumn("дата регистрации в ГАИ", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1921. base.Columns.Add(this.columnдата_регистрации_в_ГАИ);
  1922. this.columnНомер_ВУ = new global::System.Data.DataColumn("Номер ВУ", typeof(string), null, global::System.Data.MappingType.Element);
  1923. base.Columns.Add(this.columnНомер_ВУ);
  1924. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  1925. base.Columns.Add(this.columnНомер_автомобиля);
  1926. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1927. this.columnНомер_автомобиля}, true));
  1928. this.columnмарка.MaxLength = 2147483647;
  1929. this.columnмодель.MaxLength = 2147483647;
  1930. this.columnцвет.MaxLength = 2147483647;
  1931. this.columnГОС_номера.MaxLength = 10;
  1932. this.columnНомер_ВУ.MaxLength = 10;
  1933. this.columnНомер_автомобиля.AllowDBNull = false;
  1934. this.columnНомер_автомобиля.Unique = true;
  1935. }
  1936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1937. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1938. public BMWRow NewBMWRow() {
  1939. return ((BMWRow)(this.NewRow()));
  1940. }
  1941. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1942. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1943. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1944. return new BMWRow(builder);
  1945. }
  1946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1947. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1948. protected override global::System.Type GetRowType() {
  1949. return typeof(BMWRow);
  1950. }
  1951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1952. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1953. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1954. base.OnRowChanged(e);
  1955. if ((this.BMWRowChanged != null)) {
  1956. this.BMWRowChanged(this, new BMWRowChangeEvent(((BMWRow)(e.Row)), e.Action));
  1957. }
  1958. }
  1959. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1960. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1961. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1962. base.OnRowChanging(e);
  1963. if ((this.BMWRowChanging != null)) {
  1964. this.BMWRowChanging(this, new BMWRowChangeEvent(((BMWRow)(e.Row)), e.Action));
  1965. }
  1966. }
  1967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1968. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1969. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1970. base.OnRowDeleted(e);
  1971. if ((this.BMWRowDeleted != null)) {
  1972. this.BMWRowDeleted(this, new BMWRowChangeEvent(((BMWRow)(e.Row)), e.Action));
  1973. }
  1974. }
  1975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1977. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1978. base.OnRowDeleting(e);
  1979. if ((this.BMWRowDeleting != null)) {
  1980. this.BMWRowDeleting(this, new BMWRowChangeEvent(((BMWRow)(e.Row)), e.Action));
  1981. }
  1982. }
  1983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1984. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1985. public void RemoveBMWRow(BMWRow row) {
  1986. this.Rows.Remove(row);
  1987. }
  1988. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1989. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1990. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1991. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1992. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1993. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  1994. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1995. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1996. any1.MinOccurs = new decimal(0);
  1997. any1.MaxOccurs = decimal.MaxValue;
  1998. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1999. sequence.Items.Add(any1);
  2000. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2001. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2002. any2.MinOccurs = new decimal(1);
  2003. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2004. sequence.Items.Add(any2);
  2005. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2006. attribute1.Name = "namespace";
  2007. attribute1.FixedValue = ds.Namespace;
  2008. type.Attributes.Add(attribute1);
  2009. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2010. attribute2.Name = "tableTypeName";
  2011. attribute2.FixedValue = "BMWDataTable";
  2012. type.Attributes.Add(attribute2);
  2013. type.Particle = sequence;
  2014. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2015. if (xs.Contains(dsSchema.TargetNamespace)) {
  2016. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2017. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2018. try {
  2019. global::System.Xml.Schema.XmlSchema schema = null;
  2020. dsSchema.Write(s1);
  2021. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2022. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2023. s2.SetLength(0);
  2024. schema.Write(s2);
  2025. if ((s1.Length == s2.Length)) {
  2026. s1.Position = 0;
  2027. s2.Position = 0;
  2028. for (; ((s1.Position != s1.Length)
  2029. && (s1.ReadByte() == s2.ReadByte())); ) {
  2030. ;
  2031. }
  2032. if ((s1.Position == s1.Length)) {
  2033. return type;
  2034. }
  2035. }
  2036. }
  2037. }
  2038. finally {
  2039. if ((s1 != null)) {
  2040. s1.Close();
  2041. }
  2042. if ((s2 != null)) {
  2043. s2.Close();
  2044. }
  2045. }
  2046. }
  2047. xs.Add(dsSchema);
  2048. return type;
  2049. }
  2050. }
  2051. /// <summary>
  2052. ///Represents the strongly named DataTable class.
  2053. ///</summary>
  2054. [global::System.Serializable()]
  2055. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2056. public partial class FordDataTable : global::System.Data.TypedTableBase<FordRow> {
  2057. private global::System.Data.DataColumn columnНомер_автомобиля;
  2058. private global::System.Data.DataColumn columnмарка;
  2059. private global::System.Data.DataColumn columnмодель;
  2060. private global::System.Data.DataColumn columnцвет;
  2061. private global::System.Data.DataColumn columnгод_выпуска;
  2062. private global::System.Data.DataColumn columnдата_регистрации_в_ГАИ;
  2063. private global::System.Data.DataColumn columnГОС_номера;
  2064. private global::System.Data.DataColumn columnНомер_ВУ;
  2065. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2066. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2067. public FordDataTable() {
  2068. this.TableName = "Ford";
  2069. this.BeginInit();
  2070. this.InitClass();
  2071. this.EndInit();
  2072. }
  2073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2074. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2075. internal FordDataTable(global::System.Data.DataTable table) {
  2076. this.TableName = table.TableName;
  2077. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2078. this.CaseSensitive = table.CaseSensitive;
  2079. }
  2080. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2081. this.Locale = table.Locale;
  2082. }
  2083. if ((table.Namespace != table.DataSet.Namespace)) {
  2084. this.Namespace = table.Namespace;
  2085. }
  2086. this.Prefix = table.Prefix;
  2087. this.MinimumCapacity = table.MinimumCapacity;
  2088. }
  2089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2090. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2091. protected FordDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2092. base(info, context) {
  2093. this.InitVars();
  2094. }
  2095. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2096. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2097. public global::System.Data.DataColumn Номер_автомобиляColumn {
  2098. get {
  2099. return this.columnНомер_автомобиля;
  2100. }
  2101. }
  2102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2104. public global::System.Data.DataColumn маркаColumn {
  2105. get {
  2106. return this.columnмарка;
  2107. }
  2108. }
  2109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2111. public global::System.Data.DataColumn модельColumn {
  2112. get {
  2113. return this.columnмодель;
  2114. }
  2115. }
  2116. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2117. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2118. public global::System.Data.DataColumn цветColumn {
  2119. get {
  2120. return this.columnцвет;
  2121. }
  2122. }
  2123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2125. public global::System.Data.DataColumn год_выпускаColumn {
  2126. get {
  2127. return this.columnгод_выпуска;
  2128. }
  2129. }
  2130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2131. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2132. public global::System.Data.DataColumn дата_регистрации_в_ГАИColumn {
  2133. get {
  2134. return this.columnдата_регистрации_в_ГАИ;
  2135. }
  2136. }
  2137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2139. public global::System.Data.DataColumn ГОС_номераColumn {
  2140. get {
  2141. return this.columnГОС_номера;
  2142. }
  2143. }
  2144. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2145. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2146. public global::System.Data.DataColumn Номер_ВУColumn {
  2147. get {
  2148. return this.columnНомер_ВУ;
  2149. }
  2150. }
  2151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2152. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2153. [global::System.ComponentModel.Browsable(false)]
  2154. public int Count {
  2155. get {
  2156. return this.Rows.Count;
  2157. }
  2158. }
  2159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2160. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2161. public FordRow this[int index] {
  2162. get {
  2163. return ((FordRow)(this.Rows[index]));
  2164. }
  2165. }
  2166. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2167. public event FordRowChangeEventHandler FordRowChanging;
  2168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2169. public event FordRowChangeEventHandler FordRowChanged;
  2170. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2171. public event FordRowChangeEventHandler FordRowDeleting;
  2172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2173. public event FordRowChangeEventHandler FordRowDeleted;
  2174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2176. public void AddFordRow(FordRow row) {
  2177. this.Rows.Add(row);
  2178. }
  2179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2181. public FordRow AddFordRow(long Номер_автомобиля, string марка, string модель, string цвет, System.DateTime год_выпуска, System.DateTime дата_регистрации_в_ГАИ, string ГОС_номера, string Номер_ВУ) {
  2182. FordRow rowFordRow = ((FordRow)(this.NewRow()));
  2183. object[] columnValuesArray = new object[] {
  2184. Номер_автомобиля,
  2185. марка,
  2186. модель,
  2187. цвет,
  2188. год_выпуска,
  2189. дата_регистрации_в_ГАИ,
  2190. ГОС_номера,
  2191. Номер_ВУ};
  2192. rowFordRow.ItemArray = columnValuesArray;
  2193. this.Rows.Add(rowFordRow);
  2194. return rowFordRow;
  2195. }
  2196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2197. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2198. public FordRow FindByНомер_автомобиля(long Номер_автомобиля) {
  2199. return ((FordRow)(this.Rows.Find(new object[] {
  2200. Номер_автомобиля})));
  2201. }
  2202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2203. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2204. public override global::System.Data.DataTable Clone() {
  2205. FordDataTable cln = ((FordDataTable)(base.Clone()));
  2206. cln.InitVars();
  2207. return cln;
  2208. }
  2209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2210. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2211. protected override global::System.Data.DataTable CreateInstance() {
  2212. return new FordDataTable();
  2213. }
  2214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2216. internal void InitVars() {
  2217. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  2218. this.columnмарка = base.Columns["марка"];
  2219. this.columnмодель = base.Columns["модель"];
  2220. this.columnцвет = base.Columns["цвет"];
  2221. this.columnгод_выпуска = base.Columns["год выпуска"];
  2222. this.columnдата_регистрации_в_ГАИ = base.Columns["дата регистрации в ГАИ"];
  2223. this.columnГОС_номера = base.Columns["ГОС номера"];
  2224. this.columnНомер_ВУ = base.Columns["Номер ВУ"];
  2225. }
  2226. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2227. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2228. private void InitClass() {
  2229. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  2230. base.Columns.Add(this.columnНомер_автомобиля);
  2231. this.columnмарка = new global::System.Data.DataColumn("марка", typeof(string), null, global::System.Data.MappingType.Element);
  2232. base.Columns.Add(this.columnмарка);
  2233. this.columnмодель = new global::System.Data.DataColumn("модель", typeof(string), null, global::System.Data.MappingType.Element);
  2234. base.Columns.Add(this.columnмодель);
  2235. this.columnцвет = new global::System.Data.DataColumn("цвет", typeof(string), null, global::System.Data.MappingType.Element);
  2236. base.Columns.Add(this.columnцвет);
  2237. this.columnгод_выпуска = new global::System.Data.DataColumn("год выпуска", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2238. base.Columns.Add(this.columnгод_выпуска);
  2239. this.columnдата_регистрации_в_ГАИ = new global::System.Data.DataColumn("дата регистрации в ГАИ", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2240. base.Columns.Add(this.columnдата_регистрации_в_ГАИ);
  2241. this.columnГОС_номера = new global::System.Data.DataColumn("ГОС номера", typeof(string), null, global::System.Data.MappingType.Element);
  2242. base.Columns.Add(this.columnГОС_номера);
  2243. this.columnНомер_ВУ = new global::System.Data.DataColumn("Номер ВУ", typeof(string), null, global::System.Data.MappingType.Element);
  2244. base.Columns.Add(this.columnНомер_ВУ);
  2245. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2246. this.columnНомер_автомобиля}, true));
  2247. this.columnНомер_автомобиля.AllowDBNull = false;
  2248. this.columnНомер_автомобиля.Unique = true;
  2249. this.columnмарка.MaxLength = 2147483647;
  2250. this.columnмодель.MaxLength = 2147483647;
  2251. this.columnцвет.MaxLength = 2147483647;
  2252. this.columnГОС_номера.MaxLength = 10;
  2253. this.columnНомер_ВУ.MaxLength = 10;
  2254. }
  2255. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2256. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2257. public FordRow NewFordRow() {
  2258. return ((FordRow)(this.NewRow()));
  2259. }
  2260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2261. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2262. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2263. return new FordRow(builder);
  2264. }
  2265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2267. protected override global::System.Type GetRowType() {
  2268. return typeof(FordRow);
  2269. }
  2270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2271. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2272. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2273. base.OnRowChanged(e);
  2274. if ((this.FordRowChanged != null)) {
  2275. this.FordRowChanged(this, new FordRowChangeEvent(((FordRow)(e.Row)), e.Action));
  2276. }
  2277. }
  2278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2279. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2280. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2281. base.OnRowChanging(e);
  2282. if ((this.FordRowChanging != null)) {
  2283. this.FordRowChanging(this, new FordRowChangeEvent(((FordRow)(e.Row)), e.Action));
  2284. }
  2285. }
  2286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2288. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2289. base.OnRowDeleted(e);
  2290. if ((this.FordRowDeleted != null)) {
  2291. this.FordRowDeleted(this, new FordRowChangeEvent(((FordRow)(e.Row)), e.Action));
  2292. }
  2293. }
  2294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2295. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2296. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2297. base.OnRowDeleting(e);
  2298. if ((this.FordRowDeleting != null)) {
  2299. this.FordRowDeleting(this, new FordRowChangeEvent(((FordRow)(e.Row)), e.Action));
  2300. }
  2301. }
  2302. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2303. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2304. public void RemoveFordRow(FordRow row) {
  2305. this.Rows.Remove(row);
  2306. }
  2307. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2308. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2309. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2310. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2311. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2312. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  2313. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2314. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2315. any1.MinOccurs = new decimal(0);
  2316. any1.MaxOccurs = decimal.MaxValue;
  2317. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2318. sequence.Items.Add(any1);
  2319. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2320. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2321. any2.MinOccurs = new decimal(1);
  2322. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2323. sequence.Items.Add(any2);
  2324. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2325. attribute1.Name = "namespace";
  2326. attribute1.FixedValue = ds.Namespace;
  2327. type.Attributes.Add(attribute1);
  2328. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2329. attribute2.Name = "tableTypeName";
  2330. attribute2.FixedValue = "FordDataTable";
  2331. type.Attributes.Add(attribute2);
  2332. type.Particle = sequence;
  2333. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2334. if (xs.Contains(dsSchema.TargetNamespace)) {
  2335. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2336. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2337. try {
  2338. global::System.Xml.Schema.XmlSchema schema = null;
  2339. dsSchema.Write(s1);
  2340. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2341. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2342. s2.SetLength(0);
  2343. schema.Write(s2);
  2344. if ((s1.Length == s2.Length)) {
  2345. s1.Position = 0;
  2346. s2.Position = 0;
  2347. for (; ((s1.Position != s1.Length)
  2348. && (s1.ReadByte() == s2.ReadByte())); ) {
  2349. ;
  2350. }
  2351. if ((s1.Position == s1.Length)) {
  2352. return type;
  2353. }
  2354. }
  2355. }
  2356. }
  2357. finally {
  2358. if ((s1 != null)) {
  2359. s1.Close();
  2360. }
  2361. if ((s2 != null)) {
  2362. s2.Close();
  2363. }
  2364. }
  2365. }
  2366. xs.Add(dsSchema);
  2367. return type;
  2368. }
  2369. }
  2370. /// <summary>
  2371. ///Represents the strongly named DataTable class.
  2372. ///</summary>
  2373. [global::System.Serializable()]
  2374. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2375. public partial class _Взыскания_нарушенияDataTable : global::System.Data.TypedTableBase<_Взыскания_нарушенияRow> {
  2376. private global::System.Data.DataColumn columnШтраф_за_нарушения;
  2377. private global::System.Data.DataColumn columnСрок_лишения_месяц;
  2378. private global::System.Data.DataColumn columnпредупреждение;
  2379. private global::System.Data.DataColumn columnвид_нарушения;
  2380. private global::System.Data.DataColumn columnштраф_за_нарушение;
  2381. private global::System.Data.DataColumn columnдата_нарушения;
  2382. private global::System.Data.DataColumn columnНомер_автомобиля;
  2383. private global::System.Data.DataColumn columnГОС_номер_авто;
  2384. private global::System.Data.DataColumn columnКод_нарушения;
  2385. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2386. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2387. public _Взыскания_нарушенияDataTable() {
  2388. this.TableName = "Взыскания+нарушения";
  2389. this.BeginInit();
  2390. this.InitClass();
  2391. this.EndInit();
  2392. }
  2393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2395. internal _Взыскания_нарушенияDataTable(global::System.Data.DataTable table) {
  2396. this.TableName = table.TableName;
  2397. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2398. this.CaseSensitive = table.CaseSensitive;
  2399. }
  2400. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2401. this.Locale = table.Locale;
  2402. }
  2403. if ((table.Namespace != table.DataSet.Namespace)) {
  2404. this.Namespace = table.Namespace;
  2405. }
  2406. this.Prefix = table.Prefix;
  2407. this.MinimumCapacity = table.MinimumCapacity;
  2408. }
  2409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2410. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2411. protected _Взыскания_нарушенияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2412. base(info, context) {
  2413. this.InitVars();
  2414. }
  2415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2416. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2417. public global::System.Data.DataColumn Штраф_за_нарушенияColumn {
  2418. get {
  2419. return this.columnШтраф_за_нарушения;
  2420. }
  2421. }
  2422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2424. public global::System.Data.DataColumn Срок_лишения_месяцColumn {
  2425. get {
  2426. return this.columnСрок_лишения_месяц;
  2427. }
  2428. }
  2429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2431. public global::System.Data.DataColumn предупреждениеColumn {
  2432. get {
  2433. return this.columnпредупреждение;
  2434. }
  2435. }
  2436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2438. public global::System.Data.DataColumn вид_нарушенияColumn {
  2439. get {
  2440. return this.columnвид_нарушения;
  2441. }
  2442. }
  2443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2445. public global::System.Data.DataColumn штраф_за_нарушениеColumn {
  2446. get {
  2447. return this.columnштраф_за_нарушение;
  2448. }
  2449. }
  2450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2452. public global::System.Data.DataColumn дата_нарушенияColumn {
  2453. get {
  2454. return this.columnдата_нарушения;
  2455. }
  2456. }
  2457. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2458. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2459. public global::System.Data.DataColumn Номер_автомобиляColumn {
  2460. get {
  2461. return this.columnНомер_автомобиля;
  2462. }
  2463. }
  2464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2466. public global::System.Data.DataColumn ГОС_номер_автоColumn {
  2467. get {
  2468. return this.columnГОС_номер_авто;
  2469. }
  2470. }
  2471. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2472. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2473. public global::System.Data.DataColumn Код_нарушенияColumn {
  2474. get {
  2475. return this.columnКод_нарушения;
  2476. }
  2477. }
  2478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2479. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2480. [global::System.ComponentModel.Browsable(false)]
  2481. public int Count {
  2482. get {
  2483. return this.Rows.Count;
  2484. }
  2485. }
  2486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2487. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2488. public _Взыскания_нарушенияRow this[int index] {
  2489. get {
  2490. return ((_Взыскания_нарушенияRow)(this.Rows[index]));
  2491. }
  2492. }
  2493. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2494. public event _Взыскания_нарушенияRowChangeEventHandler _Взыскания_нарушенияRowChanging;
  2495. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2496. public event _Взыскания_нарушенияRowChangeEventHandler _Взыскания_нарушенияRowChanged;
  2497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2498. public event _Взыскания_нарушенияRowChangeEventHandler _Взыскания_нарушенияRowDeleting;
  2499. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2500. public event _Взыскания_нарушенияRowChangeEventHandler _Взыскания_нарушенияRowDeleted;
  2501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2502. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2503. public void Add_Взыскания_нарушенияRow(_Взыскания_нарушенияRow row) {
  2504. this.Rows.Add(row);
  2505. }
  2506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2507. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2508. public _Взыскания_нарушенияRow Add_Взыскания_нарушенияRow(decimal Штраф_за_нарушения, byte Срок_лишения_месяц, bool предупреждение, string вид_нарушения, decimal штраф_за_нарушение, System.DateTime дата_нарушения, long Номер_автомобиля, string ГОС_номер_авто, long Код_нарушения) {
  2509. _Взыскания_нарушенияRow row_Взыскания_нарушенияRow = ((_Взыскания_нарушенияRow)(this.NewRow()));
  2510. object[] columnValuesArray = new object[] {
  2511. Штраф_за_нарушения,
  2512. Срок_лишения_месяц,
  2513. предупреждение,
  2514. вид_нарушения,
  2515. штраф_за_нарушение,
  2516. дата_нарушения,
  2517. Номер_автомобиля,
  2518. ГОС_номер_авто,
  2519. Код_нарушения};
  2520. row_Взыскания_нарушенияRow.ItemArray = columnValuesArray;
  2521. this.Rows.Add(row_Взыскания_нарушенияRow);
  2522. return row_Взыскания_нарушенияRow;
  2523. }
  2524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2526. public _Взыскания_нарушенияRow FindByКод_нарушения(long Код_нарушения) {
  2527. return ((_Взыскания_нарушенияRow)(this.Rows.Find(new object[] {
  2528. Код_нарушения})));
  2529. }
  2530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2532. public override global::System.Data.DataTable Clone() {
  2533. _Взыскания_нарушенияDataTable cln = ((_Взыскания_нарушенияDataTable)(base.Clone()));
  2534. cln.InitVars();
  2535. return cln;
  2536. }
  2537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2539. protected override global::System.Data.DataTable CreateInstance() {
  2540. return new _Взыскания_нарушенияDataTable();
  2541. }
  2542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2544. internal void InitVars() {
  2545. this.columnШтраф_за_нарушения = base.Columns["Штраф за нарушения"];
  2546. this.columnСрок_лишения_месяц = base.Columns["Срок лишения месяц"];
  2547. this.columnпредупреждение = base.Columns["предупреждение"];
  2548. this.columnвид_нарушения = base.Columns["вид нарушения"];
  2549. this.columnштраф_за_нарушение = base.Columns["штраф за нарушение"];
  2550. this.columnдата_нарушения = base.Columns["дата нарушения"];
  2551. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  2552. this.columnГОС_номер_авто = base.Columns["ГОС номер авто"];
  2553. this.columnКод_нарушения = base.Columns["Код нарушения"];
  2554. }
  2555. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2556. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2557. private void InitClass() {
  2558. this.columnШтраф_за_нарушения = new global::System.Data.DataColumn("Штраф за нарушения", typeof(decimal), null, global::System.Data.MappingType.Element);
  2559. base.Columns.Add(this.columnШтраф_за_нарушения);
  2560. this.columnСрок_лишения_месяц = new global::System.Data.DataColumn("Срок лишения месяц", typeof(byte), null, global::System.Data.MappingType.Element);
  2561. base.Columns.Add(this.columnСрок_лишения_месяц);
  2562. this.columnпредупреждение = new global::System.Data.DataColumn("предупреждение", typeof(bool), null, global::System.Data.MappingType.Element);
  2563. base.Columns.Add(this.columnпредупреждение);
  2564. this.columnвид_нарушения = new global::System.Data.DataColumn("вид нарушения", typeof(string), null, global::System.Data.MappingType.Element);
  2565. base.Columns.Add(this.columnвид_нарушения);
  2566. this.columnштраф_за_нарушение = new global::System.Data.DataColumn("штраф за нарушение", typeof(decimal), null, global::System.Data.MappingType.Element);
  2567. base.Columns.Add(this.columnштраф_за_нарушение);
  2568. this.columnдата_нарушения = new global::System.Data.DataColumn("дата нарушения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2569. base.Columns.Add(this.columnдата_нарушения);
  2570. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  2571. base.Columns.Add(this.columnНомер_автомобиля);
  2572. this.columnГОС_номер_авто = new global::System.Data.DataColumn("ГОС номер авто", typeof(string), null, global::System.Data.MappingType.Element);
  2573. base.Columns.Add(this.columnГОС_номер_авто);
  2574. this.columnКод_нарушения = new global::System.Data.DataColumn("Код нарушения", typeof(long), null, global::System.Data.MappingType.Element);
  2575. base.Columns.Add(this.columnКод_нарушения);
  2576. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2577. this.columnКод_нарушения}, true));
  2578. this.columnвид_нарушения.MaxLength = 2147483647;
  2579. this.columnГОС_номер_авто.MaxLength = 10;
  2580. this.columnКод_нарушения.AllowDBNull = false;
  2581. this.columnКод_нарушения.Unique = true;
  2582. this.ExtendedProperties.Add("Generator_TableVarName", "_tableВзыскания_нарушения");
  2583. this.ExtendedProperties.Add("Generator_UserTableName", "Взыскания+нарушения");
  2584. }
  2585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2586. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2587. public _Взыскания_нарушенияRow New_Взыскания_нарушенияRow() {
  2588. return ((_Взыскания_нарушенияRow)(this.NewRow()));
  2589. }
  2590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2591. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2592. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2593. return new _Взыскания_нарушенияRow(builder);
  2594. }
  2595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2596. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2597. protected override global::System.Type GetRowType() {
  2598. return typeof(_Взыскания_нарушенияRow);
  2599. }
  2600. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2601. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2602. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2603. base.OnRowChanged(e);
  2604. if ((this._Взыскания_нарушенияRowChanged != null)) {
  2605. this._Взыскания_нарушенияRowChanged(this, new _Взыскания_нарушенияRowChangeEvent(((_Взыскания_нарушенияRow)(e.Row)), e.Action));
  2606. }
  2607. }
  2608. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2609. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2610. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2611. base.OnRowChanging(e);
  2612. if ((this._Взыскания_нарушенияRowChanging != null)) {
  2613. this._Взыскания_нарушенияRowChanging(this, new _Взыскания_нарушенияRowChangeEvent(((_Взыскания_нарушенияRow)(e.Row)), e.Action));
  2614. }
  2615. }
  2616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2617. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2618. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2619. base.OnRowDeleted(e);
  2620. if ((this._Взыскания_нарушенияRowDeleted != null)) {
  2621. this._Взыскания_нарушенияRowDeleted(this, new _Взыскания_нарушенияRowChangeEvent(((_Взыскания_нарушенияRow)(e.Row)), e.Action));
  2622. }
  2623. }
  2624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2626. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2627. base.OnRowDeleting(e);
  2628. if ((this._Взыскания_нарушенияRowDeleting != null)) {
  2629. this._Взыскания_нарушенияRowDeleting(this, new _Взыскания_нарушенияRowChangeEvent(((_Взыскания_нарушенияRow)(e.Row)), e.Action));
  2630. }
  2631. }
  2632. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2633. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2634. public void Remove_Взыскания_нарушенияRow(_Взыскания_нарушенияRow row) {
  2635. this.Rows.Remove(row);
  2636. }
  2637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2638. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2639. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2640. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2641. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2642. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  2643. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2644. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2645. any1.MinOccurs = new decimal(0);
  2646. any1.MaxOccurs = decimal.MaxValue;
  2647. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2648. sequence.Items.Add(any1);
  2649. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2650. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2651. any2.MinOccurs = new decimal(1);
  2652. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2653. sequence.Items.Add(any2);
  2654. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2655. attribute1.Name = "namespace";
  2656. attribute1.FixedValue = ds.Namespace;
  2657. type.Attributes.Add(attribute1);
  2658. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2659. attribute2.Name = "tableTypeName";
  2660. attribute2.FixedValue = "_Взыскания_нарушенияDataTable";
  2661. type.Attributes.Add(attribute2);
  2662. type.Particle = sequence;
  2663. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2664. if (xs.Contains(dsSchema.TargetNamespace)) {
  2665. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2666. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2667. try {
  2668. global::System.Xml.Schema.XmlSchema schema = null;
  2669. dsSchema.Write(s1);
  2670. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2671. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2672. s2.SetLength(0);
  2673. schema.Write(s2);
  2674. if ((s1.Length == s2.Length)) {
  2675. s1.Position = 0;
  2676. s2.Position = 0;
  2677. for (; ((s1.Position != s1.Length)
  2678. && (s1.ReadByte() == s2.ReadByte())); ) {
  2679. ;
  2680. }
  2681. if ((s1.Position == s1.Length)) {
  2682. return type;
  2683. }
  2684. }
  2685. }
  2686. }
  2687. finally {
  2688. if ((s1 != null)) {
  2689. s1.Close();
  2690. }
  2691. if ((s2 != null)) {
  2692. s2.Close();
  2693. }
  2694. }
  2695. }
  2696. xs.Add(dsSchema);
  2697. return type;
  2698. }
  2699. }
  2700. /// <summary>
  2701. ///Represents the strongly named DataTable class.
  2702. ///</summary>
  2703. [global::System.Serializable()]
  2704. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2705. public partial class _Водители__автомобильDataTable : global::System.Data.TypedTableBase<_Водители__автомобильRow> {
  2706. private global::System.Data.DataColumn columnмарка;
  2707. private global::System.Data.DataColumn columnмодель;
  2708. private global::System.Data.DataColumn columnцвет;
  2709. private global::System.Data.DataColumn columnгод_выпуска;
  2710. private global::System.Data.DataColumn columnдата_регистрации_в_ГАИ;
  2711. private global::System.Data.DataColumn columnГОС_номера;
  2712. private global::System.Data.DataColumn columnНомер_ВУ;
  2713. private global::System.Data.DataColumn columnФамилия;
  2714. private global::System.Data.DataColumn columnИмя;
  2715. private global::System.Data.DataColumn columnОтчество;
  2716. private global::System.Data.DataColumn columnАдрес;
  2717. private global::System.Data.DataColumn columnТелефон;
  2718. private global::System.Data.DataColumn columnНомер_автомобиля;
  2719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2720. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2721. public _Водители__автомобильDataTable() {
  2722. this.TableName = "Водители+ автомобиль";
  2723. this.BeginInit();
  2724. this.InitClass();
  2725. this.EndInit();
  2726. }
  2727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2729. internal _Водители__автомобильDataTable(global::System.Data.DataTable table) {
  2730. this.TableName = table.TableName;
  2731. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2732. this.CaseSensitive = table.CaseSensitive;
  2733. }
  2734. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2735. this.Locale = table.Locale;
  2736. }
  2737. if ((table.Namespace != table.DataSet.Namespace)) {
  2738. this.Namespace = table.Namespace;
  2739. }
  2740. this.Prefix = table.Prefix;
  2741. this.MinimumCapacity = table.MinimumCapacity;
  2742. }
  2743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2744. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2745. protected _Водители__автомобильDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2746. base(info, context) {
  2747. this.InitVars();
  2748. }
  2749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2750. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2751. public global::System.Data.DataColumn маркаColumn {
  2752. get {
  2753. return this.columnмарка;
  2754. }
  2755. }
  2756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2757. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2758. public global::System.Data.DataColumn модельColumn {
  2759. get {
  2760. return this.columnмодель;
  2761. }
  2762. }
  2763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2764. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2765. public global::System.Data.DataColumn цветColumn {
  2766. get {
  2767. return this.columnцвет;
  2768. }
  2769. }
  2770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2772. public global::System.Data.DataColumn год_выпускаColumn {
  2773. get {
  2774. return this.columnгод_выпуска;
  2775. }
  2776. }
  2777. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2778. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2779. public global::System.Data.DataColumn дата_регистрации_в_ГАИColumn {
  2780. get {
  2781. return this.columnдата_регистрации_в_ГАИ;
  2782. }
  2783. }
  2784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2785. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2786. public global::System.Data.DataColumn ГОС_номераColumn {
  2787. get {
  2788. return this.columnГОС_номера;
  2789. }
  2790. }
  2791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2792. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2793. public global::System.Data.DataColumn Номер_ВУColumn {
  2794. get {
  2795. return this.columnНомер_ВУ;
  2796. }
  2797. }
  2798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2799. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2800. public global::System.Data.DataColumn ФамилияColumn {
  2801. get {
  2802. return this.columnФамилия;
  2803. }
  2804. }
  2805. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2806. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2807. public global::System.Data.DataColumn ИмяColumn {
  2808. get {
  2809. return this.columnИмя;
  2810. }
  2811. }
  2812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2813. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2814. public global::System.Data.DataColumn ОтчествоColumn {
  2815. get {
  2816. return this.columnОтчество;
  2817. }
  2818. }
  2819. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2820. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2821. public global::System.Data.DataColumn АдресColumn {
  2822. get {
  2823. return this.columnАдрес;
  2824. }
  2825. }
  2826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2827. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2828. public global::System.Data.DataColumn ТелефонColumn {
  2829. get {
  2830. return this.columnТелефон;
  2831. }
  2832. }
  2833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2835. public global::System.Data.DataColumn Номер_автомобиляColumn {
  2836. get {
  2837. return this.columnНомер_автомобиля;
  2838. }
  2839. }
  2840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2842. [global::System.ComponentModel.Browsable(false)]
  2843. public int Count {
  2844. get {
  2845. return this.Rows.Count;
  2846. }
  2847. }
  2848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2850. public _Водители__автомобильRow this[int index] {
  2851. get {
  2852. return ((_Водители__автомобильRow)(this.Rows[index]));
  2853. }
  2854. }
  2855. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2856. public event _Водители__автомобильRowChangeEventHandler _Водители__автомобильRowChanging;
  2857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2858. public event _Водители__автомобильRowChangeEventHandler _Водители__автомобильRowChanged;
  2859. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2860. public event _Водители__автомобильRowChangeEventHandler _Водители__автомобильRowDeleting;
  2861. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2862. public event _Водители__автомобильRowChangeEventHandler _Водители__автомобильRowDeleted;
  2863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2865. public void Add_Водители__автомобильRow(_Водители__автомобильRow row) {
  2866. this.Rows.Add(row);
  2867. }
  2868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2870. public _Водители__автомобильRow Add_Водители__автомобильRow(string марка, string модель, string цвет, System.DateTime год_выпуска, System.DateTime дата_регистрации_в_ГАИ, string ГОС_номера, string Номер_ВУ, string Фамилия, string Имя, string Отчество, string Адрес, string Телефон, long Номер_автомобиля) {
  2871. _Водители__автомобильRow row_Водители__автомобильRow = ((_Водители__автомобильRow)(this.NewRow()));
  2872. object[] columnValuesArray = new object[] {
  2873. марка,
  2874. модель,
  2875. цвет,
  2876. год_выпуска,
  2877. дата_регистрации_в_ГАИ,
  2878. ГОС_номера,
  2879. Номер_ВУ,
  2880. Фамилия,
  2881. Имя,
  2882. Отчество,
  2883. Адрес,
  2884. Телефон,
  2885. Номер_автомобиля};
  2886. row_Водители__автомобильRow.ItemArray = columnValuesArray;
  2887. this.Rows.Add(row_Водители__автомобильRow);
  2888. return row_Водители__автомобильRow;
  2889. }
  2890. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2891. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2892. public _Водители__автомобильRow FindByНомер_автомобиля(long Номер_автомобиля) {
  2893. return ((_Водители__автомобильRow)(this.Rows.Find(new object[] {
  2894. Номер_автомобиля})));
  2895. }
  2896. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2897. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2898. public override global::System.Data.DataTable Clone() {
  2899. _Водители__автомобильDataTable cln = ((_Водители__автомобильDataTable)(base.Clone()));
  2900. cln.InitVars();
  2901. return cln;
  2902. }
  2903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2905. protected override global::System.Data.DataTable CreateInstance() {
  2906. return new _Водители__автомобильDataTable();
  2907. }
  2908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2910. internal void InitVars() {
  2911. this.columnмарка = base.Columns["марка"];
  2912. this.columnмодель = base.Columns["модель"];
  2913. this.columnцвет = base.Columns["цвет"];
  2914. this.columnгод_выпуска = base.Columns["год выпуска"];
  2915. this.columnдата_регистрации_в_ГАИ = base.Columns["дата регистрации в ГАИ"];
  2916. this.columnГОС_номера = base.Columns["ГОС номера"];
  2917. this.columnНомер_ВУ = base.Columns["Номер ВУ"];
  2918. this.columnФамилия = base.Columns["Фамилия"];
  2919. this.columnИмя = base.Columns["Имя"];
  2920. this.columnОтчество = base.Columns["Отчество"];
  2921. this.columnАдрес = base.Columns["Адрес"];
  2922. this.columnТелефон = base.Columns["Телефон"];
  2923. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  2924. }
  2925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2926. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2927. private void InitClass() {
  2928. this.columnмарка = new global::System.Data.DataColumn("марка", typeof(string), null, global::System.Data.MappingType.Element);
  2929. base.Columns.Add(this.columnмарка);
  2930. this.columnмодель = new global::System.Data.DataColumn("модель", typeof(string), null, global::System.Data.MappingType.Element);
  2931. base.Columns.Add(this.columnмодель);
  2932. this.columnцвет = new global::System.Data.DataColumn("цвет", typeof(string), null, global::System.Data.MappingType.Element);
  2933. base.Columns.Add(this.columnцвет);
  2934. this.columnгод_выпуска = new global::System.Data.DataColumn("год выпуска", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2935. base.Columns.Add(this.columnгод_выпуска);
  2936. this.columnдата_регистрации_в_ГАИ = new global::System.Data.DataColumn("дата регистрации в ГАИ", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2937. base.Columns.Add(this.columnдата_регистрации_в_ГАИ);
  2938. this.columnГОС_номера = new global::System.Data.DataColumn("ГОС номера", typeof(string), null, global::System.Data.MappingType.Element);
  2939. base.Columns.Add(this.columnГОС_номера);
  2940. this.columnНомер_ВУ = new global::System.Data.DataColumn("Номер ВУ", typeof(string), null, global::System.Data.MappingType.Element);
  2941. base.Columns.Add(this.columnНомер_ВУ);
  2942. this.columnФамилия = new global::System.Data.DataColumn("Фамилия", typeof(string), null, global::System.Data.MappingType.Element);
  2943. base.Columns.Add(this.columnФамилия);
  2944. this.columnИмя = new global::System.Data.DataColumn("Имя", typeof(string), null, global::System.Data.MappingType.Element);
  2945. base.Columns.Add(this.columnИмя);
  2946. this.columnОтчество = new global::System.Data.DataColumn("Отчество", typeof(string), null, global::System.Data.MappingType.Element);
  2947. base.Columns.Add(this.columnОтчество);
  2948. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  2949. base.Columns.Add(this.columnАдрес);
  2950. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  2951. base.Columns.Add(this.columnТелефон);
  2952. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  2953. base.Columns.Add(this.columnНомер_автомобиля);
  2954. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2955. this.columnНомер_автомобиля}, true));
  2956. this.columnмарка.MaxLength = 2147483647;
  2957. this.columnмодель.MaxLength = 2147483647;
  2958. this.columnцвет.MaxLength = 2147483647;
  2959. this.columnГОС_номера.MaxLength = 10;
  2960. this.columnНомер_ВУ.MaxLength = 10;
  2961. this.columnФамилия.MaxLength = 2147483647;
  2962. this.columnИмя.MaxLength = 2147483647;
  2963. this.columnОтчество.MaxLength = 2147483647;
  2964. this.columnАдрес.MaxLength = 2147483647;
  2965. this.columnТелефон.MaxLength = 2147483647;
  2966. this.columnНомер_автомобиля.AllowDBNull = false;
  2967. this.columnНомер_автомобиля.Unique = true;
  2968. this.ExtendedProperties.Add("Generator_TableVarName", "_tableВодители__автомобиль");
  2969. this.ExtendedProperties.Add("Generator_UserTableName", "Водители+ автомобиль");
  2970. }
  2971. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2972. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2973. public _Водители__автомобильRow New_Водители__автомобильRow() {
  2974. return ((_Водители__автомобильRow)(this.NewRow()));
  2975. }
  2976. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2977. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2978. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2979. return new _Водители__автомобильRow(builder);
  2980. }
  2981. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2982. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2983. protected override global::System.Type GetRowType() {
  2984. return typeof(_Водители__автомобильRow);
  2985. }
  2986. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2987. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2988. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2989. base.OnRowChanged(e);
  2990. if ((this._Водители__автомобильRowChanged != null)) {
  2991. this._Водители__автомобильRowChanged(this, new _Водители__автомобильRowChangeEvent(((_Водители__автомобильRow)(e.Row)), e.Action));
  2992. }
  2993. }
  2994. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2995. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2996. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2997. base.OnRowChanging(e);
  2998. if ((this._Водители__автомобильRowChanging != null)) {
  2999. this._Водители__автомобильRowChanging(this, new _Водители__автомобильRowChangeEvent(((_Водители__автомобильRow)(e.Row)), e.Action));
  3000. }
  3001. }
  3002. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3003. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3004. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3005. base.OnRowDeleted(e);
  3006. if ((this._Водители__автомобильRowDeleted != null)) {
  3007. this._Водители__автомобильRowDeleted(this, new _Водители__автомобильRowChangeEvent(((_Водители__автомобильRow)(e.Row)), e.Action));
  3008. }
  3009. }
  3010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3011. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3012. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3013. base.OnRowDeleting(e);
  3014. if ((this._Водители__автомобильRowDeleting != null)) {
  3015. this._Водители__автомобильRowDeleting(this, new _Водители__автомобильRowChangeEvent(((_Водители__автомобильRow)(e.Row)), e.Action));
  3016. }
  3017. }
  3018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3019. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3020. public void Remove_Водители__автомобильRow(_Водители__автомобильRow row) {
  3021. this.Rows.Remove(row);
  3022. }
  3023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3024. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3025. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3026. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3027. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3028. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  3029. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3030. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3031. any1.MinOccurs = new decimal(0);
  3032. any1.MaxOccurs = decimal.MaxValue;
  3033. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3034. sequence.Items.Add(any1);
  3035. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3036. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3037. any2.MinOccurs = new decimal(1);
  3038. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3039. sequence.Items.Add(any2);
  3040. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3041. attribute1.Name = "namespace";
  3042. attribute1.FixedValue = ds.Namespace;
  3043. type.Attributes.Add(attribute1);
  3044. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3045. attribute2.Name = "tableTypeName";
  3046. attribute2.FixedValue = "_Водители__автомобильDataTable";
  3047. type.Attributes.Add(attribute2);
  3048. type.Particle = sequence;
  3049. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3050. if (xs.Contains(dsSchema.TargetNamespace)) {
  3051. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3052. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3053. try {
  3054. global::System.Xml.Schema.XmlSchema schema = null;
  3055. dsSchema.Write(s1);
  3056. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3057. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3058. s2.SetLength(0);
  3059. schema.Write(s2);
  3060. if ((s1.Length == s2.Length)) {
  3061. s1.Position = 0;
  3062. s2.Position = 0;
  3063. for (; ((s1.Position != s1.Length)
  3064. && (s1.ReadByte() == s2.ReadByte())); ) {
  3065. ;
  3066. }
  3067. if ((s1.Position == s1.Length)) {
  3068. return type;
  3069. }
  3070. }
  3071. }
  3072. }
  3073. finally {
  3074. if ((s1 != null)) {
  3075. s1.Close();
  3076. }
  3077. if ((s2 != null)) {
  3078. s2.Close();
  3079. }
  3080. }
  3081. }
  3082. xs.Add(dsSchema);
  3083. return type;
  3084. }
  3085. }
  3086. /// <summary>
  3087. ///Represents the strongly named DataTable class.
  3088. ///</summary>
  3089. [global::System.Serializable()]
  3090. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3091. public partial class Лишены_праваDataTable : global::System.Data.TypedTableBase<Лишены_праваRow> {
  3092. private global::System.Data.DataColumn columnпредупреждение;
  3093. private global::System.Data.DataColumn columnКод_нарушения;
  3094. private global::System.Data.DataColumn columnСрок_лишения_месяц;
  3095. private global::System.Data.DataColumn columnШтраф_за_нарушения;
  3096. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3097. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3098. public Лишены_праваDataTable() {
  3099. this.TableName = "Лишены права";
  3100. this.BeginInit();
  3101. this.InitClass();
  3102. this.EndInit();
  3103. }
  3104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3106. internal Лишены_праваDataTable(global::System.Data.DataTable table) {
  3107. this.TableName = table.TableName;
  3108. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3109. this.CaseSensitive = table.CaseSensitive;
  3110. }
  3111. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3112. this.Locale = table.Locale;
  3113. }
  3114. if ((table.Namespace != table.DataSet.Namespace)) {
  3115. this.Namespace = table.Namespace;
  3116. }
  3117. this.Prefix = table.Prefix;
  3118. this.MinimumCapacity = table.MinimumCapacity;
  3119. }
  3120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3121. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3122. protected Лишены_праваDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3123. base(info, context) {
  3124. this.InitVars();
  3125. }
  3126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3127. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3128. public global::System.Data.DataColumn предупреждениеColumn {
  3129. get {
  3130. return this.columnпредупреждение;
  3131. }
  3132. }
  3133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3134. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3135. public global::System.Data.DataColumn Код_нарушенияColumn {
  3136. get {
  3137. return this.columnКод_нарушения;
  3138. }
  3139. }
  3140. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3141. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3142. public global::System.Data.DataColumn Срок_лишения_месяцColumn {
  3143. get {
  3144. return this.columnСрок_лишения_месяц;
  3145. }
  3146. }
  3147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3149. public global::System.Data.DataColumn Штраф_за_нарушенияColumn {
  3150. get {
  3151. return this.columnШтраф_за_нарушения;
  3152. }
  3153. }
  3154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3156. [global::System.ComponentModel.Browsable(false)]
  3157. public int Count {
  3158. get {
  3159. return this.Rows.Count;
  3160. }
  3161. }
  3162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3163. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3164. public Лишены_праваRow this[int index] {
  3165. get {
  3166. return ((Лишены_праваRow)(this.Rows[index]));
  3167. }
  3168. }
  3169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3170. public event Лишены_праваRowChangeEventHandler Лишены_праваRowChanging;
  3171. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3172. public event Лишены_праваRowChangeEventHandler Лишены_праваRowChanged;
  3173. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3174. public event Лишены_праваRowChangeEventHandler Лишены_праваRowDeleting;
  3175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3176. public event Лишены_праваRowChangeEventHandler Лишены_праваRowDeleted;
  3177. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3178. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3179. public void AddЛишены_праваRow(Лишены_праваRow row) {
  3180. this.Rows.Add(row);
  3181. }
  3182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3183. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3184. public Лишены_праваRow AddЛишены_праваRow(bool предупреждение, long Код_нарушения, byte Срок_лишения_месяц, decimal Штраф_за_нарушения) {
  3185. Лишены_праваRow rowЛишены_праваRow = ((Лишены_праваRow)(this.NewRow()));
  3186. object[] columnValuesArray = new object[] {
  3187. предупреждение,
  3188. Код_нарушения,
  3189. Срок_лишения_месяц,
  3190. Штраф_за_нарушения};
  3191. rowЛишены_праваRow.ItemArray = columnValuesArray;
  3192. this.Rows.Add(rowЛишены_праваRow);
  3193. return rowЛишены_праваRow;
  3194. }
  3195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3196. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3197. public Лишены_праваRow FindByКод_нарушения(long Код_нарушения) {
  3198. return ((Лишены_праваRow)(this.Rows.Find(new object[] {
  3199. Код_нарушения})));
  3200. }
  3201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3202. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3203. public override global::System.Data.DataTable Clone() {
  3204. Лишены_праваDataTable cln = ((Лишены_праваDataTable)(base.Clone()));
  3205. cln.InitVars();
  3206. return cln;
  3207. }
  3208. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3209. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3210. protected override global::System.Data.DataTable CreateInstance() {
  3211. return new Лишены_праваDataTable();
  3212. }
  3213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3214. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3215. internal void InitVars() {
  3216. this.columnпредупреждение = base.Columns["предупреждение"];
  3217. this.columnКод_нарушения = base.Columns["Код нарушения"];
  3218. this.columnСрок_лишения_месяц = base.Columns["Срок лишения месяц"];
  3219. this.columnШтраф_за_нарушения = base.Columns["Штраф за нарушения"];
  3220. }
  3221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3223. private void InitClass() {
  3224. this.columnпредупреждение = new global::System.Data.DataColumn("предупреждение", typeof(bool), null, global::System.Data.MappingType.Element);
  3225. base.Columns.Add(this.columnпредупреждение);
  3226. this.columnКод_нарушения = new global::System.Data.DataColumn("Код нарушения", typeof(long), null, global::System.Data.MappingType.Element);
  3227. base.Columns.Add(this.columnКод_нарушения);
  3228. this.columnСрок_лишения_месяц = new global::System.Data.DataColumn("Срок лишения месяц", typeof(byte), null, global::System.Data.MappingType.Element);
  3229. base.Columns.Add(this.columnСрок_лишения_месяц);
  3230. this.columnШтраф_за_нарушения = new global::System.Data.DataColumn("Штраф за нарушения", typeof(decimal), null, global::System.Data.MappingType.Element);
  3231. base.Columns.Add(this.columnШтраф_за_нарушения);
  3232. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  3233. this.columnКод_нарушения}, true));
  3234. this.columnКод_нарушения.AllowDBNull = false;
  3235. this.columnКод_нарушения.Unique = true;
  3236. }
  3237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3239. public Лишены_праваRow NewЛишены_праваRow() {
  3240. return ((Лишены_праваRow)(this.NewRow()));
  3241. }
  3242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3243. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3244. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3245. return new Лишены_праваRow(builder);
  3246. }
  3247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3249. protected override global::System.Type GetRowType() {
  3250. return typeof(Лишены_праваRow);
  3251. }
  3252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3254. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3255. base.OnRowChanged(e);
  3256. if ((this.Лишены_праваRowChanged != null)) {
  3257. this.Лишены_праваRowChanged(this, new Лишены_праваRowChangeEvent(((Лишены_праваRow)(e.Row)), e.Action));
  3258. }
  3259. }
  3260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3261. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3262. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3263. base.OnRowChanging(e);
  3264. if ((this.Лишены_праваRowChanging != null)) {
  3265. this.Лишены_праваRowChanging(this, new Лишены_праваRowChangeEvent(((Лишены_праваRow)(e.Row)), e.Action));
  3266. }
  3267. }
  3268. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3269. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3270. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3271. base.OnRowDeleted(e);
  3272. if ((this.Лишены_праваRowDeleted != null)) {
  3273. this.Лишены_праваRowDeleted(this, new Лишены_праваRowChangeEvent(((Лишены_праваRow)(e.Row)), e.Action));
  3274. }
  3275. }
  3276. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3277. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3278. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3279. base.OnRowDeleting(e);
  3280. if ((this.Лишены_праваRowDeleting != null)) {
  3281. this.Лишены_праваRowDeleting(this, new Лишены_праваRowChangeEvent(((Лишены_праваRow)(e.Row)), e.Action));
  3282. }
  3283. }
  3284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3286. public void RemoveЛишены_праваRow(Лишены_праваRow row) {
  3287. this.Rows.Remove(row);
  3288. }
  3289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3291. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3292. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3293. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3294. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  3295. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3296. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3297. any1.MinOccurs = new decimal(0);
  3298. any1.MaxOccurs = decimal.MaxValue;
  3299. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3300. sequence.Items.Add(any1);
  3301. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3302. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3303. any2.MinOccurs = new decimal(1);
  3304. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3305. sequence.Items.Add(any2);
  3306. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3307. attribute1.Name = "namespace";
  3308. attribute1.FixedValue = ds.Namespace;
  3309. type.Attributes.Add(attribute1);
  3310. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3311. attribute2.Name = "tableTypeName";
  3312. attribute2.FixedValue = "Лишены_праваDataTable";
  3313. type.Attributes.Add(attribute2);
  3314. type.Particle = sequence;
  3315. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3316. if (xs.Contains(dsSchema.TargetNamespace)) {
  3317. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3318. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3319. try {
  3320. global::System.Xml.Schema.XmlSchema schema = null;
  3321. dsSchema.Write(s1);
  3322. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3323. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3324. s2.SetLength(0);
  3325. schema.Write(s2);
  3326. if ((s1.Length == s2.Length)) {
  3327. s1.Position = 0;
  3328. s2.Position = 0;
  3329. for (; ((s1.Position != s1.Length)
  3330. && (s1.ReadByte() == s2.ReadByte())); ) {
  3331. ;
  3332. }
  3333. if ((s1.Position == s1.Length)) {
  3334. return type;
  3335. }
  3336. }
  3337. }
  3338. }
  3339. finally {
  3340. if ((s1 != null)) {
  3341. s1.Close();
  3342. }
  3343. if ((s2 != null)) {
  3344. s2.Close();
  3345. }
  3346. }
  3347. }
  3348. xs.Add(dsSchema);
  3349. return type;
  3350. }
  3351. }
  3352. /// <summary>
  3353. ///Represents the strongly named DataTable class.
  3354. ///</summary>
  3355. [global::System.Serializable()]
  3356. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3357. public partial class Нарушения_за_сентябрь_2023DataTable : global::System.Data.TypedTableBase<Нарушения_за_сентябрь_2023Row> {
  3358. private global::System.Data.DataColumn columnКод_нарушения;
  3359. private global::System.Data.DataColumn columnвид_нарушения;
  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 Нарушения_за_сентябрь_2023DataTable() {
  3367. this.TableName = "Нарушения за сентябрь 2023";
  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 Нарушения_за_сентябрь_2023DataTable(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 Нарушения_за_сентябрь_2023DataTable(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. public global::System.Data.DataColumn ГОС_номер_автоColumn {
  3425. get {
  3426. return this.columnГОС_номер_авто;
  3427. }
  3428. }
  3429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3431. public global::System.Data.DataColumn Номер_автомобиляColumn {
  3432. get {
  3433. return this.columnНомер_автомобиля;
  3434. }
  3435. }
  3436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3438. [global::System.ComponentModel.Browsable(false)]
  3439. public int Count {
  3440. get {
  3441. return this.Rows.Count;
  3442. }
  3443. }
  3444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3446. public Нарушения_за_сентябрь_2023Row this[int index] {
  3447. get {
  3448. return ((Нарушения_за_сентябрь_2023Row)(this.Rows[index]));
  3449. }
  3450. }
  3451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3452. public event Нарушения_за_сентябрь_2023RowChangeEventHandler Нарушения_за_сентябрь_2023RowChanging;
  3453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3454. public event Нарушения_за_сентябрь_2023RowChangeEventHandler Нарушения_за_сентябрь_2023RowChanged;
  3455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3456. public event Нарушения_за_сентябрь_2023RowChangeEventHandler Нарушения_за_сентябрь_2023RowDeleting;
  3457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3458. public event Нарушения_за_сентябрь_2023RowChangeEventHandler Нарушения_за_сентябрь_2023RowDeleted;
  3459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3461. public void AddНарушения_за_сентябрь_2023Row(Нарушения_за_сентябрь_2023Row row) {
  3462. this.Rows.Add(row);
  3463. }
  3464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3466. public Нарушения_за_сентябрь_2023Row AddНарушения_за_сентябрь_2023Row(long Код_нарушения, string вид_нарушения, decimal штраф_за_нарушение, System.DateTime дата_нарушения, string ГОС_номер_авто, long Номер_автомобиля) {
  3467. Нарушения_за_сентябрь_2023Row rowНарушения_за_сентябрь_2023Row = ((Нарушения_за_сентябрь_2023Row)(this.NewRow()));
  3468. object[] columnValuesArray = new object[] {
  3469. Код_нарушения,
  3470. вид_нарушения,
  3471. штраф_за_нарушение,
  3472. дата_нарушения,
  3473. ГОС_номер_авто,
  3474. Номер_автомобиля};
  3475. rowНарушения_за_сентябрь_2023Row.ItemArray = columnValuesArray;
  3476. this.Rows.Add(rowНарушения_за_сентябрь_2023Row);
  3477. return rowНарушения_за_сентябрь_2023Row;
  3478. }
  3479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3481. public Нарушения_за_сентябрь_2023Row FindByКод_нарушения(long Код_нарушения) {
  3482. return ((Нарушения_за_сентябрь_2023Row)(this.Rows.Find(new object[] {
  3483. Код_нарушения})));
  3484. }
  3485. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3486. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3487. public override global::System.Data.DataTable Clone() {
  3488. Нарушения_за_сентябрь_2023DataTable cln = ((Нарушения_за_сентябрь_2023DataTable)(base.Clone()));
  3489. cln.InitVars();
  3490. return cln;
  3491. }
  3492. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3493. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3494. protected override global::System.Data.DataTable CreateInstance() {
  3495. return new Нарушения_за_сентябрь_2023DataTable();
  3496. }
  3497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3498. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3499. internal void InitVars() {
  3500. this.columnКод_нарушения = base.Columns["Код нарушения"];
  3501. this.columnвид_нарушения = base.Columns["вид нарушения"];
  3502. this.columnштраф_за_нарушение = base.Columns["штраф за нарушение"];
  3503. this.columnдата_нарушения = base.Columns["дата нарушения"];
  3504. this.columnГОС_номер_авто = base.Columns["ГОС номер авто"];
  3505. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  3506. }
  3507. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3508. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3509. private void InitClass() {
  3510. this.columnКод_нарушения = new global::System.Data.DataColumn("Код нарушения", typeof(long), null, global::System.Data.MappingType.Element);
  3511. base.Columns.Add(this.columnКод_нарушения);
  3512. this.columnвид_нарушения = new global::System.Data.DataColumn("вид нарушения", typeof(string), null, global::System.Data.MappingType.Element);
  3513. base.Columns.Add(this.columnвид_нарушения);
  3514. this.columnштраф_за_нарушение = new global::System.Data.DataColumn("штраф за нарушение", typeof(decimal), null, global::System.Data.MappingType.Element);
  3515. base.Columns.Add(this.columnштраф_за_нарушение);
  3516. this.columnдата_нарушения = new global::System.Data.DataColumn("дата нарушения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3517. base.Columns.Add(this.columnдата_нарушения);
  3518. this.columnГОС_номер_авто = new global::System.Data.DataColumn("ГОС номер авто", typeof(string), null, global::System.Data.MappingType.Element);
  3519. base.Columns.Add(this.columnГОС_номер_авто);
  3520. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  3521. base.Columns.Add(this.columnНомер_автомобиля);
  3522. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  3523. this.columnКод_нарушения}, true));
  3524. this.columnКод_нарушения.AllowDBNull = false;
  3525. this.columnКод_нарушения.Unique = true;
  3526. this.columnвид_нарушения.MaxLength = 2147483647;
  3527. this.columnГОС_номер_авто.MaxLength = 10;
  3528. }
  3529. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3530. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3531. public Нарушения_за_сентябрь_2023Row NewНарушения_за_сентябрь_2023Row() {
  3532. return ((Нарушения_за_сентябрь_2023Row)(this.NewRow()));
  3533. }
  3534. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3535. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3536. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3537. return new Нарушения_за_сентябрь_2023Row(builder);
  3538. }
  3539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3540. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3541. protected override global::System.Type GetRowType() {
  3542. return typeof(Нарушения_за_сентябрь_2023Row);
  3543. }
  3544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3546. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3547. base.OnRowChanged(e);
  3548. if ((this.Нарушения_за_сентябрь_2023RowChanged != null)) {
  3549. this.Нарушения_за_сентябрь_2023RowChanged(this, new Нарушения_за_сентябрь_2023RowChangeEvent(((Нарушения_за_сентябрь_2023Row)(e.Row)), e.Action));
  3550. }
  3551. }
  3552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3554. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3555. base.OnRowChanging(e);
  3556. if ((this.Нарушения_за_сентябрь_2023RowChanging != null)) {
  3557. this.Нарушения_за_сентябрь_2023RowChanging(this, new Нарушения_за_сентябрь_2023RowChangeEvent(((Нарушения_за_сентябрь_2023Row)(e.Row)), e.Action));
  3558. }
  3559. }
  3560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3561. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3562. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3563. base.OnRowDeleted(e);
  3564. if ((this.Нарушения_за_сентябрь_2023RowDeleted != null)) {
  3565. this.Нарушения_за_сентябрь_2023RowDeleted(this, new Нарушения_за_сентябрь_2023RowChangeEvent(((Нарушения_за_сентябрь_2023Row)(e.Row)), e.Action));
  3566. }
  3567. }
  3568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3570. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3571. base.OnRowDeleting(e);
  3572. if ((this.Нарушения_за_сентябрь_2023RowDeleting != null)) {
  3573. this.Нарушения_за_сентябрь_2023RowDeleting(this, new Нарушения_за_сентябрь_2023RowChangeEvent(((Нарушения_за_сентябрь_2023Row)(e.Row)), e.Action));
  3574. }
  3575. }
  3576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3577. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3578. public void RemoveНарушения_за_сентябрь_2023Row(Нарушения_за_сентябрь_2023Row row) {
  3579. this.Rows.Remove(row);
  3580. }
  3581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3583. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3584. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3585. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3586. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  3587. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3588. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3589. any1.MinOccurs = new decimal(0);
  3590. any1.MaxOccurs = decimal.MaxValue;
  3591. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3592. sequence.Items.Add(any1);
  3593. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3594. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3595. any2.MinOccurs = new decimal(1);
  3596. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3597. sequence.Items.Add(any2);
  3598. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3599. attribute1.Name = "namespace";
  3600. attribute1.FixedValue = ds.Namespace;
  3601. type.Attributes.Add(attribute1);
  3602. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3603. attribute2.Name = "tableTypeName";
  3604. attribute2.FixedValue = "Нарушения_за_сентябрь_2023DataTable";
  3605. type.Attributes.Add(attribute2);
  3606. type.Particle = sequence;
  3607. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3608. if (xs.Contains(dsSchema.TargetNamespace)) {
  3609. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3610. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3611. try {
  3612. global::System.Xml.Schema.XmlSchema schema = null;
  3613. dsSchema.Write(s1);
  3614. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3615. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3616. s2.SetLength(0);
  3617. schema.Write(s2);
  3618. if ((s1.Length == s2.Length)) {
  3619. s1.Position = 0;
  3620. s2.Position = 0;
  3621. for (; ((s1.Position != s1.Length)
  3622. && (s1.ReadByte() == s2.ReadByte())); ) {
  3623. ;
  3624. }
  3625. if ((s1.Position == s1.Length)) {
  3626. return type;
  3627. }
  3628. }
  3629. }
  3630. }
  3631. finally {
  3632. if ((s1 != null)) {
  3633. s1.Close();
  3634. }
  3635. if ((s2 != null)) {
  3636. s2.Close();
  3637. }
  3638. }
  3639. }
  3640. xs.Add(dsSchema);
  3641. return type;
  3642. }
  3643. }
  3644. /// <summary>
  3645. ///Represents the strongly named DataTable class.
  3646. ///</summary>
  3647. [global::System.Serializable()]
  3648. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3649. public partial class фильтр_нарушениеDataTable : global::System.Data.TypedTableBase<фильтр_нарушениеRow> {
  3650. private global::System.Data.DataColumn columnКод_нарушения;
  3651. private global::System.Data.DataColumn columnвид_нарушения;
  3652. private global::System.Data.DataColumn columnштраф_за_нарушение;
  3653. private global::System.Data.DataColumn columnдата_нарушения;
  3654. private global::System.Data.DataColumn columnНомер_автомобиля;
  3655. private global::System.Data.DataColumn columnГОС_номер_авто;
  3656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3657. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3658. public фильтр_нарушениеDataTable() {
  3659. this.TableName = "фильтр нарушение";
  3660. this.BeginInit();
  3661. this.InitClass();
  3662. this.EndInit();
  3663. }
  3664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3665. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3666. internal фильтр_нарушениеDataTable(global::System.Data.DataTable table) {
  3667. this.TableName = table.TableName;
  3668. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3669. this.CaseSensitive = table.CaseSensitive;
  3670. }
  3671. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3672. this.Locale = table.Locale;
  3673. }
  3674. if ((table.Namespace != table.DataSet.Namespace)) {
  3675. this.Namespace = table.Namespace;
  3676. }
  3677. this.Prefix = table.Prefix;
  3678. this.MinimumCapacity = table.MinimumCapacity;
  3679. }
  3680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3681. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3682. protected фильтр_нарушениеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3683. base(info, context) {
  3684. this.InitVars();
  3685. }
  3686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3688. public global::System.Data.DataColumn Код_нарушенияColumn {
  3689. get {
  3690. return this.columnКод_нарушения;
  3691. }
  3692. }
  3693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3694. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3695. public global::System.Data.DataColumn вид_нарушенияColumn {
  3696. get {
  3697. return this.columnвид_нарушения;
  3698. }
  3699. }
  3700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3701. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3702. public global::System.Data.DataColumn штраф_за_нарушениеColumn {
  3703. get {
  3704. return this.columnштраф_за_нарушение;
  3705. }
  3706. }
  3707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3709. public global::System.Data.DataColumn дата_нарушенияColumn {
  3710. get {
  3711. return this.columnдата_нарушения;
  3712. }
  3713. }
  3714. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3715. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3716. public global::System.Data.DataColumn Номер_автомобиляColumn {
  3717. get {
  3718. return this.columnНомер_автомобиля;
  3719. }
  3720. }
  3721. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3722. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3723. public global::System.Data.DataColumn ГОС_номер_автоColumn {
  3724. get {
  3725. return this.columnГОС_номер_авто;
  3726. }
  3727. }
  3728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3729. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3730. [global::System.ComponentModel.Browsable(false)]
  3731. public int Count {
  3732. get {
  3733. return this.Rows.Count;
  3734. }
  3735. }
  3736. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3737. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3738. public фильтр_нарушениеRow this[int index] {
  3739. get {
  3740. return ((фильтр_нарушениеRow)(this.Rows[index]));
  3741. }
  3742. }
  3743. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3744. public event фильтр_нарушениеRowChangeEventHandler фильтр_нарушениеRowChanging;
  3745. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3746. public event фильтр_нарушениеRowChangeEventHandler фильтр_нарушениеRowChanged;
  3747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3748. public event фильтр_нарушениеRowChangeEventHandler фильтр_нарушениеRowDeleting;
  3749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3750. public event фильтр_нарушениеRowChangeEventHandler фильтр_нарушениеRowDeleted;
  3751. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3752. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3753. public void Addфильтр_нарушениеRow(фильтр_нарушениеRow row) {
  3754. this.Rows.Add(row);
  3755. }
  3756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3757. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3758. public фильтр_нарушениеRow Addфильтр_нарушениеRow(long Код_нарушения, string вид_нарушения, decimal штраф_за_нарушение, System.DateTime дата_нарушения, long Номер_автомобиля, string ГОС_номер_авто) {
  3759. фильтр_нарушениеRow rowфильтр_нарушениеRow = ((фильтр_нарушениеRow)(this.NewRow()));
  3760. object[] columnValuesArray = new object[] {
  3761. Код_нарушения,
  3762. вид_нарушения,
  3763. штраф_за_нарушение,
  3764. дата_нарушения,
  3765. Номер_автомобиля,
  3766. ГОС_номер_авто};
  3767. rowфильтр_нарушениеRow.ItemArray = columnValuesArray;
  3768. this.Rows.Add(rowфильтр_нарушениеRow);
  3769. return rowфильтр_нарушениеRow;
  3770. }
  3771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3772. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3773. public фильтр_нарушениеRow FindByКод_нарушения(long Код_нарушения) {
  3774. return ((фильтр_нарушениеRow)(this.Rows.Find(new object[] {
  3775. Код_нарушения})));
  3776. }
  3777. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3778. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3779. public override global::System.Data.DataTable Clone() {
  3780. фильтр_нарушениеDataTable cln = ((фильтр_нарушениеDataTable)(base.Clone()));
  3781. cln.InitVars();
  3782. return cln;
  3783. }
  3784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3785. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3786. protected override global::System.Data.DataTable CreateInstance() {
  3787. return new фильтр_нарушениеDataTable();
  3788. }
  3789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3790. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3791. internal void InitVars() {
  3792. this.columnКод_нарушения = base.Columns["Код нарушения"];
  3793. this.columnвид_нарушения = base.Columns["вид нарушения"];
  3794. this.columnштраф_за_нарушение = base.Columns["штраф за нарушение"];
  3795. this.columnдата_нарушения = base.Columns["дата нарушения"];
  3796. this.columnНомер_автомобиля = base.Columns["Номер автомобиля"];
  3797. this.columnГОС_номер_авто = base.Columns["ГОС номер авто"];
  3798. }
  3799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3800. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3801. private void InitClass() {
  3802. this.columnКод_нарушения = new global::System.Data.DataColumn("Код нарушения", typeof(long), null, global::System.Data.MappingType.Element);
  3803. base.Columns.Add(this.columnКод_нарушения);
  3804. this.columnвид_нарушения = new global::System.Data.DataColumn("вид нарушения", typeof(string), null, global::System.Data.MappingType.Element);
  3805. base.Columns.Add(this.columnвид_нарушения);
  3806. this.columnштраф_за_нарушение = new global::System.Data.DataColumn("штраф за нарушение", typeof(decimal), null, global::System.Data.MappingType.Element);
  3807. base.Columns.Add(this.columnштраф_за_нарушение);
  3808. this.columnдата_нарушения = new global::System.Data.DataColumn("дата нарушения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3809. base.Columns.Add(this.columnдата_нарушения);
  3810. this.columnНомер_автомобиля = new global::System.Data.DataColumn("Номер автомобиля", typeof(long), null, global::System.Data.MappingType.Element);
  3811. base.Columns.Add(this.columnНомер_автомобиля);
  3812. this.columnГОС_номер_авто = new global::System.Data.DataColumn("ГОС номер авто", typeof(string), null, global::System.Data.MappingType.Element);
  3813. base.Columns.Add(this.columnГОС_номер_авто);
  3814. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  3815. this.columnКод_нарушения}, true));
  3816. this.columnКод_нарушения.AllowDBNull = false;
  3817. this.columnКод_нарушения.Unique = true;
  3818. this.columnвид_нарушения.MaxLength = 2147483647;
  3819. this.columnГОС_номер_авто.MaxLength = 10;
  3820. }
  3821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3823. public фильтр_нарушениеRow Newфильтр_нарушениеRow() {
  3824. return ((фильтр_нарушениеRow)(this.NewRow()));
  3825. }
  3826. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3827. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3828. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3829. return new фильтр_нарушениеRow(builder);
  3830. }
  3831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3832. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3833. protected override global::System.Type GetRowType() {
  3834. return typeof(фильтр_нарушениеRow);
  3835. }
  3836. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3837. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3838. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3839. base.OnRowChanged(e);
  3840. if ((this.фильтр_нарушениеRowChanged != null)) {
  3841. this.фильтр_нарушениеRowChanged(this, new фильтр_нарушениеRowChangeEvent(((фильтр_нарушениеRow)(e.Row)), e.Action));
  3842. }
  3843. }
  3844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3845. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3846. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3847. base.OnRowChanging(e);
  3848. if ((this.фильтр_нарушениеRowChanging != null)) {
  3849. this.фильтр_нарушениеRowChanging(this, new фильтр_нарушениеRowChangeEvent(((фильтр_нарушениеRow)(e.Row)), e.Action));
  3850. }
  3851. }
  3852. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3853. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3854. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3855. base.OnRowDeleted(e);
  3856. if ((this.фильтр_нарушениеRowDeleted != null)) {
  3857. this.фильтр_нарушениеRowDeleted(this, new фильтр_нарушениеRowChangeEvent(((фильтр_нарушениеRow)(e.Row)), e.Action));
  3858. }
  3859. }
  3860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3861. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3862. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3863. base.OnRowDeleting(e);
  3864. if ((this.фильтр_нарушениеRowDeleting != null)) {
  3865. this.фильтр_нарушениеRowDeleting(this, new фильтр_нарушениеRowChangeEvent(((фильтр_нарушениеRow)(e.Row)), e.Action));
  3866. }
  3867. }
  3868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3870. public void Removeфильтр_нарушениеRow(фильтр_нарушениеRow row) {
  3871. this.Rows.Remove(row);
  3872. }
  3873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3874. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3875. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3876. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3877. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3878. IS31Valov12DataSet ds = new IS31Valov12DataSet();
  3879. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3880. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3881. any1.MinOccurs = new decimal(0);
  3882. any1.MaxOccurs = decimal.MaxValue;
  3883. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3884. sequence.Items.Add(any1);
  3885. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3886. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3887. any2.MinOccurs = new decimal(1);
  3888. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3889. sequence.Items.Add(any2);
  3890. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3891. attribute1.Name = "namespace";
  3892. attribute1.FixedValue = ds.Namespace;
  3893. type.Attributes.Add(attribute1);
  3894. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3895. attribute2.Name = "tableTypeName";
  3896. attribute2.FixedValue = "фильтр_нарушениеDataTable";
  3897. type.Attributes.Add(attribute2);
  3898. type.Particle = sequence;
  3899. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3900. if (xs.Contains(dsSchema.TargetNamespace)) {
  3901. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3902. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3903. try {
  3904. global::System.Xml.Schema.XmlSchema schema = null;
  3905. dsSchema.Write(s1);
  3906. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3907. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3908. s2.SetLength(0);
  3909. schema.Write(s2);
  3910. if ((s1.Length == s2.Length)) {
  3911. s1.Position = 0;
  3912. s2.Position = 0;
  3913. for (; ((s1.Position != s1.Length)
  3914. && (s1.ReadByte() == s2.ReadByte())); ) {
  3915. ;
  3916. }
  3917. if ((s1.Position == s1.Length)) {
  3918. return type;
  3919. }
  3920. }
  3921. }
  3922. }
  3923. finally {
  3924. if ((s1 != null)) {
  3925. s1.Close();
  3926. }
  3927. if ((s2 != null)) {
  3928. s2.Close();
  3929. }
  3930. }
  3931. }
  3932. xs.Add(dsSchema);
  3933. return type;
  3934. }
  3935. }
  3936. /// <summary>
  3937. ///Represents strongly named DataRow class.
  3938. ///</summary>
  3939. public partial class АвтомобилиRow : global::System.Data.DataRow {
  3940. private АвтомобилиDataTable tableАвтомобили;
  3941. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3942. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3943. internal АвтомобилиRow(global::System.Data.DataRowBuilder rb) :
  3944. base(rb) {
  3945. this.tableАвтомобили = ((АвтомобилиDataTable)(this.Table));
  3946. }
  3947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3948. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3949. public long Номер_автомобиля {
  3950. get {
  3951. return ((long)(this[this.tableАвтомобили.Номер_автомобиляColumn]));
  3952. }
  3953. set {
  3954. this[this.tableАвтомобили.Номер_автомобиляColumn] = value;
  3955. }
  3956. }
  3957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3959. public string марка {
  3960. get {
  3961. try {
  3962. return ((string)(this[this.tableАвтомобили.маркаColumn]));
  3963. }
  3964. catch (global::System.InvalidCastException e) {
  3965. throw new global::System.Data.StrongTypingException("Значение для столбца \'марка\' в таблице \'Автомобили\' равно DBNull.", e);
  3966. }
  3967. }
  3968. set {
  3969. this[this.tableАвтомобили.маркаColumn] = value;
  3970. }
  3971. }
  3972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3974. public string модель {
  3975. get {
  3976. try {
  3977. return ((string)(this[this.tableАвтомобили.модельColumn]));
  3978. }
  3979. catch (global::System.InvalidCastException e) {
  3980. throw new global::System.Data.StrongTypingException("Значение для столбца \'модель\' в таблице \'Автомобили\' равно DBNull.", e);
  3981. }
  3982. }
  3983. set {
  3984. this[this.tableАвтомобили.модельColumn] = value;
  3985. }
  3986. }
  3987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3988. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3989. public string цвет {
  3990. get {
  3991. try {
  3992. return ((string)(this[this.tableАвтомобили.цветColumn]));
  3993. }
  3994. catch (global::System.InvalidCastException e) {
  3995. throw new global::System.Data.StrongTypingException("Значение для столбца \'цвет\' в таблице \'Автомобили\' равно DBNull.", e);
  3996. }
  3997. }
  3998. set {
  3999. this[this.tableАвтомобили.цветColumn] = value;
  4000. }
  4001. }
  4002. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4003. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4004. public System.DateTime год_выпуска {
  4005. get {
  4006. try {
  4007. return ((global::System.DateTime)(this[this.tableАвтомобили.год_выпускаColumn]));
  4008. }
  4009. catch (global::System.InvalidCastException e) {
  4010. throw new global::System.Data.StrongTypingException("Значение для столбца \'год выпуска\' в таблице \'Автомобили\' равно DBNull.", e);
  4011. }
  4012. }
  4013. set {
  4014. this[this.tableАвтомобили.год_выпускаColumn] = value;
  4015. }
  4016. }
  4017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4018. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4019. public System.DateTime дата_регистрации_в_ГАИ {
  4020. get {
  4021. try {
  4022. return ((global::System.DateTime)(this[this.tableАвтомобили.дата_регистрации_в_ГАИColumn]));
  4023. }
  4024. catch (global::System.InvalidCastException e) {
  4025. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата регистрации в ГАИ\' в таблице \'Автомобили\' равно DBNull" +
  4026. ".", e);
  4027. }
  4028. }
  4029. set {
  4030. this[this.tableАвтомобили.дата_регистрации_в_ГАИColumn] = value;
  4031. }
  4032. }
  4033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4034. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4035. public string ГОС_номера {
  4036. get {
  4037. try {
  4038. return ((string)(this[this.tableАвтомобили.ГОС_номераColumn]));
  4039. }
  4040. catch (global::System.InvalidCastException e) {
  4041. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номера\' в таблице \'Автомобили\' равно DBNull.", e);
  4042. }
  4043. }
  4044. set {
  4045. this[this.tableАвтомобили.ГОС_номераColumn] = value;
  4046. }
  4047. }
  4048. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4049. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4050. public string Номер_ВУ {
  4051. get {
  4052. try {
  4053. return ((string)(this[this.tableАвтомобили.Номер_ВУColumn]));
  4054. }
  4055. catch (global::System.InvalidCastException e) {
  4056. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер ВУ\' в таблице \'Автомобили\' равно DBNull.", e);
  4057. }
  4058. }
  4059. set {
  4060. this[this.tableАвтомобили.Номер_ВУColumn] = value;
  4061. }
  4062. }
  4063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4064. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4065. public bool IsмаркаNull() {
  4066. return this.IsNull(this.tableАвтомобили.маркаColumn);
  4067. }
  4068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4070. public void SetмаркаNull() {
  4071. this[this.tableАвтомобили.маркаColumn] = global::System.Convert.DBNull;
  4072. }
  4073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4074. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4075. public bool IsмодельNull() {
  4076. return this.IsNull(this.tableАвтомобили.модельColumn);
  4077. }
  4078. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4079. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4080. public void SetмодельNull() {
  4081. this[this.tableАвтомобили.модельColumn] = global::System.Convert.DBNull;
  4082. }
  4083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4085. public bool IsцветNull() {
  4086. return this.IsNull(this.tableАвтомобили.цветColumn);
  4087. }
  4088. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4089. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4090. public void SetцветNull() {
  4091. this[this.tableАвтомобили.цветColumn] = global::System.Convert.DBNull;
  4092. }
  4093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4095. public bool Isгод_выпускаNull() {
  4096. return this.IsNull(this.tableАвтомобили.год_выпускаColumn);
  4097. }
  4098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4099. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4100. public void Setгод_выпускаNull() {
  4101. this[this.tableАвтомобили.год_выпускаColumn] = global::System.Convert.DBNull;
  4102. }
  4103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4105. public bool Isдата_регистрации_в_ГАИNull() {
  4106. return this.IsNull(this.tableАвтомобили.дата_регистрации_в_ГАИColumn);
  4107. }
  4108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4110. public void Setдата_регистрации_в_ГАИNull() {
  4111. this[this.tableАвтомобили.дата_регистрации_в_ГАИColumn] = global::System.Convert.DBNull;
  4112. }
  4113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4115. public bool IsГОС_номераNull() {
  4116. return this.IsNull(this.tableАвтомобили.ГОС_номераColumn);
  4117. }
  4118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4120. public void SetГОС_номераNull() {
  4121. this[this.tableАвтомобили.ГОС_номераColumn] = global::System.Convert.DBNull;
  4122. }
  4123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4125. public bool IsНомер_ВУNull() {
  4126. return this.IsNull(this.tableАвтомобили.Номер_ВУColumn);
  4127. }
  4128. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4129. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4130. public void SetНомер_ВУNull() {
  4131. this[this.tableАвтомобили.Номер_ВУColumn] = global::System.Convert.DBNull;
  4132. }
  4133. }
  4134. /// <summary>
  4135. ///Represents strongly named DataRow class.
  4136. ///</summary>
  4137. public partial class ВзысканияRow : global::System.Data.DataRow {
  4138. private ВзысканияDataTable tableВзыскания;
  4139. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4140. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4141. internal ВзысканияRow(global::System.Data.DataRowBuilder rb) :
  4142. base(rb) {
  4143. this.tableВзыскания = ((ВзысканияDataTable)(this.Table));
  4144. }
  4145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4147. public long Код_нарушения {
  4148. get {
  4149. return ((long)(this[this.tableВзыскания.Код_нарушенияColumn]));
  4150. }
  4151. set {
  4152. this[this.tableВзыскания.Код_нарушенияColumn] = value;
  4153. }
  4154. }
  4155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4157. public decimal Штраф_за_нарушения {
  4158. get {
  4159. try {
  4160. return ((decimal)(this[this.tableВзыскания.Штраф_за_нарушенияColumn]));
  4161. }
  4162. catch (global::System.InvalidCastException e) {
  4163. throw new global::System.Data.StrongTypingException("Значение для столбца \'Штраф за нарушения\' в таблице \'Взыскания\' равно DBNull.", e);
  4164. }
  4165. }
  4166. set {
  4167. this[this.tableВзыскания.Штраф_за_нарушенияColumn] = value;
  4168. }
  4169. }
  4170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4171. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4172. public byte Срок_лишения_месяц {
  4173. get {
  4174. try {
  4175. return ((byte)(this[this.tableВзыскания.Срок_лишения_месяцColumn]));
  4176. }
  4177. catch (global::System.InvalidCastException e) {
  4178. throw new global::System.Data.StrongTypingException("Значение для столбца \'Срок лишения месяц\' в таблице \'Взыскания\' равно DBNull.", e);
  4179. }
  4180. }
  4181. set {
  4182. this[this.tableВзыскания.Срок_лишения_месяцColumn] = value;
  4183. }
  4184. }
  4185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4187. public bool предупреждение {
  4188. get {
  4189. try {
  4190. return ((bool)(this[this.tableВзыскания.предупреждениеColumn]));
  4191. }
  4192. catch (global::System.InvalidCastException e) {
  4193. throw new global::System.Data.StrongTypingException("Значение для столбца \'предупреждение\' в таблице \'Взыскания\' равно DBNull.", e);
  4194. }
  4195. }
  4196. set {
  4197. this[this.tableВзыскания.предупреждениеColumn] = value;
  4198. }
  4199. }
  4200. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4201. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4202. public bool IsШтраф_за_нарушенияNull() {
  4203. return this.IsNull(this.tableВзыскания.Штраф_за_нарушенияColumn);
  4204. }
  4205. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4206. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4207. public void SetШтраф_за_нарушенияNull() {
  4208. this[this.tableВзыскания.Штраф_за_нарушенияColumn] = global::System.Convert.DBNull;
  4209. }
  4210. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4211. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4212. public bool IsСрок_лишения_месяцNull() {
  4213. return this.IsNull(this.tableВзыскания.Срок_лишения_месяцColumn);
  4214. }
  4215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4216. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4217. public void SetСрок_лишения_месяцNull() {
  4218. this[this.tableВзыскания.Срок_лишения_месяцColumn] = global::System.Convert.DBNull;
  4219. }
  4220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4222. public bool IsпредупреждениеNull() {
  4223. return this.IsNull(this.tableВзыскания.предупреждениеColumn);
  4224. }
  4225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4226. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4227. public void SetпредупреждениеNull() {
  4228. this[this.tableВзыскания.предупреждениеColumn] = global::System.Convert.DBNull;
  4229. }
  4230. }
  4231. /// <summary>
  4232. ///Represents strongly named DataRow class.
  4233. ///</summary>
  4234. public partial class ВодителиRow : global::System.Data.DataRow {
  4235. private ВодителиDataTable tableВодители;
  4236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4238. internal ВодителиRow(global::System.Data.DataRowBuilder rb) :
  4239. base(rb) {
  4240. this.tableВодители = ((ВодителиDataTable)(this.Table));
  4241. }
  4242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4243. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4244. public string Номер_водительского_удостоверения {
  4245. get {
  4246. return ((string)(this[this.tableВодители.Номер_водительского_удостоверенияColumn]));
  4247. }
  4248. set {
  4249. this[this.tableВодители.Номер_водительского_удостоверенияColumn] = value;
  4250. }
  4251. }
  4252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4254. public string Фамилия {
  4255. get {
  4256. try {
  4257. return ((string)(this[this.tableВодители.ФамилияColumn]));
  4258. }
  4259. catch (global::System.InvalidCastException e) {
  4260. throw new global::System.Data.StrongTypingException("Значение для столбца \'Фамилия\' в таблице \'Водители\' равно DBNull.", e);
  4261. }
  4262. }
  4263. set {
  4264. this[this.tableВодители.ФамилияColumn] = value;
  4265. }
  4266. }
  4267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4268. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4269. public string Имя {
  4270. get {
  4271. try {
  4272. return ((string)(this[this.tableВодители.ИмяColumn]));
  4273. }
  4274. catch (global::System.InvalidCastException e) {
  4275. throw new global::System.Data.StrongTypingException("Значение для столбца \'Имя\' в таблице \'Водители\' равно DBNull.", e);
  4276. }
  4277. }
  4278. set {
  4279. this[this.tableВодители.ИмяColumn] = value;
  4280. }
  4281. }
  4282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4284. public string Отчество {
  4285. get {
  4286. try {
  4287. return ((string)(this[this.tableВодители.ОтчествоColumn]));
  4288. }
  4289. catch (global::System.InvalidCastException e) {
  4290. throw new global::System.Data.StrongTypingException("Значение для столбца \'Отчество\' в таблице \'Водители\' равно DBNull.", e);
  4291. }
  4292. }
  4293. set {
  4294. this[this.tableВодители.ОтчествоColumn] = value;
  4295. }
  4296. }
  4297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4298. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4299. public string Адрес {
  4300. get {
  4301. try {
  4302. return ((string)(this[this.tableВодители.АдресColumn]));
  4303. }
  4304. catch (global::System.InvalidCastException e) {
  4305. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Водители\' равно DBNull.", e);
  4306. }
  4307. }
  4308. set {
  4309. this[this.tableВодители.АдресColumn] = value;
  4310. }
  4311. }
  4312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4313. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4314. public string Телефон {
  4315. get {
  4316. try {
  4317. return ((string)(this[this.tableВодители.ТелефонColumn]));
  4318. }
  4319. catch (global::System.InvalidCastException e) {
  4320. throw new global::System.Data.StrongTypingException("Значение для столбца \'Телефон\' в таблице \'Водители\' равно DBNull.", e);
  4321. }
  4322. }
  4323. set {
  4324. this[this.tableВодители.ТелефонColumn] = value;
  4325. }
  4326. }
  4327. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4328. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4329. public bool IsФамилияNull() {
  4330. return this.IsNull(this.tableВодители.ФамилияColumn);
  4331. }
  4332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4333. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4334. public void SetФамилияNull() {
  4335. this[this.tableВодители.ФамилияColumn] = global::System.Convert.DBNull;
  4336. }
  4337. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4338. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4339. public bool IsИмяNull() {
  4340. return this.IsNull(this.tableВодители.ИмяColumn);
  4341. }
  4342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4343. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4344. public void SetИмяNull() {
  4345. this[this.tableВодители.ИмяColumn] = global::System.Convert.DBNull;
  4346. }
  4347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4348. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4349. public bool IsОтчествоNull() {
  4350. return this.IsNull(this.tableВодители.ОтчествоColumn);
  4351. }
  4352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4353. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4354. public void SetОтчествоNull() {
  4355. this[this.tableВодители.ОтчествоColumn] = global::System.Convert.DBNull;
  4356. }
  4357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4358. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4359. public bool IsАдресNull() {
  4360. return this.IsNull(this.tableВодители.АдресColumn);
  4361. }
  4362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4364. public void SetАдресNull() {
  4365. this[this.tableВодители.АдресColumn] = global::System.Convert.DBNull;
  4366. }
  4367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4368. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4369. public bool IsТелефонNull() {
  4370. return this.IsNull(this.tableВодители.ТелефонColumn);
  4371. }
  4372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4374. public void SetТелефонNull() {
  4375. this[this.tableВодители.ТелефонColumn] = global::System.Convert.DBNull;
  4376. }
  4377. }
  4378. /// <summary>
  4379. ///Represents strongly named DataRow class.
  4380. ///</summary>
  4381. public partial class НарушенияRow : global::System.Data.DataRow {
  4382. private НарушенияDataTable tableНарушения;
  4383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4385. internal НарушенияRow(global::System.Data.DataRowBuilder rb) :
  4386. base(rb) {
  4387. this.tableНарушения = ((НарушенияDataTable)(this.Table));
  4388. }
  4389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4390. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4391. public long Код_нарушения {
  4392. get {
  4393. return ((long)(this[this.tableНарушения.Код_нарушенияColumn]));
  4394. }
  4395. set {
  4396. this[this.tableНарушения.Код_нарушенияColumn] = value;
  4397. }
  4398. }
  4399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4400. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4401. public string вид_нарушения {
  4402. get {
  4403. try {
  4404. return ((string)(this[this.tableНарушения.вид_нарушенияColumn]));
  4405. }
  4406. catch (global::System.InvalidCastException e) {
  4407. throw new global::System.Data.StrongTypingException("Значение для столбца \'вид нарушения\' в таблице \'Нарушения\' равно DBNull.", e);
  4408. }
  4409. }
  4410. set {
  4411. this[this.tableНарушения.вид_нарушенияColumn] = value;
  4412. }
  4413. }
  4414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4416. public decimal штраф_за_нарушение {
  4417. get {
  4418. try {
  4419. return ((decimal)(this[this.tableНарушения.штраф_за_нарушениеColumn]));
  4420. }
  4421. catch (global::System.InvalidCastException e) {
  4422. throw new global::System.Data.StrongTypingException("Значение для столбца \'штраф за нарушение\' в таблице \'Нарушения\' равно DBNull.", e);
  4423. }
  4424. }
  4425. set {
  4426. this[this.tableНарушения.штраф_за_нарушениеColumn] = value;
  4427. }
  4428. }
  4429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4431. public System.DateTime дата_нарушения {
  4432. get {
  4433. try {
  4434. return ((global::System.DateTime)(this[this.tableНарушения.дата_нарушенияColumn]));
  4435. }
  4436. catch (global::System.InvalidCastException e) {
  4437. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата нарушения\' в таблице \'Нарушения\' равно DBNull.", e);
  4438. }
  4439. }
  4440. set {
  4441. this[this.tableНарушения.дата_нарушенияColumn] = value;
  4442. }
  4443. }
  4444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4446. public long Номер_автомобиля {
  4447. get {
  4448. try {
  4449. return ((long)(this[this.tableНарушения.Номер_автомобиляColumn]));
  4450. }
  4451. catch (global::System.InvalidCastException e) {
  4452. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер автомобиля\' в таблице \'Нарушения\' равно DBNull.", e);
  4453. }
  4454. }
  4455. set {
  4456. this[this.tableНарушения.Номер_автомобиляColumn] = value;
  4457. }
  4458. }
  4459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4461. public string ГОС_номер_авто {
  4462. get {
  4463. try {
  4464. return ((string)(this[this.tableНарушения.ГОС_номер_автоColumn]));
  4465. }
  4466. catch (global::System.InvalidCastException e) {
  4467. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номер авто\' в таблице \'Нарушения\' равно DBNull.", e);
  4468. }
  4469. }
  4470. set {
  4471. this[this.tableНарушения.ГОС_номер_автоColumn] = value;
  4472. }
  4473. }
  4474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4476. public bool Isвид_нарушенияNull() {
  4477. return this.IsNull(this.tableНарушения.вид_нарушенияColumn);
  4478. }
  4479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4481. public void Setвид_нарушенияNull() {
  4482. this[this.tableНарушения.вид_нарушенияColumn] = global::System.Convert.DBNull;
  4483. }
  4484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4485. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4486. public bool Isштраф_за_нарушениеNull() {
  4487. return this.IsNull(this.tableНарушения.штраф_за_нарушениеColumn);
  4488. }
  4489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4491. public void Setштраф_за_нарушениеNull() {
  4492. this[this.tableНарушения.штраф_за_нарушениеColumn] = global::System.Convert.DBNull;
  4493. }
  4494. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4495. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4496. public bool Isдата_нарушенияNull() {
  4497. return this.IsNull(this.tableНарушения.дата_нарушенияColumn);
  4498. }
  4499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4500. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4501. public void Setдата_нарушенияNull() {
  4502. this[this.tableНарушения.дата_нарушенияColumn] = global::System.Convert.DBNull;
  4503. }
  4504. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4505. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4506. public bool IsНомер_автомобиляNull() {
  4507. return this.IsNull(this.tableНарушения.Номер_автомобиляColumn);
  4508. }
  4509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4510. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4511. public void SetНомер_автомобиляNull() {
  4512. this[this.tableНарушения.Номер_автомобиляColumn] = global::System.Convert.DBNull;
  4513. }
  4514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4515. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4516. public bool IsГОС_номер_автоNull() {
  4517. return this.IsNull(this.tableНарушения.ГОС_номер_автоColumn);
  4518. }
  4519. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4520. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4521. public void SetГОС_номер_автоNull() {
  4522. this[this.tableНарушения.ГОС_номер_автоColumn] = global::System.Convert.DBNull;
  4523. }
  4524. }
  4525. /// <summary>
  4526. ///Represents strongly named DataRow class.
  4527. ///</summary>
  4528. public partial class BMWRow : global::System.Data.DataRow {
  4529. private BMWDataTable tableBMW;
  4530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4532. internal BMWRow(global::System.Data.DataRowBuilder rb) :
  4533. base(rb) {
  4534. this.tableBMW = ((BMWDataTable)(this.Table));
  4535. }
  4536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4538. public string марка {
  4539. get {
  4540. try {
  4541. return ((string)(this[this.tableBMW.маркаColumn]));
  4542. }
  4543. catch (global::System.InvalidCastException e) {
  4544. throw new global::System.Data.StrongTypingException("Значение для столбца \'марка\' в таблице \'BMW\' равно DBNull.", e);
  4545. }
  4546. }
  4547. set {
  4548. this[this.tableBMW.маркаColumn] = value;
  4549. }
  4550. }
  4551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4552. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4553. public string модель {
  4554. get {
  4555. try {
  4556. return ((string)(this[this.tableBMW.модельColumn]));
  4557. }
  4558. catch (global::System.InvalidCastException e) {
  4559. throw new global::System.Data.StrongTypingException("Значение для столбца \'модель\' в таблице \'BMW\' равно DBNull.", e);
  4560. }
  4561. }
  4562. set {
  4563. this[this.tableBMW.модельColumn] = value;
  4564. }
  4565. }
  4566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4567. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4568. public string цвет {
  4569. get {
  4570. try {
  4571. return ((string)(this[this.tableBMW.цветColumn]));
  4572. }
  4573. catch (global::System.InvalidCastException e) {
  4574. throw new global::System.Data.StrongTypingException("Значение для столбца \'цвет\' в таблице \'BMW\' равно DBNull.", e);
  4575. }
  4576. }
  4577. set {
  4578. this[this.tableBMW.цветColumn] = value;
  4579. }
  4580. }
  4581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4583. public System.DateTime год_выпуска {
  4584. get {
  4585. try {
  4586. return ((global::System.DateTime)(this[this.tableBMW.год_выпускаColumn]));
  4587. }
  4588. catch (global::System.InvalidCastException e) {
  4589. throw new global::System.Data.StrongTypingException("Значение для столбца \'год выпуска\' в таблице \'BMW\' равно DBNull.", e);
  4590. }
  4591. }
  4592. set {
  4593. this[this.tableBMW.год_выпускаColumn] = value;
  4594. }
  4595. }
  4596. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4597. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4598. public string ГОС_номера {
  4599. get {
  4600. try {
  4601. return ((string)(this[this.tableBMW.ГОС_номераColumn]));
  4602. }
  4603. catch (global::System.InvalidCastException e) {
  4604. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номера\' в таблице \'BMW\' равно DBNull.", e);
  4605. }
  4606. }
  4607. set {
  4608. this[this.tableBMW.ГОС_номераColumn] = value;
  4609. }
  4610. }
  4611. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4612. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4613. public System.DateTime дата_регистрации_в_ГАИ {
  4614. get {
  4615. try {
  4616. return ((global::System.DateTime)(this[this.tableBMW.дата_регистрации_в_ГАИColumn]));
  4617. }
  4618. catch (global::System.InvalidCastException e) {
  4619. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата регистрации в ГАИ\' в таблице \'BMW\' равно DBNull.", e);
  4620. }
  4621. }
  4622. set {
  4623. this[this.tableBMW.дата_регистрации_в_ГАИColumn] = value;
  4624. }
  4625. }
  4626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4628. public string Номер_ВУ {
  4629. get {
  4630. try {
  4631. return ((string)(this[this.tableBMW.Номер_ВУColumn]));
  4632. }
  4633. catch (global::System.InvalidCastException e) {
  4634. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер ВУ\' в таблице \'BMW\' равно DBNull.", e);
  4635. }
  4636. }
  4637. set {
  4638. this[this.tableBMW.Номер_ВУColumn] = value;
  4639. }
  4640. }
  4641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4643. public long Номер_автомобиля {
  4644. get {
  4645. return ((long)(this[this.tableBMW.Номер_автомобиляColumn]));
  4646. }
  4647. set {
  4648. this[this.tableBMW.Номер_автомобиляColumn] = value;
  4649. }
  4650. }
  4651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4652. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4653. public bool IsмаркаNull() {
  4654. return this.IsNull(this.tableBMW.маркаColumn);
  4655. }
  4656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4657. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4658. public void SetмаркаNull() {
  4659. this[this.tableBMW.маркаColumn] = global::System.Convert.DBNull;
  4660. }
  4661. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4662. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4663. public bool IsмодельNull() {
  4664. return this.IsNull(this.tableBMW.модельColumn);
  4665. }
  4666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4667. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4668. public void SetмодельNull() {
  4669. this[this.tableBMW.модельColumn] = global::System.Convert.DBNull;
  4670. }
  4671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4672. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4673. public bool IsцветNull() {
  4674. return this.IsNull(this.tableBMW.цветColumn);
  4675. }
  4676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4677. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4678. public void SetцветNull() {
  4679. this[this.tableBMW.цветColumn] = global::System.Convert.DBNull;
  4680. }
  4681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4682. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4683. public bool Isгод_выпускаNull() {
  4684. return this.IsNull(this.tableBMW.год_выпускаColumn);
  4685. }
  4686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4688. public void Setгод_выпускаNull() {
  4689. this[this.tableBMW.год_выпускаColumn] = global::System.Convert.DBNull;
  4690. }
  4691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4693. public bool IsГОС_номераNull() {
  4694. return this.IsNull(this.tableBMW.ГОС_номераColumn);
  4695. }
  4696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4697. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4698. public void SetГОС_номераNull() {
  4699. this[this.tableBMW.ГОС_номераColumn] = global::System.Convert.DBNull;
  4700. }
  4701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4702. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4703. public bool Isдата_регистрации_в_ГАИNull() {
  4704. return this.IsNull(this.tableBMW.дата_регистрации_в_ГАИColumn);
  4705. }
  4706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4707. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4708. public void Setдата_регистрации_в_ГАИNull() {
  4709. this[this.tableBMW.дата_регистрации_в_ГАИColumn] = global::System.Convert.DBNull;
  4710. }
  4711. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4712. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4713. public bool IsНомер_ВУNull() {
  4714. return this.IsNull(this.tableBMW.Номер_ВУColumn);
  4715. }
  4716. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4717. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4718. public void SetНомер_ВУNull() {
  4719. this[this.tableBMW.Номер_ВУColumn] = global::System.Convert.DBNull;
  4720. }
  4721. }
  4722. /// <summary>
  4723. ///Represents strongly named DataRow class.
  4724. ///</summary>
  4725. public partial class FordRow : global::System.Data.DataRow {
  4726. private FordDataTable tableFord;
  4727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4729. internal FordRow(global::System.Data.DataRowBuilder rb) :
  4730. base(rb) {
  4731. this.tableFord = ((FordDataTable)(this.Table));
  4732. }
  4733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4734. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4735. public long Номер_автомобиля {
  4736. get {
  4737. return ((long)(this[this.tableFord.Номер_автомобиляColumn]));
  4738. }
  4739. set {
  4740. this[this.tableFord.Номер_автомобиляColumn] = value;
  4741. }
  4742. }
  4743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4744. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4745. public string марка {
  4746. get {
  4747. try {
  4748. return ((string)(this[this.tableFord.маркаColumn]));
  4749. }
  4750. catch (global::System.InvalidCastException e) {
  4751. throw new global::System.Data.StrongTypingException("Значение для столбца \'марка\' в таблице \'Ford\' равно DBNull.", e);
  4752. }
  4753. }
  4754. set {
  4755. this[this.tableFord.маркаColumn] = value;
  4756. }
  4757. }
  4758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4759. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4760. public string модель {
  4761. get {
  4762. try {
  4763. return ((string)(this[this.tableFord.модельColumn]));
  4764. }
  4765. catch (global::System.InvalidCastException e) {
  4766. throw new global::System.Data.StrongTypingException("Значение для столбца \'модель\' в таблице \'Ford\' равно DBNull.", e);
  4767. }
  4768. }
  4769. set {
  4770. this[this.tableFord.модельColumn] = value;
  4771. }
  4772. }
  4773. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4774. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4775. public string цвет {
  4776. get {
  4777. try {
  4778. return ((string)(this[this.tableFord.цветColumn]));
  4779. }
  4780. catch (global::System.InvalidCastException e) {
  4781. throw new global::System.Data.StrongTypingException("Значение для столбца \'цвет\' в таблице \'Ford\' равно DBNull.", e);
  4782. }
  4783. }
  4784. set {
  4785. this[this.tableFord.цветColumn] = value;
  4786. }
  4787. }
  4788. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4789. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4790. public System.DateTime год_выпуска {
  4791. get {
  4792. try {
  4793. return ((global::System.DateTime)(this[this.tableFord.год_выпускаColumn]));
  4794. }
  4795. catch (global::System.InvalidCastException e) {
  4796. throw new global::System.Data.StrongTypingException("Значение для столбца \'год выпуска\' в таблице \'Ford\' равно DBNull.", e);
  4797. }
  4798. }
  4799. set {
  4800. this[this.tableFord.год_выпускаColumn] = value;
  4801. }
  4802. }
  4803. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4804. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4805. public System.DateTime дата_регистрации_в_ГАИ {
  4806. get {
  4807. try {
  4808. return ((global::System.DateTime)(this[this.tableFord.дата_регистрации_в_ГАИColumn]));
  4809. }
  4810. catch (global::System.InvalidCastException e) {
  4811. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата регистрации в ГАИ\' в таблице \'Ford\' равно DBNull.", e);
  4812. }
  4813. }
  4814. set {
  4815. this[this.tableFord.дата_регистрации_в_ГАИColumn] = value;
  4816. }
  4817. }
  4818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4819. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4820. public string ГОС_номера {
  4821. get {
  4822. try {
  4823. return ((string)(this[this.tableFord.ГОС_номераColumn]));
  4824. }
  4825. catch (global::System.InvalidCastException e) {
  4826. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номера\' в таблице \'Ford\' равно DBNull.", e);
  4827. }
  4828. }
  4829. set {
  4830. this[this.tableFord.ГОС_номераColumn] = value;
  4831. }
  4832. }
  4833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4835. public string Номер_ВУ {
  4836. get {
  4837. try {
  4838. return ((string)(this[this.tableFord.Номер_ВУColumn]));
  4839. }
  4840. catch (global::System.InvalidCastException e) {
  4841. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер ВУ\' в таблице \'Ford\' равно DBNull.", e);
  4842. }
  4843. }
  4844. set {
  4845. this[this.tableFord.Номер_ВУ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 bool IsмаркаNull() {
  4851. return this.IsNull(this.tableFord.маркаColumn);
  4852. }
  4853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4854. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4855. public void SetмаркаNull() {
  4856. this[this.tableFord.маркаColumn] = global::System.Convert.DBNull;
  4857. }
  4858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4859. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4860. public bool IsмодельNull() {
  4861. return this.IsNull(this.tableFord.модельColumn);
  4862. }
  4863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4865. public void SetмодельNull() {
  4866. this[this.tableFord.модельColumn] = global::System.Convert.DBNull;
  4867. }
  4868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4870. public bool IsцветNull() {
  4871. return this.IsNull(this.tableFord.цветColumn);
  4872. }
  4873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4874. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4875. public void SetцветNull() {
  4876. this[this.tableFord.цветColumn] = global::System.Convert.DBNull;
  4877. }
  4878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4879. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4880. public bool Isгод_выпускаNull() {
  4881. return this.IsNull(this.tableFord.год_выпускаColumn);
  4882. }
  4883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4885. public void Setгод_выпускаNull() {
  4886. this[this.tableFord.год_выпускаColumn] = global::System.Convert.DBNull;
  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.tableFord.дата_регистрации_в_ГАИ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.tableFord.дата_регистрации_в_ГАИ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.tableFord.ГОС_номера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.tableFord.ГОС_номераColumn] = global::System.Convert.DBNull;
  4907. }
  4908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4910. public bool IsНомер_ВУNull() {
  4911. return this.IsNull(this.tableFord.Номер_ВУColumn);
  4912. }
  4913. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4914. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4915. public void SetНомер_ВУNull() {
  4916. this[this.tableFord.Номер_ВУColumn] = global::System.Convert.DBNull;
  4917. }
  4918. }
  4919. /// <summary>
  4920. ///Represents strongly named DataRow class.
  4921. ///</summary>
  4922. public partial class _Взыскания_нарушенияRow : global::System.Data.DataRow {
  4923. private _Взыскания_нарушенияDataTable _tableВзыскания_нарушения;
  4924. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4925. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4926. internal _Взыскания_нарушенияRow(global::System.Data.DataRowBuilder rb) :
  4927. base(rb) {
  4928. this._tableВзыскания_нарушения = ((_Взыскания_нарушенияDataTable)(this.Table));
  4929. }
  4930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4932. public decimal Штраф_за_нарушения {
  4933. get {
  4934. try {
  4935. return ((decimal)(this[this._tableВзыскания_нарушения.Штраф_за_нарушенияColumn]));
  4936. }
  4937. catch (global::System.InvalidCastException e) {
  4938. throw new global::System.Data.StrongTypingException("Значение для столбца \'Штраф за нарушения\' в таблице \'Взыскания+нарушения\' равно D" +
  4939. "BNull.", 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. try {
  4951. return ((byte)(this[this._tableВзыскания_нарушения.Срок_лишения_месяцColumn]));
  4952. }
  4953. catch (global::System.InvalidCastException e) {
  4954. throw new global::System.Data.StrongTypingException("Значение для столбца \'Срок лишения месяц\' в таблице \'Взыскания+нарушения\' равно D" +
  4955. "BNull.", e);
  4956. }
  4957. }
  4958. set {
  4959. this[this._tableВзыскания_нарушения.Срок_лишения_месяцColumn] = value;
  4960. }
  4961. }
  4962. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4963. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4964. public bool предупреждение {
  4965. get {
  4966. try {
  4967. return ((bool)(this[this._tableВзыскания_нарушения.предупреждениеColumn]));
  4968. }
  4969. catch (global::System.InvalidCastException e) {
  4970. throw new global::System.Data.StrongTypingException("Значение для столбца \'предупреждение\' в таблице \'Взыскания+нарушения\' равно DBNul" +
  4971. "l.", e);
  4972. }
  4973. }
  4974. set {
  4975. this[this._tableВзыскания_нарушения.предупреждениеColumn] = value;
  4976. }
  4977. }
  4978. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4979. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4980. public string вид_нарушения {
  4981. get {
  4982. try {
  4983. return ((string)(this[this._tableВзыскания_нарушения.вид_нарушенияColumn]));
  4984. }
  4985. catch (global::System.InvalidCastException e) {
  4986. throw new global::System.Data.StrongTypingException("Значение для столбца \'вид нарушения\' в таблице \'Взыскания+нарушения\' равно DBNull" +
  4987. ".", e);
  4988. }
  4989. }
  4990. set {
  4991. this[this._tableВзыскания_нарушения.вид_нарушенияColumn] = value;
  4992. }
  4993. }
  4994. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4995. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4996. public decimal штраф_за_нарушение {
  4997. get {
  4998. try {
  4999. return ((decimal)(this[this._tableВзыскания_нарушения.штраф_за_нарушениеColumn]));
  5000. }
  5001. catch (global::System.InvalidCastException e) {
  5002. throw new global::System.Data.StrongTypingException("Значение для столбца \'штраф за нарушение\' в таблице \'Взыскания+нарушения\' равно D" +
  5003. "BNull.", e);
  5004. }
  5005. }
  5006. set {
  5007. this[this._tableВзыскания_нарушения.штраф_за_нарушениеColumn] = value;
  5008. }
  5009. }
  5010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5011. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5012. public System.DateTime дата_нарушения {
  5013. get {
  5014. try {
  5015. return ((global::System.DateTime)(this[this._tableВзыскания_нарушения.дата_нарушенияColumn]));
  5016. }
  5017. catch (global::System.InvalidCastException e) {
  5018. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата нарушения\' в таблице \'Взыскания+нарушения\' равно DBNul" +
  5019. "l.", e);
  5020. }
  5021. }
  5022. set {
  5023. this[this._tableВзыскания_нарушения.дата_нарушенияColumn] = value;
  5024. }
  5025. }
  5026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5027. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5028. public long Номер_автомобиля {
  5029. get {
  5030. try {
  5031. return ((long)(this[this._tableВзыскания_нарушения.Номер_автомобиляColumn]));
  5032. }
  5033. catch (global::System.InvalidCastException e) {
  5034. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер автомобиля\' в таблице \'Взыскания+нарушения\' равно DBN" +
  5035. "ull.", e);
  5036. }
  5037. }
  5038. set {
  5039. this[this._tableВзыскания_нарушения.Номер_автомобиляColumn] = value;
  5040. }
  5041. }
  5042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5044. public string ГОС_номер_авто {
  5045. get {
  5046. try {
  5047. return ((string)(this[this._tableВзыскания_нарушения.ГОС_номер_автоColumn]));
  5048. }
  5049. catch (global::System.InvalidCastException e) {
  5050. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номер авто\' в таблице \'Взыскания+нарушения\' равно DBNul" +
  5051. "l.", e);
  5052. }
  5053. }
  5054. set {
  5055. this[this._tableВзыскания_нарушения.ГОС_номер_автоColumn] = value;
  5056. }
  5057. }
  5058. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5059. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5060. public long Код_нарушения {
  5061. get {
  5062. return ((long)(this[this._tableВзыскания_нарушения.Код_нарушенияColumn]));
  5063. }
  5064. set {
  5065. this[this._tableВзыскания_нарушения.Код_нарушенияColumn] = value;
  5066. }
  5067. }
  5068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5070. public bool IsШтраф_за_нарушенияNull() {
  5071. return this.IsNull(this._tableВзыскания_нарушения.Штраф_за_нарушенияColumn);
  5072. }
  5073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5074. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5075. public void SetШтраф_за_нарушенияNull() {
  5076. this[this._tableВзыскания_нарушения.Штраф_за_нарушенияColumn] = global::System.Convert.DBNull;
  5077. }
  5078. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5079. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5080. public bool IsСрок_лишения_месяцNull() {
  5081. return this.IsNull(this._tableВзыскания_нарушения.Срок_лишения_месяцColumn);
  5082. }
  5083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5085. public void SetСрок_лишения_месяцNull() {
  5086. this[this._tableВзыскания_нарушения.Срок_лишения_месяцColumn] = global::System.Convert.DBNull;
  5087. }
  5088. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5089. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5090. public bool IsпредупреждениеNull() {
  5091. return this.IsNull(this._tableВзыскания_нарушения.предупреждениеColumn);
  5092. }
  5093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5095. public void SetпредупреждениеNull() {
  5096. this[this._tableВзыскания_нарушения.предупреждениеColumn] = global::System.Convert.DBNull;
  5097. }
  5098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5099. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5100. public bool Isвид_нарушенияNull() {
  5101. return this.IsNull(this._tableВзыскания_нарушения.вид_нарушенияColumn);
  5102. }
  5103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5105. public void Setвид_нарушенияNull() {
  5106. this[this._tableВзыскания_нарушения.вид_нарушенияColumn] = global::System.Convert.DBNull;
  5107. }
  5108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5110. public bool Isштраф_за_нарушениеNull() {
  5111. return this.IsNull(this._tableВзыскания_нарушения.штраф_за_нарушениеColumn);
  5112. }
  5113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5115. public void Setштраф_за_нарушениеNull() {
  5116. this[this._tableВзыскания_нарушения.штраф_за_нарушениеColumn] = global::System.Convert.DBNull;
  5117. }
  5118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5120. public bool Isдата_нарушенияNull() {
  5121. return this.IsNull(this._tableВзыскания_нарушения.дата_нарушенияColumn);
  5122. }
  5123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5125. public void Setдата_нарушенияNull() {
  5126. this[this._tableВзыскания_нарушения.дата_нарушенияColumn] = global::System.Convert.DBNull;
  5127. }
  5128. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5129. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5130. public bool IsНомер_автомобиляNull() {
  5131. return this.IsNull(this._tableВзыскания_нарушения.Номер_автомобиляColumn);
  5132. }
  5133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5134. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5135. public void SetНомер_автомобиляNull() {
  5136. this[this._tableВзыскания_нарушения.Номер_автомобиляColumn] = global::System.Convert.DBNull;
  5137. }
  5138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5139. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5140. public bool IsГОС_номер_автоNull() {
  5141. return this.IsNull(this._tableВзыскания_нарушения.ГОС_номер_автоColumn);
  5142. }
  5143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5144. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5145. public void SetГОС_номер_автоNull() {
  5146. this[this._tableВзыскания_нарушения.ГОС_номер_автоColumn] = global::System.Convert.DBNull;
  5147. }
  5148. }
  5149. /// <summary>
  5150. ///Represents strongly named DataRow class.
  5151. ///</summary>
  5152. public partial class _Водители__автомобильRow : global::System.Data.DataRow {
  5153. private _Водители__автомобильDataTable _tableВодители__автомобиль;
  5154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5156. internal _Водители__автомобильRow(global::System.Data.DataRowBuilder rb) :
  5157. base(rb) {
  5158. this._tableВодители__автомобиль = ((_Водители__автомобильDataTable)(this.Table));
  5159. }
  5160. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5161. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5162. public string марка {
  5163. get {
  5164. try {
  5165. return ((string)(this[this._tableВодители__автомобиль.маркаColumn]));
  5166. }
  5167. catch (global::System.InvalidCastException e) {
  5168. throw new global::System.Data.StrongTypingException("Значение для столбца \'марка\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5169. }
  5170. }
  5171. set {
  5172. this[this._tableВодители__автомобиль.маркаColumn] = value;
  5173. }
  5174. }
  5175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5176. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5177. public string модель {
  5178. get {
  5179. try {
  5180. return ((string)(this[this._tableВодители__автомобиль.модельColumn]));
  5181. }
  5182. catch (global::System.InvalidCastException e) {
  5183. throw new global::System.Data.StrongTypingException("Значение для столбца \'модель\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5184. }
  5185. }
  5186. set {
  5187. this[this._tableВодители__автомобиль.модельColumn] = value;
  5188. }
  5189. }
  5190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5192. public string цвет {
  5193. get {
  5194. try {
  5195. return ((string)(this[this._tableВодители__автомобиль.цветColumn]));
  5196. }
  5197. catch (global::System.InvalidCastException e) {
  5198. throw new global::System.Data.StrongTypingException("Значение для столбца \'цвет\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5199. }
  5200. }
  5201. set {
  5202. this[this._tableВодители__автомобиль.цветColumn] = value;
  5203. }
  5204. }
  5205. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5206. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5207. public System.DateTime год_выпуска {
  5208. get {
  5209. try {
  5210. return ((global::System.DateTime)(this[this._tableВодители__автомобиль.год_выпускаColumn]));
  5211. }
  5212. catch (global::System.InvalidCastException e) {
  5213. throw new global::System.Data.StrongTypingException("Значение для столбца \'год выпуска\' в таблице \'Водители+ автомобиль\' равно DBNull." +
  5214. "", e);
  5215. }
  5216. }
  5217. set {
  5218. this[this._tableВодители__автомобиль.год_выпускаColumn] = value;
  5219. }
  5220. }
  5221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5223. public System.DateTime дата_регистрации_в_ГАИ {
  5224. get {
  5225. try {
  5226. return ((global::System.DateTime)(this[this._tableВодители__автомобиль.дата_регистрации_в_ГАИColumn]));
  5227. }
  5228. catch (global::System.InvalidCastException e) {
  5229. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата регистрации в ГАИ\' в таблице \'Водители+ автомобиль\' ра" +
  5230. "вно DBNull.", e);
  5231. }
  5232. }
  5233. set {
  5234. this[this._tableВодители__автомобиль.дата_регистрации_в_ГАИColumn] = value;
  5235. }
  5236. }
  5237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5239. public string ГОС_номера {
  5240. get {
  5241. try {
  5242. return ((string)(this[this._tableВодители__автомобиль.ГОС_номераColumn]));
  5243. }
  5244. catch (global::System.InvalidCastException e) {
  5245. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номера\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5246. }
  5247. }
  5248. set {
  5249. this[this._tableВодители__автомобиль.ГОС_номераColumn] = value;
  5250. }
  5251. }
  5252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5254. public string Номер_ВУ {
  5255. get {
  5256. try {
  5257. return ((string)(this[this._tableВодители__автомобиль.Номер_ВУColumn]));
  5258. }
  5259. catch (global::System.InvalidCastException e) {
  5260. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер ВУ\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5261. }
  5262. }
  5263. set {
  5264. this[this._tableВодители__автомобиль.Номер_ВУColumn] = value;
  5265. }
  5266. }
  5267. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5268. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5269. public string Фамилия {
  5270. get {
  5271. try {
  5272. return ((string)(this[this._tableВодители__автомобиль.ФамилияColumn]));
  5273. }
  5274. catch (global::System.InvalidCastException e) {
  5275. throw new global::System.Data.StrongTypingException("Значение для столбца \'Фамилия\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5276. }
  5277. }
  5278. set {
  5279. this[this._tableВодители__автомобиль.ФамилияColumn] = value;
  5280. }
  5281. }
  5282. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5283. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5284. public string Имя {
  5285. get {
  5286. try {
  5287. return ((string)(this[this._tableВодители__автомобиль.ИмяColumn]));
  5288. }
  5289. catch (global::System.InvalidCastException e) {
  5290. throw new global::System.Data.StrongTypingException("Значение для столбца \'Имя\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5291. }
  5292. }
  5293. set {
  5294. this[this._tableВодители__автомобиль.ИмяColumn] = value;
  5295. }
  5296. }
  5297. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5298. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5299. public string Отчество {
  5300. get {
  5301. try {
  5302. return ((string)(this[this._tableВодители__автомобиль.ОтчествоColumn]));
  5303. }
  5304. catch (global::System.InvalidCastException e) {
  5305. throw new global::System.Data.StrongTypingException("Значение для столбца \'Отчество\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5306. }
  5307. }
  5308. set {
  5309. this[this._tableВодители__автомобиль.ОтчествоColumn] = value;
  5310. }
  5311. }
  5312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5313. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5314. public string Адрес {
  5315. get {
  5316. try {
  5317. return ((string)(this[this._tableВодители__автомобиль.АдресColumn]));
  5318. }
  5319. catch (global::System.InvalidCastException e) {
  5320. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5321. }
  5322. }
  5323. set {
  5324. this[this._tableВодители__автомобиль.АдресColumn] = value;
  5325. }
  5326. }
  5327. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5328. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5329. public string Телефон {
  5330. get {
  5331. try {
  5332. return ((string)(this[this._tableВодители__автомобиль.ТелефонColumn]));
  5333. }
  5334. catch (global::System.InvalidCastException e) {
  5335. throw new global::System.Data.StrongTypingException("Значение для столбца \'Телефон\' в таблице \'Водители+ автомобиль\' равно DBNull.", e);
  5336. }
  5337. }
  5338. set {
  5339. this[this._tableВодители__автомобиль.ТелефонColumn] = value;
  5340. }
  5341. }
  5342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5343. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5344. public long Номер_автомобиля {
  5345. get {
  5346. return ((long)(this[this._tableВодители__автомобиль.Номер_автомобиляColumn]));
  5347. }
  5348. set {
  5349. this[this._tableВодители__автомобиль.Номер_автомобиляColumn] = value;
  5350. }
  5351. }
  5352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5353. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5354. public bool IsмаркаNull() {
  5355. return this.IsNull(this._tableВодители__автомобиль.маркаColumn);
  5356. }
  5357. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5358. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5359. public void SetмаркаNull() {
  5360. this[this._tableВодители__автомобиль.маркаColumn] = global::System.Convert.DBNull;
  5361. }
  5362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5364. public bool IsмодельNull() {
  5365. return this.IsNull(this._tableВодители__автомобиль.модельColumn);
  5366. }
  5367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5368. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5369. public void SetмодельNull() {
  5370. this[this._tableВодители__автомобиль.модельColumn] = global::System.Convert.DBNull;
  5371. }
  5372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5374. public bool IsцветNull() {
  5375. return this.IsNull(this._tableВодители__автомобиль.цветColumn);
  5376. }
  5377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5379. public void SetцветNull() {
  5380. this[this._tableВодители__автомобиль.цветColumn] = global::System.Convert.DBNull;
  5381. }
  5382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5384. public bool Isгод_выпускаNull() {
  5385. return this.IsNull(this._tableВодители__автомобиль.год_выпускаColumn);
  5386. }
  5387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5388. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5389. public void Setгод_выпускаNull() {
  5390. this[this._tableВодители__автомобиль.год_выпускаColumn] = global::System.Convert.DBNull;
  5391. }
  5392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5393. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5394. public bool Isдата_регистрации_в_ГАИNull() {
  5395. return this.IsNull(this._tableВодители__автомобиль.дата_регистрации_в_ГАИColumn);
  5396. }
  5397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5398. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5399. public void Setдата_регистрации_в_ГАИNull() {
  5400. this[this._tableВодители__автомобиль.дата_регистрации_в_ГАИColumn] = global::System.Convert.DBNull;
  5401. }
  5402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5403. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5404. public bool IsГОС_номераNull() {
  5405. return this.IsNull(this._tableВодители__автомобиль.ГОС_номераColumn);
  5406. }
  5407. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5408. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5409. public void SetГОС_номераNull() {
  5410. this[this._tableВодители__автомобиль.ГОС_номераColumn] = global::System.Convert.DBNull;
  5411. }
  5412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5413. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5414. public bool IsНомер_ВУNull() {
  5415. return this.IsNull(this._tableВодители__автомобиль.Номер_ВУColumn);
  5416. }
  5417. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5418. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5419. public void SetНомер_ВУNull() {
  5420. this[this._tableВодители__автомобиль.Номер_ВУColumn] = global::System.Convert.DBNull;
  5421. }
  5422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5424. public bool IsФамилияNull() {
  5425. return this.IsNull(this._tableВодители__автомобиль.ФамилияColumn);
  5426. }
  5427. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5428. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5429. public void SetФамилияNull() {
  5430. this[this._tableВодители__автомобиль.ФамилияColumn] = global::System.Convert.DBNull;
  5431. }
  5432. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5433. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5434. public bool IsИмяNull() {
  5435. return this.IsNull(this._tableВодители__автомобиль.ИмяColumn);
  5436. }
  5437. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5438. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5439. public void SetИмяNull() {
  5440. this[this._tableВодители__автомобиль.ИмяColumn] = global::System.Convert.DBNull;
  5441. }
  5442. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5443. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5444. public bool IsОтчествоNull() {
  5445. return this.IsNull(this._tableВодители__автомобиль.ОтчествоColumn);
  5446. }
  5447. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5448. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5449. public void SetОтчествоNull() {
  5450. this[this._tableВодители__автомобиль.ОтчествоColumn] = global::System.Convert.DBNull;
  5451. }
  5452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5454. public bool IsАдресNull() {
  5455. return this.IsNull(this._tableВодители__автомобиль.АдресColumn);
  5456. }
  5457. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5458. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5459. public void SetАдресNull() {
  5460. this[this._tableВодители__автомобиль.АдресColumn] = global::System.Convert.DBNull;
  5461. }
  5462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5464. public bool IsТелефонNull() {
  5465. return this.IsNull(this._tableВодители__автомобиль.ТелефонColumn);
  5466. }
  5467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5468. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5469. public void SetТелефонNull() {
  5470. this[this._tableВодители__автомобиль.ТелефонColumn] = global::System.Convert.DBNull;
  5471. }
  5472. }
  5473. /// <summary>
  5474. ///Represents strongly named DataRow class.
  5475. ///</summary>
  5476. public partial class Лишены_праваRow : global::System.Data.DataRow {
  5477. private Лишены_праваDataTable tableЛишены_права;
  5478. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5479. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5480. internal Лишены_праваRow(global::System.Data.DataRowBuilder rb) :
  5481. base(rb) {
  5482. this.tableЛишены_права = ((Лишены_праваDataTable)(this.Table));
  5483. }
  5484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5485. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5486. public bool предупреждение {
  5487. get {
  5488. try {
  5489. return ((bool)(this[this.tableЛишены_права.предупреждениеColumn]));
  5490. }
  5491. catch (global::System.InvalidCastException e) {
  5492. throw new global::System.Data.StrongTypingException("Значение для столбца \'предупреждение\' в таблице \'Лишены права\' равно DBNull.", e);
  5493. }
  5494. }
  5495. set {
  5496. this[this.tableЛишены_права.предупреждениеColumn] = value;
  5497. }
  5498. }
  5499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5500. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5501. public long Код_нарушения {
  5502. get {
  5503. return ((long)(this[this.tableЛишены_права.Код_нарушенияColumn]));
  5504. }
  5505. set {
  5506. this[this.tableЛишены_права.Код_нарушенияColumn] = value;
  5507. }
  5508. }
  5509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5510. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5511. public byte Срок_лишения_месяц {
  5512. get {
  5513. try {
  5514. return ((byte)(this[this.tableЛишены_права.Срок_лишения_месяцColumn]));
  5515. }
  5516. catch (global::System.InvalidCastException e) {
  5517. throw new global::System.Data.StrongTypingException("Значение для столбца \'Срок лишения месяц\' в таблице \'Лишены права\' равно DBNull.", e);
  5518. }
  5519. }
  5520. set {
  5521. this[this.tableЛишены_права.Срок_лишения_месяцColumn] = value;
  5522. }
  5523. }
  5524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5526. public decimal Штраф_за_нарушения {
  5527. get {
  5528. try {
  5529. return ((decimal)(this[this.tableЛишены_права.Штраф_за_нарушенияColumn]));
  5530. }
  5531. catch (global::System.InvalidCastException e) {
  5532. throw new global::System.Data.StrongTypingException("Значение для столбца \'Штраф за нарушения\' в таблице \'Лишены права\' равно DBNull.", e);
  5533. }
  5534. }
  5535. set {
  5536. this[this.tableЛишены_права.Штраф_за_нарушенияColumn] = value;
  5537. }
  5538. }
  5539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5540. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5541. public bool IsпредупреждениеNull() {
  5542. return this.IsNull(this.tableЛишены_права.предупреждениеColumn);
  5543. }
  5544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5546. public void SetпредупреждениеNull() {
  5547. this[this.tableЛишены_права.предупреждениеColumn] = global::System.Convert.DBNull;
  5548. }
  5549. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5550. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5551. public bool IsСрок_лишения_месяцNull() {
  5552. return this.IsNull(this.tableЛишены_права.Срок_лишения_месяцColumn);
  5553. }
  5554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5555. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5556. public void SetСрок_лишения_месяцNull() {
  5557. this[this.tableЛишены_права.Срок_лишения_месяцColumn] = global::System.Convert.DBNull;
  5558. }
  5559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5560. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5561. public bool IsШтраф_за_нарушенияNull() {
  5562. return this.IsNull(this.tableЛишены_права.Штраф_за_нарушенияColumn);
  5563. }
  5564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5565. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5566. public void SetШтраф_за_нарушенияNull() {
  5567. this[this.tableЛишены_права.Штраф_за_нарушенияColumn] = global::System.Convert.DBNull;
  5568. }
  5569. }
  5570. /// <summary>
  5571. ///Represents strongly named DataRow class.
  5572. ///</summary>
  5573. public partial class Нарушения_за_сентябрь_2023Row : global::System.Data.DataRow {
  5574. private Нарушения_за_сентябрь_2023DataTable tableНарушения_за_сентябрь_2023;
  5575. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5576. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5577. internal Нарушения_за_сентябрь_2023Row(global::System.Data.DataRowBuilder rb) :
  5578. base(rb) {
  5579. this.tableНарушения_за_сентябрь_2023 = ((Нарушения_за_сентябрь_2023DataTable)(this.Table));
  5580. }
  5581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5583. public long Код_нарушения {
  5584. get {
  5585. return ((long)(this[this.tableНарушения_за_сентябрь_2023.Код_нарушенияColumn]));
  5586. }
  5587. set {
  5588. this[this.tableНарушения_за_сентябрь_2023.Код_нарушенияColumn] = value;
  5589. }
  5590. }
  5591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5592. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5593. public string вид_нарушения {
  5594. get {
  5595. try {
  5596. return ((string)(this[this.tableНарушения_за_сентябрь_2023.вид_нарушенияColumn]));
  5597. }
  5598. catch (global::System.InvalidCastException e) {
  5599. throw new global::System.Data.StrongTypingException("Значение для столбца \'вид нарушения\' в таблице \'Нарушения за сентябрь 2023\' равно" +
  5600. " DBNull.", e);
  5601. }
  5602. }
  5603. set {
  5604. this[this.tableНарушения_за_сентябрь_2023.вид_нарушенияColumn] = value;
  5605. }
  5606. }
  5607. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5608. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5609. public decimal штраф_за_нарушение {
  5610. get {
  5611. try {
  5612. return ((decimal)(this[this.tableНарушения_за_сентябрь_2023.штраф_за_нарушениеColumn]));
  5613. }
  5614. catch (global::System.InvalidCastException e) {
  5615. throw new global::System.Data.StrongTypingException("Значение для столбца \'штраф за нарушение\' в таблице \'Нарушения за сентябрь 2023\' " +
  5616. "равно DBNull.", e);
  5617. }
  5618. }
  5619. set {
  5620. this[this.tableНарушения_за_сентябрь_2023.штраф_за_нарушениеColumn] = value;
  5621. }
  5622. }
  5623. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5624. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5625. public System.DateTime дата_нарушения {
  5626. get {
  5627. try {
  5628. return ((global::System.DateTime)(this[this.tableНарушения_за_сентябрь_2023.дата_нарушенияColumn]));
  5629. }
  5630. catch (global::System.InvalidCastException e) {
  5631. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата нарушения\' в таблице \'Нарушения за сентябрь 2023\' равн" +
  5632. "о DBNull.", e);
  5633. }
  5634. }
  5635. set {
  5636. this[this.tableНарушения_за_сентябрь_2023.дата_нарушенияColumn] = value;
  5637. }
  5638. }
  5639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5641. public string ГОС_номер_авто {
  5642. get {
  5643. try {
  5644. return ((string)(this[this.tableНарушения_за_сентябрь_2023.ГОС_номер_автоColumn]));
  5645. }
  5646. catch (global::System.InvalidCastException e) {
  5647. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номер авто\' в таблице \'Нарушения за сентябрь 2023\' равн" +
  5648. "о DBNull.", e);
  5649. }
  5650. }
  5651. set {
  5652. this[this.tableНарушения_за_сентябрь_2023.ГОС_номер_автоColumn] = value;
  5653. }
  5654. }
  5655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5656. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5657. public long Номер_автомобиля {
  5658. get {
  5659. try {
  5660. return ((long)(this[this.tableНарушения_за_сентябрь_2023.Номер_автомобиляColumn]));
  5661. }
  5662. catch (global::System.InvalidCastException e) {
  5663. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер автомобиля\' в таблице \'Нарушения за сентябрь 2023\' ра" +
  5664. "вно DBNull.", e);
  5665. }
  5666. }
  5667. set {
  5668. this[this.tableНарушения_за_сентябрь_2023.Номер_автомобиляColumn] = value;
  5669. }
  5670. }
  5671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5672. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5673. public bool Isвид_нарушенияNull() {
  5674. return this.IsNull(this.tableНарушения_за_сентябрь_2023.вид_нарушенияColumn);
  5675. }
  5676. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5677. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5678. public void Setвид_нарушенияNull() {
  5679. this[this.tableНарушения_за_сентябрь_2023.вид_нарушенияColumn] = global::System.Convert.DBNull;
  5680. }
  5681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5682. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5683. public bool Isштраф_за_нарушениеNull() {
  5684. return this.IsNull(this.tableНарушения_за_сентябрь_2023.штраф_за_нарушениеColumn);
  5685. }
  5686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5688. public void Setштраф_за_нарушениеNull() {
  5689. this[this.tableНарушения_за_сентябрь_2023.штраф_за_нарушениеColumn] = global::System.Convert.DBNull;
  5690. }
  5691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5693. public bool Isдата_нарушенияNull() {
  5694. return this.IsNull(this.tableНарушения_за_сентябрь_2023.дата_нарушенияColumn);
  5695. }
  5696. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5697. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5698. public void Setдата_нарушенияNull() {
  5699. this[this.tableНарушения_за_сентябрь_2023.дата_нарушенияColumn] = global::System.Convert.DBNull;
  5700. }
  5701. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5702. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5703. public bool IsГОС_номер_автоNull() {
  5704. return this.IsNull(this.tableНарушения_за_сентябрь_2023.ГОС_номер_автоColumn);
  5705. }
  5706. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5707. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5708. public void SetГОС_номер_автоNull() {
  5709. this[this.tableНарушения_за_сентябрь_2023.ГОС_номер_автоColumn] = global::System.Convert.DBNull;
  5710. }
  5711. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5712. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5713. public bool IsНомер_автомобиляNull() {
  5714. return this.IsNull(this.tableНарушения_за_сентябрь_2023.Номер_автомобиляColumn);
  5715. }
  5716. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5717. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5718. public void SetНомер_автомобиляNull() {
  5719. this[this.tableНарушения_за_сентябрь_2023.Номер_автомобиляColumn] = global::System.Convert.DBNull;
  5720. }
  5721. }
  5722. /// <summary>
  5723. ///Represents strongly named DataRow class.
  5724. ///</summary>
  5725. public partial class фильтр_нарушениеRow : global::System.Data.DataRow {
  5726. private фильтр_нарушениеDataTable tableфильтр_нарушение;
  5727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5729. internal фильтр_нарушениеRow(global::System.Data.DataRowBuilder rb) :
  5730. base(rb) {
  5731. this.tableфильтр_нарушение = ((фильтр_нарушениеDataTable)(this.Table));
  5732. }
  5733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5734. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5735. public long Код_нарушения {
  5736. get {
  5737. return ((long)(this[this.tableфильтр_нарушение.Код_нарушенияColumn]));
  5738. }
  5739. set {
  5740. this[this.tableфильтр_нарушение.Код_нарушенияColumn] = value;
  5741. }
  5742. }
  5743. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5744. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5745. public string вид_нарушения {
  5746. get {
  5747. try {
  5748. return ((string)(this[this.tableфильтр_нарушение.вид_нарушенияColumn]));
  5749. }
  5750. catch (global::System.InvalidCastException e) {
  5751. throw new global::System.Data.StrongTypingException("Значение для столбца \'вид нарушения\' в таблице \'фильтр нарушение\' равно DBNull.", e);
  5752. }
  5753. }
  5754. set {
  5755. this[this.tableфильтр_нарушение.вид_нарушенияColumn] = value;
  5756. }
  5757. }
  5758. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5759. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5760. public decimal штраф_за_нарушение {
  5761. get {
  5762. try {
  5763. return ((decimal)(this[this.tableфильтр_нарушение.штраф_за_нарушениеColumn]));
  5764. }
  5765. catch (global::System.InvalidCastException e) {
  5766. throw new global::System.Data.StrongTypingException("Значение для столбца \'штраф за нарушение\' в таблице \'фильтр нарушение\' равно DBNu" +
  5767. "ll.", e);
  5768. }
  5769. }
  5770. set {
  5771. this[this.tableфильтр_нарушение.штраф_за_нарушениеColumn] = value;
  5772. }
  5773. }
  5774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5775. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5776. public System.DateTime дата_нарушения {
  5777. get {
  5778. try {
  5779. return ((global::System.DateTime)(this[this.tableфильтр_нарушение.дата_нарушенияColumn]));
  5780. }
  5781. catch (global::System.InvalidCastException e) {
  5782. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата нарушения\' в таблице \'фильтр нарушение\' равно DBNull.", e);
  5783. }
  5784. }
  5785. set {
  5786. this[this.tableфильтр_нарушение.дата_нарушенияColumn] = value;
  5787. }
  5788. }
  5789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5790. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5791. public long Номер_автомобиля {
  5792. get {
  5793. try {
  5794. return ((long)(this[this.tableфильтр_нарушение.Номер_автомобиляColumn]));
  5795. }
  5796. catch (global::System.InvalidCastException e) {
  5797. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер автомобиля\' в таблице \'фильтр нарушение\' равно DBNull" +
  5798. ".", 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 string ГОС_номер_авто {
  5808. get {
  5809. try {
  5810. return ((string)(this[this.tableфильтр_нарушение.ГОС_номер_автоColumn]));
  5811. }
  5812. catch (global::System.InvalidCastException e) {
  5813. throw new global::System.Data.StrongTypingException("Значение для столбца \'ГОС номер авто\' в таблице \'фильтр нарушение\' равно DBNull.", e);
  5814. }
  5815. }
  5816. set {
  5817. this[this.tableфильтр_нарушение.ГОС_номер_автоColumn] = value;
  5818. }
  5819. }
  5820. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5821. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5822. public bool Isвид_нарушенияNull() {
  5823. return this.IsNull(this.tableфильтр_нарушение.вид_нарушенияColumn);
  5824. }
  5825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5826. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5827. public void Setвид_нарушенияNull() {
  5828. this[this.tableфильтр_нарушение.вид_нарушенияColumn] = global::System.Convert.DBNull;
  5829. }
  5830. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5831. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5832. public bool Isштраф_за_нарушениеNull() {
  5833. return this.IsNull(this.tableфильтр_нарушение.штраф_за_нарушениеColumn);
  5834. }
  5835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5836. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5837. public void Setштраф_за_нарушениеNull() {
  5838. this[this.tableфильтр_нарушение.штраф_за_нарушениеColumn] = global::System.Convert.DBNull;
  5839. }
  5840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5842. public bool Isдата_нарушенияNull() {
  5843. return this.IsNull(this.tableфильтр_нарушение.дата_нарушенияColumn);
  5844. }
  5845. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5846. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5847. public void Setдата_нарушенияNull() {
  5848. this[this.tableфильтр_нарушение.дата_нарушенияColumn] = global::System.Convert.DBNull;
  5849. }
  5850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5852. public bool IsНомер_автомобиляNull() {
  5853. return this.IsNull(this.tableфильтр_нарушение.Номер_автомобиляColumn);
  5854. }
  5855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5856. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5857. public void SetНомер_автомобиляNull() {
  5858. this[this.tableфильтр_нарушение.Номер_автомобиляColumn] = global::System.Convert.DBNull;
  5859. }
  5860. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5861. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5862. public bool IsГОС_номер_автоNull() {
  5863. return this.IsNull(this.tableфильтр_нарушение.ГОС_номер_автоColumn);
  5864. }
  5865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5866. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5867. public void SetГОС_номер_автоNull() {
  5868. this[this.tableфильтр_нарушение.ГОС_номер_автоColumn] = global::System.Convert.DBNull;
  5869. }
  5870. }
  5871. /// <summary>
  5872. ///Row event argument class
  5873. ///</summary>
  5874. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5875. public class АвтомобилиRowChangeEvent : global::System.EventArgs {
  5876. private АвтомобилиRow eventRow;
  5877. private global::System.Data.DataRowAction eventAction;
  5878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5879. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5880. public АвтомобилиRowChangeEvent(АвтомобилиRow row, global::System.Data.DataRowAction action) {
  5881. this.eventRow = row;
  5882. this.eventAction = action;
  5883. }
  5884. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5885. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5886. public АвтомобилиRow Row {
  5887. get {
  5888. return this.eventRow;
  5889. }
  5890. }
  5891. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5892. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5893. public global::System.Data.DataRowAction Action {
  5894. get {
  5895. return this.eventAction;
  5896. }
  5897. }
  5898. }
  5899. /// <summary>
  5900. ///Row event argument class
  5901. ///</summary>
  5902. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5903. public class ВзысканияRowChangeEvent : global::System.EventArgs {
  5904. private ВзысканияRow eventRow;
  5905. private global::System.Data.DataRowAction eventAction;
  5906. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5907. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5908. public ВзысканияRowChangeEvent(ВзысканияRow row, global::System.Data.DataRowAction action) {
  5909. this.eventRow = row;
  5910. this.eventAction = action;
  5911. }
  5912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5913. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5914. public ВзысканияRow Row {
  5915. get {
  5916. return this.eventRow;
  5917. }
  5918. }
  5919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5920. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5921. public global::System.Data.DataRowAction Action {
  5922. get {
  5923. return this.eventAction;
  5924. }
  5925. }
  5926. }
  5927. /// <summary>
  5928. ///Row event argument class
  5929. ///</summary>
  5930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5931. public class ВодителиRowChangeEvent : global::System.EventArgs {
  5932. private ВодителиRow eventRow;
  5933. private global::System.Data.DataRowAction eventAction;
  5934. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5935. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5936. public ВодителиRowChangeEvent(ВодителиRow row, global::System.Data.DataRowAction action) {
  5937. this.eventRow = row;
  5938. this.eventAction = action;
  5939. }
  5940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5941. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5942. public ВодителиRow Row {
  5943. get {
  5944. return this.eventRow;
  5945. }
  5946. }
  5947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5948. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5949. public global::System.Data.DataRowAction Action {
  5950. get {
  5951. return this.eventAction;
  5952. }
  5953. }
  5954. }
  5955. /// <summary>
  5956. ///Row event argument class
  5957. ///</summary>
  5958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5959. public class НарушенияRowChangeEvent : global::System.EventArgs {
  5960. private НарушенияRow eventRow;
  5961. private global::System.Data.DataRowAction eventAction;
  5962. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5963. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5964. public НарушенияRowChangeEvent(НарушенияRow row, global::System.Data.DataRowAction action) {
  5965. this.eventRow = row;
  5966. this.eventAction = action;
  5967. }
  5968. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5969. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5970. public НарушенияRow Row {
  5971. get {
  5972. return this.eventRow;
  5973. }
  5974. }
  5975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5977. public global::System.Data.DataRowAction Action {
  5978. get {
  5979. return this.eventAction;
  5980. }
  5981. }
  5982. }
  5983. /// <summary>
  5984. ///Row event argument class
  5985. ///</summary>
  5986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5987. public class BMWRowChangeEvent : global::System.EventArgs {
  5988. private BMWRow eventRow;
  5989. private global::System.Data.DataRowAction eventAction;
  5990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5991. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5992. public BMWRowChangeEvent(BMWRow row, global::System.Data.DataRowAction action) {
  5993. this.eventRow = row;
  5994. this.eventAction = action;
  5995. }
  5996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5997. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5998. public BMWRow Row {
  5999. get {
  6000. return this.eventRow;
  6001. }
  6002. }
  6003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6004. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6005. public global::System.Data.DataRowAction Action {
  6006. get {
  6007. return this.eventAction;
  6008. }
  6009. }
  6010. }
  6011. /// <summary>
  6012. ///Row event argument class
  6013. ///</summary>
  6014. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6015. public class FordRowChangeEvent : global::System.EventArgs {
  6016. private FordRow eventRow;
  6017. private global::System.Data.DataRowAction eventAction;
  6018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6019. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6020. public FordRowChangeEvent(FordRow row, global::System.Data.DataRowAction action) {
  6021. this.eventRow = row;
  6022. this.eventAction = action;
  6023. }
  6024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6025. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6026. public FordRow Row {
  6027. get {
  6028. return this.eventRow;
  6029. }
  6030. }
  6031. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6032. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6033. public global::System.Data.DataRowAction Action {
  6034. get {
  6035. return this.eventAction;
  6036. }
  6037. }
  6038. }
  6039. /// <summary>
  6040. ///Row event argument class
  6041. ///</summary>
  6042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6043. public class _Взыскания_нарушенияRowChangeEvent : global::System.EventArgs {
  6044. private _Взыскания_нарушенияRow eventRow;
  6045. private global::System.Data.DataRowAction eventAction;
  6046. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6047. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6048. public _Взыскания_нарушенияRowChangeEvent(_Взыскания_нарушенияRow row, global::System.Data.DataRowAction action) {
  6049. this.eventRow = row;
  6050. this.eventAction = action;
  6051. }
  6052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6053. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6054. public _Взыскания_нарушенияRow Row {
  6055. get {
  6056. return this.eventRow;
  6057. }
  6058. }
  6059. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6060. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6061. public global::System.Data.DataRowAction Action {
  6062. get {
  6063. return this.eventAction;
  6064. }
  6065. }
  6066. }
  6067. /// <summary>
  6068. ///Row event argument class
  6069. ///</summary>
  6070. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6071. public class _Водители__автомобильRowChangeEvent : global::System.EventArgs {
  6072. private _Водители__автомобильRow eventRow;
  6073. private global::System.Data.DataRowAction eventAction;
  6074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6075. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6076. public _Водители__автомобильRowChangeEvent(_Водители__автомобильRow row, global::System.Data.DataRowAction action) {
  6077. this.eventRow = row;
  6078. this.eventAction = action;
  6079. }
  6080. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6081. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6082. public _Водители__автомобильRow Row {
  6083. get {
  6084. return this.eventRow;
  6085. }
  6086. }
  6087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6089. public global::System.Data.DataRowAction Action {
  6090. get {
  6091. return this.eventAction;
  6092. }
  6093. }
  6094. }
  6095. /// <summary>
  6096. ///Row event argument class
  6097. ///</summary>
  6098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6099. public class Лишены_праваRowChangeEvent : global::System.EventArgs {
  6100. private Лишены_праваRow eventRow;
  6101. private global::System.Data.DataRowAction eventAction;
  6102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6104. public Лишены_праваRowChangeEvent(Лишены_праваRow row, global::System.Data.DataRowAction action) {
  6105. this.eventRow = row;
  6106. this.eventAction = action;
  6107. }
  6108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6110. public Лишены_праваRow Row {
  6111. get {
  6112. return this.eventRow;
  6113. }
  6114. }
  6115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6116. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6117. public global::System.Data.DataRowAction Action {
  6118. get {
  6119. return this.eventAction;
  6120. }
  6121. }
  6122. }
  6123. /// <summary>
  6124. ///Row event argument class
  6125. ///</summary>
  6126. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6127. public class Нарушения_за_сентябрь_2023RowChangeEvent : global::System.EventArgs {
  6128. private Нарушения_за_сентябрь_2023Row eventRow;
  6129. private global::System.Data.DataRowAction eventAction;
  6130. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6131. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6132. public Нарушения_за_сентябрь_2023RowChangeEvent(Нарушения_за_сентябрь_2023Row row, global::System.Data.DataRowAction action) {
  6133. this.eventRow = row;
  6134. this.eventAction = action;
  6135. }
  6136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6137. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6138. public Нарушения_за_сентябрь_2023Row Row {
  6139. get {
  6140. return this.eventRow;
  6141. }
  6142. }
  6143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6144. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6145. public global::System.Data.DataRowAction Action {
  6146. get {
  6147. return this.eventAction;
  6148. }
  6149. }
  6150. }
  6151. /// <summary>
  6152. ///Row event argument class
  6153. ///</summary>
  6154. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6155. public class фильтр_нарушениеRowChangeEvent : global::System.EventArgs {
  6156. private фильтр_нарушениеRow eventRow;
  6157. private global::System.Data.DataRowAction eventAction;
  6158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6159. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6160. public фильтр_нарушениеRowChangeEvent(фильтр_нарушениеRow row, global::System.Data.DataRowAction action) {
  6161. this.eventRow = row;
  6162. this.eventAction = action;
  6163. }
  6164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6165. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6166. public фильтр_нарушениеRow Row {
  6167. get {
  6168. return this.eventRow;
  6169. }
  6170. }
  6171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6173. public global::System.Data.DataRowAction Action {
  6174. get {
  6175. return this.eventAction;
  6176. }
  6177. }
  6178. }
  6179. }
  6180. }
  6181. namespace Валов_проект_ГАИ.IS31Valov12DataSetTableAdapters {
  6182. /// <summary>
  6183. ///Represents the connection and commands used to retrieve and save data.
  6184. ///</summary>
  6185. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6186. [global::System.ComponentModel.ToolboxItem(true)]
  6187. [global::System.ComponentModel.DataObjectAttribute(true)]
  6188. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6189. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6190. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6191. public partial class АвтомобилиTableAdapter : global::System.ComponentModel.Component {
  6192. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6193. private global::System.Data.SqlClient.SqlConnection _connection;
  6194. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6195. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6196. private bool _clearBeforeFill;
  6197. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6198. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6199. public АвтомобилиTableAdapter() {
  6200. this.ClearBeforeFill = true;
  6201. }
  6202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6203. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6204. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6205. get {
  6206. if ((this._adapter == null)) {
  6207. this.InitAdapter();
  6208. }
  6209. return this._adapter;
  6210. }
  6211. }
  6212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6213. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6214. internal global::System.Data.SqlClient.SqlConnection Connection {
  6215. get {
  6216. if ((this._connection == null)) {
  6217. this.InitConnection();
  6218. }
  6219. return this._connection;
  6220. }
  6221. set {
  6222. this._connection = value;
  6223. if ((this.Adapter.InsertCommand != null)) {
  6224. this.Adapter.InsertCommand.Connection = value;
  6225. }
  6226. if ((this.Adapter.DeleteCommand != null)) {
  6227. this.Adapter.DeleteCommand.Connection = value;
  6228. }
  6229. if ((this.Adapter.UpdateCommand != null)) {
  6230. this.Adapter.UpdateCommand.Connection = value;
  6231. }
  6232. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6233. if ((this.CommandCollection[i] != null)) {
  6234. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6235. }
  6236. }
  6237. }
  6238. }
  6239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6240. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6241. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6242. get {
  6243. return this._transaction;
  6244. }
  6245. set {
  6246. this._transaction = value;
  6247. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6248. this.CommandCollection[i].Transaction = this._transaction;
  6249. }
  6250. if (((this.Adapter != null)
  6251. && (this.Adapter.DeleteCommand != null))) {
  6252. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6253. }
  6254. if (((this.Adapter != null)
  6255. && (this.Adapter.InsertCommand != null))) {
  6256. this.Adapter.InsertCommand.Transaction = this._transaction;
  6257. }
  6258. if (((this.Adapter != null)
  6259. && (this.Adapter.UpdateCommand != null))) {
  6260. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6261. }
  6262. }
  6263. }
  6264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6266. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6267. get {
  6268. if ((this._commandCollection == null)) {
  6269. this.InitCommandCollection();
  6270. }
  6271. return this._commandCollection;
  6272. }
  6273. }
  6274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6275. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6276. public bool ClearBeforeFill {
  6277. get {
  6278. return this._clearBeforeFill;
  6279. }
  6280. set {
  6281. this._clearBeforeFill = value;
  6282. }
  6283. }
  6284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6286. private void InitAdapter() {
  6287. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6288. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6289. tableMapping.SourceTable = "Table";
  6290. tableMapping.DataSetTable = "Автомобили";
  6291. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  6292. tableMapping.ColumnMappings.Add("марка", "марка");
  6293. tableMapping.ColumnMappings.Add("модель", "модель");
  6294. tableMapping.ColumnMappings.Add("цвет", "цвет");
  6295. tableMapping.ColumnMappings.Add("год выпуска", "год выпуска");
  6296. tableMapping.ColumnMappings.Add("дата регистрации в ГАИ", "дата регистрации в ГАИ");
  6297. tableMapping.ColumnMappings.Add("ГОС номера", "ГОС номера");
  6298. tableMapping.ColumnMappings.Add("Номер ВУ", "Номер ВУ");
  6299. this._adapter.TableMappings.Add(tableMapping);
  6300. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  6301. this._adapter.DeleteCommand.Connection = this.Connection;
  6302. 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 ((@IsNull_ГОС_номера = 1 AND [ГОС номера] IS NULL) OR ([ГОС номера] = @Original_ГОС_номера)) AND ((@IsNull_Номер_ВУ = 1 AND [Номер ВУ] IS NULL) OR ([Номер ВУ] = @Original_Номер_ВУ)))";
  6303. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  6304. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6305. 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, "", "", ""));
  6306. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_год_выпуска", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "год выпуска", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6307. 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, "", "", ""));
  6308. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_дата_регистрации_в_ГАИ", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "дата регистрации в ГАИ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6309. 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, "", "", ""));
  6310. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ГОС_номера", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номера", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6311. 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, "", "", ""));
  6312. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_ВУ", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер ВУ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6313. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  6314. this._adapter.InsertCommand.Connection = this.Connection;
  6315. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Автомобили] ([Номер автомобиля], [марка], [модель], [цвет], [год выпуска], [дата регистрации в ГАИ], [ГОС номера], [Номер ВУ]) VALUES (@Номер_автомобиля, @марка, @модель, @цвет, @год_выпуска, @дата_регистрации_в_ГАИ, @ГОС_номера, @Номер_ВУ);
  6316. SELECT [Номер автомобиля], марка, модель, цвет, [год выпуска], [дата регистрации в ГАИ], [ГОС номера], [Номер ВУ] FROM Автомобили WHERE ([Номер автомобиля] = @Номер_автомобиля)";
  6317. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  6318. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6319. 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, "", "", ""));
  6320. 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, "", "", ""));
  6321. 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, "", "", ""));
  6322. 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, "", "", ""));
  6323. 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, "", "", ""));
  6324. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ГОС_номера", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номера", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6325. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_ВУ", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер ВУ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6326. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  6327. this._adapter.UpdateCommand.Connection = this.Connection;
  6328. 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 ((@IsNull_ГОС_номера = 1 AND [ГОС номера] IS NULL) OR ([ГОС номера] = @Original_ГОС_номера)) AND ((@IsNull_Номер_ВУ = 1 AND [Номер ВУ] IS NULL) OR ([Номер ВУ] = @Original_Номер_ВУ)));
  6329. SELECT [Номер автомобиля], марка, модель, цвет, [год выпуска], [дата регистрации в ГАИ], [ГОС номера], [Номер ВУ] FROM Автомобили WHERE ([Номер автомобиля] = @Номер_автомобиля)";
  6330. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  6331. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6332. 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, "", "", ""));
  6333. 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, "", "", ""));
  6334. 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, "", "", ""));
  6335. this._adapter.UpdateCommand.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, "", "", ""));
  6336. this._adapter.UpdateCommand.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, "", "", ""));
  6337. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ГОС_номера", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номера", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6338. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_ВУ", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер ВУ", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6339. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6340. 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, "", "", ""));
  6341. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_год_выпуска", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "год выпуска", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6342. 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, "", "", ""));
  6343. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_дата_регистрации_в_ГАИ", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "дата регистрации в ГАИ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6344. 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, "", "", ""));
  6345. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ГОС_номера", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номера", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6346. 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, "", "", ""));
  6347. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_ВУ", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер ВУ", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6348. }
  6349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6351. private void InitConnection() {
  6352. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6353. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  6354. }
  6355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6357. private void InitCommandCollection() {
  6358. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6359. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6360. this._commandCollection[0].Connection = this.Connection;
  6361. this._commandCollection[0].CommandText = "SELECT [Номер автомобиля], марка, модель, цвет, [год выпуска], [дата регистрации " +
  6362. "в ГАИ], [ГОС номера], [Номер ВУ] FROM dbo.Автомобили";
  6363. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6364. }
  6365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6366. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6367. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6368. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6369. public virtual int Fill(IS31Valov12DataSet.АвтомобилиDataTable dataTable) {
  6370. this.Adapter.SelectCommand = this.CommandCollection[0];
  6371. if ((this.ClearBeforeFill == true)) {
  6372. dataTable.Clear();
  6373. }
  6374. int returnValue = this.Adapter.Fill(dataTable);
  6375. return returnValue;
  6376. }
  6377. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6378. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6379. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6380. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6381. public virtual IS31Valov12DataSet.АвтомобилиDataTable GetData() {
  6382. this.Adapter.SelectCommand = this.CommandCollection[0];
  6383. IS31Valov12DataSet.АвтомобилиDataTable dataTable = new IS31Valov12DataSet.АвтомобилиDataTable();
  6384. this.Adapter.Fill(dataTable);
  6385. return dataTable;
  6386. }
  6387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6388. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6389. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6390. public virtual int Update(IS31Valov12DataSet.АвтомобилиDataTable dataTable) {
  6391. return this.Adapter.Update(dataTable);
  6392. }
  6393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6395. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6396. public virtual int Update(IS31Valov12DataSet dataSet) {
  6397. return this.Adapter.Update(dataSet, "Автомобили");
  6398. }
  6399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6400. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6401. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6402. public virtual int Update(global::System.Data.DataRow dataRow) {
  6403. return this.Adapter.Update(new global::System.Data.DataRow[] {
  6404. dataRow});
  6405. }
  6406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6408. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6409. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  6410. return this.Adapter.Update(dataRows);
  6411. }
  6412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6413. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6414. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6415. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  6416. public virtual int Delete(long Original_Номер_автомобиля, global::System.Nullable<global::System.DateTime> Original_год_выпуска, global::System.Nullable<global::System.DateTime> Original_дата_регистрации_в_ГАИ, string Original_ГОС_номера, string Original_Номер_ВУ) {
  6417. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Номер_автомобиля));
  6418. if ((Original_год_выпуска.HasValue == true)) {
  6419. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  6420. this.Adapter.DeleteCommand.Parameters[2].Value = ((System.DateTime)(Original_год_выпуска.Value));
  6421. }
  6422. else {
  6423. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  6424. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  6425. }
  6426. if ((Original_дата_регистрации_в_ГАИ.HasValue == true)) {
  6427. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  6428. this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_дата_регистрации_в_ГАИ.Value));
  6429. }
  6430. else {
  6431. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  6432. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  6433. }
  6434. if ((Original_ГОС_номера == null)) {
  6435. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  6436. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  6437. }
  6438. else {
  6439. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  6440. this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_ГОС_номера));
  6441. }
  6442. if ((Original_Номер_ВУ == null)) {
  6443. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
  6444. this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
  6445. }
  6446. else {
  6447. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
  6448. this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Номер_ВУ));
  6449. }
  6450. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  6451. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6452. != global::System.Data.ConnectionState.Open)) {
  6453. this.Adapter.DeleteCommand.Connection.Open();
  6454. }
  6455. try {
  6456. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  6457. return returnValue;
  6458. }
  6459. finally {
  6460. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6461. this.Adapter.DeleteCommand.Connection.Close();
  6462. }
  6463. }
  6464. }
  6465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6466. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6467. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6468. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  6469. public virtual int Insert(long Номер_автомобиля, string марка, string модель, string цвет, global::System.Nullable<global::System.DateTime> год_выпуска, global::System.Nullable<global::System.DateTime> дата_регистрации_в_ГАИ, string ГОС_номера, string Номер_ВУ) {
  6470. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Номер_автомобиля));
  6471. if ((марка == null)) {
  6472. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  6473. }
  6474. else {
  6475. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(марка));
  6476. }
  6477. if ((модель == null)) {
  6478. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  6479. }
  6480. else {
  6481. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(модель));
  6482. }
  6483. if ((цвет == null)) {
  6484. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  6485. }
  6486. else {
  6487. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(цвет));
  6488. }
  6489. if ((год_выпуска.HasValue == true)) {
  6490. this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(год_выпуска.Value));
  6491. }
  6492. else {
  6493. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  6494. }
  6495. if ((дата_регистрации_в_ГАИ.HasValue == true)) {
  6496. this.Adapter.InsertCommand.Parameters[5].Value = ((System.DateTime)(дата_регистрации_в_ГАИ.Value));
  6497. }
  6498. else {
  6499. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  6500. }
  6501. if ((ГОС_номера == null)) {
  6502. this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
  6503. }
  6504. else {
  6505. this.Adapter.InsertCommand.Parameters[6].Value = ((string)(ГОС_номера));
  6506. }
  6507. if ((Номер_ВУ == null)) {
  6508. this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
  6509. }
  6510. else {
  6511. this.Adapter.InsertCommand.Parameters[7].Value = ((string)(Номер_ВУ));
  6512. }
  6513. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  6514. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6515. != global::System.Data.ConnectionState.Open)) {
  6516. this.Adapter.InsertCommand.Connection.Open();
  6517. }
  6518. try {
  6519. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  6520. return returnValue;
  6521. }
  6522. finally {
  6523. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6524. this.Adapter.InsertCommand.Connection.Close();
  6525. }
  6526. }
  6527. }
  6528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6529. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6530. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6531. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6532. public virtual int Update(long Номер_автомобиля, string марка, string модель, string цвет, global::System.Nullable<global::System.DateTime> год_выпуска, global::System.Nullable<global::System.DateTime> дата_регистрации_в_ГАИ, string ГОС_номера, string Номер_ВУ, long Original_Номер_автомобиля, global::System.Nullable<global::System.DateTime> Original_год_выпуска, global::System.Nullable<global::System.DateTime> Original_дата_регистрации_в_ГАИ, string Original_ГОС_номера, string Original_Номер_ВУ) {
  6533. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(Номер_автомобиля));
  6534. if ((марка == null)) {
  6535. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  6536. }
  6537. else {
  6538. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(марка));
  6539. }
  6540. if ((модель == null)) {
  6541. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  6542. }
  6543. else {
  6544. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(модель));
  6545. }
  6546. if ((цвет == null)) {
  6547. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  6548. }
  6549. else {
  6550. this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(цвет));
  6551. }
  6552. if ((год_выпуска.HasValue == true)) {
  6553. this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(год_выпуска.Value));
  6554. }
  6555. else {
  6556. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  6557. }
  6558. if ((дата_регистрации_в_ГАИ.HasValue == true)) {
  6559. this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(дата_регистрации_в_ГАИ.Value));
  6560. }
  6561. else {
  6562. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  6563. }
  6564. if ((ГОС_номера == null)) {
  6565. this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
  6566. }
  6567. else {
  6568. this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(ГОС_номера));
  6569. }
  6570. if ((Номер_ВУ == null)) {
  6571. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  6572. }
  6573. else {
  6574. this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Номер_ВУ));
  6575. }
  6576. this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(Original_Номер_автомобиля));
  6577. if ((Original_год_выпуска.HasValue == true)) {
  6578. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
  6579. this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Original_год_выпуска.Value));
  6580. }
  6581. else {
  6582. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
  6583. this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
  6584. }
  6585. if ((Original_дата_регистрации_в_ГАИ.HasValue == true)) {
  6586. this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
  6587. this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(Original_дата_регистрации_в_ГАИ.Value));
  6588. }
  6589. else {
  6590. this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
  6591. this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
  6592. }
  6593. if ((Original_ГОС_номера == null)) {
  6594. this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
  6595. this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
  6596. }
  6597. else {
  6598. this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
  6599. this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_ГОС_номера));
  6600. }
  6601. if ((Original_Номер_ВУ == null)) {
  6602. this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
  6603. this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
  6604. }
  6605. else {
  6606. this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
  6607. this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_Номер_ВУ));
  6608. }
  6609. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  6610. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6611. != global::System.Data.ConnectionState.Open)) {
  6612. this.Adapter.UpdateCommand.Connection.Open();
  6613. }
  6614. try {
  6615. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  6616. return returnValue;
  6617. }
  6618. finally {
  6619. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6620. this.Adapter.UpdateCommand.Connection.Close();
  6621. }
  6622. }
  6623. }
  6624. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6626. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6627. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6628. public virtual int Update(string марка, string модель, string цвет, global::System.Nullable<global::System.DateTime> год_выпуска, global::System.Nullable<global::System.DateTime> дата_регистрации_в_ГАИ, string ГОС_номера, string Номер_ВУ, long Original_Номер_автомобиля, global::System.Nullable<global::System.DateTime> Original_год_выпуска, global::System.Nullable<global::System.DateTime> Original_дата_регистрации_в_ГАИ, string Original_ГОС_номера, string Original_Номер_ВУ) {
  6629. return this.Update(Original_Номер_автомобиля, марка, модель, цвет, год_выпуска, дата_регистрации_в_ГАИ, ГОС_номера, Номер_ВУ, Original_Номер_автомобиля, Original_год_выпуска, Original_дата_регистрации_в_ГАИ, Original_ГОС_номера, Original_Номер_ВУ);
  6630. }
  6631. }
  6632. /// <summary>
  6633. ///Represents the connection and commands used to retrieve and save data.
  6634. ///</summary>
  6635. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6636. [global::System.ComponentModel.ToolboxItem(true)]
  6637. [global::System.ComponentModel.DataObjectAttribute(true)]
  6638. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6639. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6640. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6641. public partial class ВзысканияTableAdapter : global::System.ComponentModel.Component {
  6642. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6643. private global::System.Data.SqlClient.SqlConnection _connection;
  6644. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6645. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6646. private bool _clearBeforeFill;
  6647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6648. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6649. public ВзысканияTableAdapter() {
  6650. this.ClearBeforeFill = true;
  6651. }
  6652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6653. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6654. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6655. get {
  6656. if ((this._adapter == null)) {
  6657. this.InitAdapter();
  6658. }
  6659. return this._adapter;
  6660. }
  6661. }
  6662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6664. internal global::System.Data.SqlClient.SqlConnection Connection {
  6665. get {
  6666. if ((this._connection == null)) {
  6667. this.InitConnection();
  6668. }
  6669. return this._connection;
  6670. }
  6671. set {
  6672. this._connection = value;
  6673. if ((this.Adapter.InsertCommand != null)) {
  6674. this.Adapter.InsertCommand.Connection = value;
  6675. }
  6676. if ((this.Adapter.DeleteCommand != null)) {
  6677. this.Adapter.DeleteCommand.Connection = value;
  6678. }
  6679. if ((this.Adapter.UpdateCommand != null)) {
  6680. this.Adapter.UpdateCommand.Connection = value;
  6681. }
  6682. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6683. if ((this.CommandCollection[i] != null)) {
  6684. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6685. }
  6686. }
  6687. }
  6688. }
  6689. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6690. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6691. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6692. get {
  6693. return this._transaction;
  6694. }
  6695. set {
  6696. this._transaction = value;
  6697. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6698. this.CommandCollection[i].Transaction = this._transaction;
  6699. }
  6700. if (((this.Adapter != null)
  6701. && (this.Adapter.DeleteCommand != null))) {
  6702. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6703. }
  6704. if (((this.Adapter != null)
  6705. && (this.Adapter.InsertCommand != null))) {
  6706. this.Adapter.InsertCommand.Transaction = this._transaction;
  6707. }
  6708. if (((this.Adapter != null)
  6709. && (this.Adapter.UpdateCommand != null))) {
  6710. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6711. }
  6712. }
  6713. }
  6714. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6715. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6716. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6717. get {
  6718. if ((this._commandCollection == null)) {
  6719. this.InitCommandCollection();
  6720. }
  6721. return this._commandCollection;
  6722. }
  6723. }
  6724. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6725. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6726. public bool ClearBeforeFill {
  6727. get {
  6728. return this._clearBeforeFill;
  6729. }
  6730. set {
  6731. this._clearBeforeFill = value;
  6732. }
  6733. }
  6734. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6735. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6736. private void InitAdapter() {
  6737. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6738. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6739. tableMapping.SourceTable = "Table";
  6740. tableMapping.DataSetTable = "Взыскания";
  6741. tableMapping.ColumnMappings.Add("Код нарушения", "Код нарушения");
  6742. tableMapping.ColumnMappings.Add("Штраф за нарушения", "Штраф за нарушения");
  6743. tableMapping.ColumnMappings.Add("Срок лишения месяц", "Срок лишения месяц");
  6744. tableMapping.ColumnMappings.Add("предупреждение", "предупреждение");
  6745. this._adapter.TableMappings.Add(tableMapping);
  6746. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  6747. this._adapter.DeleteCommand.Connection = this.Connection;
  6748. 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 ((@IsNull_предупреждение = 1 AND [предупреждение] IS NULL) OR ([предупреждение] = @Original_предупреждение)))";
  6749. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  6750. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6751. 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, "", "", ""));
  6752. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Штраф_за_нарушения", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Штраф за нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6753. 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, "", "", ""));
  6754. 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, "", "", ""));
  6755. 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, "", "", ""));
  6756. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_предупреждение", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "предупреждение", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6757. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  6758. this._adapter.InsertCommand.Connection = this.Connection;
  6759. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Взыскания] ([Код нарушения], [Штраф за нарушения], [Срок лишения месяц], [предупреждение]) VALUES (@Код_нарушения, @Штраф_за_нарушения, @Срок_лишения_месяц, @предупреждение);
  6760. SELECT [Код нарушения], [Штраф за нарушения], [Срок лишения месяц], предупреждение FROM Взыскания WHERE ([Код нарушения] = @Код_нарушения)";
  6761. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  6762. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6763. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Штраф_за_нарушения", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Штраф за нарушения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6764. 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, "", "", ""));
  6765. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@предупреждение", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "предупреждение", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6766. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  6767. this._adapter.UpdateCommand.Connection = this.Connection;
  6768. 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 ((@IsNull_предупреждение = 1 AND [предупреждение] IS NULL) OR ([предупреждение] = @Original_предупреждение)));
  6769. SELECT [Код нарушения], [Штраф за нарушения], [Срок лишения месяц], предупреждение FROM Взыскания WHERE ([Код нарушения] = @Код_нарушения)";
  6770. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  6771. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6772. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Штраф_за_нарушения", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Штраф за нарушения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6773. 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, "", "", ""));
  6774. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@предупреждение", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "предупреждение", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6775. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6776. 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, "", "", ""));
  6777. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Штраф_за_нарушения", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "Штраф за нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6778. 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, "", "", ""));
  6779. 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, "", "", ""));
  6780. 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, "", "", ""));
  6781. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_предупреждение", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "предупреждение", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  6782. }
  6783. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6784. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6785. private void InitConnection() {
  6786. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6787. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  6788. }
  6789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6790. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6791. private void InitCommandCollection() {
  6792. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6793. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6794. this._commandCollection[0].Connection = this.Connection;
  6795. this._commandCollection[0].CommandText = "SELECT [Код нарушения], [Штраф за нарушения], [Срок лишения месяц], предупреждени" +
  6796. "е FROM dbo.Взыскания";
  6797. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6798. }
  6799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6800. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6801. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6802. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6803. public virtual int Fill(IS31Valov12DataSet.ВзысканияDataTable dataTable) {
  6804. this.Adapter.SelectCommand = this.CommandCollection[0];
  6805. if ((this.ClearBeforeFill == true)) {
  6806. dataTable.Clear();
  6807. }
  6808. int returnValue = this.Adapter.Fill(dataTable);
  6809. return returnValue;
  6810. }
  6811. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6812. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6813. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6814. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6815. public virtual IS31Valov12DataSet.ВзысканияDataTable GetData() {
  6816. this.Adapter.SelectCommand = this.CommandCollection[0];
  6817. IS31Valov12DataSet.ВзысканияDataTable dataTable = new IS31Valov12DataSet.ВзысканияDataTable();
  6818. this.Adapter.Fill(dataTable);
  6819. return dataTable;
  6820. }
  6821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6823. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6824. public virtual int Update(IS31Valov12DataSet.ВзысканияDataTable dataTable) {
  6825. return this.Adapter.Update(dataTable);
  6826. }
  6827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6829. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6830. public virtual int Update(IS31Valov12DataSet dataSet) {
  6831. return this.Adapter.Update(dataSet, "Взыскания");
  6832. }
  6833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6835. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6836. public virtual int Update(global::System.Data.DataRow dataRow) {
  6837. return this.Adapter.Update(new global::System.Data.DataRow[] {
  6838. dataRow});
  6839. }
  6840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6842. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6843. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  6844. return this.Adapter.Update(dataRows);
  6845. }
  6846. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6847. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6848. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6849. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  6850. public virtual int Delete(long Original_Код_нарушения, global::System.Nullable<decimal> Original_Штраф_за_нарушения, global::System.Nullable<byte> Original_Срок_лишения_месяц, global::System.Nullable<bool> Original_предупреждение) {
  6851. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Код_нарушения));
  6852. if ((Original_Штраф_за_нарушения.HasValue == true)) {
  6853. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  6854. this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_Штраф_за_нарушения.Value));
  6855. }
  6856. else {
  6857. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  6858. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  6859. }
  6860. if ((Original_Срок_лишения_месяц.HasValue == true)) {
  6861. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  6862. this.Adapter.DeleteCommand.Parameters[4].Value = ((byte)(Original_Срок_лишения_месяц.Value));
  6863. }
  6864. else {
  6865. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  6866. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  6867. }
  6868. if ((Original_предупреждение.HasValue == true)) {
  6869. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  6870. this.Adapter.DeleteCommand.Parameters[6].Value = ((bool)(Original_предупреждение.Value));
  6871. }
  6872. else {
  6873. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  6874. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  6875. }
  6876. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  6877. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6878. != global::System.Data.ConnectionState.Open)) {
  6879. this.Adapter.DeleteCommand.Connection.Open();
  6880. }
  6881. try {
  6882. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  6883. return returnValue;
  6884. }
  6885. finally {
  6886. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6887. this.Adapter.DeleteCommand.Connection.Close();
  6888. }
  6889. }
  6890. }
  6891. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6892. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6893. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6894. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  6895. public virtual int Insert(long Код_нарушения, global::System.Nullable<decimal> Штраф_за_нарушения, global::System.Nullable<byte> Срок_лишения_месяц, global::System.Nullable<bool> предупреждение) {
  6896. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Код_нарушения));
  6897. if ((Штраф_за_нарушения.HasValue == true)) {
  6898. this.Adapter.InsertCommand.Parameters[1].Value = ((decimal)(Штраф_за_нарушения.Value));
  6899. }
  6900. else {
  6901. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  6902. }
  6903. if ((Срок_лишения_месяц.HasValue == true)) {
  6904. this.Adapter.InsertCommand.Parameters[2].Value = ((byte)(Срок_лишения_месяц.Value));
  6905. }
  6906. else {
  6907. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  6908. }
  6909. if ((предупреждение.HasValue == true)) {
  6910. this.Adapter.InsertCommand.Parameters[3].Value = ((bool)(предупреждение.Value));
  6911. }
  6912. else {
  6913. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  6914. }
  6915. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  6916. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6917. != global::System.Data.ConnectionState.Open)) {
  6918. this.Adapter.InsertCommand.Connection.Open();
  6919. }
  6920. try {
  6921. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  6922. return returnValue;
  6923. }
  6924. finally {
  6925. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6926. this.Adapter.InsertCommand.Connection.Close();
  6927. }
  6928. }
  6929. }
  6930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6932. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6933. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6934. public virtual int Update(long Код_нарушения, global::System.Nullable<decimal> Штраф_за_нарушения, global::System.Nullable<byte> Срок_лишения_месяц, global::System.Nullable<bool> предупреждение, long Original_Код_нарушения, global::System.Nullable<decimal> Original_Штраф_за_нарушения, global::System.Nullable<byte> Original_Срок_лишения_месяц, global::System.Nullable<bool> Original_предупреждение) {
  6935. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(Код_нарушения));
  6936. if ((Штраф_за_нарушения.HasValue == true)) {
  6937. this.Adapter.UpdateCommand.Parameters[1].Value = ((decimal)(Штраф_за_нарушения.Value));
  6938. }
  6939. else {
  6940. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  6941. }
  6942. if ((Срок_лишения_месяц.HasValue == true)) {
  6943. this.Adapter.UpdateCommand.Parameters[2].Value = ((byte)(Срок_лишения_месяц.Value));
  6944. }
  6945. else {
  6946. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  6947. }
  6948. if ((предупреждение.HasValue == true)) {
  6949. this.Adapter.UpdateCommand.Parameters[3].Value = ((bool)(предупреждение.Value));
  6950. }
  6951. else {
  6952. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  6953. }
  6954. this.Adapter.UpdateCommand.Parameters[4].Value = ((long)(Original_Код_нарушения));
  6955. if ((Original_Штраф_за_нарушения.HasValue == true)) {
  6956. this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
  6957. this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(Original_Штраф_за_нарушения.Value));
  6958. }
  6959. else {
  6960. this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
  6961. this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
  6962. }
  6963. if ((Original_Срок_лишения_месяц.HasValue == true)) {
  6964. this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
  6965. this.Adapter.UpdateCommand.Parameters[8].Value = ((byte)(Original_Срок_лишения_месяц.Value));
  6966. }
  6967. else {
  6968. this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
  6969. this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
  6970. }
  6971. if ((Original_предупреждение.HasValue == true)) {
  6972. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
  6973. this.Adapter.UpdateCommand.Parameters[10].Value = ((bool)(Original_предупреждение.Value));
  6974. }
  6975. else {
  6976. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
  6977. this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
  6978. }
  6979. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  6980. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  6981. != global::System.Data.ConnectionState.Open)) {
  6982. this.Adapter.UpdateCommand.Connection.Open();
  6983. }
  6984. try {
  6985. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  6986. return returnValue;
  6987. }
  6988. finally {
  6989. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6990. this.Adapter.UpdateCommand.Connection.Close();
  6991. }
  6992. }
  6993. }
  6994. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6995. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6996. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6997. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6998. public virtual int Update(global::System.Nullable<decimal> Штраф_за_нарушения, global::System.Nullable<byte> Срок_лишения_месяц, global::System.Nullable<bool> предупреждение, long Original_Код_нарушения, global::System.Nullable<decimal> Original_Штраф_за_нарушения, global::System.Nullable<byte> Original_Срок_лишения_месяц, global::System.Nullable<bool> Original_предупреждение) {
  6999. return this.Update(Original_Код_нарушения, Штраф_за_нарушения, Срок_лишения_месяц, предупреждение, Original_Код_нарушения, Original_Штраф_за_нарушения, Original_Срок_лишения_месяц, Original_предупреждение);
  7000. }
  7001. }
  7002. /// <summary>
  7003. ///Represents the connection and commands used to retrieve and save data.
  7004. ///</summary>
  7005. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7006. [global::System.ComponentModel.ToolboxItem(true)]
  7007. [global::System.ComponentModel.DataObjectAttribute(true)]
  7008. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7009. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7010. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7011. public partial class ВодителиTableAdapter : global::System.ComponentModel.Component {
  7012. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7013. private global::System.Data.SqlClient.SqlConnection _connection;
  7014. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7015. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7016. private bool _clearBeforeFill;
  7017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7018. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7019. public ВодителиTableAdapter() {
  7020. this.ClearBeforeFill = true;
  7021. }
  7022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7023. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7024. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7025. get {
  7026. if ((this._adapter == null)) {
  7027. this.InitAdapter();
  7028. }
  7029. return this._adapter;
  7030. }
  7031. }
  7032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7033. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7034. internal global::System.Data.SqlClient.SqlConnection Connection {
  7035. get {
  7036. if ((this._connection == null)) {
  7037. this.InitConnection();
  7038. }
  7039. return this._connection;
  7040. }
  7041. set {
  7042. this._connection = value;
  7043. if ((this.Adapter.InsertCommand != null)) {
  7044. this.Adapter.InsertCommand.Connection = value;
  7045. }
  7046. if ((this.Adapter.DeleteCommand != null)) {
  7047. this.Adapter.DeleteCommand.Connection = value;
  7048. }
  7049. if ((this.Adapter.UpdateCommand != null)) {
  7050. this.Adapter.UpdateCommand.Connection = value;
  7051. }
  7052. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7053. if ((this.CommandCollection[i] != null)) {
  7054. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7055. }
  7056. }
  7057. }
  7058. }
  7059. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7060. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7061. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7062. get {
  7063. return this._transaction;
  7064. }
  7065. set {
  7066. this._transaction = value;
  7067. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7068. this.CommandCollection[i].Transaction = this._transaction;
  7069. }
  7070. if (((this.Adapter != null)
  7071. && (this.Adapter.DeleteCommand != null))) {
  7072. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7073. }
  7074. if (((this.Adapter != null)
  7075. && (this.Adapter.InsertCommand != null))) {
  7076. this.Adapter.InsertCommand.Transaction = this._transaction;
  7077. }
  7078. if (((this.Adapter != null)
  7079. && (this.Adapter.UpdateCommand != null))) {
  7080. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7081. }
  7082. }
  7083. }
  7084. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7085. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7086. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7087. get {
  7088. if ((this._commandCollection == null)) {
  7089. this.InitCommandCollection();
  7090. }
  7091. return this._commandCollection;
  7092. }
  7093. }
  7094. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7095. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7096. public bool ClearBeforeFill {
  7097. get {
  7098. return this._clearBeforeFill;
  7099. }
  7100. set {
  7101. this._clearBeforeFill = value;
  7102. }
  7103. }
  7104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7106. private void InitAdapter() {
  7107. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7108. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7109. tableMapping.SourceTable = "Table";
  7110. tableMapping.DataSetTable = "Водители";
  7111. tableMapping.ColumnMappings.Add("Номер водительского удостоверения", "Номер водительского удостоверения");
  7112. tableMapping.ColumnMappings.Add("Фамилия", "Фамилия");
  7113. tableMapping.ColumnMappings.Add("Имя", "Имя");
  7114. tableMapping.ColumnMappings.Add("Отчество", "Отчество");
  7115. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  7116. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  7117. this._adapter.TableMappings.Add(tableMapping);
  7118. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  7119. this._adapter.DeleteCommand.Connection = this.Connection;
  7120. this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Водители] WHERE (([Номер водительского удостоверения] = @Origi" +
  7121. "nal_Номер_водительского_удостоверения))";
  7122. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  7123. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_водительского_удостоверения", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер водительского удостоверения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7124. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  7125. this._adapter.InsertCommand.Connection = this.Connection;
  7126. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Водители] ([Номер водительского удостоверения], [Фамилия], [Имя], [Отчество], [Адрес], [Телефон]) VALUES (@Номер_водительского_удостоверения, @Фамилия, @Имя, @Отчество, @Адрес, @Телефон);
  7127. SELECT [Номер водительского удостоверения], Фамилия, Имя, Отчество, Адрес, Телефон FROM Водители WHERE ([Номер водительского удостоверения] = @Номер_водительского_удостоверения)";
  7128. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  7129. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_водительского_удостоверения", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер водительского удостоверения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7130. 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, "", "", ""));
  7131. 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, "", "", ""));
  7132. 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, "", "", ""));
  7133. 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, "", "", ""));
  7134. 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, "", "", ""));
  7135. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  7136. this._adapter.UpdateCommand.Connection = this.Connection;
  7137. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Водители] SET [Номер водительского удостоверения] = @Номер_водительского_удостоверения, [Фамилия] = @Фамилия, [Имя] = @Имя, [Отчество] = @Отчество, [Адрес] = @Адрес, [Телефон] = @Телефон WHERE (([Номер водительского удостоверения] = @Original_Номер_водительского_удостоверения));
  7138. SELECT [Номер водительского удостоверения], Фамилия, Имя, Отчество, Адрес, Телефон FROM Водители WHERE ([Номер водительского удостоверения] = @Номер_водительского_удостоверения)";
  7139. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  7140. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_водительского_удостоверения", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер водительского удостоверения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7141. 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, "", "", ""));
  7142. 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, "", "", ""));
  7143. 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, "", "", ""));
  7144. 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, "", "", ""));
  7145. 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, "", "", ""));
  7146. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_водительского_удостоверения", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер водительского удостоверения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7147. }
  7148. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7149. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7150. private void InitConnection() {
  7151. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7152. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  7153. }
  7154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7156. private void InitCommandCollection() {
  7157. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7158. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7159. this._commandCollection[0].Connection = this.Connection;
  7160. this._commandCollection[0].CommandText = "SELECT [Номер водительского удостоверения], Фамилия, Имя, Отчество, Адрес, Телефо" +
  7161. "н FROM dbo.Водители";
  7162. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7163. }
  7164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7165. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7166. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7167. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7168. public virtual int Fill(IS31Valov12DataSet.ВодителиDataTable dataTable) {
  7169. this.Adapter.SelectCommand = this.CommandCollection[0];
  7170. if ((this.ClearBeforeFill == true)) {
  7171. dataTable.Clear();
  7172. }
  7173. int returnValue = this.Adapter.Fill(dataTable);
  7174. return returnValue;
  7175. }
  7176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7177. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7178. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7179. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7180. public virtual IS31Valov12DataSet.ВодителиDataTable GetData() {
  7181. this.Adapter.SelectCommand = this.CommandCollection[0];
  7182. IS31Valov12DataSet.ВодителиDataTable dataTable = new IS31Valov12DataSet.ВодителиDataTable();
  7183. this.Adapter.Fill(dataTable);
  7184. return dataTable;
  7185. }
  7186. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7188. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7189. public virtual int Update(IS31Valov12DataSet.ВодителиDataTable dataTable) {
  7190. return this.Adapter.Update(dataTable);
  7191. }
  7192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7193. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7194. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7195. public virtual int Update(IS31Valov12DataSet dataSet) {
  7196. return this.Adapter.Update(dataSet, "Водители");
  7197. }
  7198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7199. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7200. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7201. public virtual int Update(global::System.Data.DataRow dataRow) {
  7202. return this.Adapter.Update(new global::System.Data.DataRow[] {
  7203. dataRow});
  7204. }
  7205. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7206. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7207. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7208. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  7209. return this.Adapter.Update(dataRows);
  7210. }
  7211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7213. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7214. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  7215. public virtual int Delete(string Original_Номер_водительского_удостоверения) {
  7216. if ((Original_Номер_водительского_удостоверения == null)) {
  7217. throw new global::System.ArgumentNullException("Original_Номер_водительского_удостоверения");
  7218. }
  7219. else {
  7220. this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_Номер_водительского_удостоверения));
  7221. }
  7222. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  7223. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7224. != global::System.Data.ConnectionState.Open)) {
  7225. this.Adapter.DeleteCommand.Connection.Open();
  7226. }
  7227. try {
  7228. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  7229. return returnValue;
  7230. }
  7231. finally {
  7232. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7233. this.Adapter.DeleteCommand.Connection.Close();
  7234. }
  7235. }
  7236. }
  7237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7239. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7240. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  7241. public virtual int Insert(string Номер_водительского_удостоверения, string Фамилия, string Имя, string Отчество, string Адрес, string Телефон) {
  7242. if ((Номер_водительского_удостоверения == null)) {
  7243. throw new global::System.ArgumentNullException("Номер_водительского_удостоверения");
  7244. }
  7245. else {
  7246. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Номер_водительского_удостоверения));
  7247. }
  7248. if ((Фамилия == null)) {
  7249. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  7250. }
  7251. else {
  7252. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Фамилия));
  7253. }
  7254. if ((Имя == null)) {
  7255. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  7256. }
  7257. else {
  7258. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Имя));
  7259. }
  7260. if ((Отчество == null)) {
  7261. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  7262. }
  7263. else {
  7264. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Отчество));
  7265. }
  7266. if ((Адрес == null)) {
  7267. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  7268. }
  7269. else {
  7270. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Адрес));
  7271. }
  7272. if ((Телефон == null)) {
  7273. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  7274. }
  7275. else {
  7276. this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Телефон));
  7277. }
  7278. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  7279. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7280. != global::System.Data.ConnectionState.Open)) {
  7281. this.Adapter.InsertCommand.Connection.Open();
  7282. }
  7283. try {
  7284. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  7285. return returnValue;
  7286. }
  7287. finally {
  7288. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7289. this.Adapter.InsertCommand.Connection.Close();
  7290. }
  7291. }
  7292. }
  7293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7294. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7295. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7296. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7297. public virtual int Update(string Номер_водительского_удостоверения, string Фамилия, string Имя, string Отчество, string Адрес, string Телефон, string Original_Номер_водительского_удостоверения) {
  7298. if ((Номер_водительского_удостоверения == null)) {
  7299. throw new global::System.ArgumentNullException("Номер_водительского_удостоверения");
  7300. }
  7301. else {
  7302. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Номер_водительского_удостоверения));
  7303. }
  7304. if ((Фамилия == null)) {
  7305. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  7306. }
  7307. else {
  7308. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Фамилия));
  7309. }
  7310. if ((Имя == null)) {
  7311. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  7312. }
  7313. else {
  7314. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Имя));
  7315. }
  7316. if ((Отчество == null)) {
  7317. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  7318. }
  7319. else {
  7320. this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Отчество));
  7321. }
  7322. if ((Адрес == null)) {
  7323. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  7324. }
  7325. else {
  7326. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Адрес));
  7327. }
  7328. if ((Телефон == null)) {
  7329. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  7330. }
  7331. else {
  7332. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Телефон));
  7333. }
  7334. if ((Original_Номер_водительского_удостоверения == null)) {
  7335. throw new global::System.ArgumentNullException("Original_Номер_водительского_удостоверения");
  7336. }
  7337. else {
  7338. this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Номер_водительского_удостоверения));
  7339. }
  7340. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  7341. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7342. != global::System.Data.ConnectionState.Open)) {
  7343. this.Adapter.UpdateCommand.Connection.Open();
  7344. }
  7345. try {
  7346. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  7347. return returnValue;
  7348. }
  7349. finally {
  7350. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7351. this.Adapter.UpdateCommand.Connection.Close();
  7352. }
  7353. }
  7354. }
  7355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7357. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7358. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7359. public virtual int Update(string Фамилия, string Имя, string Отчество, string Адрес, string Телефон, string Original_Номер_водительского_удостоверения) {
  7360. return this.Update(Original_Номер_водительского_удостоверения, Фамилия, Имя, Отчество, Адрес, Телефон, Original_Номер_водительского_удостоверения);
  7361. }
  7362. }
  7363. /// <summary>
  7364. ///Represents the connection and commands used to retrieve and save data.
  7365. ///</summary>
  7366. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7367. [global::System.ComponentModel.ToolboxItem(true)]
  7368. [global::System.ComponentModel.DataObjectAttribute(true)]
  7369. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7370. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7371. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7372. public partial class НарушенияTableAdapter : global::System.ComponentModel.Component {
  7373. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7374. private global::System.Data.SqlClient.SqlConnection _connection;
  7375. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7376. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7377. private bool _clearBeforeFill;
  7378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7380. public НарушенияTableAdapter() {
  7381. this.ClearBeforeFill = true;
  7382. }
  7383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7385. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7386. get {
  7387. if ((this._adapter == null)) {
  7388. this.InitAdapter();
  7389. }
  7390. return this._adapter;
  7391. }
  7392. }
  7393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7395. internal global::System.Data.SqlClient.SqlConnection Connection {
  7396. get {
  7397. if ((this._connection == null)) {
  7398. this.InitConnection();
  7399. }
  7400. return this._connection;
  7401. }
  7402. set {
  7403. this._connection = value;
  7404. if ((this.Adapter.InsertCommand != null)) {
  7405. this.Adapter.InsertCommand.Connection = value;
  7406. }
  7407. if ((this.Adapter.DeleteCommand != null)) {
  7408. this.Adapter.DeleteCommand.Connection = value;
  7409. }
  7410. if ((this.Adapter.UpdateCommand != null)) {
  7411. this.Adapter.UpdateCommand.Connection = value;
  7412. }
  7413. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7414. if ((this.CommandCollection[i] != null)) {
  7415. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7416. }
  7417. }
  7418. }
  7419. }
  7420. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7421. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7422. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7423. get {
  7424. return this._transaction;
  7425. }
  7426. set {
  7427. this._transaction = value;
  7428. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7429. this.CommandCollection[i].Transaction = this._transaction;
  7430. }
  7431. if (((this.Adapter != null)
  7432. && (this.Adapter.DeleteCommand != null))) {
  7433. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7434. }
  7435. if (((this.Adapter != null)
  7436. && (this.Adapter.InsertCommand != null))) {
  7437. this.Adapter.InsertCommand.Transaction = this._transaction;
  7438. }
  7439. if (((this.Adapter != null)
  7440. && (this.Adapter.UpdateCommand != null))) {
  7441. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7442. }
  7443. }
  7444. }
  7445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7446. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7447. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7448. get {
  7449. if ((this._commandCollection == null)) {
  7450. this.InitCommandCollection();
  7451. }
  7452. return this._commandCollection;
  7453. }
  7454. }
  7455. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7456. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7457. public bool ClearBeforeFill {
  7458. get {
  7459. return this._clearBeforeFill;
  7460. }
  7461. set {
  7462. this._clearBeforeFill = value;
  7463. }
  7464. }
  7465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7466. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7467. private void InitAdapter() {
  7468. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7469. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7470. tableMapping.SourceTable = "Table";
  7471. tableMapping.DataSetTable = "Нарушения";
  7472. tableMapping.ColumnMappings.Add("Код нарушения", "Код нарушения");
  7473. tableMapping.ColumnMappings.Add("вид нарушения", "вид нарушения");
  7474. tableMapping.ColumnMappings.Add("штраф за нарушение", "штраф за нарушение");
  7475. tableMapping.ColumnMappings.Add("дата нарушения", "дата нарушения");
  7476. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  7477. tableMapping.ColumnMappings.Add("ГОС номер авто", "ГОС номер авто");
  7478. this._adapter.TableMappings.Add(tableMapping);
  7479. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  7480. this._adapter.DeleteCommand.Connection = this.Connection;
  7481. 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 ((@IsNull_Номер_автомобиля = 1 AND [Номер автомобиля] IS NULL) OR ([Номер автомобиля] = @Original_Номер_автомобиля)) AND ((@IsNull_ГОС_номер_авто = 1 AND [ГОС номер авто] IS NULL) OR ([ГОС номер авто] = @Original_ГОС_номер_авто)))";
  7482. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  7483. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7484. 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, "", "", ""));
  7485. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_штраф_за_нарушение", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "штраф за нарушение", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7486. 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, "", "", ""));
  7487. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_дата_нарушения", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "дата нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7488. 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, "", "", ""));
  7489. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7490. 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, "", "", ""));
  7491. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ГОС_номер_авто", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номер авто", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7492. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  7493. this._adapter.InsertCommand.Connection = this.Connection;
  7494. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Нарушения] ([Код нарушения], [вид нарушения], [штраф за нарушение], [дата нарушения], [Номер автомобиля], [ГОС номер авто]) VALUES (@Код_нарушения, @вид_нарушения, @штраф_за_нарушение, @дата_нарушения, @Номер_автомобиля, @ГОС_номер_авто);
  7495. SELECT [Код нарушения], [вид нарушения], [штраф за нарушение], [дата нарушения], [Номер автомобиля], [ГОС номер авто] FROM Нарушения WHERE ([Код нарушения] = @Код_нарушения)";
  7496. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  7497. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7498. 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, "", "", ""));
  7499. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@штраф_за_нарушение", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "штраф за нарушение", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7500. 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, "", "", ""));
  7501. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7502. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ГОС_номер_авто", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номер авто", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7503. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  7504. this._adapter.UpdateCommand.Connection = this.Connection;
  7505. 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 ((@IsNull_Номер_автомобиля = 1 AND [Номер автомобиля] IS NULL) OR ([Номер автомобиля] = @Original_Номер_автомобиля)) AND ((@IsNull_ГОС_номер_авто = 1 AND [ГОС номер авто] IS NULL) OR ([ГОС номер авто] = @Original_ГОС_номер_авто)));
  7506. SELECT [Код нарушения], [вид нарушения], [штраф за нарушение], [дата нарушения], [Номер автомобиля], [ГОС номер авто] FROM Нарушения WHERE ([Код нарушения] = @Код_нарушения)";
  7507. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  7508. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7509. 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, "", "", ""));
  7510. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@штраф_за_нарушение", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "штраф за нарушение", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7511. this._adapter.UpdateCommand.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, "", "", ""));
  7512. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7513. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ГОС_номер_авто", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номер авто", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  7514. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код_нарушения", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7515. 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, "", "", ""));
  7516. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_штраф_за_нарушение", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 2, "штраф за нарушение", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7517. 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, "", "", ""));
  7518. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_дата_нарушения", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "дата нарушения", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7519. 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, "", "", ""));
  7520. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Номер_автомобиля", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Номер автомобиля", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7521. 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, "", "", ""));
  7522. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ГОС_номер_авто", global::System.Data.SqlDbType.NChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ГОС номер авто", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  7523. }
  7524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7526. private void InitConnection() {
  7527. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7528. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  7529. }
  7530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7532. private void InitCommandCollection() {
  7533. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7534. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7535. this._commandCollection[0].Connection = this.Connection;
  7536. this._commandCollection[0].CommandText = "SELECT [Код нарушения], [вид нарушения], [штраф за нарушение], [дата нарушения], " +
  7537. "[Номер автомобиля], [ГОС номер авто] FROM dbo.Нарушения";
  7538. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7539. }
  7540. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7541. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7542. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7543. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7544. public virtual int Fill(IS31Valov12DataSet.НарушенияDataTable dataTable) {
  7545. this.Adapter.SelectCommand = this.CommandCollection[0];
  7546. if ((this.ClearBeforeFill == true)) {
  7547. dataTable.Clear();
  7548. }
  7549. int returnValue = this.Adapter.Fill(dataTable);
  7550. return returnValue;
  7551. }
  7552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7554. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7555. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7556. public virtual IS31Valov12DataSet.НарушенияDataTable GetData() {
  7557. this.Adapter.SelectCommand = this.CommandCollection[0];
  7558. IS31Valov12DataSet.НарушенияDataTable dataTable = new IS31Valov12DataSet.НарушенияDataTable();
  7559. this.Adapter.Fill(dataTable);
  7560. return dataTable;
  7561. }
  7562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7563. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7564. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7565. public virtual int Update(IS31Valov12DataSet.НарушенияDataTable dataTable) {
  7566. return this.Adapter.Update(dataTable);
  7567. }
  7568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7570. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7571. public virtual int Update(IS31Valov12DataSet dataSet) {
  7572. return this.Adapter.Update(dataSet, "Нарушения");
  7573. }
  7574. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7575. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7576. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7577. public virtual int Update(global::System.Data.DataRow dataRow) {
  7578. return this.Adapter.Update(new global::System.Data.DataRow[] {
  7579. dataRow});
  7580. }
  7581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7583. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7584. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  7585. return this.Adapter.Update(dataRows);
  7586. }
  7587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7588. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7589. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7590. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  7591. public virtual int Delete(long Original_Код_нарушения, global::System.Nullable<decimal> Original_штраф_за_нарушение, global::System.Nullable<global::System.DateTime> Original_дата_нарушения, global::System.Nullable<long> Original_Номер_автомобиля, string Original_ГОС_номер_авто) {
  7592. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Код_нарушения));
  7593. if ((Original_штраф_за_нарушение.HasValue == true)) {
  7594. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  7595. this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_штраф_за_нарушение.Value));
  7596. }
  7597. else {
  7598. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  7599. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  7600. }
  7601. if ((Original_дата_нарушения.HasValue == true)) {
  7602. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  7603. this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_дата_нарушения.Value));
  7604. }
  7605. else {
  7606. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  7607. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  7608. }
  7609. if ((Original_Номер_автомобиля.HasValue == true)) {
  7610. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  7611. this.Adapter.DeleteCommand.Parameters[6].Value = ((long)(Original_Номер_автомобиля.Value));
  7612. }
  7613. else {
  7614. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  7615. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  7616. }
  7617. if ((Original_ГОС_номер_авто == null)) {
  7618. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
  7619. this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
  7620. }
  7621. else {
  7622. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
  7623. this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_ГОС_номер_авто));
  7624. }
  7625. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  7626. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7627. != global::System.Data.ConnectionState.Open)) {
  7628. this.Adapter.DeleteCommand.Connection.Open();
  7629. }
  7630. try {
  7631. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  7632. return returnValue;
  7633. }
  7634. finally {
  7635. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7636. this.Adapter.DeleteCommand.Connection.Close();
  7637. }
  7638. }
  7639. }
  7640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7641. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7642. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7643. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  7644. public virtual int Insert(long Код_нарушения, string вид_нарушения, global::System.Nullable<decimal> штраф_за_нарушение, global::System.Nullable<global::System.DateTime> дата_нарушения, global::System.Nullable<long> Номер_автомобиля, string ГОС_номер_авто) {
  7645. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Код_нарушения));
  7646. if ((вид_нарушения == null)) {
  7647. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  7648. }
  7649. else {
  7650. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(вид_нарушения));
  7651. }
  7652. if ((штраф_за_нарушение.HasValue == true)) {
  7653. this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(штраф_за_нарушение.Value));
  7654. }
  7655. else {
  7656. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  7657. }
  7658. if ((дата_нарушения.HasValue == true)) {
  7659. this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(дата_нарушения.Value));
  7660. }
  7661. else {
  7662. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  7663. }
  7664. if ((Номер_автомобиля.HasValue == true)) {
  7665. this.Adapter.InsertCommand.Parameters[4].Value = ((long)(Номер_автомобиля.Value));
  7666. }
  7667. else {
  7668. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  7669. }
  7670. if ((ГОС_номер_авто == null)) {
  7671. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  7672. }
  7673. else {
  7674. this.Adapter.InsertCommand.Parameters[5].Value = ((string)(ГОС_номер_авто));
  7675. }
  7676. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  7677. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7678. != global::System.Data.ConnectionState.Open)) {
  7679. this.Adapter.InsertCommand.Connection.Open();
  7680. }
  7681. try {
  7682. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  7683. return returnValue;
  7684. }
  7685. finally {
  7686. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7687. this.Adapter.InsertCommand.Connection.Close();
  7688. }
  7689. }
  7690. }
  7691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7693. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7694. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7695. public virtual int Update(long Код_нарушения, string вид_нарушения, global::System.Nullable<decimal> штраф_за_нарушение, global::System.Nullable<global::System.DateTime> дата_нарушения, global::System.Nullable<long> Номер_автомобиля, string ГОС_номер_авто, long Original_Код_нарушения, global::System.Nullable<decimal> Original_штраф_за_нарушение, global::System.Nullable<global::System.DateTime> Original_дата_нарушения, global::System.Nullable<long> Original_Номер_автомобиля, string Original_ГОС_номер_авто) {
  7696. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(Код_нарушения));
  7697. if ((вид_нарушения == null)) {
  7698. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  7699. }
  7700. else {
  7701. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(вид_нарушения));
  7702. }
  7703. if ((штраф_за_нарушение.HasValue == true)) {
  7704. this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(штраф_за_нарушение.Value));
  7705. }
  7706. else {
  7707. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  7708. }
  7709. if ((дата_нарушения.HasValue == true)) {
  7710. this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(дата_нарушения.Value));
  7711. }
  7712. else {
  7713. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  7714. }
  7715. if ((Номер_автомобиля.HasValue == true)) {
  7716. this.Adapter.UpdateCommand.Parameters[4].Value = ((long)(Номер_автомобиля.Value));
  7717. }
  7718. else {
  7719. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  7720. }
  7721. if ((ГОС_номер_авто == null)) {
  7722. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  7723. }
  7724. else {
  7725. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(ГОС_номер_авто));
  7726. }
  7727. this.Adapter.UpdateCommand.Parameters[6].Value = ((long)(Original_Код_нарушения));
  7728. if ((Original_штраф_за_нарушение.HasValue == true)) {
  7729. this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
  7730. this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(Original_штраф_за_нарушение.Value));
  7731. }
  7732. else {
  7733. this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
  7734. this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
  7735. }
  7736. if ((Original_дата_нарушения.HasValue == true)) {
  7737. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
  7738. this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(Original_дата_нарушения.Value));
  7739. }
  7740. else {
  7741. this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
  7742. this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
  7743. }
  7744. if ((Original_Номер_автомобиля.HasValue == true)) {
  7745. this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
  7746. this.Adapter.UpdateCommand.Parameters[12].Value = ((long)(Original_Номер_автомобиля.Value));
  7747. }
  7748. else {
  7749. this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
  7750. this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
  7751. }
  7752. if ((Original_ГОС_номер_авто == null)) {
  7753. this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
  7754. this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
  7755. }
  7756. else {
  7757. this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
  7758. this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_ГОС_номер_авто));
  7759. }
  7760. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  7761. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  7762. != global::System.Data.ConnectionState.Open)) {
  7763. this.Adapter.UpdateCommand.Connection.Open();
  7764. }
  7765. try {
  7766. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  7767. return returnValue;
  7768. }
  7769. finally {
  7770. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  7771. this.Adapter.UpdateCommand.Connection.Close();
  7772. }
  7773. }
  7774. }
  7775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7776. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7777. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7778. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  7779. public virtual int Update(string вид_нарушения, global::System.Nullable<decimal> штраф_за_нарушение, global::System.Nullable<global::System.DateTime> дата_нарушения, global::System.Nullable<long> Номер_автомобиля, string ГОС_номер_авто, long Original_Код_нарушения, global::System.Nullable<decimal> Original_штраф_за_нарушение, global::System.Nullable<global::System.DateTime> Original_дата_нарушения, global::System.Nullable<long> Original_Номер_автомобиля, string Original_ГОС_номер_авто) {
  7780. return this.Update(Original_Код_нарушения, вид_нарушения, штраф_за_нарушение, дата_нарушения, Номер_автомобиля, ГОС_номер_авто, Original_Код_нарушения, Original_штраф_за_нарушение, Original_дата_нарушения, Original_Номер_автомобиля, Original_ГОС_номер_авто);
  7781. }
  7782. }
  7783. /// <summary>
  7784. ///Represents the connection and commands used to retrieve and save data.
  7785. ///</summary>
  7786. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7787. [global::System.ComponentModel.ToolboxItem(true)]
  7788. [global::System.ComponentModel.DataObjectAttribute(true)]
  7789. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7790. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7791. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7792. public partial class BMWTableAdapter : global::System.ComponentModel.Component {
  7793. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7794. private global::System.Data.SqlClient.SqlConnection _connection;
  7795. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7796. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7797. private bool _clearBeforeFill;
  7798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7799. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7800. public BMWTableAdapter() {
  7801. this.ClearBeforeFill = true;
  7802. }
  7803. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7804. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7805. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7806. get {
  7807. if ((this._adapter == null)) {
  7808. this.InitAdapter();
  7809. }
  7810. return this._adapter;
  7811. }
  7812. }
  7813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7814. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7815. internal global::System.Data.SqlClient.SqlConnection Connection {
  7816. get {
  7817. if ((this._connection == null)) {
  7818. this.InitConnection();
  7819. }
  7820. return this._connection;
  7821. }
  7822. set {
  7823. this._connection = value;
  7824. if ((this.Adapter.InsertCommand != null)) {
  7825. this.Adapter.InsertCommand.Connection = value;
  7826. }
  7827. if ((this.Adapter.DeleteCommand != null)) {
  7828. this.Adapter.DeleteCommand.Connection = value;
  7829. }
  7830. if ((this.Adapter.UpdateCommand != null)) {
  7831. this.Adapter.UpdateCommand.Connection = value;
  7832. }
  7833. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7834. if ((this.CommandCollection[i] != null)) {
  7835. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7836. }
  7837. }
  7838. }
  7839. }
  7840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7842. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  7843. get {
  7844. return this._transaction;
  7845. }
  7846. set {
  7847. this._transaction = value;
  7848. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7849. this.CommandCollection[i].Transaction = this._transaction;
  7850. }
  7851. if (((this.Adapter != null)
  7852. && (this.Adapter.DeleteCommand != null))) {
  7853. this.Adapter.DeleteCommand.Transaction = this._transaction;
  7854. }
  7855. if (((this.Adapter != null)
  7856. && (this.Adapter.InsertCommand != null))) {
  7857. this.Adapter.InsertCommand.Transaction = this._transaction;
  7858. }
  7859. if (((this.Adapter != null)
  7860. && (this.Adapter.UpdateCommand != null))) {
  7861. this.Adapter.UpdateCommand.Transaction = this._transaction;
  7862. }
  7863. }
  7864. }
  7865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7866. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7867. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  7868. get {
  7869. if ((this._commandCollection == null)) {
  7870. this.InitCommandCollection();
  7871. }
  7872. return this._commandCollection;
  7873. }
  7874. }
  7875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7876. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7877. public bool ClearBeforeFill {
  7878. get {
  7879. return this._clearBeforeFill;
  7880. }
  7881. set {
  7882. this._clearBeforeFill = value;
  7883. }
  7884. }
  7885. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7886. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7887. private void InitAdapter() {
  7888. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  7889. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  7890. tableMapping.SourceTable = "Table";
  7891. tableMapping.DataSetTable = "BMW";
  7892. tableMapping.ColumnMappings.Add("марка", "марка");
  7893. tableMapping.ColumnMappings.Add("модель", "модель");
  7894. tableMapping.ColumnMappings.Add("цвет", "цвет");
  7895. tableMapping.ColumnMappings.Add("год выпуска", "год выпуска");
  7896. tableMapping.ColumnMappings.Add("ГОС номера", "ГОС номера");
  7897. tableMapping.ColumnMappings.Add("дата регистрации в ГАИ", "дата регистрации в ГАИ");
  7898. tableMapping.ColumnMappings.Add("Номер ВУ", "Номер ВУ");
  7899. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  7900. this._adapter.TableMappings.Add(tableMapping);
  7901. }
  7902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7903. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7904. private void InitConnection() {
  7905. this._connection = new global::System.Data.SqlClient.SqlConnection();
  7906. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  7907. }
  7908. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7909. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7910. private void InitCommandCollection() {
  7911. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  7912. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  7913. this._commandCollection[0].Connection = this.Connection;
  7914. this._commandCollection[0].CommandText = "SELECT марка, модель, цвет, [год выпуска], [ГОС номера], [дата регистрации в ГАИ]" +
  7915. ", [Номер ВУ], [Номер автомобиля] FROM dbo.BMW";
  7916. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  7917. }
  7918. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7919. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7920. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7921. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  7922. public virtual int Fill(IS31Valov12DataSet.BMWDataTable dataTable) {
  7923. this.Adapter.SelectCommand = this.CommandCollection[0];
  7924. if ((this.ClearBeforeFill == true)) {
  7925. dataTable.Clear();
  7926. }
  7927. int returnValue = this.Adapter.Fill(dataTable);
  7928. return returnValue;
  7929. }
  7930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7932. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7933. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  7934. public virtual IS31Valov12DataSet.BMWDataTable GetData() {
  7935. this.Adapter.SelectCommand = this.CommandCollection[0];
  7936. IS31Valov12DataSet.BMWDataTable dataTable = new IS31Valov12DataSet.BMWDataTable();
  7937. this.Adapter.Fill(dataTable);
  7938. return dataTable;
  7939. }
  7940. }
  7941. /// <summary>
  7942. ///Represents the connection and commands used to retrieve and save data.
  7943. ///</summary>
  7944. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  7945. [global::System.ComponentModel.ToolboxItem(true)]
  7946. [global::System.ComponentModel.DataObjectAttribute(true)]
  7947. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  7948. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  7949. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  7950. public partial class FordTableAdapter : global::System.ComponentModel.Component {
  7951. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  7952. private global::System.Data.SqlClient.SqlConnection _connection;
  7953. private global::System.Data.SqlClient.SqlTransaction _transaction;
  7954. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  7955. private bool _clearBeforeFill;
  7956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7958. public FordTableAdapter() {
  7959. this.ClearBeforeFill = true;
  7960. }
  7961. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7962. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7963. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  7964. get {
  7965. if ((this._adapter == null)) {
  7966. this.InitAdapter();
  7967. }
  7968. return this._adapter;
  7969. }
  7970. }
  7971. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7972. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7973. internal global::System.Data.SqlClient.SqlConnection Connection {
  7974. get {
  7975. if ((this._connection == null)) {
  7976. this.InitConnection();
  7977. }
  7978. return this._connection;
  7979. }
  7980. set {
  7981. this._connection = value;
  7982. if ((this.Adapter.InsertCommand != null)) {
  7983. this.Adapter.InsertCommand.Connection = value;
  7984. }
  7985. if ((this.Adapter.DeleteCommand != null)) {
  7986. this.Adapter.DeleteCommand.Connection = value;
  7987. }
  7988. if ((this.Adapter.UpdateCommand != null)) {
  7989. this.Adapter.UpdateCommand.Connection = value;
  7990. }
  7991. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  7992. if ((this.CommandCollection[i] != null)) {
  7993. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  7994. }
  7995. }
  7996. }
  7997. }
  7998. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7999. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8000. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8001. get {
  8002. return this._transaction;
  8003. }
  8004. set {
  8005. this._transaction = value;
  8006. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8007. this.CommandCollection[i].Transaction = this._transaction;
  8008. }
  8009. if (((this.Adapter != null)
  8010. && (this.Adapter.DeleteCommand != null))) {
  8011. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8012. }
  8013. if (((this.Adapter != null)
  8014. && (this.Adapter.InsertCommand != null))) {
  8015. this.Adapter.InsertCommand.Transaction = this._transaction;
  8016. }
  8017. if (((this.Adapter != null)
  8018. && (this.Adapter.UpdateCommand != null))) {
  8019. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8020. }
  8021. }
  8022. }
  8023. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8024. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8025. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8026. get {
  8027. if ((this._commandCollection == null)) {
  8028. this.InitCommandCollection();
  8029. }
  8030. return this._commandCollection;
  8031. }
  8032. }
  8033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8034. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8035. public bool ClearBeforeFill {
  8036. get {
  8037. return this._clearBeforeFill;
  8038. }
  8039. set {
  8040. this._clearBeforeFill = value;
  8041. }
  8042. }
  8043. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8044. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8045. private void InitAdapter() {
  8046. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8047. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8048. tableMapping.SourceTable = "Table";
  8049. tableMapping.DataSetTable = "Ford";
  8050. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  8051. tableMapping.ColumnMappings.Add("марка", "марка");
  8052. tableMapping.ColumnMappings.Add("модель", "модель");
  8053. tableMapping.ColumnMappings.Add("цвет", "цвет");
  8054. tableMapping.ColumnMappings.Add("год выпуска", "год выпуска");
  8055. tableMapping.ColumnMappings.Add("дата регистрации в ГАИ", "дата регистрации в ГАИ");
  8056. tableMapping.ColumnMappings.Add("ГОС номера", "ГОС номера");
  8057. tableMapping.ColumnMappings.Add("Номер ВУ", "Номер ВУ");
  8058. this._adapter.TableMappings.Add(tableMapping);
  8059. }
  8060. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8061. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8062. private void InitConnection() {
  8063. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8064. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  8065. }
  8066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8067. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8068. private void InitCommandCollection() {
  8069. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8070. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8071. this._commandCollection[0].Connection = this.Connection;
  8072. this._commandCollection[0].CommandText = "SELECT [Номер автомобиля], марка, модель, цвет, [год выпуска], [дата регистрации " +
  8073. "в ГАИ], [ГОС номера], [Номер ВУ] FROM dbo.Ford";
  8074. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8075. }
  8076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8077. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8078. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8079. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8080. public virtual int Fill(IS31Valov12DataSet.FordDataTable dataTable) {
  8081. this.Adapter.SelectCommand = this.CommandCollection[0];
  8082. if ((this.ClearBeforeFill == true)) {
  8083. dataTable.Clear();
  8084. }
  8085. int returnValue = this.Adapter.Fill(dataTable);
  8086. return returnValue;
  8087. }
  8088. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8089. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8090. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8091. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8092. public virtual IS31Valov12DataSet.FordDataTable GetData() {
  8093. this.Adapter.SelectCommand = this.CommandCollection[0];
  8094. IS31Valov12DataSet.FordDataTable dataTable = new IS31Valov12DataSet.FordDataTable();
  8095. this.Adapter.Fill(dataTable);
  8096. return dataTable;
  8097. }
  8098. }
  8099. /// <summary>
  8100. ///Represents the connection and commands used to retrieve and save data.
  8101. ///</summary>
  8102. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8103. [global::System.ComponentModel.ToolboxItem(true)]
  8104. [global::System.ComponentModel.DataObjectAttribute(true)]
  8105. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8106. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8107. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8108. public partial class Взыскания_нарушенияTableAdapter : global::System.ComponentModel.Component {
  8109. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8110. private global::System.Data.SqlClient.SqlConnection _connection;
  8111. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8112. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8113. private bool _clearBeforeFill;
  8114. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8115. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8116. public Взыскания_нарушенияTableAdapter() {
  8117. this.ClearBeforeFill = true;
  8118. }
  8119. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8120. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8121. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8122. get {
  8123. if ((this._adapter == null)) {
  8124. this.InitAdapter();
  8125. }
  8126. return this._adapter;
  8127. }
  8128. }
  8129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8131. internal global::System.Data.SqlClient.SqlConnection Connection {
  8132. get {
  8133. if ((this._connection == null)) {
  8134. this.InitConnection();
  8135. }
  8136. return this._connection;
  8137. }
  8138. set {
  8139. this._connection = value;
  8140. if ((this.Adapter.InsertCommand != null)) {
  8141. this.Adapter.InsertCommand.Connection = value;
  8142. }
  8143. if ((this.Adapter.DeleteCommand != null)) {
  8144. this.Adapter.DeleteCommand.Connection = value;
  8145. }
  8146. if ((this.Adapter.UpdateCommand != null)) {
  8147. this.Adapter.UpdateCommand.Connection = value;
  8148. }
  8149. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8150. if ((this.CommandCollection[i] != null)) {
  8151. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8152. }
  8153. }
  8154. }
  8155. }
  8156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8158. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8159. get {
  8160. return this._transaction;
  8161. }
  8162. set {
  8163. this._transaction = value;
  8164. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8165. this.CommandCollection[i].Transaction = this._transaction;
  8166. }
  8167. if (((this.Adapter != null)
  8168. && (this.Adapter.DeleteCommand != null))) {
  8169. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8170. }
  8171. if (((this.Adapter != null)
  8172. && (this.Adapter.InsertCommand != null))) {
  8173. this.Adapter.InsertCommand.Transaction = this._transaction;
  8174. }
  8175. if (((this.Adapter != null)
  8176. && (this.Adapter.UpdateCommand != null))) {
  8177. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8178. }
  8179. }
  8180. }
  8181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8183. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8184. get {
  8185. if ((this._commandCollection == null)) {
  8186. this.InitCommandCollection();
  8187. }
  8188. return this._commandCollection;
  8189. }
  8190. }
  8191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8193. public bool ClearBeforeFill {
  8194. get {
  8195. return this._clearBeforeFill;
  8196. }
  8197. set {
  8198. this._clearBeforeFill = value;
  8199. }
  8200. }
  8201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8202. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8203. private void InitAdapter() {
  8204. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8205. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8206. tableMapping.SourceTable = "Table";
  8207. tableMapping.DataSetTable = "Взыскания+нарушения";
  8208. tableMapping.ColumnMappings.Add("Штраф за нарушения", "Штраф за нарушения");
  8209. tableMapping.ColumnMappings.Add("Срок лишения месяц", "Срок лишения месяц");
  8210. tableMapping.ColumnMappings.Add("предупреждение", "предупреждение");
  8211. tableMapping.ColumnMappings.Add("вид нарушения", "вид нарушения");
  8212. tableMapping.ColumnMappings.Add("штраф за нарушение", "штраф за нарушение");
  8213. tableMapping.ColumnMappings.Add("дата нарушения", "дата нарушения");
  8214. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  8215. tableMapping.ColumnMappings.Add("ГОС номер авто", "ГОС номер авто");
  8216. tableMapping.ColumnMappings.Add("Код нарушения", "Код нарушения");
  8217. this._adapter.TableMappings.Add(tableMapping);
  8218. }
  8219. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8220. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8221. private void InitConnection() {
  8222. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8223. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  8224. }
  8225. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8226. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8227. private void InitCommandCollection() {
  8228. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8229. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8230. this._commandCollection[0].Connection = this.Connection;
  8231. this._commandCollection[0].CommandText = "SELECT [Штраф за нарушения], [Срок лишения месяц], предупреждение, [вид нарушения" +
  8232. "], [штраф за нарушение], [дата нарушения], [Номер автомобиля], [ГОС номер авто]," +
  8233. " [Код нарушения] FROM dbo.[Взыскания+нарушения]";
  8234. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8235. }
  8236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8238. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8239. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8240. public virtual int Fill(IS31Valov12DataSet._Взыскания_нарушенияDataTable dataTable) {
  8241. this.Adapter.SelectCommand = this.CommandCollection[0];
  8242. if ((this.ClearBeforeFill == true)) {
  8243. dataTable.Clear();
  8244. }
  8245. int returnValue = this.Adapter.Fill(dataTable);
  8246. return returnValue;
  8247. }
  8248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8250. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8251. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8252. public virtual IS31Valov12DataSet._Взыскания_нарушенияDataTable GetData() {
  8253. this.Adapter.SelectCommand = this.CommandCollection[0];
  8254. IS31Valov12DataSet._Взыскания_нарушенияDataTable dataTable = new IS31Valov12DataSet._Взыскания_нарушенияDataTable();
  8255. this.Adapter.Fill(dataTable);
  8256. return dataTable;
  8257. }
  8258. }
  8259. /// <summary>
  8260. ///Represents the connection and commands used to retrieve and save data.
  8261. ///</summary>
  8262. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8263. [global::System.ComponentModel.ToolboxItem(true)]
  8264. [global::System.ComponentModel.DataObjectAttribute(true)]
  8265. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8266. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8267. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8268. public partial class Водители__автомобильTableAdapter : global::System.ComponentModel.Component {
  8269. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8270. private global::System.Data.SqlClient.SqlConnection _connection;
  8271. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8272. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8273. private bool _clearBeforeFill;
  8274. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8275. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8276. public Водители__автомобильTableAdapter() {
  8277. this.ClearBeforeFill = true;
  8278. }
  8279. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8280. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8281. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8282. get {
  8283. if ((this._adapter == null)) {
  8284. this.InitAdapter();
  8285. }
  8286. return this._adapter;
  8287. }
  8288. }
  8289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8291. internal global::System.Data.SqlClient.SqlConnection Connection {
  8292. get {
  8293. if ((this._connection == null)) {
  8294. this.InitConnection();
  8295. }
  8296. return this._connection;
  8297. }
  8298. set {
  8299. this._connection = value;
  8300. if ((this.Adapter.InsertCommand != null)) {
  8301. this.Adapter.InsertCommand.Connection = value;
  8302. }
  8303. if ((this.Adapter.DeleteCommand != null)) {
  8304. this.Adapter.DeleteCommand.Connection = value;
  8305. }
  8306. if ((this.Adapter.UpdateCommand != null)) {
  8307. this.Adapter.UpdateCommand.Connection = value;
  8308. }
  8309. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8310. if ((this.CommandCollection[i] != null)) {
  8311. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8312. }
  8313. }
  8314. }
  8315. }
  8316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8318. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8319. get {
  8320. return this._transaction;
  8321. }
  8322. set {
  8323. this._transaction = value;
  8324. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8325. this.CommandCollection[i].Transaction = this._transaction;
  8326. }
  8327. if (((this.Adapter != null)
  8328. && (this.Adapter.DeleteCommand != null))) {
  8329. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8330. }
  8331. if (((this.Adapter != null)
  8332. && (this.Adapter.InsertCommand != null))) {
  8333. this.Adapter.InsertCommand.Transaction = this._transaction;
  8334. }
  8335. if (((this.Adapter != null)
  8336. && (this.Adapter.UpdateCommand != null))) {
  8337. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8338. }
  8339. }
  8340. }
  8341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8342. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8343. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8344. get {
  8345. if ((this._commandCollection == null)) {
  8346. this.InitCommandCollection();
  8347. }
  8348. return this._commandCollection;
  8349. }
  8350. }
  8351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8352. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8353. public bool ClearBeforeFill {
  8354. get {
  8355. return this._clearBeforeFill;
  8356. }
  8357. set {
  8358. this._clearBeforeFill = value;
  8359. }
  8360. }
  8361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8362. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8363. private void InitAdapter() {
  8364. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8365. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8366. tableMapping.SourceTable = "Table";
  8367. tableMapping.DataSetTable = "Водители+ автомобиль";
  8368. tableMapping.ColumnMappings.Add("марка", "марка");
  8369. tableMapping.ColumnMappings.Add("модель", "модель");
  8370. tableMapping.ColumnMappings.Add("цвет", "цвет");
  8371. tableMapping.ColumnMappings.Add("год выпуска", "год выпуска");
  8372. tableMapping.ColumnMappings.Add("дата регистрации в ГАИ", "дата регистрации в ГАИ");
  8373. tableMapping.ColumnMappings.Add("ГОС номера", "ГОС номера");
  8374. tableMapping.ColumnMappings.Add("Номер ВУ", "Номер ВУ");
  8375. tableMapping.ColumnMappings.Add("Фамилия", "Фамилия");
  8376. tableMapping.ColumnMappings.Add("Имя", "Имя");
  8377. tableMapping.ColumnMappings.Add("Отчество", "Отчество");
  8378. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  8379. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  8380. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  8381. this._adapter.TableMappings.Add(tableMapping);
  8382. }
  8383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8385. private void InitConnection() {
  8386. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8387. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  8388. }
  8389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8390. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8391. private void InitCommandCollection() {
  8392. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8393. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8394. this._commandCollection[0].Connection = this.Connection;
  8395. this._commandCollection[0].CommandText = "SELECT марка, модель, цвет, [год выпуска], [дата регистрации в ГАИ], [ГОС номера]" +
  8396. ", [Номер ВУ], Фамилия, Имя, Отчество, Адрес, Телефон, [Номер автомобиля] FROM db" +
  8397. "o.[Водители+ автомобиль]";
  8398. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8399. }
  8400. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8401. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8402. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8403. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8404. public virtual int Fill(IS31Valov12DataSet._Водители__автомобильDataTable dataTable) {
  8405. this.Adapter.SelectCommand = this.CommandCollection[0];
  8406. if ((this.ClearBeforeFill == true)) {
  8407. dataTable.Clear();
  8408. }
  8409. int returnValue = this.Adapter.Fill(dataTable);
  8410. return returnValue;
  8411. }
  8412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8413. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8414. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8415. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8416. public virtual IS31Valov12DataSet._Водители__автомобильDataTable GetData() {
  8417. this.Adapter.SelectCommand = this.CommandCollection[0];
  8418. IS31Valov12DataSet._Водители__автомобильDataTable dataTable = new IS31Valov12DataSet._Водители__автомобильDataTable();
  8419. this.Adapter.Fill(dataTable);
  8420. return dataTable;
  8421. }
  8422. }
  8423. /// <summary>
  8424. ///Represents the connection and commands used to retrieve and save data.
  8425. ///</summary>
  8426. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8427. [global::System.ComponentModel.ToolboxItem(true)]
  8428. [global::System.ComponentModel.DataObjectAttribute(true)]
  8429. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8430. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8431. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8432. public partial class Лишены_праваTableAdapter : global::System.ComponentModel.Component {
  8433. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8434. private global::System.Data.SqlClient.SqlConnection _connection;
  8435. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8436. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8437. private bool _clearBeforeFill;
  8438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8439. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8440. public Лишены_праваTableAdapter() {
  8441. this.ClearBeforeFill = true;
  8442. }
  8443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8445. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8446. get {
  8447. if ((this._adapter == null)) {
  8448. this.InitAdapter();
  8449. }
  8450. return this._adapter;
  8451. }
  8452. }
  8453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8454. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8455. internal global::System.Data.SqlClient.SqlConnection Connection {
  8456. get {
  8457. if ((this._connection == null)) {
  8458. this.InitConnection();
  8459. }
  8460. return this._connection;
  8461. }
  8462. set {
  8463. this._connection = value;
  8464. if ((this.Adapter.InsertCommand != null)) {
  8465. this.Adapter.InsertCommand.Connection = value;
  8466. }
  8467. if ((this.Adapter.DeleteCommand != null)) {
  8468. this.Adapter.DeleteCommand.Connection = value;
  8469. }
  8470. if ((this.Adapter.UpdateCommand != null)) {
  8471. this.Adapter.UpdateCommand.Connection = value;
  8472. }
  8473. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8474. if ((this.CommandCollection[i] != null)) {
  8475. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8476. }
  8477. }
  8478. }
  8479. }
  8480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8481. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8482. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8483. get {
  8484. return this._transaction;
  8485. }
  8486. set {
  8487. this._transaction = value;
  8488. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8489. this.CommandCollection[i].Transaction = this._transaction;
  8490. }
  8491. if (((this.Adapter != null)
  8492. && (this.Adapter.DeleteCommand != null))) {
  8493. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8494. }
  8495. if (((this.Adapter != null)
  8496. && (this.Adapter.InsertCommand != null))) {
  8497. this.Adapter.InsertCommand.Transaction = this._transaction;
  8498. }
  8499. if (((this.Adapter != null)
  8500. && (this.Adapter.UpdateCommand != null))) {
  8501. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8502. }
  8503. }
  8504. }
  8505. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8506. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8507. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8508. get {
  8509. if ((this._commandCollection == null)) {
  8510. this.InitCommandCollection();
  8511. }
  8512. return this._commandCollection;
  8513. }
  8514. }
  8515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8516. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8517. public bool ClearBeforeFill {
  8518. get {
  8519. return this._clearBeforeFill;
  8520. }
  8521. set {
  8522. this._clearBeforeFill = value;
  8523. }
  8524. }
  8525. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8526. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8527. private void InitAdapter() {
  8528. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8529. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8530. tableMapping.SourceTable = "Table";
  8531. tableMapping.DataSetTable = "Лишены права";
  8532. tableMapping.ColumnMappings.Add("предупреждение", "предупреждение");
  8533. tableMapping.ColumnMappings.Add("Код нарушения", "Код нарушения");
  8534. tableMapping.ColumnMappings.Add("Срок лишения месяц", "Срок лишения месяц");
  8535. tableMapping.ColumnMappings.Add("Штраф за нарушения", "Штраф за нарушения");
  8536. this._adapter.TableMappings.Add(tableMapping);
  8537. }
  8538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8540. private void InitConnection() {
  8541. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8542. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  8543. }
  8544. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8546. private void InitCommandCollection() {
  8547. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8548. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8549. this._commandCollection[0].Connection = this.Connection;
  8550. this._commandCollection[0].CommandText = "SELECT предупреждение, [Код нарушения], [Срок лишения месяц], [Штраф за нарушения" +
  8551. "] FROM dbo.[Лишены права]";
  8552. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8553. }
  8554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8555. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8556. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8557. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8558. public virtual int Fill(IS31Valov12DataSet.Лишены_праваDataTable dataTable) {
  8559. this.Adapter.SelectCommand = this.CommandCollection[0];
  8560. if ((this.ClearBeforeFill == true)) {
  8561. dataTable.Clear();
  8562. }
  8563. int returnValue = this.Adapter.Fill(dataTable);
  8564. return returnValue;
  8565. }
  8566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8567. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8568. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8569. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8570. public virtual IS31Valov12DataSet.Лишены_праваDataTable GetData() {
  8571. this.Adapter.SelectCommand = this.CommandCollection[0];
  8572. IS31Valov12DataSet.Лишены_праваDataTable dataTable = new IS31Valov12DataSet.Лишены_праваDataTable();
  8573. this.Adapter.Fill(dataTable);
  8574. return dataTable;
  8575. }
  8576. }
  8577. /// <summary>
  8578. ///Represents the connection and commands used to retrieve and save data.
  8579. ///</summary>
  8580. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8581. [global::System.ComponentModel.ToolboxItem(true)]
  8582. [global::System.ComponentModel.DataObjectAttribute(true)]
  8583. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8584. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8585. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8586. public partial class Нарушения_за_сентябрь_2023TableAdapter : global::System.ComponentModel.Component {
  8587. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8588. private global::System.Data.SqlClient.SqlConnection _connection;
  8589. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8590. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8591. private bool _clearBeforeFill;
  8592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8593. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8594. public Нарушения_за_сентябрь_2023TableAdapter() {
  8595. this.ClearBeforeFill = true;
  8596. }
  8597. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8598. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8599. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8600. get {
  8601. if ((this._adapter == null)) {
  8602. this.InitAdapter();
  8603. }
  8604. return this._adapter;
  8605. }
  8606. }
  8607. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8608. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8609. internal global::System.Data.SqlClient.SqlConnection Connection {
  8610. get {
  8611. if ((this._connection == null)) {
  8612. this.InitConnection();
  8613. }
  8614. return this._connection;
  8615. }
  8616. set {
  8617. this._connection = value;
  8618. if ((this.Adapter.InsertCommand != null)) {
  8619. this.Adapter.InsertCommand.Connection = value;
  8620. }
  8621. if ((this.Adapter.DeleteCommand != null)) {
  8622. this.Adapter.DeleteCommand.Connection = value;
  8623. }
  8624. if ((this.Adapter.UpdateCommand != null)) {
  8625. this.Adapter.UpdateCommand.Connection = value;
  8626. }
  8627. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8628. if ((this.CommandCollection[i] != null)) {
  8629. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8630. }
  8631. }
  8632. }
  8633. }
  8634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8636. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8637. get {
  8638. return this._transaction;
  8639. }
  8640. set {
  8641. this._transaction = value;
  8642. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8643. this.CommandCollection[i].Transaction = this._transaction;
  8644. }
  8645. if (((this.Adapter != null)
  8646. && (this.Adapter.DeleteCommand != null))) {
  8647. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8648. }
  8649. if (((this.Adapter != null)
  8650. && (this.Adapter.InsertCommand != null))) {
  8651. this.Adapter.InsertCommand.Transaction = this._transaction;
  8652. }
  8653. if (((this.Adapter != null)
  8654. && (this.Adapter.UpdateCommand != null))) {
  8655. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8656. }
  8657. }
  8658. }
  8659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8661. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8662. get {
  8663. if ((this._commandCollection == null)) {
  8664. this.InitCommandCollection();
  8665. }
  8666. return this._commandCollection;
  8667. }
  8668. }
  8669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8670. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8671. public bool ClearBeforeFill {
  8672. get {
  8673. return this._clearBeforeFill;
  8674. }
  8675. set {
  8676. this._clearBeforeFill = value;
  8677. }
  8678. }
  8679. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8680. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8681. private void InitAdapter() {
  8682. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8683. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8684. tableMapping.SourceTable = "Table";
  8685. tableMapping.DataSetTable = "Нарушения за сентябрь 2023";
  8686. tableMapping.ColumnMappings.Add("Код нарушения", "Код нарушения");
  8687. tableMapping.ColumnMappings.Add("вид нарушения", "вид нарушения");
  8688. tableMapping.ColumnMappings.Add("штраф за нарушение", "штраф за нарушение");
  8689. tableMapping.ColumnMappings.Add("дата нарушения", "дата нарушения");
  8690. tableMapping.ColumnMappings.Add("ГОС номер авто", "ГОС номер авто");
  8691. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  8692. this._adapter.TableMappings.Add(tableMapping);
  8693. }
  8694. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8695. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8696. private void InitConnection() {
  8697. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8698. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  8699. }
  8700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8701. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8702. private void InitCommandCollection() {
  8703. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8704. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8705. this._commandCollection[0].Connection = this.Connection;
  8706. this._commandCollection[0].CommandText = "SELECT [Код нарушения], [вид нарушения], [штраф за нарушение], [дата нарушения], " +
  8707. "[ГОС номер авто], [Номер автомобиля] FROM dbo.[Нарушения за сентябрь 2023]";
  8708. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8709. }
  8710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8711. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8712. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8713. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8714. public virtual int Fill(IS31Valov12DataSet.Нарушения_за_сентябрь_2023DataTable dataTable) {
  8715. this.Adapter.SelectCommand = this.CommandCollection[0];
  8716. if ((this.ClearBeforeFill == true)) {
  8717. dataTable.Clear();
  8718. }
  8719. int returnValue = this.Adapter.Fill(dataTable);
  8720. return returnValue;
  8721. }
  8722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8724. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8725. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8726. public virtual IS31Valov12DataSet.Нарушения_за_сентябрь_2023DataTable GetData() {
  8727. this.Adapter.SelectCommand = this.CommandCollection[0];
  8728. IS31Valov12DataSet.Нарушения_за_сентябрь_2023DataTable dataTable = new IS31Valov12DataSet.Нарушения_за_сентябрь_2023DataTable();
  8729. this.Adapter.Fill(dataTable);
  8730. return dataTable;
  8731. }
  8732. }
  8733. /// <summary>
  8734. ///Represents the connection and commands used to retrieve and save data.
  8735. ///</summary>
  8736. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8737. [global::System.ComponentModel.ToolboxItem(true)]
  8738. [global::System.ComponentModel.DataObjectAttribute(true)]
  8739. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  8740. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8741. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8742. public partial class фильтр_нарушениеTableAdapter : global::System.ComponentModel.Component {
  8743. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  8744. private global::System.Data.SqlClient.SqlConnection _connection;
  8745. private global::System.Data.SqlClient.SqlTransaction _transaction;
  8746. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  8747. private bool _clearBeforeFill;
  8748. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8750. public фильтр_нарушениеTableAdapter() {
  8751. this.ClearBeforeFill = true;
  8752. }
  8753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8754. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8755. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  8756. get {
  8757. if ((this._adapter == null)) {
  8758. this.InitAdapter();
  8759. }
  8760. return this._adapter;
  8761. }
  8762. }
  8763. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8764. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8765. internal global::System.Data.SqlClient.SqlConnection Connection {
  8766. get {
  8767. if ((this._connection == null)) {
  8768. this.InitConnection();
  8769. }
  8770. return this._connection;
  8771. }
  8772. set {
  8773. this._connection = value;
  8774. if ((this.Adapter.InsertCommand != null)) {
  8775. this.Adapter.InsertCommand.Connection = value;
  8776. }
  8777. if ((this.Adapter.DeleteCommand != null)) {
  8778. this.Adapter.DeleteCommand.Connection = value;
  8779. }
  8780. if ((this.Adapter.UpdateCommand != null)) {
  8781. this.Adapter.UpdateCommand.Connection = value;
  8782. }
  8783. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8784. if ((this.CommandCollection[i] != null)) {
  8785. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  8786. }
  8787. }
  8788. }
  8789. }
  8790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8791. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8792. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  8793. get {
  8794. return this._transaction;
  8795. }
  8796. set {
  8797. this._transaction = value;
  8798. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  8799. this.CommandCollection[i].Transaction = this._transaction;
  8800. }
  8801. if (((this.Adapter != null)
  8802. && (this.Adapter.DeleteCommand != null))) {
  8803. this.Adapter.DeleteCommand.Transaction = this._transaction;
  8804. }
  8805. if (((this.Adapter != null)
  8806. && (this.Adapter.InsertCommand != null))) {
  8807. this.Adapter.InsertCommand.Transaction = this._transaction;
  8808. }
  8809. if (((this.Adapter != null)
  8810. && (this.Adapter.UpdateCommand != null))) {
  8811. this.Adapter.UpdateCommand.Transaction = this._transaction;
  8812. }
  8813. }
  8814. }
  8815. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8816. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8817. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  8818. get {
  8819. if ((this._commandCollection == null)) {
  8820. this.InitCommandCollection();
  8821. }
  8822. return this._commandCollection;
  8823. }
  8824. }
  8825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8826. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8827. public bool ClearBeforeFill {
  8828. get {
  8829. return this._clearBeforeFill;
  8830. }
  8831. set {
  8832. this._clearBeforeFill = value;
  8833. }
  8834. }
  8835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8836. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8837. private void InitAdapter() {
  8838. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  8839. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  8840. tableMapping.SourceTable = "Table";
  8841. tableMapping.DataSetTable = "фильтр нарушение";
  8842. tableMapping.ColumnMappings.Add("Код нарушения", "Код нарушения");
  8843. tableMapping.ColumnMappings.Add("вид нарушения", "вид нарушения");
  8844. tableMapping.ColumnMappings.Add("штраф за нарушение", "штраф за нарушение");
  8845. tableMapping.ColumnMappings.Add("дата нарушения", "дата нарушения");
  8846. tableMapping.ColumnMappings.Add("Номер автомобиля", "Номер автомобиля");
  8847. tableMapping.ColumnMappings.Add("ГОС номер авто", "ГОС номер авто");
  8848. this._adapter.TableMappings.Add(tableMapping);
  8849. }
  8850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8852. private void InitConnection() {
  8853. this._connection = new global::System.Data.SqlClient.SqlConnection();
  8854. this._connection.ConnectionString = global::Валов_проект_ГАИ.Properties.Settings.Default.IS31Valov12ConnectionString;
  8855. }
  8856. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8857. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8858. private void InitCommandCollection() {
  8859. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  8860. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  8861. this._commandCollection[0].Connection = this.Connection;
  8862. this._commandCollection[0].CommandText = "SELECT [Код нарушения], [вид нарушения], [штраф за нарушение], [дата нарушения], " +
  8863. "[Номер автомобиля], [ГОС номер авто] FROM dbo.[фильтр нарушение]";
  8864. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  8865. }
  8866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8867. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8868. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8869. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  8870. public virtual int Fill(IS31Valov12DataSet.фильтр_нарушениеDataTable dataTable) {
  8871. this.Adapter.SelectCommand = this.CommandCollection[0];
  8872. if ((this.ClearBeforeFill == true)) {
  8873. dataTable.Clear();
  8874. }
  8875. int returnValue = this.Adapter.Fill(dataTable);
  8876. return returnValue;
  8877. }
  8878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8879. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8880. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  8881. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  8882. public virtual IS31Valov12DataSet.фильтр_нарушениеDataTable GetData() {
  8883. this.Adapter.SelectCommand = this.CommandCollection[0];
  8884. IS31Valov12DataSet.фильтр_нарушениеDataTable dataTable = new IS31Valov12DataSet.фильтр_нарушениеDataTable();
  8885. this.Adapter.Fill(dataTable);
  8886. return dataTable;
  8887. }
  8888. }
  8889. /// <summary>
  8890. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  8891. ///</summary>
  8892. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  8893. [global::System.ComponentModel.ToolboxItem(true)]
  8894. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  8895. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  8896. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  8897. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  8898. private UpdateOrderOption _updateOrder;
  8899. private АвтомобилиTableAdapter _автомобилиTableAdapter;
  8900. private ВзысканияTableAdapter _взысканияTableAdapter;
  8901. private ВодителиTableAdapter _водителиTableAdapter;
  8902. private НарушенияTableAdapter _нарушенияTableAdapter;
  8903. private bool _backupDataSetBeforeUpdate;
  8904. private global::System.Data.IDbConnection _connection;
  8905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8906. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8907. public UpdateOrderOption UpdateOrder {
  8908. get {
  8909. return this._updateOrder;
  8910. }
  8911. set {
  8912. this._updateOrder = value;
  8913. }
  8914. }
  8915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8916. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8917. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  8918. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  8919. "a", "System.Drawing.Design.UITypeEditor")]
  8920. public АвтомобилиTableAdapter АвтомобилиTableAdapter {
  8921. get {
  8922. return this._автомобилиTableAdapter;
  8923. }
  8924. set {
  8925. this._автомобилиTableAdapter = value;
  8926. }
  8927. }
  8928. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8929. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8930. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  8931. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  8932. "a", "System.Drawing.Design.UITypeEditor")]
  8933. public ВзысканияTableAdapter ВзысканияTableAdapter {
  8934. get {
  8935. return this._взысканияTableAdapter;
  8936. }
  8937. set {
  8938. this._взысканияTableAdapter = value;
  8939. }
  8940. }
  8941. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8942. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8943. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  8944. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  8945. "a", "System.Drawing.Design.UITypeEditor")]
  8946. public ВодителиTableAdapter ВодителиTableAdapter {
  8947. get {
  8948. return this._водителиTableAdapter;
  8949. }
  8950. set {
  8951. this._водителиTableAdapter = value;
  8952. }
  8953. }
  8954. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8955. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8956. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  8957. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  8958. "a", "System.Drawing.Design.UITypeEditor")]
  8959. public НарушенияTableAdapter НарушенияTableAdapter {
  8960. get {
  8961. return this._нарушенияTableAdapter;
  8962. }
  8963. set {
  8964. this._нарушенияTableAdapter = value;
  8965. }
  8966. }
  8967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8968. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8969. public bool BackupDataSetBeforeUpdate {
  8970. get {
  8971. return this._backupDataSetBeforeUpdate;
  8972. }
  8973. set {
  8974. this._backupDataSetBeforeUpdate = value;
  8975. }
  8976. }
  8977. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  8978. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  8979. [global::System.ComponentModel.Browsable(false)]
  8980. public global::System.Data.IDbConnection Connection {
  8981. get {
  8982. if ((this._connection != null)) {
  8983. return this._connection;
  8984. }
  8985. if (((this._автомобилиTableAdapter != null)
  8986. && (this._автомобилиTableAdapter.Connection != null))) {
  8987. return this._автомобилиTableAdapter.Connection;
  8988. }
  8989. if (((this._взысканияTableAdapter != null)
  8990. && (this._взысканияTableAdapter.Connection != null))) {
  8991. return this._взысканияTableAdapter.Connection;
  8992. }
  8993. if (((this._водителиTableAdapter != null)
  8994. && (this._водителиTableAdapter.Connection != null))) {
  8995. return this._водителиTableAdapter.Connection;
  8996. }
  8997. if (((this._нарушенияTableAdapter != null)
  8998. && (this._нарушенияTableAdapter.Connection != null))) {
  8999. return this._нарушенияTableAdapter.Connection;
  9000. }
  9001. return null;
  9002. }
  9003. set {
  9004. this._connection = 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.Browsable(false)]
  9010. public int TableAdapterInstanceCount {
  9011. get {
  9012. int count = 0;
  9013. if ((this._автомобилиTableAdapter != null)) {
  9014. count = (count + 1);
  9015. }
  9016. if ((this._взысканияTableAdapter != null)) {
  9017. count = (count + 1);
  9018. }
  9019. if ((this._водителиTableAdapter != null)) {
  9020. count = (count + 1);
  9021. }
  9022. if ((this._нарушенияTableAdapter != null)) {
  9023. count = (count + 1);
  9024. }
  9025. return count;
  9026. }
  9027. }
  9028. /// <summary>
  9029. ///Update rows in top-down order.
  9030. ///</summary>
  9031. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9032. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9033. private int UpdateUpdatedRows(IS31Valov12DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  9034. int result = 0;
  9035. if ((this._автомобилиTableAdapter != null)) {
  9036. global::System.Data.DataRow[] updatedRows = dataSet.Автомобили.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9037. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9038. if (((updatedRows != null)
  9039. && (0 < updatedRows.Length))) {
  9040. result = (result + this._автомобилиTableAdapter.Update(updatedRows));
  9041. allChangedRows.AddRange(updatedRows);
  9042. }
  9043. }
  9044. if ((this._взысканияTableAdapter != null)) {
  9045. global::System.Data.DataRow[] updatedRows = dataSet.Взыскания.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9046. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9047. if (((updatedRows != null)
  9048. && (0 < updatedRows.Length))) {
  9049. result = (result + this._взысканияTableAdapter.Update(updatedRows));
  9050. allChangedRows.AddRange(updatedRows);
  9051. }
  9052. }
  9053. if ((this._водителиTableAdapter != null)) {
  9054. global::System.Data.DataRow[] updatedRows = dataSet.Водители.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9055. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9056. if (((updatedRows != null)
  9057. && (0 < updatedRows.Length))) {
  9058. result = (result + this._водителиTableAdapter.Update(updatedRows));
  9059. allChangedRows.AddRange(updatedRows);
  9060. }
  9061. }
  9062. if ((this._нарушенияTableAdapter != null)) {
  9063. global::System.Data.DataRow[] updatedRows = dataSet.Нарушения.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  9064. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  9065. if (((updatedRows != null)
  9066. && (0 < updatedRows.Length))) {
  9067. result = (result + this._нарушенияTableAdapter.Update(updatedRows));
  9068. allChangedRows.AddRange(updatedRows);
  9069. }
  9070. }
  9071. return result;
  9072. }
  9073. /// <summary>
  9074. ///Insert rows in top-down order.
  9075. ///</summary>
  9076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9077. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9078. private int UpdateInsertedRows(IS31Valov12DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  9079. int result = 0;
  9080. if ((this._автомобилиTableAdapter != null)) {
  9081. global::System.Data.DataRow[] addedRows = dataSet.Автомобили.Select(null, null, global::System.Data.DataViewRowState.Added);
  9082. if (((addedRows != null)
  9083. && (0 < addedRows.Length))) {
  9084. result = (result + this._автомобилиTableAdapter.Update(addedRows));
  9085. allAddedRows.AddRange(addedRows);
  9086. }
  9087. }
  9088. if ((this._взысканияTableAdapter != null)) {
  9089. global::System.Data.DataRow[] addedRows = dataSet.Взыскания.Select(null, null, global::System.Data.DataViewRowState.Added);
  9090. if (((addedRows != null)
  9091. && (0 < addedRows.Length))) {
  9092. result = (result + this._взысканияTableAdapter.Update(addedRows));
  9093. allAddedRows.AddRange(addedRows);
  9094. }
  9095. }
  9096. if ((this._водителиTableAdapter != null)) {
  9097. global::System.Data.DataRow[] addedRows = dataSet.Водители.Select(null, null, global::System.Data.DataViewRowState.Added);
  9098. if (((addedRows != null)
  9099. && (0 < addedRows.Length))) {
  9100. result = (result + this._водителиTableAdapter.Update(addedRows));
  9101. allAddedRows.AddRange(addedRows);
  9102. }
  9103. }
  9104. if ((this._нарушенияTableAdapter != null)) {
  9105. global::System.Data.DataRow[] addedRows = dataSet.Нарушения.Select(null, null, global::System.Data.DataViewRowState.Added);
  9106. if (((addedRows != null)
  9107. && (0 < addedRows.Length))) {
  9108. result = (result + this._нарушенияTableAdapter.Update(addedRows));
  9109. allAddedRows.AddRange(addedRows);
  9110. }
  9111. }
  9112. return result;
  9113. }
  9114. /// <summary>
  9115. ///Delete rows in bottom-up order.
  9116. ///</summary>
  9117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9119. private int UpdateDeletedRows(IS31Valov12DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  9120. int result = 0;
  9121. if ((this._нарушенияTableAdapter != null)) {
  9122. global::System.Data.DataRow[] deletedRows = dataSet.Нарушения.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9123. if (((deletedRows != null)
  9124. && (0 < deletedRows.Length))) {
  9125. result = (result + this._нарушенияTableAdapter.Update(deletedRows));
  9126. allChangedRows.AddRange(deletedRows);
  9127. }
  9128. }
  9129. if ((this._водителиTableAdapter != null)) {
  9130. global::System.Data.DataRow[] deletedRows = dataSet.Водители.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9131. if (((deletedRows != null)
  9132. && (0 < deletedRows.Length))) {
  9133. result = (result + this._водителиTableAdapter.Update(deletedRows));
  9134. allChangedRows.AddRange(deletedRows);
  9135. }
  9136. }
  9137. if ((this._взысканияTableAdapter != null)) {
  9138. global::System.Data.DataRow[] deletedRows = dataSet.Взыскания.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9139. if (((deletedRows != null)
  9140. && (0 < deletedRows.Length))) {
  9141. result = (result + this._взысканияTableAdapter.Update(deletedRows));
  9142. allChangedRows.AddRange(deletedRows);
  9143. }
  9144. }
  9145. if ((this._автомобилиTableAdapter != null)) {
  9146. global::System.Data.DataRow[] deletedRows = dataSet.Автомобили.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  9147. if (((deletedRows != null)
  9148. && (0 < deletedRows.Length))) {
  9149. result = (result + this._автомобилиTableAdapter.Update(deletedRows));
  9150. allChangedRows.AddRange(deletedRows);
  9151. }
  9152. }
  9153. return result;
  9154. }
  9155. /// <summary>
  9156. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  9157. ///</summary>
  9158. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9159. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9160. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  9161. if (((updatedRows == null)
  9162. || (updatedRows.Length < 1))) {
  9163. return updatedRows;
  9164. }
  9165. if (((allAddedRows == null)
  9166. || (allAddedRows.Count < 1))) {
  9167. return updatedRows;
  9168. }
  9169. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  9170. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  9171. global::System.Data.DataRow row = updatedRows[i];
  9172. if ((allAddedRows.Contains(row) == false)) {
  9173. realUpdatedRows.Add(row);
  9174. }
  9175. }
  9176. return realUpdatedRows.ToArray();
  9177. }
  9178. /// <summary>
  9179. ///Update all changes to the dataset.
  9180. ///</summary>
  9181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9183. public virtual int UpdateAll(IS31Valov12DataSet dataSet) {
  9184. if ((dataSet == null)) {
  9185. throw new global::System.ArgumentNullException("dataSet");
  9186. }
  9187. if ((dataSet.HasChanges() == false)) {
  9188. return 0;
  9189. }
  9190. if (((this._автомобилиTableAdapter != null)
  9191. && (this.MatchTableAdapterConnection(this._автомобилиTableAdapter.Connection) == false))) {
  9192. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9193. "r, должны использовать одинаковую строку подключения.");
  9194. }
  9195. if (((this._взысканияTableAdapter != null)
  9196. && (this.MatchTableAdapterConnection(this._взысканияTableAdapter.Connection) == false))) {
  9197. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9198. "r, должны использовать одинаковую строку подключения.");
  9199. }
  9200. if (((this._водителиTableAdapter != null)
  9201. && (this.MatchTableAdapterConnection(this._водителиTableAdapter.Connection) == false))) {
  9202. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9203. "r, должны использовать одинаковую строку подключения.");
  9204. }
  9205. if (((this._нарушенияTableAdapter != null)
  9206. && (this.MatchTableAdapterConnection(this._нарушенияTableAdapter.Connection) == false))) {
  9207. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  9208. "r, должны использовать одинаковую строку подключения.");
  9209. }
  9210. global::System.Data.IDbConnection workConnection = this.Connection;
  9211. if ((workConnection == null)) {
  9212. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  9213. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  9214. }
  9215. bool workConnOpened = false;
  9216. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  9217. == global::System.Data.ConnectionState.Broken)) {
  9218. workConnection.Close();
  9219. }
  9220. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  9221. workConnection.Open();
  9222. workConnOpened = true;
  9223. }
  9224. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  9225. if ((workTransaction == null)) {
  9226. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  9227. "и или текущее состояние не позволяет начать транзакцию.");
  9228. }
  9229. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  9230. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  9231. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  9232. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  9233. int result = 0;
  9234. global::System.Data.DataSet backupDataSet = null;
  9235. if (this.BackupDataSetBeforeUpdate) {
  9236. backupDataSet = new global::System.Data.DataSet();
  9237. backupDataSet.Merge(dataSet);
  9238. }
  9239. try {
  9240. // ---- Prepare for update -----------
  9241. //
  9242. if ((this._автомобилиTableAdapter != null)) {
  9243. revertConnections.Add(this._автомобилиTableAdapter, this._автомобилиTableAdapter.Connection);
  9244. this._автомобилиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9245. this._автомобилиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9246. if (this._автомобилиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9247. this._автомобилиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9248. adaptersWithAcceptChangesDuringUpdate.Add(this._автомобилиTableAdapter.Adapter);
  9249. }
  9250. }
  9251. if ((this._взысканияTableAdapter != null)) {
  9252. revertConnections.Add(this._взысканияTableAdapter, this._взысканияTableAdapter.Connection);
  9253. this._взысканияTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9254. this._взысканияTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9255. if (this._взысканияTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9256. this._взысканияTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9257. adaptersWithAcceptChangesDuringUpdate.Add(this._взысканияTableAdapter.Adapter);
  9258. }
  9259. }
  9260. if ((this._водителиTableAdapter != null)) {
  9261. revertConnections.Add(this._водителиTableAdapter, this._водителиTableAdapter.Connection);
  9262. this._водителиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9263. this._водителиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9264. if (this._водителиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9265. this._водителиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9266. adaptersWithAcceptChangesDuringUpdate.Add(this._водителиTableAdapter.Adapter);
  9267. }
  9268. }
  9269. if ((this._нарушенияTableAdapter != null)) {
  9270. revertConnections.Add(this._нарушенияTableAdapter, this._нарушенияTableAdapter.Connection);
  9271. this._нарушенияTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  9272. this._нарушенияTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  9273. if (this._нарушенияTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  9274. this._нарушенияTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  9275. adaptersWithAcceptChangesDuringUpdate.Add(this._нарушенияTableAdapter.Adapter);
  9276. }
  9277. }
  9278. //
  9279. //---- Perform updates -----------
  9280. //
  9281. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  9282. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  9283. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  9284. }
  9285. else {
  9286. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  9287. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  9288. }
  9289. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  9290. //
  9291. //---- Commit updates -----------
  9292. //
  9293. workTransaction.Commit();
  9294. if ((0 < allAddedRows.Count)) {
  9295. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  9296. allAddedRows.CopyTo(rows);
  9297. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  9298. global::System.Data.DataRow row = rows[i];
  9299. row.AcceptChanges();
  9300. }
  9301. }
  9302. if ((0 < allChangedRows.Count)) {
  9303. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  9304. allChangedRows.CopyTo(rows);
  9305. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  9306. global::System.Data.DataRow row = rows[i];
  9307. row.AcceptChanges();
  9308. }
  9309. }
  9310. }
  9311. catch (global::System.Exception ex) {
  9312. workTransaction.Rollback();
  9313. // ---- Restore the dataset -----------
  9314. if (this.BackupDataSetBeforeUpdate) {
  9315. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  9316. dataSet.Clear();
  9317. dataSet.Merge(backupDataSet);
  9318. }
  9319. else {
  9320. if ((0 < allAddedRows.Count)) {
  9321. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  9322. allAddedRows.CopyTo(rows);
  9323. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  9324. global::System.Data.DataRow row = rows[i];
  9325. row.AcceptChanges();
  9326. row.SetAdded();
  9327. }
  9328. }
  9329. }
  9330. throw ex;
  9331. }
  9332. finally {
  9333. if (workConnOpened) {
  9334. workConnection.Close();
  9335. }
  9336. if ((this._автомобилиTableAdapter != null)) {
  9337. this._автомобилиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._автомобилиTableAdapter]));
  9338. this._автомобилиTableAdapter.Transaction = null;
  9339. }
  9340. if ((this._взысканияTableAdapter != null)) {
  9341. this._взысканияTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._взысканияTableAdapter]));
  9342. this._взысканияTableAdapter.Transaction = null;
  9343. }
  9344. if ((this._водителиTableAdapter != null)) {
  9345. this._водителиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._водителиTableAdapter]));
  9346. this._водителиTableAdapter.Transaction = null;
  9347. }
  9348. if ((this._нарушенияTableAdapter != null)) {
  9349. this._нарушенияTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._нарушенияTableAdapter]));
  9350. this._нарушенияTableAdapter.Transaction = null;
  9351. }
  9352. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  9353. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  9354. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  9355. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  9356. global::System.Data.Common.DataAdapter adapter = adapters[i];
  9357. adapter.AcceptChangesDuringUpdate = true;
  9358. }
  9359. }
  9360. }
  9361. return result;
  9362. }
  9363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9364. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9365. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  9366. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  9367. }
  9368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9370. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  9371. if ((this._connection != null)) {
  9372. return true;
  9373. }
  9374. if (((this.Connection == null)
  9375. || (inputConnection == null))) {
  9376. return true;
  9377. }
  9378. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  9379. return true;
  9380. }
  9381. return false;
  9382. }
  9383. /// <summary>
  9384. ///Update Order Option
  9385. ///</summary>
  9386. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9387. public enum UpdateOrderOption {
  9388. InsertUpdateDelete = 0,
  9389. UpdateInsertDelete = 1,
  9390. }
  9391. /// <summary>
  9392. ///Used to sort self-referenced table's rows
  9393. ///</summary>
  9394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9395. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  9396. private global::System.Data.DataRelation _relation;
  9397. private int _childFirst;
  9398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9399. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9400. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  9401. this._relation = relation;
  9402. if (childFirst) {
  9403. this._childFirst = -1;
  9404. }
  9405. else {
  9406. this._childFirst = 1;
  9407. }
  9408. }
  9409. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9410. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9411. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  9412. global::System.Diagnostics.Debug.Assert((row != null));
  9413. global::System.Data.DataRow root = row;
  9414. distance = 0;
  9415. 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>();
  9416. traversedRows[row] = row;
  9417. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  9418. for (
  9419. ; ((parent != null)
  9420. && (traversedRows.ContainsKey(parent) == false));
  9421. ) {
  9422. distance = (distance + 1);
  9423. root = parent;
  9424. traversedRows[parent] = parent;
  9425. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  9426. }
  9427. if ((distance == 0)) {
  9428. traversedRows.Clear();
  9429. traversedRows[row] = row;
  9430. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  9431. for (
  9432. ; ((parent != null)
  9433. && (traversedRows.ContainsKey(parent) == false));
  9434. ) {
  9435. distance = (distance + 1);
  9436. root = parent;
  9437. traversedRows[parent] = parent;
  9438. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  9439. }
  9440. }
  9441. return root;
  9442. }
  9443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  9444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  9445. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  9446. if (object.ReferenceEquals(row1, row2)) {
  9447. return 0;
  9448. }
  9449. if ((row1 == null)) {
  9450. return -1;
  9451. }
  9452. if ((row2 == null)) {
  9453. return 1;
  9454. }
  9455. int distance1 = 0;
  9456. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  9457. int distance2 = 0;
  9458. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  9459. if (object.ReferenceEquals(root1, root2)) {
  9460. return (this._childFirst * distance1.CompareTo(distance2));
  9461. }
  9462. else {
  9463. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  9464. && (root2.Table != null)));
  9465. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  9466. return -1;
  9467. }
  9468. else {
  9469. return 1;
  9470. }
  9471. }
  9472. }
  9473. }
  9474. }
  9475. }
  9476. #pragma warning restore 1591