_IS_31IvnitskiiStudDataSet.Designer.cs 511 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace IS31IvnitskiiStud {
  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("_IS_31IvnitskiiStudDataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class _IS_31IvnitskiiStudDataSet : global::System.Data.DataSet {
  22. private ОценкиDataTable tableОценки;
  23. private ПредметыDataTable tableПредметы;
  24. private СпециальностиDataTable tableСпециальности;
  25. private СтудентыDataTable tableСтуденты;
  26. private _Запрос_Студенты_СпециальностиDataTable _tableЗапрос_Студенты_Специальности;
  27. private Отображение_студентов_по_ФИОDataTable tableОтображение_студентов_по_ФИО;
  28. private Среднее_пяти_величинDataTable tableСреднее_пяти_величин;
  29. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  30. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  31. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  32. public _IS_31IvnitskiiStudDataSet() {
  33. this.BeginInit();
  34. this.InitClass();
  35. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  36. base.Tables.CollectionChanged += schemaChangedHandler;
  37. base.Relations.CollectionChanged += schemaChangedHandler;
  38. this.EndInit();
  39. }
  40. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  41. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  42. protected _IS_31IvnitskiiStudDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  43. base(info, context, false) {
  44. if ((this.IsBinarySerialized(info, context) == true)) {
  45. this.InitVars(false);
  46. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  47. this.Tables.CollectionChanged += schemaChangedHandler1;
  48. this.Relations.CollectionChanged += schemaChangedHandler1;
  49. return;
  50. }
  51. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  52. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  53. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  54. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  55. if ((ds.Tables["Оценки"] != null)) {
  56. base.Tables.Add(new ОценкиDataTable(ds.Tables["Оценки"]));
  57. }
  58. if ((ds.Tables["Предметы"] != null)) {
  59. base.Tables.Add(new ПредметыDataTable(ds.Tables["Предметы"]));
  60. }
  61. if ((ds.Tables["Специальности"] != null)) {
  62. base.Tables.Add(new СпециальностиDataTable(ds.Tables["Специальности"]));
  63. }
  64. if ((ds.Tables["Студенты"] != null)) {
  65. base.Tables.Add(new СтудентыDataTable(ds.Tables["Студенты"]));
  66. }
  67. if ((ds.Tables["Запрос Студенты+Специальности"] != null)) {
  68. base.Tables.Add(new _Запрос_Студенты_СпециальностиDataTable(ds.Tables["Запрос Студенты+Специальности"]));
  69. }
  70. if ((ds.Tables["Отображение студентов по ФИО"] != null)) {
  71. base.Tables.Add(new Отображение_студентов_по_ФИОDataTable(ds.Tables["Отображение студентов по ФИО"]));
  72. }
  73. if ((ds.Tables["Среднее пяти величин"] != null)) {
  74. base.Tables.Add(new Среднее_пяти_величинDataTable(ds.Tables["Среднее пяти величин"]));
  75. }
  76. this.DataSetName = ds.DataSetName;
  77. this.Prefix = ds.Prefix;
  78. this.Namespace = ds.Namespace;
  79. this.Locale = ds.Locale;
  80. this.CaseSensitive = ds.CaseSensitive;
  81. this.EnforceConstraints = ds.EnforceConstraints;
  82. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  83. this.InitVars();
  84. }
  85. else {
  86. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  87. }
  88. this.GetSerializationData(info, context);
  89. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  90. base.Tables.CollectionChanged += schemaChangedHandler;
  91. this.Relations.CollectionChanged += schemaChangedHandler;
  92. }
  93. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  94. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  95. [global::System.ComponentModel.Browsable(false)]
  96. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  97. public ОценкиDataTable Оценки {
  98. get {
  99. return this.tableОценки;
  100. }
  101. }
  102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  104. [global::System.ComponentModel.Browsable(false)]
  105. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  106. public ПредметыDataTable Предметы {
  107. get {
  108. return this.tableПредметы;
  109. }
  110. }
  111. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  112. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  113. [global::System.ComponentModel.Browsable(false)]
  114. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  115. public СпециальностиDataTable Специальности {
  116. get {
  117. return this.tableСпециальности;
  118. }
  119. }
  120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  121. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  122. [global::System.ComponentModel.Browsable(false)]
  123. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  124. public СтудентыDataTable Студенты {
  125. get {
  126. return this.tableСтуденты;
  127. }
  128. }
  129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  131. [global::System.ComponentModel.Browsable(false)]
  132. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  133. public _Запрос_Студенты_СпециальностиDataTable _Запрос_Студенты_Специальности {
  134. get {
  135. return this._tableЗапрос_Студенты_Специальности;
  136. }
  137. }
  138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  139. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  140. [global::System.ComponentModel.Browsable(false)]
  141. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  142. public Отображение_студентов_по_ФИОDataTable Отображение_студентов_по_ФИО {
  143. get {
  144. return this.tableОтображение_студентов_по_ФИО;
  145. }
  146. }
  147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  149. [global::System.ComponentModel.Browsable(false)]
  150. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  151. public Среднее_пяти_величинDataTable Среднее_пяти_величин {
  152. get {
  153. return this.tableСреднее_пяти_величин;
  154. }
  155. }
  156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  158. [global::System.ComponentModel.BrowsableAttribute(true)]
  159. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  160. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  161. get {
  162. return this._schemaSerializationMode;
  163. }
  164. set {
  165. this._schemaSerializationMode = value;
  166. }
  167. }
  168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  170. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  171. public new global::System.Data.DataTableCollection Tables {
  172. get {
  173. return base.Tables;
  174. }
  175. }
  176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  177. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  178. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  179. public new global::System.Data.DataRelationCollection Relations {
  180. get {
  181. return base.Relations;
  182. }
  183. }
  184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  186. protected override void InitializeDerivedDataSet() {
  187. this.BeginInit();
  188. this.InitClass();
  189. this.EndInit();
  190. }
  191. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  193. public override global::System.Data.DataSet Clone() {
  194. _IS_31IvnitskiiStudDataSet cln = ((_IS_31IvnitskiiStudDataSet)(base.Clone()));
  195. cln.InitVars();
  196. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  197. return cln;
  198. }
  199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  201. protected override bool ShouldSerializeTables() {
  202. return false;
  203. }
  204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  205. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  206. protected override bool ShouldSerializeRelations() {
  207. return false;
  208. }
  209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  210. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  211. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  212. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  213. this.Reset();
  214. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  215. ds.ReadXml(reader);
  216. if ((ds.Tables["Оценки"] != null)) {
  217. base.Tables.Add(new ОценкиDataTable(ds.Tables["Оценки"]));
  218. }
  219. if ((ds.Tables["Предметы"] != null)) {
  220. base.Tables.Add(new ПредметыDataTable(ds.Tables["Предметы"]));
  221. }
  222. if ((ds.Tables["Специальности"] != null)) {
  223. base.Tables.Add(new СпециальностиDataTable(ds.Tables["Специальности"]));
  224. }
  225. if ((ds.Tables["Студенты"] != null)) {
  226. base.Tables.Add(new СтудентыDataTable(ds.Tables["Студенты"]));
  227. }
  228. if ((ds.Tables["Запрос Студенты+Специальности"] != null)) {
  229. base.Tables.Add(new _Запрос_Студенты_СпециальностиDataTable(ds.Tables["Запрос Студенты+Специальности"]));
  230. }
  231. if ((ds.Tables["Отображение студентов по ФИО"] != null)) {
  232. base.Tables.Add(new Отображение_студентов_по_ФИОDataTable(ds.Tables["Отображение студентов по ФИО"]));
  233. }
  234. if ((ds.Tables["Среднее пяти величин"] != null)) {
  235. base.Tables.Add(new Среднее_пяти_величинDataTable(ds.Tables["Среднее пяти величин"]));
  236. }
  237. this.DataSetName = ds.DataSetName;
  238. this.Prefix = ds.Prefix;
  239. this.Namespace = ds.Namespace;
  240. this.Locale = ds.Locale;
  241. this.CaseSensitive = ds.CaseSensitive;
  242. this.EnforceConstraints = ds.EnforceConstraints;
  243. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  244. this.InitVars();
  245. }
  246. else {
  247. this.ReadXml(reader);
  248. this.InitVars();
  249. }
  250. }
  251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  252. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  253. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  254. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  255. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  256. stream.Position = 0;
  257. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  258. }
  259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  261. internal void InitVars() {
  262. this.InitVars(true);
  263. }
  264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  266. internal void InitVars(bool initTable) {
  267. this.tableОценки = ((ОценкиDataTable)(base.Tables["Оценки"]));
  268. if ((initTable == true)) {
  269. if ((this.tableОценки != null)) {
  270. this.tableОценки.InitVars();
  271. }
  272. }
  273. this.tableПредметы = ((ПредметыDataTable)(base.Tables["Предметы"]));
  274. if ((initTable == true)) {
  275. if ((this.tableПредметы != null)) {
  276. this.tableПредметы.InitVars();
  277. }
  278. }
  279. this.tableСпециальности = ((СпециальностиDataTable)(base.Tables["Специальности"]));
  280. if ((initTable == true)) {
  281. if ((this.tableСпециальности != null)) {
  282. this.tableСпециальности.InitVars();
  283. }
  284. }
  285. this.tableСтуденты = ((СтудентыDataTable)(base.Tables["Студенты"]));
  286. if ((initTable == true)) {
  287. if ((this.tableСтуденты != null)) {
  288. this.tableСтуденты.InitVars();
  289. }
  290. }
  291. this._tableЗапрос_Студенты_Специальности = ((_Запрос_Студенты_СпециальностиDataTable)(base.Tables["Запрос Студенты+Специальности"]));
  292. if ((initTable == true)) {
  293. if ((this._tableЗапрос_Студенты_Специальности != null)) {
  294. this._tableЗапрос_Студенты_Специальности.InitVars();
  295. }
  296. }
  297. this.tableОтображение_студентов_по_ФИО = ((Отображение_студентов_по_ФИОDataTable)(base.Tables["Отображение студентов по ФИО"]));
  298. if ((initTable == true)) {
  299. if ((this.tableОтображение_студентов_по_ФИО != null)) {
  300. this.tableОтображение_студентов_по_ФИО.InitVars();
  301. }
  302. }
  303. this.tableСреднее_пяти_величин = ((Среднее_пяти_величинDataTable)(base.Tables["Среднее пяти величин"]));
  304. if ((initTable == true)) {
  305. if ((this.tableСреднее_пяти_величин != null)) {
  306. this.tableСреднее_пяти_величин.InitVars();
  307. }
  308. }
  309. }
  310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  312. private void InitClass() {
  313. this.DataSetName = "_IS_31IvnitskiiStudDataSet";
  314. this.Prefix = "";
  315. this.Namespace = "http://tempuri.org/_IS_31IvnitskiiStudDataSet.xsd";
  316. this.EnforceConstraints = true;
  317. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  318. this.tableОценки = new ОценкиDataTable();
  319. base.Tables.Add(this.tableОценки);
  320. this.tableПредметы = new ПредметыDataTable();
  321. base.Tables.Add(this.tableПредметы);
  322. this.tableСпециальности = new СпециальностиDataTable();
  323. base.Tables.Add(this.tableСпециальности);
  324. this.tableСтуденты = new СтудентыDataTable();
  325. base.Tables.Add(this.tableСтуденты);
  326. this._tableЗапрос_Студенты_Специальности = new _Запрос_Студенты_СпециальностиDataTable();
  327. base.Tables.Add(this._tableЗапрос_Студенты_Специальности);
  328. this.tableОтображение_студентов_по_ФИО = new Отображение_студентов_по_ФИОDataTable();
  329. base.Tables.Add(this.tableОтображение_студентов_по_ФИО);
  330. this.tableСреднее_пяти_величин = new Среднее_пяти_величинDataTable();
  331. base.Tables.Add(this.tableСреднее_пяти_величин);
  332. }
  333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  334. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  335. private bool ShouldSerializeОценки() {
  336. return false;
  337. }
  338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  339. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  340. private bool ShouldSerializeПредметы() {
  341. return false;
  342. }
  343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  344. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  345. private bool ShouldSerializeСпециальности() {
  346. return false;
  347. }
  348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  349. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  350. private bool ShouldSerializeСтуденты() {
  351. return false;
  352. }
  353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  354. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  355. private bool ShouldSerialize_Запрос_Студенты_Специальности() {
  356. return false;
  357. }
  358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  359. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  360. private bool ShouldSerializeОтображение_студентов_по_ФИО() {
  361. return false;
  362. }
  363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  364. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  365. private bool ShouldSerializeСреднее_пяти_величин() {
  366. return false;
  367. }
  368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  370. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  371. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  372. this.InitVars();
  373. }
  374. }
  375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  376. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  377. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  378. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  379. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  380. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  381. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  382. any.Namespace = ds.Namespace;
  383. sequence.Items.Add(any);
  384. type.Particle = sequence;
  385. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  386. if (xs.Contains(dsSchema.TargetNamespace)) {
  387. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  388. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  389. try {
  390. global::System.Xml.Schema.XmlSchema schema = null;
  391. dsSchema.Write(s1);
  392. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  393. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  394. s2.SetLength(0);
  395. schema.Write(s2);
  396. if ((s1.Length == s2.Length)) {
  397. s1.Position = 0;
  398. s2.Position = 0;
  399. for (; ((s1.Position != s1.Length)
  400. && (s1.ReadByte() == s2.ReadByte())); ) {
  401. ;
  402. }
  403. if ((s1.Position == s1.Length)) {
  404. return type;
  405. }
  406. }
  407. }
  408. }
  409. finally {
  410. if ((s1 != null)) {
  411. s1.Close();
  412. }
  413. if ((s2 != null)) {
  414. s2.Close();
  415. }
  416. }
  417. }
  418. xs.Add(dsSchema);
  419. return type;
  420. }
  421. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  422. public delegate void ОценкиRowChangeEventHandler(object sender, ОценкиRowChangeEvent e);
  423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  424. public delegate void ПредметыRowChangeEventHandler(object sender, ПредметыRowChangeEvent e);
  425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  426. public delegate void СпециальностиRowChangeEventHandler(object sender, СпециальностиRowChangeEvent e);
  427. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  428. public delegate void СтудентыRowChangeEventHandler(object sender, СтудентыRowChangeEvent e);
  429. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  430. public delegate void _Запрос_Студенты_СпециальностиRowChangeEventHandler(object sender, _Запрос_Студенты_СпециальностиRowChangeEvent e);
  431. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  432. public delegate void Отображение_студентов_по_ФИОRowChangeEventHandler(object sender, Отображение_студентов_по_ФИОRowChangeEvent e);
  433. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  434. public delegate void Среднее_пяти_величинRowChangeEventHandler(object sender, Среднее_пяти_величинRowChangeEvent e);
  435. /// <summary>
  436. ///Represents the strongly named DataTable class.
  437. ///</summary>
  438. [global::System.Serializable()]
  439. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  440. public partial class ОценкиDataTable : global::System.Data.TypedTableBase<ОценкиRow> {
  441. private global::System.Data.DataColumn columnКод_студента;
  442. private global::System.Data.DataColumn columnДата_экзамена_1;
  443. private global::System.Data.DataColumn columnКод_предмета_1;
  444. private global::System.Data.DataColumn columnОценка_1;
  445. private global::System.Data.DataColumn columnДата_экзамена_2;
  446. private global::System.Data.DataColumn columnКод_предмета_2;
  447. private global::System.Data.DataColumn columnОценка_2;
  448. private global::System.Data.DataColumn columnДата_экзамена_3;
  449. private global::System.Data.DataColumn columnКод_предмета_3;
  450. private global::System.Data.DataColumn columnоценка_3;
  451. private global::System.Data.DataColumn columnСредний_балл;
  452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  454. public ОценкиDataTable() {
  455. this.TableName = "Оценки";
  456. this.BeginInit();
  457. this.InitClass();
  458. this.EndInit();
  459. }
  460. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  461. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  462. internal ОценкиDataTable(global::System.Data.DataTable table) {
  463. this.TableName = table.TableName;
  464. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  465. this.CaseSensitive = table.CaseSensitive;
  466. }
  467. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  468. this.Locale = table.Locale;
  469. }
  470. if ((table.Namespace != table.DataSet.Namespace)) {
  471. this.Namespace = table.Namespace;
  472. }
  473. this.Prefix = table.Prefix;
  474. this.MinimumCapacity = table.MinimumCapacity;
  475. }
  476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  478. protected ОценкиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  479. base(info, context) {
  480. this.InitVars();
  481. }
  482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  483. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  484. public global::System.Data.DataColumn Код_студентаColumn {
  485. get {
  486. return this.columnКод_студента;
  487. }
  488. }
  489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  491. public global::System.Data.DataColumn Дата_экзамена_1Column {
  492. get {
  493. return this.columnДата_экзамена_1;
  494. }
  495. }
  496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  498. public global::System.Data.DataColumn Код_предмета_1Column {
  499. get {
  500. return this.columnКод_предмета_1;
  501. }
  502. }
  503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  505. public global::System.Data.DataColumn Оценка_1Column {
  506. get {
  507. return this.columnОценка_1;
  508. }
  509. }
  510. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  511. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  512. public global::System.Data.DataColumn Дата_экзамена_2Column {
  513. get {
  514. return this.columnДата_экзамена_2;
  515. }
  516. }
  517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  518. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  519. public global::System.Data.DataColumn Код_предмета_2Column {
  520. get {
  521. return this.columnКод_предмета_2;
  522. }
  523. }
  524. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  525. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  526. public global::System.Data.DataColumn Оценка_2Column {
  527. get {
  528. return this.columnОценка_2;
  529. }
  530. }
  531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  532. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  533. public global::System.Data.DataColumn Дата_экзамена_3Column {
  534. get {
  535. return this.columnДата_экзамена_3;
  536. }
  537. }
  538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  540. public global::System.Data.DataColumn Код_предмета_3Column {
  541. get {
  542. return this.columnКод_предмета_3;
  543. }
  544. }
  545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  546. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  547. public global::System.Data.DataColumn оценка_3Column {
  548. get {
  549. return this.columnоценка_3;
  550. }
  551. }
  552. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  554. public global::System.Data.DataColumn Средний_баллColumn {
  555. get {
  556. return this.columnСредний_балл;
  557. }
  558. }
  559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  560. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  561. [global::System.ComponentModel.Browsable(false)]
  562. public int Count {
  563. get {
  564. return this.Rows.Count;
  565. }
  566. }
  567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  568. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  569. public ОценкиRow this[int index] {
  570. get {
  571. return ((ОценкиRow)(this.Rows[index]));
  572. }
  573. }
  574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  575. public event ОценкиRowChangeEventHandler ОценкиRowChanging;
  576. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  577. public event ОценкиRowChangeEventHandler ОценкиRowChanged;
  578. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  579. public event ОценкиRowChangeEventHandler ОценкиRowDeleting;
  580. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  581. public event ОценкиRowChangeEventHandler ОценкиRowDeleted;
  582. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  583. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  584. public void AddОценкиRow(ОценкиRow row) {
  585. this.Rows.Add(row);
  586. }
  587. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  588. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  589. public ОценкиRow AddОценкиRow(long Код_студента, System.DateTime Дата_экзамена_1, long Код_предмета_1, byte Оценка_1, System.DateTime Дата_экзамена_2, long Код_предмета_2, byte Оценка_2, System.DateTime Дата_экзамена_3, long Код_предмета_3, byte оценка_3, float Средний_балл) {
  590. ОценкиRow rowОценкиRow = ((ОценкиRow)(this.NewRow()));
  591. object[] columnValuesArray = new object[] {
  592. Код_студента,
  593. Дата_экзамена_1,
  594. Код_предмета_1,
  595. Оценка_1,
  596. Дата_экзамена_2,
  597. Код_предмета_2,
  598. Оценка_2,
  599. Дата_экзамена_3,
  600. Код_предмета_3,
  601. оценка_3,
  602. Средний_балл};
  603. rowОценкиRow.ItemArray = columnValuesArray;
  604. this.Rows.Add(rowОценкиRow);
  605. return rowОценкиRow;
  606. }
  607. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  608. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  609. public override global::System.Data.DataTable Clone() {
  610. ОценкиDataTable cln = ((ОценкиDataTable)(base.Clone()));
  611. cln.InitVars();
  612. return cln;
  613. }
  614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  615. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  616. protected override global::System.Data.DataTable CreateInstance() {
  617. return new ОценкиDataTable();
  618. }
  619. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  620. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  621. internal void InitVars() {
  622. this.columnКод_студента = base.Columns["Код студента"];
  623. this.columnДата_экзамена_1 = base.Columns["Дата экзамена 1"];
  624. this.columnКод_предмета_1 = base.Columns["Код предмета 1"];
  625. this.columnОценка_1 = base.Columns["Оценка 1"];
  626. this.columnДата_экзамена_2 = base.Columns["Дата экзамена 2"];
  627. this.columnКод_предмета_2 = base.Columns["Код предмета 2"];
  628. this.columnОценка_2 = base.Columns["Оценка 2"];
  629. this.columnДата_экзамена_3 = base.Columns["Дата экзамена 3"];
  630. this.columnКод_предмета_3 = base.Columns["Код предмета 3"];
  631. this.columnоценка_3 = base.Columns["оценка 3"];
  632. this.columnСредний_балл = base.Columns["Средний балл"];
  633. }
  634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  636. private void InitClass() {
  637. this.columnКод_студента = new global::System.Data.DataColumn("Код студента", typeof(long), null, global::System.Data.MappingType.Element);
  638. base.Columns.Add(this.columnКод_студента);
  639. this.columnДата_экзамена_1 = new global::System.Data.DataColumn("Дата экзамена 1", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  640. base.Columns.Add(this.columnДата_экзамена_1);
  641. this.columnКод_предмета_1 = new global::System.Data.DataColumn("Код предмета 1", typeof(long), null, global::System.Data.MappingType.Element);
  642. base.Columns.Add(this.columnКод_предмета_1);
  643. this.columnОценка_1 = new global::System.Data.DataColumn("Оценка 1", typeof(byte), null, global::System.Data.MappingType.Element);
  644. base.Columns.Add(this.columnОценка_1);
  645. this.columnДата_экзамена_2 = new global::System.Data.DataColumn("Дата экзамена 2", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  646. base.Columns.Add(this.columnДата_экзамена_2);
  647. this.columnКод_предмета_2 = new global::System.Data.DataColumn("Код предмета 2", typeof(long), null, global::System.Data.MappingType.Element);
  648. base.Columns.Add(this.columnКод_предмета_2);
  649. this.columnОценка_2 = new global::System.Data.DataColumn("Оценка 2", typeof(byte), null, global::System.Data.MappingType.Element);
  650. base.Columns.Add(this.columnОценка_2);
  651. this.columnДата_экзамена_3 = new global::System.Data.DataColumn("Дата экзамена 3", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  652. base.Columns.Add(this.columnДата_экзамена_3);
  653. this.columnКод_предмета_3 = new global::System.Data.DataColumn("Код предмета 3", typeof(long), null, global::System.Data.MappingType.Element);
  654. base.Columns.Add(this.columnКод_предмета_3);
  655. this.columnоценка_3 = new global::System.Data.DataColumn("оценка 3", typeof(byte), null, global::System.Data.MappingType.Element);
  656. base.Columns.Add(this.columnоценка_3);
  657. this.columnСредний_балл = new global::System.Data.DataColumn("Средний балл", typeof(float), null, global::System.Data.MappingType.Element);
  658. base.Columns.Add(this.columnСредний_балл);
  659. }
  660. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  661. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  662. public ОценкиRow NewОценкиRow() {
  663. return ((ОценкиRow)(this.NewRow()));
  664. }
  665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  666. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  667. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  668. return new ОценкиRow(builder);
  669. }
  670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  672. protected override global::System.Type GetRowType() {
  673. return typeof(ОценкиRow);
  674. }
  675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  677. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  678. base.OnRowChanged(e);
  679. if ((this.ОценкиRowChanged != null)) {
  680. this.ОценкиRowChanged(this, new ОценкиRowChangeEvent(((ОценкиRow)(e.Row)), e.Action));
  681. }
  682. }
  683. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  684. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  685. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  686. base.OnRowChanging(e);
  687. if ((this.ОценкиRowChanging != null)) {
  688. this.ОценкиRowChanging(this, new ОценкиRowChangeEvent(((ОценкиRow)(e.Row)), e.Action));
  689. }
  690. }
  691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  693. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  694. base.OnRowDeleted(e);
  695. if ((this.ОценкиRowDeleted != null)) {
  696. this.ОценкиRowDeleted(this, new ОценкиRowChangeEvent(((ОценкиRow)(e.Row)), e.Action));
  697. }
  698. }
  699. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  700. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  701. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  702. base.OnRowDeleting(e);
  703. if ((this.ОценкиRowDeleting != null)) {
  704. this.ОценкиRowDeleting(this, new ОценкиRowChangeEvent(((ОценкиRow)(e.Row)), e.Action));
  705. }
  706. }
  707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  709. public void RemoveОценкиRow(ОценкиRow row) {
  710. this.Rows.Remove(row);
  711. }
  712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  714. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  715. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  716. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  717. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  718. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  719. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  720. any1.MinOccurs = new decimal(0);
  721. any1.MaxOccurs = decimal.MaxValue;
  722. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  723. sequence.Items.Add(any1);
  724. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  725. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  726. any2.MinOccurs = new decimal(1);
  727. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  728. sequence.Items.Add(any2);
  729. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  730. attribute1.Name = "namespace";
  731. attribute1.FixedValue = ds.Namespace;
  732. type.Attributes.Add(attribute1);
  733. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  734. attribute2.Name = "tableTypeName";
  735. attribute2.FixedValue = "ОценкиDataTable";
  736. type.Attributes.Add(attribute2);
  737. type.Particle = sequence;
  738. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  739. if (xs.Contains(dsSchema.TargetNamespace)) {
  740. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  741. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  742. try {
  743. global::System.Xml.Schema.XmlSchema schema = null;
  744. dsSchema.Write(s1);
  745. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  746. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  747. s2.SetLength(0);
  748. schema.Write(s2);
  749. if ((s1.Length == s2.Length)) {
  750. s1.Position = 0;
  751. s2.Position = 0;
  752. for (; ((s1.Position != s1.Length)
  753. && (s1.ReadByte() == s2.ReadByte())); ) {
  754. ;
  755. }
  756. if ((s1.Position == s1.Length)) {
  757. return type;
  758. }
  759. }
  760. }
  761. }
  762. finally {
  763. if ((s1 != null)) {
  764. s1.Close();
  765. }
  766. if ((s2 != null)) {
  767. s2.Close();
  768. }
  769. }
  770. }
  771. xs.Add(dsSchema);
  772. return type;
  773. }
  774. }
  775. /// <summary>
  776. ///Represents the strongly named DataTable class.
  777. ///</summary>
  778. [global::System.Serializable()]
  779. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  780. public partial class ПредметыDataTable : global::System.Data.TypedTableBase<ПредметыRow> {
  781. private global::System.Data.DataColumn columnКод_предмета;
  782. private global::System.Data.DataColumn columnНаименование_предмета;
  783. private global::System.Data.DataColumn columnОписание_предмета;
  784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  785. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  786. public ПредметыDataTable() {
  787. this.TableName = "Предметы";
  788. this.BeginInit();
  789. this.InitClass();
  790. this.EndInit();
  791. }
  792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  793. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  794. internal ПредметыDataTable(global::System.Data.DataTable table) {
  795. this.TableName = table.TableName;
  796. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  797. this.CaseSensitive = table.CaseSensitive;
  798. }
  799. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  800. this.Locale = table.Locale;
  801. }
  802. if ((table.Namespace != table.DataSet.Namespace)) {
  803. this.Namespace = table.Namespace;
  804. }
  805. this.Prefix = table.Prefix;
  806. this.MinimumCapacity = table.MinimumCapacity;
  807. }
  808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  810. protected ПредметыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  811. base(info, context) {
  812. this.InitVars();
  813. }
  814. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  815. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  816. public global::System.Data.DataColumn Код_предметаColumn {
  817. get {
  818. return this.columnКод_предмета;
  819. }
  820. }
  821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  823. public global::System.Data.DataColumn Наименование_предметаColumn {
  824. get {
  825. return this.columnНаименование_предмета;
  826. }
  827. }
  828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  829. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  830. public global::System.Data.DataColumn Описание_предметаColumn {
  831. get {
  832. return this.columnОписание_предмета;
  833. }
  834. }
  835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  836. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  837. [global::System.ComponentModel.Browsable(false)]
  838. public int Count {
  839. get {
  840. return this.Rows.Count;
  841. }
  842. }
  843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  844. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  845. public ПредметыRow this[int index] {
  846. get {
  847. return ((ПредметыRow)(this.Rows[index]));
  848. }
  849. }
  850. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  851. public event ПредметыRowChangeEventHandler ПредметыRowChanging;
  852. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  853. public event ПредметыRowChangeEventHandler ПредметыRowChanged;
  854. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  855. public event ПредметыRowChangeEventHandler ПредметыRowDeleting;
  856. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  857. public event ПредметыRowChangeEventHandler ПредметыRowDeleted;
  858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  859. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  860. public void AddПредметыRow(ПредметыRow row) {
  861. this.Rows.Add(row);
  862. }
  863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  865. public ПредметыRow AddПредметыRow(long Код_предмета, string Наименование_предмета, string Описание_предмета) {
  866. ПредметыRow rowПредметыRow = ((ПредметыRow)(this.NewRow()));
  867. object[] columnValuesArray = new object[] {
  868. Код_предмета,
  869. Наименование_предмета,
  870. Описание_предмета};
  871. rowПредметыRow.ItemArray = columnValuesArray;
  872. this.Rows.Add(rowПредметыRow);
  873. return rowПредметыRow;
  874. }
  875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  876. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  877. public ПредметыRow FindByКод_предмета(long Код_предмета) {
  878. return ((ПредметыRow)(this.Rows.Find(new object[] {
  879. Код_предмета})));
  880. }
  881. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  882. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  883. public override global::System.Data.DataTable Clone() {
  884. ПредметыDataTable cln = ((ПредметыDataTable)(base.Clone()));
  885. cln.InitVars();
  886. return cln;
  887. }
  888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  890. protected override global::System.Data.DataTable CreateInstance() {
  891. return new ПредметыDataTable();
  892. }
  893. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  894. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  895. internal void InitVars() {
  896. this.columnКод_предмета = base.Columns["Код предмета"];
  897. this.columnНаименование_предмета = base.Columns["Наименование предмета"];
  898. this.columnОписание_предмета = base.Columns["Описание предмета"];
  899. }
  900. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  901. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  902. private void InitClass() {
  903. this.columnКод_предмета = new global::System.Data.DataColumn("Код предмета", typeof(long), null, global::System.Data.MappingType.Element);
  904. base.Columns.Add(this.columnКод_предмета);
  905. this.columnНаименование_предмета = new global::System.Data.DataColumn("Наименование предмета", typeof(string), null, global::System.Data.MappingType.Element);
  906. base.Columns.Add(this.columnНаименование_предмета);
  907. this.columnОписание_предмета = new global::System.Data.DataColumn("Описание предмета", typeof(string), null, global::System.Data.MappingType.Element);
  908. base.Columns.Add(this.columnОписание_предмета);
  909. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  910. this.columnКод_предмета}, true));
  911. this.columnКод_предмета.AllowDBNull = false;
  912. this.columnКод_предмета.Unique = true;
  913. this.columnНаименование_предмета.AllowDBNull = false;
  914. this.columnНаименование_предмета.MaxLength = 50;
  915. this.columnОписание_предмета.MaxLength = 50;
  916. }
  917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  918. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  919. public ПредметыRow NewПредметыRow() {
  920. return ((ПредметыRow)(this.NewRow()));
  921. }
  922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  923. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  924. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  925. return new ПредметыRow(builder);
  926. }
  927. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  928. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  929. protected override global::System.Type GetRowType() {
  930. return typeof(ПредметыRow);
  931. }
  932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  934. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  935. base.OnRowChanged(e);
  936. if ((this.ПредметыRowChanged != null)) {
  937. this.ПредметыRowChanged(this, new ПредметыRowChangeEvent(((ПредметыRow)(e.Row)), e.Action));
  938. }
  939. }
  940. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  941. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  942. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  943. base.OnRowChanging(e);
  944. if ((this.ПредметыRowChanging != null)) {
  945. this.ПредметыRowChanging(this, new ПредметыRowChangeEvent(((ПредметыRow)(e.Row)), e.Action));
  946. }
  947. }
  948. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  949. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  950. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  951. base.OnRowDeleted(e);
  952. if ((this.ПредметыRowDeleted != null)) {
  953. this.ПредметыRowDeleted(this, new ПредметыRowChangeEvent(((ПредметыRow)(e.Row)), e.Action));
  954. }
  955. }
  956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  958. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  959. base.OnRowDeleting(e);
  960. if ((this.ПредметыRowDeleting != null)) {
  961. this.ПредметыRowDeleting(this, new ПредметыRowChangeEvent(((ПредметыRow)(e.Row)), e.Action));
  962. }
  963. }
  964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  965. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  966. public void RemoveПредметыRow(ПредметыRow row) {
  967. this.Rows.Remove(row);
  968. }
  969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  970. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  971. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  972. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  973. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  974. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  975. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  976. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  977. any1.MinOccurs = new decimal(0);
  978. any1.MaxOccurs = decimal.MaxValue;
  979. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  980. sequence.Items.Add(any1);
  981. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  982. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  983. any2.MinOccurs = new decimal(1);
  984. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  985. sequence.Items.Add(any2);
  986. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  987. attribute1.Name = "namespace";
  988. attribute1.FixedValue = ds.Namespace;
  989. type.Attributes.Add(attribute1);
  990. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  991. attribute2.Name = "tableTypeName";
  992. attribute2.FixedValue = "ПредметыDataTable";
  993. type.Attributes.Add(attribute2);
  994. type.Particle = sequence;
  995. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  996. if (xs.Contains(dsSchema.TargetNamespace)) {
  997. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  998. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  999. try {
  1000. global::System.Xml.Schema.XmlSchema schema = null;
  1001. dsSchema.Write(s1);
  1002. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1003. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1004. s2.SetLength(0);
  1005. schema.Write(s2);
  1006. if ((s1.Length == s2.Length)) {
  1007. s1.Position = 0;
  1008. s2.Position = 0;
  1009. for (; ((s1.Position != s1.Length)
  1010. && (s1.ReadByte() == s2.ReadByte())); ) {
  1011. ;
  1012. }
  1013. if ((s1.Position == s1.Length)) {
  1014. return type;
  1015. }
  1016. }
  1017. }
  1018. }
  1019. finally {
  1020. if ((s1 != null)) {
  1021. s1.Close();
  1022. }
  1023. if ((s2 != null)) {
  1024. s2.Close();
  1025. }
  1026. }
  1027. }
  1028. xs.Add(dsSchema);
  1029. return type;
  1030. }
  1031. }
  1032. /// <summary>
  1033. ///Represents the strongly named DataTable class.
  1034. ///</summary>
  1035. [global::System.Serializable()]
  1036. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1037. public partial class СпециальностиDataTable : global::System.Data.TypedTableBase<СпециальностиRow> {
  1038. private global::System.Data.DataColumn columnКод_специальности;
  1039. private global::System.Data.DataColumn columnНаименование_специальности;
  1040. private global::System.Data.DataColumn columnОписание_специальности;
  1041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1043. public СпециальностиDataTable() {
  1044. this.TableName = "Специальности";
  1045. this.BeginInit();
  1046. this.InitClass();
  1047. this.EndInit();
  1048. }
  1049. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1050. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1051. internal СпециальностиDataTable(global::System.Data.DataTable table) {
  1052. this.TableName = table.TableName;
  1053. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1054. this.CaseSensitive = table.CaseSensitive;
  1055. }
  1056. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1057. this.Locale = table.Locale;
  1058. }
  1059. if ((table.Namespace != table.DataSet.Namespace)) {
  1060. this.Namespace = table.Namespace;
  1061. }
  1062. this.Prefix = table.Prefix;
  1063. this.MinimumCapacity = table.MinimumCapacity;
  1064. }
  1065. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1066. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1067. protected СпециальностиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1068. base(info, context) {
  1069. this.InitVars();
  1070. }
  1071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1072. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1073. public global::System.Data.DataColumn Код_специальностиColumn {
  1074. get {
  1075. return this.columnКод_специальности;
  1076. }
  1077. }
  1078. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1079. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1080. public global::System.Data.DataColumn Наименование_специальностиColumn {
  1081. get {
  1082. return this.columnНаименование_специальности;
  1083. }
  1084. }
  1085. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1086. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1087. public global::System.Data.DataColumn Описание_специальностиColumn {
  1088. get {
  1089. return this.columnОписание_специальности;
  1090. }
  1091. }
  1092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1093. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1094. [global::System.ComponentModel.Browsable(false)]
  1095. public int Count {
  1096. get {
  1097. return this.Rows.Count;
  1098. }
  1099. }
  1100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1101. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1102. public СпециальностиRow this[int index] {
  1103. get {
  1104. return ((СпециальностиRow)(this.Rows[index]));
  1105. }
  1106. }
  1107. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1108. public event СпециальностиRowChangeEventHandler СпециальностиRowChanging;
  1109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1110. public event СпециальностиRowChangeEventHandler СпециальностиRowChanged;
  1111. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1112. public event СпециальностиRowChangeEventHandler СпециальностиRowDeleting;
  1113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1114. public event СпециальностиRowChangeEventHandler СпециальностиRowDeleted;
  1115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1116. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1117. public void AddСпециальностиRow(СпециальностиRow row) {
  1118. this.Rows.Add(row);
  1119. }
  1120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1121. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1122. public СпециальностиRow AddСпециальностиRow(long Код_специальности, string Наименование_специальности, string Описание_специальности) {
  1123. СпециальностиRow rowСпециальностиRow = ((СпециальностиRow)(this.NewRow()));
  1124. object[] columnValuesArray = new object[] {
  1125. Код_специальности,
  1126. Наименование_специальности,
  1127. Описание_специальности};
  1128. rowСпециальностиRow.ItemArray = columnValuesArray;
  1129. this.Rows.Add(rowСпециальностиRow);
  1130. return rowСпециальностиRow;
  1131. }
  1132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1133. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1134. public СпециальностиRow FindByКод_специальности(long Код_специальности) {
  1135. return ((СпециальностиRow)(this.Rows.Find(new object[] {
  1136. Код_специальности})));
  1137. }
  1138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1139. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1140. public override global::System.Data.DataTable Clone() {
  1141. СпециальностиDataTable cln = ((СпециальностиDataTable)(base.Clone()));
  1142. cln.InitVars();
  1143. return cln;
  1144. }
  1145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1147. protected override global::System.Data.DataTable CreateInstance() {
  1148. return new СпециальностиDataTable();
  1149. }
  1150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1151. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1152. internal void InitVars() {
  1153. this.columnКод_специальности = base.Columns["Код специальности"];
  1154. this.columnНаименование_специальности = base.Columns["Наименование специальности"];
  1155. this.columnОписание_специальности = base.Columns["Описание специальности"];
  1156. }
  1157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1159. private void InitClass() {
  1160. this.columnКод_специальности = new global::System.Data.DataColumn("Код специальности", typeof(long), null, global::System.Data.MappingType.Element);
  1161. base.Columns.Add(this.columnКод_специальности);
  1162. this.columnНаименование_специальности = new global::System.Data.DataColumn("Наименование специальности", typeof(string), null, global::System.Data.MappingType.Element);
  1163. base.Columns.Add(this.columnНаименование_специальности);
  1164. this.columnОписание_специальности = new global::System.Data.DataColumn("Описание специальности", typeof(string), null, global::System.Data.MappingType.Element);
  1165. base.Columns.Add(this.columnОписание_специальности);
  1166. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1167. this.columnКод_специальности}, true));
  1168. this.columnКод_специальности.AllowDBNull = false;
  1169. this.columnКод_специальности.Unique = true;
  1170. this.columnНаименование_специальности.AllowDBNull = false;
  1171. this.columnНаименование_специальности.MaxLength = 50;
  1172. this.columnОписание_специальности.AllowDBNull = false;
  1173. this.columnОписание_специальности.MaxLength = 2147483647;
  1174. }
  1175. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1176. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1177. public СпециальностиRow NewСпециальностиRow() {
  1178. return ((СпециальностиRow)(this.NewRow()));
  1179. }
  1180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1181. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1182. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1183. return new СпециальностиRow(builder);
  1184. }
  1185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1187. protected override global::System.Type GetRowType() {
  1188. return typeof(СпециальностиRow);
  1189. }
  1190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1192. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1193. base.OnRowChanged(e);
  1194. if ((this.СпециальностиRowChanged != null)) {
  1195. this.СпециальностиRowChanged(this, new СпециальностиRowChangeEvent(((СпециальностиRow)(e.Row)), e.Action));
  1196. }
  1197. }
  1198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1199. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1200. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1201. base.OnRowChanging(e);
  1202. if ((this.СпециальностиRowChanging != null)) {
  1203. this.СпециальностиRowChanging(this, new СпециальностиRowChangeEvent(((СпециальностиRow)(e.Row)), e.Action));
  1204. }
  1205. }
  1206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1207. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1208. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1209. base.OnRowDeleted(e);
  1210. if ((this.СпециальностиRowDeleted != null)) {
  1211. this.СпециальностиRowDeleted(this, new СпециальностиRowChangeEvent(((СпециальностиRow)(e.Row)), e.Action));
  1212. }
  1213. }
  1214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1216. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1217. base.OnRowDeleting(e);
  1218. if ((this.СпециальностиRowDeleting != null)) {
  1219. this.СпециальностиRowDeleting(this, new СпециальностиRowChangeEvent(((СпециальностиRow)(e.Row)), e.Action));
  1220. }
  1221. }
  1222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1223. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1224. public void RemoveСпециальностиRow(СпециальностиRow row) {
  1225. this.Rows.Remove(row);
  1226. }
  1227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1229. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1230. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1231. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1232. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  1233. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1234. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1235. any1.MinOccurs = new decimal(0);
  1236. any1.MaxOccurs = decimal.MaxValue;
  1237. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1238. sequence.Items.Add(any1);
  1239. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1240. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1241. any2.MinOccurs = new decimal(1);
  1242. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1243. sequence.Items.Add(any2);
  1244. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1245. attribute1.Name = "namespace";
  1246. attribute1.FixedValue = ds.Namespace;
  1247. type.Attributes.Add(attribute1);
  1248. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1249. attribute2.Name = "tableTypeName";
  1250. attribute2.FixedValue = "СпециальностиDataTable";
  1251. type.Attributes.Add(attribute2);
  1252. type.Particle = sequence;
  1253. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1254. if (xs.Contains(dsSchema.TargetNamespace)) {
  1255. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1256. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1257. try {
  1258. global::System.Xml.Schema.XmlSchema schema = null;
  1259. dsSchema.Write(s1);
  1260. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1261. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1262. s2.SetLength(0);
  1263. schema.Write(s2);
  1264. if ((s1.Length == s2.Length)) {
  1265. s1.Position = 0;
  1266. s2.Position = 0;
  1267. for (; ((s1.Position != s1.Length)
  1268. && (s1.ReadByte() == s2.ReadByte())); ) {
  1269. ;
  1270. }
  1271. if ((s1.Position == s1.Length)) {
  1272. return type;
  1273. }
  1274. }
  1275. }
  1276. }
  1277. finally {
  1278. if ((s1 != null)) {
  1279. s1.Close();
  1280. }
  1281. if ((s2 != null)) {
  1282. s2.Close();
  1283. }
  1284. }
  1285. }
  1286. xs.Add(dsSchema);
  1287. return type;
  1288. }
  1289. }
  1290. /// <summary>
  1291. ///Represents the strongly named DataTable class.
  1292. ///</summary>
  1293. [global::System.Serializable()]
  1294. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1295. public partial class СтудентыDataTable : global::System.Data.TypedTableBase<СтудентыRow> {
  1296. private global::System.Data.DataColumn columnКод_студента;
  1297. private global::System.Data.DataColumn columnФИО;
  1298. private global::System.Data.DataColumn columnПол;
  1299. private global::System.Data.DataColumn columnРодители;
  1300. private global::System.Data.DataColumn columnАдрес;
  1301. private global::System.Data.DataColumn columnТелефон;
  1302. private global::System.Data.DataColumn columnПаспортные_данные;
  1303. private global::System.Data.DataColumn columnНомер_зачетки;
  1304. private global::System.Data.DataColumn columnДата_поступления;
  1305. private global::System.Data.DataColumn columnГруппа;
  1306. private global::System.Data.DataColumn columnКурс;
  1307. private global::System.Data.DataColumn columnКод_специальности;
  1308. private global::System.Data.DataColumn columnОчная_форма_обучения;
  1309. private global::System.Data.DataColumn columnДата_рождения;
  1310. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1311. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1312. public СтудентыDataTable() {
  1313. this.TableName = "Студенты";
  1314. this.BeginInit();
  1315. this.InitClass();
  1316. this.EndInit();
  1317. }
  1318. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1319. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1320. internal СтудентыDataTable(global::System.Data.DataTable table) {
  1321. this.TableName = table.TableName;
  1322. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1323. this.CaseSensitive = table.CaseSensitive;
  1324. }
  1325. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1326. this.Locale = table.Locale;
  1327. }
  1328. if ((table.Namespace != table.DataSet.Namespace)) {
  1329. this.Namespace = table.Namespace;
  1330. }
  1331. this.Prefix = table.Prefix;
  1332. this.MinimumCapacity = table.MinimumCapacity;
  1333. }
  1334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1335. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1336. protected СтудентыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1337. base(info, context) {
  1338. this.InitVars();
  1339. }
  1340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1341. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1342. public global::System.Data.DataColumn Код_студентаColumn {
  1343. get {
  1344. return this.columnКод_студента;
  1345. }
  1346. }
  1347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1348. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1349. public global::System.Data.DataColumn ФИОColumn {
  1350. get {
  1351. return this.columnФИО;
  1352. }
  1353. }
  1354. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1355. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1356. public global::System.Data.DataColumn ПолColumn {
  1357. get {
  1358. return this.columnПол;
  1359. }
  1360. }
  1361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1362. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1363. public global::System.Data.DataColumn РодителиColumn {
  1364. get {
  1365. return this.columnРодители;
  1366. }
  1367. }
  1368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1370. public global::System.Data.DataColumn АдресColumn {
  1371. get {
  1372. return this.columnАдрес;
  1373. }
  1374. }
  1375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1376. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1377. public global::System.Data.DataColumn ТелефонColumn {
  1378. get {
  1379. return this.columnТелефон;
  1380. }
  1381. }
  1382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1384. public global::System.Data.DataColumn Паспортные_данныеColumn {
  1385. get {
  1386. return this.columnПаспортные_данные;
  1387. }
  1388. }
  1389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1390. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1391. public global::System.Data.DataColumn Номер_зачеткиColumn {
  1392. get {
  1393. return this.columnНомер_зачетки;
  1394. }
  1395. }
  1396. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1397. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1398. public global::System.Data.DataColumn Дата_поступленияColumn {
  1399. get {
  1400. return this.columnДата_поступления;
  1401. }
  1402. }
  1403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1404. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1405. public global::System.Data.DataColumn ГруппаColumn {
  1406. get {
  1407. return this.columnГруппа;
  1408. }
  1409. }
  1410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1411. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1412. public global::System.Data.DataColumn КурсColumn {
  1413. get {
  1414. return this.columnКурс;
  1415. }
  1416. }
  1417. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1418. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1419. public global::System.Data.DataColumn Код_специальностиColumn {
  1420. get {
  1421. return this.columnКод_специальности;
  1422. }
  1423. }
  1424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1426. public global::System.Data.DataColumn Очная_форма_обученияColumn {
  1427. get {
  1428. return this.columnОчная_форма_обучения;
  1429. }
  1430. }
  1431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1433. public global::System.Data.DataColumn Дата_рожденияColumn {
  1434. get {
  1435. return this.columnДата_рождения;
  1436. }
  1437. }
  1438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1439. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1440. [global::System.ComponentModel.Browsable(false)]
  1441. public int Count {
  1442. get {
  1443. return this.Rows.Count;
  1444. }
  1445. }
  1446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1447. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1448. public СтудентыRow this[int index] {
  1449. get {
  1450. return ((СтудентыRow)(this.Rows[index]));
  1451. }
  1452. }
  1453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1454. public event СтудентыRowChangeEventHandler СтудентыRowChanging;
  1455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1456. public event СтудентыRowChangeEventHandler СтудентыRowChanged;
  1457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1458. public event СтудентыRowChangeEventHandler СтудентыRowDeleting;
  1459. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1460. public event СтудентыRowChangeEventHandler СтудентыRowDeleted;
  1461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1462. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1463. public void AddСтудентыRow(СтудентыRow row) {
  1464. this.Rows.Add(row);
  1465. }
  1466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1468. public СтудентыRow AddСтудентыRow(long Код_студента, string ФИО, string Пол, string Родители, string Адрес, string Телефон, string Паспортные_данные, long Номер_зачетки, System.DateTime Дата_поступления, string Группа, byte Курс, long Код_специальности, bool Очная_форма_обучения, System.DateTime Дата_рождения) {
  1469. СтудентыRow rowСтудентыRow = ((СтудентыRow)(this.NewRow()));
  1470. object[] columnValuesArray = new object[] {
  1471. Код_студента,
  1472. ФИО,
  1473. Пол,
  1474. Родители,
  1475. Адрес,
  1476. Телефон,
  1477. Паспортные_данные,
  1478. Номер_зачетки,
  1479. Дата_поступления,
  1480. Группа,
  1481. Курс,
  1482. Код_специальности,
  1483. Очная_форма_обучения,
  1484. Дата_рождения};
  1485. rowСтудентыRow.ItemArray = columnValuesArray;
  1486. this.Rows.Add(rowСтудентыRow);
  1487. return rowСтудентыRow;
  1488. }
  1489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1491. public СтудентыRow FindByКод_студента(long Код_студента) {
  1492. return ((СтудентыRow)(this.Rows.Find(new object[] {
  1493. Код_студента})));
  1494. }
  1495. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1496. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1497. public override global::System.Data.DataTable Clone() {
  1498. СтудентыDataTable cln = ((СтудентыDataTable)(base.Clone()));
  1499. cln.InitVars();
  1500. return cln;
  1501. }
  1502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1503. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1504. protected override global::System.Data.DataTable CreateInstance() {
  1505. return new СтудентыDataTable();
  1506. }
  1507. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1508. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1509. internal void InitVars() {
  1510. this.columnКод_студента = base.Columns["Код студента"];
  1511. this.columnФИО = base.Columns["ФИО"];
  1512. this.columnПол = base.Columns["Пол"];
  1513. this.columnРодители = base.Columns["Родители"];
  1514. this.columnАдрес = base.Columns["Адрес"];
  1515. this.columnТелефон = base.Columns["Телефон"];
  1516. this.columnПаспортные_данные = base.Columns["Паспортные данные"];
  1517. this.columnНомер_зачетки = base.Columns["Номер зачетки"];
  1518. this.columnДата_поступления = base.Columns["Дата поступления"];
  1519. this.columnГруппа = base.Columns["Группа"];
  1520. this.columnКурс = base.Columns["Курс"];
  1521. this.columnКод_специальности = base.Columns["Код специальности"];
  1522. this.columnОчная_форма_обучения = base.Columns["Очная форма обучения"];
  1523. this.columnДата_рождения = base.Columns["Дата рождения"];
  1524. }
  1525. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1526. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1527. private void InitClass() {
  1528. this.columnКод_студента = new global::System.Data.DataColumn("Код студента", typeof(long), null, global::System.Data.MappingType.Element);
  1529. base.Columns.Add(this.columnКод_студента);
  1530. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  1531. base.Columns.Add(this.columnФИО);
  1532. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  1533. base.Columns.Add(this.columnПол);
  1534. this.columnРодители = new global::System.Data.DataColumn("Родители", typeof(string), null, global::System.Data.MappingType.Element);
  1535. base.Columns.Add(this.columnРодители);
  1536. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  1537. base.Columns.Add(this.columnАдрес);
  1538. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  1539. base.Columns.Add(this.columnТелефон);
  1540. this.columnПаспортные_данные = new global::System.Data.DataColumn("Паспортные данные", typeof(string), null, global::System.Data.MappingType.Element);
  1541. base.Columns.Add(this.columnПаспортные_данные);
  1542. this.columnНомер_зачетки = new global::System.Data.DataColumn("Номер зачетки", typeof(long), null, global::System.Data.MappingType.Element);
  1543. base.Columns.Add(this.columnНомер_зачетки);
  1544. this.columnДата_поступления = new global::System.Data.DataColumn("Дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1545. base.Columns.Add(this.columnДата_поступления);
  1546. this.columnГруппа = new global::System.Data.DataColumn("Группа", typeof(string), null, global::System.Data.MappingType.Element);
  1547. base.Columns.Add(this.columnГруппа);
  1548. this.columnКурс = new global::System.Data.DataColumn("Курс", typeof(byte), null, global::System.Data.MappingType.Element);
  1549. base.Columns.Add(this.columnКурс);
  1550. this.columnКод_специальности = new global::System.Data.DataColumn("Код специальности", typeof(long), null, global::System.Data.MappingType.Element);
  1551. base.Columns.Add(this.columnКод_специальности);
  1552. this.columnОчная_форма_обучения = new global::System.Data.DataColumn("Очная форма обучения", typeof(bool), null, global::System.Data.MappingType.Element);
  1553. base.Columns.Add(this.columnОчная_форма_обучения);
  1554. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1555. base.Columns.Add(this.columnДата_рождения);
  1556. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1557. this.columnКод_студента}, true));
  1558. this.columnКод_студента.AllowDBNull = false;
  1559. this.columnКод_студента.Unique = true;
  1560. this.columnФИО.MaxLength = 50;
  1561. this.columnПол.MaxLength = 10;
  1562. this.columnРодители.MaxLength = 50;
  1563. this.columnАдрес.MaxLength = 2147483647;
  1564. this.columnТелефон.MaxLength = 15;
  1565. this.columnПаспортные_данные.MaxLength = 2147483647;
  1566. this.columnГруппа.MaxLength = 10;
  1567. }
  1568. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1569. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1570. public СтудентыRow NewСтудентыRow() {
  1571. return ((СтудентыRow)(this.NewRow()));
  1572. }
  1573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1575. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1576. return new СтудентыRow(builder);
  1577. }
  1578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1580. protected override global::System.Type GetRowType() {
  1581. return typeof(СтудентыRow);
  1582. }
  1583. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1584. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1585. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1586. base.OnRowChanged(e);
  1587. if ((this.СтудентыRowChanged != null)) {
  1588. this.СтудентыRowChanged(this, new СтудентыRowChangeEvent(((СтудентыRow)(e.Row)), e.Action));
  1589. }
  1590. }
  1591. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1592. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1593. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1594. base.OnRowChanging(e);
  1595. if ((this.СтудентыRowChanging != null)) {
  1596. this.СтудентыRowChanging(this, new СтудентыRowChangeEvent(((СтудентыRow)(e.Row)), e.Action));
  1597. }
  1598. }
  1599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1601. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1602. base.OnRowDeleted(e);
  1603. if ((this.СтудентыRowDeleted != null)) {
  1604. this.СтудентыRowDeleted(this, new СтудентыRowChangeEvent(((СтудентыRow)(e.Row)), e.Action));
  1605. }
  1606. }
  1607. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1608. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1609. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1610. base.OnRowDeleting(e);
  1611. if ((this.СтудентыRowDeleting != null)) {
  1612. this.СтудентыRowDeleting(this, new СтудентыRowChangeEvent(((СтудентыRow)(e.Row)), e.Action));
  1613. }
  1614. }
  1615. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1616. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1617. public void RemoveСтудентыRow(СтудентыRow row) {
  1618. this.Rows.Remove(row);
  1619. }
  1620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1621. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1622. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1623. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1624. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1625. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  1626. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1627. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1628. any1.MinOccurs = new decimal(0);
  1629. any1.MaxOccurs = decimal.MaxValue;
  1630. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1631. sequence.Items.Add(any1);
  1632. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1633. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1634. any2.MinOccurs = new decimal(1);
  1635. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1636. sequence.Items.Add(any2);
  1637. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1638. attribute1.Name = "namespace";
  1639. attribute1.FixedValue = ds.Namespace;
  1640. type.Attributes.Add(attribute1);
  1641. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1642. attribute2.Name = "tableTypeName";
  1643. attribute2.FixedValue = "СтудентыDataTable";
  1644. type.Attributes.Add(attribute2);
  1645. type.Particle = sequence;
  1646. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1647. if (xs.Contains(dsSchema.TargetNamespace)) {
  1648. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1649. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1650. try {
  1651. global::System.Xml.Schema.XmlSchema schema = null;
  1652. dsSchema.Write(s1);
  1653. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1654. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1655. s2.SetLength(0);
  1656. schema.Write(s2);
  1657. if ((s1.Length == s2.Length)) {
  1658. s1.Position = 0;
  1659. s2.Position = 0;
  1660. for (; ((s1.Position != s1.Length)
  1661. && (s1.ReadByte() == s2.ReadByte())); ) {
  1662. ;
  1663. }
  1664. if ((s1.Position == s1.Length)) {
  1665. return type;
  1666. }
  1667. }
  1668. }
  1669. }
  1670. finally {
  1671. if ((s1 != null)) {
  1672. s1.Close();
  1673. }
  1674. if ((s2 != null)) {
  1675. s2.Close();
  1676. }
  1677. }
  1678. }
  1679. xs.Add(dsSchema);
  1680. return type;
  1681. }
  1682. }
  1683. /// <summary>
  1684. ///Represents the strongly named DataTable class.
  1685. ///</summary>
  1686. [global::System.Serializable()]
  1687. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1688. public partial class _Запрос_Студенты_СпециальностиDataTable : global::System.Data.TypedTableBase<_Запрос_Студенты_СпециальностиRow> {
  1689. private global::System.Data.DataColumn columnНаименование_специальности;
  1690. private global::System.Data.DataColumn columnОписание_специальности;
  1691. private global::System.Data.DataColumn columnДата_рождения;
  1692. private global::System.Data.DataColumn columnОчная_форма_обучения;
  1693. private global::System.Data.DataColumn columnКурс;
  1694. private global::System.Data.DataColumn columnГруппа;
  1695. private global::System.Data.DataColumn columnДата_поступления;
  1696. private global::System.Data.DataColumn columnНомер_зачетки;
  1697. private global::System.Data.DataColumn columnПаспортные_данные;
  1698. private global::System.Data.DataColumn columnТелефон;
  1699. private global::System.Data.DataColumn columnАдрес;
  1700. private global::System.Data.DataColumn columnПол;
  1701. private global::System.Data.DataColumn columnРодители;
  1702. private global::System.Data.DataColumn columnФИО;
  1703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1705. public _Запрос_Студенты_СпециальностиDataTable() {
  1706. this.TableName = "Запрос Студенты+Специальности";
  1707. this.BeginInit();
  1708. this.InitClass();
  1709. this.EndInit();
  1710. }
  1711. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1712. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1713. internal _Запрос_Студенты_СпециальностиDataTable(global::System.Data.DataTable table) {
  1714. this.TableName = table.TableName;
  1715. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1716. this.CaseSensitive = table.CaseSensitive;
  1717. }
  1718. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1719. this.Locale = table.Locale;
  1720. }
  1721. if ((table.Namespace != table.DataSet.Namespace)) {
  1722. this.Namespace = table.Namespace;
  1723. }
  1724. this.Prefix = table.Prefix;
  1725. this.MinimumCapacity = table.MinimumCapacity;
  1726. }
  1727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1729. protected _Запрос_Студенты_СпециальностиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1730. base(info, context) {
  1731. this.InitVars();
  1732. }
  1733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1734. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1735. public global::System.Data.DataColumn Наименование_специальностиColumn {
  1736. get {
  1737. return this.columnНаименование_специальности;
  1738. }
  1739. }
  1740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1741. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1742. public global::System.Data.DataColumn Описание_специальностиColumn {
  1743. get {
  1744. return this.columnОписание_специальности;
  1745. }
  1746. }
  1747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1748. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1749. public global::System.Data.DataColumn Дата_рожденияColumn {
  1750. get {
  1751. return this.columnДата_рождения;
  1752. }
  1753. }
  1754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1755. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1756. public global::System.Data.DataColumn Очная_форма_обученияColumn {
  1757. get {
  1758. return this.columnОчная_форма_обучения;
  1759. }
  1760. }
  1761. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1762. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1763. public global::System.Data.DataColumn КурсColumn {
  1764. get {
  1765. return this.columnКурс;
  1766. }
  1767. }
  1768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1769. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1770. public global::System.Data.DataColumn ГруппаColumn {
  1771. get {
  1772. return this.columnГруппа;
  1773. }
  1774. }
  1775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1776. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1777. public global::System.Data.DataColumn Дата_поступленияColumn {
  1778. get {
  1779. return this.columnДата_поступления;
  1780. }
  1781. }
  1782. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1783. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1784. public global::System.Data.DataColumn Номер_зачеткиColumn {
  1785. get {
  1786. return this.columnНомер_зачетки;
  1787. }
  1788. }
  1789. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1790. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1791. public global::System.Data.DataColumn Паспортные_данныеColumn {
  1792. get {
  1793. return this.columnПаспортные_данные;
  1794. }
  1795. }
  1796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1797. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1798. public global::System.Data.DataColumn ТелефонColumn {
  1799. get {
  1800. return this.columnТелефон;
  1801. }
  1802. }
  1803. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1804. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1805. public global::System.Data.DataColumn АдресColumn {
  1806. get {
  1807. return this.columnАдрес;
  1808. }
  1809. }
  1810. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1811. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1812. public global::System.Data.DataColumn ПолColumn {
  1813. get {
  1814. return this.columnПол;
  1815. }
  1816. }
  1817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1819. public global::System.Data.DataColumn РодителиColumn {
  1820. get {
  1821. return this.columnРодители;
  1822. }
  1823. }
  1824. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1825. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1826. public global::System.Data.DataColumn ФИОColumn {
  1827. get {
  1828. return this.columnФИО;
  1829. }
  1830. }
  1831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1832. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1833. [global::System.ComponentModel.Browsable(false)]
  1834. public int Count {
  1835. get {
  1836. return this.Rows.Count;
  1837. }
  1838. }
  1839. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1840. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1841. public _Запрос_Студенты_СпециальностиRow this[int index] {
  1842. get {
  1843. return ((_Запрос_Студенты_СпециальностиRow)(this.Rows[index]));
  1844. }
  1845. }
  1846. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1847. public event _Запрос_Студенты_СпециальностиRowChangeEventHandler _Запрос_Студенты_СпециальностиRowChanging;
  1848. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1849. public event _Запрос_Студенты_СпециальностиRowChangeEventHandler _Запрос_Студенты_СпециальностиRowChanged;
  1850. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1851. public event _Запрос_Студенты_СпециальностиRowChangeEventHandler _Запрос_Студенты_СпециальностиRowDeleting;
  1852. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1853. public event _Запрос_Студенты_СпециальностиRowChangeEventHandler _Запрос_Студенты_СпециальностиRowDeleted;
  1854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1855. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1856. public void Add_Запрос_Студенты_СпециальностиRow(_Запрос_Студенты_СпециальностиRow row) {
  1857. this.Rows.Add(row);
  1858. }
  1859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1860. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1861. public _Запрос_Студенты_СпециальностиRow Add_Запрос_Студенты_СпециальностиRow(string Наименование_специальности, string Описание_специальности, System.DateTime Дата_рождения, bool Очная_форма_обучения, byte Курс, string Группа, System.DateTime Дата_поступления, long Номер_зачетки, string Паспортные_данные, string Телефон, string Адрес, string Пол, string Родители, string ФИО) {
  1862. _Запрос_Студенты_СпециальностиRow row_Запрос_Студенты_СпециальностиRow = ((_Запрос_Студенты_СпециальностиRow)(this.NewRow()));
  1863. object[] columnValuesArray = new object[] {
  1864. Наименование_специальности,
  1865. Описание_специальности,
  1866. Дата_рождения,
  1867. Очная_форма_обучения,
  1868. Курс,
  1869. Группа,
  1870. Дата_поступления,
  1871. Номер_зачетки,
  1872. Паспортные_данные,
  1873. Телефон,
  1874. Адрес,
  1875. Пол,
  1876. Родители,
  1877. ФИО};
  1878. row_Запрос_Студенты_СпециальностиRow.ItemArray = columnValuesArray;
  1879. this.Rows.Add(row_Запрос_Студенты_СпециальностиRow);
  1880. return row_Запрос_Студенты_СпециальностиRow;
  1881. }
  1882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1883. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1884. public override global::System.Data.DataTable Clone() {
  1885. _Запрос_Студенты_СпециальностиDataTable cln = ((_Запрос_Студенты_СпециальностиDataTable)(base.Clone()));
  1886. cln.InitVars();
  1887. return cln;
  1888. }
  1889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1891. protected override global::System.Data.DataTable CreateInstance() {
  1892. return new _Запрос_Студенты_СпециальностиDataTable();
  1893. }
  1894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1895. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1896. internal void InitVars() {
  1897. this.columnНаименование_специальности = base.Columns["Наименование специальности"];
  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. this.columnТелефон = base.Columns["Телефон"];
  1907. this.columnАдрес = base.Columns["Адрес"];
  1908. this.columnПол = base.Columns["Пол"];
  1909. this.columnРодители = base.Columns["Родители"];
  1910. this.columnФИО = base.Columns["ФИО"];
  1911. }
  1912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1913. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1914. private void InitClass() {
  1915. this.columnНаименование_специальности = new global::System.Data.DataColumn("Наименование специальности", typeof(string), null, global::System.Data.MappingType.Element);
  1916. base.Columns.Add(this.columnНаименование_специальности);
  1917. this.columnОписание_специальности = new global::System.Data.DataColumn("Описание специальности", typeof(string), null, global::System.Data.MappingType.Element);
  1918. base.Columns.Add(this.columnОписание_специальности);
  1919. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1920. base.Columns.Add(this.columnДата_рождения);
  1921. this.columnОчная_форма_обучения = new global::System.Data.DataColumn("Очная форма обучения", typeof(bool), null, global::System.Data.MappingType.Element);
  1922. base.Columns.Add(this.columnОчная_форма_обучения);
  1923. this.columnКурс = new global::System.Data.DataColumn("Курс", typeof(byte), null, global::System.Data.MappingType.Element);
  1924. base.Columns.Add(this.columnКурс);
  1925. this.columnГруппа = new global::System.Data.DataColumn("Группа", typeof(string), null, global::System.Data.MappingType.Element);
  1926. base.Columns.Add(this.columnГруппа);
  1927. this.columnДата_поступления = new global::System.Data.DataColumn("Дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1928. base.Columns.Add(this.columnДата_поступления);
  1929. this.columnНомер_зачетки = new global::System.Data.DataColumn("Номер зачетки", typeof(long), null, global::System.Data.MappingType.Element);
  1930. base.Columns.Add(this.columnНомер_зачетки);
  1931. this.columnПаспортные_данные = new global::System.Data.DataColumn("Паспортные данные", typeof(string), null, global::System.Data.MappingType.Element);
  1932. base.Columns.Add(this.columnПаспортные_данные);
  1933. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  1934. base.Columns.Add(this.columnТелефон);
  1935. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  1936. base.Columns.Add(this.columnАдрес);
  1937. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  1938. base.Columns.Add(this.columnПол);
  1939. this.columnРодители = new global::System.Data.DataColumn("Родители", typeof(string), null, global::System.Data.MappingType.Element);
  1940. base.Columns.Add(this.columnРодители);
  1941. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  1942. base.Columns.Add(this.columnФИО);
  1943. this.columnНаименование_специальности.AllowDBNull = false;
  1944. this.columnНаименование_специальности.MaxLength = 50;
  1945. this.columnОписание_специальности.AllowDBNull = false;
  1946. this.columnОписание_специальности.MaxLength = 2147483647;
  1947. this.columnГруппа.MaxLength = 10;
  1948. this.columnПаспортные_данные.MaxLength = 2147483647;
  1949. this.columnТелефон.MaxLength = 15;
  1950. this.columnАдрес.MaxLength = 2147483647;
  1951. this.columnПол.MaxLength = 10;
  1952. this.columnРодители.MaxLength = 50;
  1953. this.columnФИО.MaxLength = 50;
  1954. this.ExtendedProperties.Add("Generator_TableVarName", "_tableЗапрос_Студенты_Специальности");
  1955. this.ExtendedProperties.Add("Generator_UserTableName", "Запрос Студенты+Специальности");
  1956. }
  1957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1959. public _Запрос_Студенты_СпециальностиRow New_Запрос_Студенты_СпециальностиRow() {
  1960. return ((_Запрос_Студенты_СпециальностиRow)(this.NewRow()));
  1961. }
  1962. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1963. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1964. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1965. return new _Запрос_Студенты_СпециальностиRow(builder);
  1966. }
  1967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1968. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1969. protected override global::System.Type GetRowType() {
  1970. return typeof(_Запрос_Студенты_СпециальностиRow);
  1971. }
  1972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1974. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1975. base.OnRowChanged(e);
  1976. if ((this._Запрос_Студенты_СпециальностиRowChanged != null)) {
  1977. this._Запрос_Студенты_СпециальностиRowChanged(this, new _Запрос_Студенты_СпециальностиRowChangeEvent(((_Запрос_Студенты_СпециальностиRow)(e.Row)), e.Action));
  1978. }
  1979. }
  1980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1981. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1982. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1983. base.OnRowChanging(e);
  1984. if ((this._Запрос_Студенты_СпециальностиRowChanging != null)) {
  1985. this._Запрос_Студенты_СпециальностиRowChanging(this, new _Запрос_Студенты_СпециальностиRowChangeEvent(((_Запрос_Студенты_СпециальностиRow)(e.Row)), e.Action));
  1986. }
  1987. }
  1988. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1989. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1990. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1991. base.OnRowDeleted(e);
  1992. if ((this._Запрос_Студенты_СпециальностиRowDeleted != null)) {
  1993. this._Запрос_Студенты_СпециальностиRowDeleted(this, new _Запрос_Студенты_СпециальностиRowChangeEvent(((_Запрос_Студенты_СпециальностиRow)(e.Row)), e.Action));
  1994. }
  1995. }
  1996. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1997. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1998. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1999. base.OnRowDeleting(e);
  2000. if ((this._Запрос_Студенты_СпециальностиRowDeleting != null)) {
  2001. this._Запрос_Студенты_СпециальностиRowDeleting(this, new _Запрос_Студенты_СпециальностиRowChangeEvent(((_Запрос_Студенты_СпециальностиRow)(e.Row)), e.Action));
  2002. }
  2003. }
  2004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2006. public void Remove_Запрос_Студенты_СпециальностиRow(_Запрос_Студенты_СпециальностиRow row) {
  2007. this.Rows.Remove(row);
  2008. }
  2009. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2010. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2011. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2012. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2013. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2014. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  2015. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2016. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2017. any1.MinOccurs = new decimal(0);
  2018. any1.MaxOccurs = decimal.MaxValue;
  2019. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2020. sequence.Items.Add(any1);
  2021. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2022. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2023. any2.MinOccurs = new decimal(1);
  2024. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2025. sequence.Items.Add(any2);
  2026. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2027. attribute1.Name = "namespace";
  2028. attribute1.FixedValue = ds.Namespace;
  2029. type.Attributes.Add(attribute1);
  2030. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2031. attribute2.Name = "tableTypeName";
  2032. attribute2.FixedValue = "_Запрос_Студенты_СпециальностиDataTable";
  2033. type.Attributes.Add(attribute2);
  2034. type.Particle = sequence;
  2035. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2036. if (xs.Contains(dsSchema.TargetNamespace)) {
  2037. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2038. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2039. try {
  2040. global::System.Xml.Schema.XmlSchema schema = null;
  2041. dsSchema.Write(s1);
  2042. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2043. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2044. s2.SetLength(0);
  2045. schema.Write(s2);
  2046. if ((s1.Length == s2.Length)) {
  2047. s1.Position = 0;
  2048. s2.Position = 0;
  2049. for (; ((s1.Position != s1.Length)
  2050. && (s1.ReadByte() == s2.ReadByte())); ) {
  2051. ;
  2052. }
  2053. if ((s1.Position == s1.Length)) {
  2054. return type;
  2055. }
  2056. }
  2057. }
  2058. }
  2059. finally {
  2060. if ((s1 != null)) {
  2061. s1.Close();
  2062. }
  2063. if ((s2 != null)) {
  2064. s2.Close();
  2065. }
  2066. }
  2067. }
  2068. xs.Add(dsSchema);
  2069. return type;
  2070. }
  2071. }
  2072. /// <summary>
  2073. ///Represents the strongly named DataTable class.
  2074. ///</summary>
  2075. [global::System.Serializable()]
  2076. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2077. public partial class Отображение_студентов_по_ФИОDataTable : global::System.Data.TypedTableBase<Отображение_студентов_по_ФИОRow> {
  2078. private global::System.Data.DataColumn columnКод_студента;
  2079. private global::System.Data.DataColumn columnФИО;
  2080. private global::System.Data.DataColumn columnПол;
  2081. private global::System.Data.DataColumn columnРодители;
  2082. private global::System.Data.DataColumn columnАдрес;
  2083. private global::System.Data.DataColumn columnТелефон;
  2084. private global::System.Data.DataColumn columnПаспортные_данные;
  2085. private global::System.Data.DataColumn columnНомер_зачетки;
  2086. private global::System.Data.DataColumn columnДата_поступления;
  2087. private global::System.Data.DataColumn columnГруппа;
  2088. private global::System.Data.DataColumn columnКурс;
  2089. private global::System.Data.DataColumn columnКод_специальности;
  2090. private global::System.Data.DataColumn columnОчная_форма_обучения;
  2091. private global::System.Data.DataColumn columnДата_рождения;
  2092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2093. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2094. public Отображение_студентов_по_ФИОDataTable() {
  2095. this.TableName = "Отображение студентов по ФИО";
  2096. this.BeginInit();
  2097. this.InitClass();
  2098. this.EndInit();
  2099. }
  2100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2101. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2102. internal Отображение_студентов_по_ФИОDataTable(global::System.Data.DataTable table) {
  2103. this.TableName = table.TableName;
  2104. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2105. this.CaseSensitive = table.CaseSensitive;
  2106. }
  2107. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2108. this.Locale = table.Locale;
  2109. }
  2110. if ((table.Namespace != table.DataSet.Namespace)) {
  2111. this.Namespace = table.Namespace;
  2112. }
  2113. this.Prefix = table.Prefix;
  2114. this.MinimumCapacity = table.MinimumCapacity;
  2115. }
  2116. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2117. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2118. protected Отображение_студентов_по_ФИОDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2119. base(info, context) {
  2120. this.InitVars();
  2121. }
  2122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2123. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2124. public global::System.Data.DataColumn Код_студентаColumn {
  2125. get {
  2126. return this.columnКод_студента;
  2127. }
  2128. }
  2129. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2130. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2131. public global::System.Data.DataColumn ФИОColumn {
  2132. get {
  2133. return this.columnФИО;
  2134. }
  2135. }
  2136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2137. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2138. public global::System.Data.DataColumn ПолColumn {
  2139. get {
  2140. return this.columnПол;
  2141. }
  2142. }
  2143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2144. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2145. public global::System.Data.DataColumn РодителиColumn {
  2146. get {
  2147. return this.columnРодители;
  2148. }
  2149. }
  2150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2151. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2152. public global::System.Data.DataColumn АдресColumn {
  2153. get {
  2154. return this.columnАдрес;
  2155. }
  2156. }
  2157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2159. public global::System.Data.DataColumn ТелефонColumn {
  2160. get {
  2161. return this.columnТелефон;
  2162. }
  2163. }
  2164. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2165. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2166. public global::System.Data.DataColumn Паспортные_данныеColumn {
  2167. get {
  2168. return this.columnПаспортные_данные;
  2169. }
  2170. }
  2171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2173. public global::System.Data.DataColumn Номер_зачеткиColumn {
  2174. get {
  2175. return this.columnНомер_зачетки;
  2176. }
  2177. }
  2178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2179. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2180. public global::System.Data.DataColumn Дата_поступленияColumn {
  2181. get {
  2182. return this.columnДата_поступления;
  2183. }
  2184. }
  2185. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2186. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2187. public global::System.Data.DataColumn ГруппаColumn {
  2188. get {
  2189. return this.columnГруппа;
  2190. }
  2191. }
  2192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2193. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2194. public global::System.Data.DataColumn КурсColumn {
  2195. get {
  2196. return this.columnКурс;
  2197. }
  2198. }
  2199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2201. public global::System.Data.DataColumn Код_специальностиColumn {
  2202. get {
  2203. return this.columnКод_специальности;
  2204. }
  2205. }
  2206. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2207. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2208. public global::System.Data.DataColumn Очная_форма_обученияColumn {
  2209. get {
  2210. return this.columnОчная_форма_обучения;
  2211. }
  2212. }
  2213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2214. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2215. public global::System.Data.DataColumn Дата_рожденияColumn {
  2216. get {
  2217. return this.columnДата_рождения;
  2218. }
  2219. }
  2220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2222. [global::System.ComponentModel.Browsable(false)]
  2223. public int Count {
  2224. get {
  2225. return this.Rows.Count;
  2226. }
  2227. }
  2228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2230. public Отображение_студентов_по_ФИОRow this[int index] {
  2231. get {
  2232. return ((Отображение_студентов_по_ФИОRow)(this.Rows[index]));
  2233. }
  2234. }
  2235. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2236. public event Отображение_студентов_по_ФИОRowChangeEventHandler Отображение_студентов_по_ФИОRowChanging;
  2237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2238. public event Отображение_студентов_по_ФИОRowChangeEventHandler Отображение_студентов_по_ФИОRowChanged;
  2239. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2240. public event Отображение_студентов_по_ФИОRowChangeEventHandler Отображение_студентов_по_ФИОRowDeleting;
  2241. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2242. public event Отображение_студентов_по_ФИОRowChangeEventHandler Отображение_студентов_по_ФИОRowDeleted;
  2243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2245. public void AddОтображение_студентов_по_ФИОRow(Отображение_студентов_по_ФИОRow row) {
  2246. this.Rows.Add(row);
  2247. }
  2248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2250. public Отображение_студентов_по_ФИОRow AddОтображение_студентов_по_ФИОRow(long Код_студента, string ФИО, string Пол, string Родители, string Адрес, string Телефон, string Паспортные_данные, long Номер_зачетки, System.DateTime Дата_поступления, string Группа, byte Курс, long Код_специальности, bool Очная_форма_обучения, System.DateTime Дата_рождения) {
  2251. Отображение_студентов_по_ФИОRow rowОтображение_студентов_по_ФИОRow = ((Отображение_студентов_по_ФИОRow)(this.NewRow()));
  2252. object[] columnValuesArray = new object[] {
  2253. Код_студента,
  2254. ФИО,
  2255. Пол,
  2256. Родители,
  2257. Адрес,
  2258. Телефон,
  2259. Паспортные_данные,
  2260. Номер_зачетки,
  2261. Дата_поступления,
  2262. Группа,
  2263. Курс,
  2264. Код_специальности,
  2265. Очная_форма_обучения,
  2266. Дата_рождения};
  2267. rowОтображение_студентов_по_ФИОRow.ItemArray = columnValuesArray;
  2268. this.Rows.Add(rowОтображение_студентов_по_ФИОRow);
  2269. return rowОтображение_студентов_по_ФИОRow;
  2270. }
  2271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2272. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2273. public Отображение_студентов_по_ФИОRow FindByКод_студента(long Код_студента) {
  2274. return ((Отображение_студентов_по_ФИОRow)(this.Rows.Find(new object[] {
  2275. Код_студента})));
  2276. }
  2277. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2278. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2279. public override global::System.Data.DataTable Clone() {
  2280. Отображение_студентов_по_ФИОDataTable cln = ((Отображение_студентов_по_ФИОDataTable)(base.Clone()));
  2281. cln.InitVars();
  2282. return cln;
  2283. }
  2284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2286. protected override global::System.Data.DataTable CreateInstance() {
  2287. return new Отображение_студентов_по_ФИОDataTable();
  2288. }
  2289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2291. internal void InitVars() {
  2292. this.columnКод_студента = base.Columns["Код студента"];
  2293. this.columnФИО = base.Columns["ФИО"];
  2294. this.columnПол = base.Columns["Пол"];
  2295. this.columnРодители = base.Columns["Родители"];
  2296. this.columnАдрес = base.Columns["Адрес"];
  2297. this.columnТелефон = base.Columns["Телефон"];
  2298. this.columnПаспортные_данные = base.Columns["Паспортные данные"];
  2299. this.columnНомер_зачетки = base.Columns["Номер зачетки"];
  2300. this.columnДата_поступления = base.Columns["Дата поступления"];
  2301. this.columnГруппа = base.Columns["Группа"];
  2302. this.columnКурс = base.Columns["Курс"];
  2303. this.columnКод_специальности = base.Columns["Код специальности"];
  2304. this.columnОчная_форма_обучения = base.Columns["Очная форма обучения"];
  2305. this.columnДата_рождения = base.Columns["Дата рождения"];
  2306. }
  2307. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2308. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2309. private void InitClass() {
  2310. this.columnКод_студента = new global::System.Data.DataColumn("Код студента", typeof(long), null, global::System.Data.MappingType.Element);
  2311. base.Columns.Add(this.columnКод_студента);
  2312. this.columnФИО = new global::System.Data.DataColumn("ФИО", typeof(string), null, global::System.Data.MappingType.Element);
  2313. base.Columns.Add(this.columnФИО);
  2314. this.columnПол = new global::System.Data.DataColumn("Пол", typeof(string), null, global::System.Data.MappingType.Element);
  2315. base.Columns.Add(this.columnПол);
  2316. this.columnРодители = new global::System.Data.DataColumn("Родители", typeof(string), null, global::System.Data.MappingType.Element);
  2317. base.Columns.Add(this.columnРодители);
  2318. this.columnАдрес = new global::System.Data.DataColumn("Адрес", typeof(string), null, global::System.Data.MappingType.Element);
  2319. base.Columns.Add(this.columnАдрес);
  2320. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  2321. base.Columns.Add(this.columnТелефон);
  2322. this.columnПаспортные_данные = new global::System.Data.DataColumn("Паспортные данные", typeof(string), null, global::System.Data.MappingType.Element);
  2323. base.Columns.Add(this.columnПаспортные_данные);
  2324. this.columnНомер_зачетки = new global::System.Data.DataColumn("Номер зачетки", typeof(long), null, global::System.Data.MappingType.Element);
  2325. base.Columns.Add(this.columnНомер_зачетки);
  2326. this.columnДата_поступления = new global::System.Data.DataColumn("Дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2327. base.Columns.Add(this.columnДата_поступления);
  2328. this.columnГруппа = new global::System.Data.DataColumn("Группа", typeof(string), null, global::System.Data.MappingType.Element);
  2329. base.Columns.Add(this.columnГруппа);
  2330. this.columnКурс = new global::System.Data.DataColumn("Курс", typeof(byte), null, global::System.Data.MappingType.Element);
  2331. base.Columns.Add(this.columnКурс);
  2332. this.columnКод_специальности = new global::System.Data.DataColumn("Код специальности", typeof(long), null, global::System.Data.MappingType.Element);
  2333. base.Columns.Add(this.columnКод_специальности);
  2334. this.columnОчная_форма_обучения = new global::System.Data.DataColumn("Очная форма обучения", typeof(bool), null, global::System.Data.MappingType.Element);
  2335. base.Columns.Add(this.columnОчная_форма_обучения);
  2336. this.columnДата_рождения = new global::System.Data.DataColumn("Дата рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2337. base.Columns.Add(this.columnДата_рождения);
  2338. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  2339. this.columnКод_студента}, true));
  2340. this.columnКод_студента.AllowDBNull = false;
  2341. this.columnКод_студента.Unique = true;
  2342. this.columnФИО.MaxLength = 50;
  2343. this.columnПол.MaxLength = 10;
  2344. this.columnРодители.MaxLength = 50;
  2345. this.columnАдрес.MaxLength = 2147483647;
  2346. this.columnТелефон.MaxLength = 15;
  2347. this.columnПаспортные_данные.MaxLength = 2147483647;
  2348. this.columnГруппа.MaxLength = 10;
  2349. }
  2350. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2351. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2352. public Отображение_студентов_по_ФИОRow NewОтображение_студентов_по_ФИОRow() {
  2353. return ((Отображение_студентов_по_ФИОRow)(this.NewRow()));
  2354. }
  2355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2357. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2358. return new Отображение_студентов_по_ФИОRow(builder);
  2359. }
  2360. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2361. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2362. protected override global::System.Type GetRowType() {
  2363. return typeof(Отображение_студентов_по_ФИОRow);
  2364. }
  2365. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2366. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2367. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2368. base.OnRowChanged(e);
  2369. if ((this.Отображение_студентов_по_ФИОRowChanged != null)) {
  2370. this.Отображение_студентов_по_ФИОRowChanged(this, new Отображение_студентов_по_ФИОRowChangeEvent(((Отображение_студентов_по_ФИОRow)(e.Row)), e.Action));
  2371. }
  2372. }
  2373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2374. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2375. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2376. base.OnRowChanging(e);
  2377. if ((this.Отображение_студентов_по_ФИОRowChanging != null)) {
  2378. this.Отображение_студентов_по_ФИОRowChanging(this, new Отображение_студентов_по_ФИОRowChangeEvent(((Отображение_студентов_по_ФИОRow)(e.Row)), e.Action));
  2379. }
  2380. }
  2381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2382. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2383. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2384. base.OnRowDeleted(e);
  2385. if ((this.Отображение_студентов_по_ФИОRowDeleted != null)) {
  2386. this.Отображение_студентов_по_ФИОRowDeleted(this, new Отображение_студентов_по_ФИОRowChangeEvent(((Отображение_студентов_по_ФИОRow)(e.Row)), e.Action));
  2387. }
  2388. }
  2389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2390. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2391. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2392. base.OnRowDeleting(e);
  2393. if ((this.Отображение_студентов_по_ФИОRowDeleting != null)) {
  2394. this.Отображение_студентов_по_ФИОRowDeleting(this, new Отображение_студентов_по_ФИОRowChangeEvent(((Отображение_студентов_по_ФИОRow)(e.Row)), e.Action));
  2395. }
  2396. }
  2397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2398. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2399. public void RemoveОтображение_студентов_по_ФИОRow(Отображение_студентов_по_ФИОRow row) {
  2400. this.Rows.Remove(row);
  2401. }
  2402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2403. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2404. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2405. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2406. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2407. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  2408. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2409. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2410. any1.MinOccurs = new decimal(0);
  2411. any1.MaxOccurs = decimal.MaxValue;
  2412. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2413. sequence.Items.Add(any1);
  2414. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2415. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2416. any2.MinOccurs = new decimal(1);
  2417. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2418. sequence.Items.Add(any2);
  2419. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2420. attribute1.Name = "namespace";
  2421. attribute1.FixedValue = ds.Namespace;
  2422. type.Attributes.Add(attribute1);
  2423. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2424. attribute2.Name = "tableTypeName";
  2425. attribute2.FixedValue = "Отображение_студентов_по_ФИОDataTable";
  2426. type.Attributes.Add(attribute2);
  2427. type.Particle = sequence;
  2428. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2429. if (xs.Contains(dsSchema.TargetNamespace)) {
  2430. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2431. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2432. try {
  2433. global::System.Xml.Schema.XmlSchema schema = null;
  2434. dsSchema.Write(s1);
  2435. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2436. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2437. s2.SetLength(0);
  2438. schema.Write(s2);
  2439. if ((s1.Length == s2.Length)) {
  2440. s1.Position = 0;
  2441. s2.Position = 0;
  2442. for (; ((s1.Position != s1.Length)
  2443. && (s1.ReadByte() == s2.ReadByte())); ) {
  2444. ;
  2445. }
  2446. if ((s1.Position == s1.Length)) {
  2447. return type;
  2448. }
  2449. }
  2450. }
  2451. }
  2452. finally {
  2453. if ((s1 != null)) {
  2454. s1.Close();
  2455. }
  2456. if ((s2 != null)) {
  2457. s2.Close();
  2458. }
  2459. }
  2460. }
  2461. xs.Add(dsSchema);
  2462. return type;
  2463. }
  2464. }
  2465. /// <summary>
  2466. ///Represents the strongly named DataTable class.
  2467. ///</summary>
  2468. [global::System.Serializable()]
  2469. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2470. public partial class Среднее_пяти_величинDataTable : global::System.Data.TypedTableBase<Среднее_пяти_величинRow> {
  2471. private global::System.Data.DataColumn columnСреднее_значение;
  2472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2473. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2474. public Среднее_пяти_величинDataTable() {
  2475. this.TableName = "Среднее пяти величин";
  2476. this.BeginInit();
  2477. this.InitClass();
  2478. this.EndInit();
  2479. }
  2480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2481. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2482. internal Среднее_пяти_величинDataTable(global::System.Data.DataTable table) {
  2483. this.TableName = table.TableName;
  2484. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2485. this.CaseSensitive = table.CaseSensitive;
  2486. }
  2487. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2488. this.Locale = table.Locale;
  2489. }
  2490. if ((table.Namespace != table.DataSet.Namespace)) {
  2491. this.Namespace = table.Namespace;
  2492. }
  2493. this.Prefix = table.Prefix;
  2494. this.MinimumCapacity = table.MinimumCapacity;
  2495. }
  2496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2498. protected Среднее_пяти_величинDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2499. base(info, context) {
  2500. this.InitVars();
  2501. }
  2502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2503. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2504. public global::System.Data.DataColumn Среднее_значениеColumn {
  2505. get {
  2506. return this.columnСреднее_значение;
  2507. }
  2508. }
  2509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2510. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2511. [global::System.ComponentModel.Browsable(false)]
  2512. public int Count {
  2513. get {
  2514. return this.Rows.Count;
  2515. }
  2516. }
  2517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2518. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2519. public Среднее_пяти_величинRow this[int index] {
  2520. get {
  2521. return ((Среднее_пяти_величинRow)(this.Rows[index]));
  2522. }
  2523. }
  2524. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2525. public event Среднее_пяти_величинRowChangeEventHandler Среднее_пяти_величинRowChanging;
  2526. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2527. public event Среднее_пяти_величинRowChangeEventHandler Среднее_пяти_величинRowChanged;
  2528. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2529. public event Среднее_пяти_величинRowChangeEventHandler Среднее_пяти_величинRowDeleting;
  2530. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2531. public event Среднее_пяти_величинRowChangeEventHandler Среднее_пяти_величинRowDeleted;
  2532. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2534. public void AddСреднее_пяти_величинRow(Среднее_пяти_величинRow row) {
  2535. this.Rows.Add(row);
  2536. }
  2537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2539. public Среднее_пяти_величинRow AddСреднее_пяти_величинRow(float Среднее_значение) {
  2540. Среднее_пяти_величинRow rowСреднее_пяти_величинRow = ((Среднее_пяти_величинRow)(this.NewRow()));
  2541. object[] columnValuesArray = new object[] {
  2542. Среднее_значение};
  2543. rowСреднее_пяти_величинRow.ItemArray = columnValuesArray;
  2544. this.Rows.Add(rowСреднее_пяти_величинRow);
  2545. return rowСреднее_пяти_величинRow;
  2546. }
  2547. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2548. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2549. public override global::System.Data.DataTable Clone() {
  2550. Среднее_пяти_величинDataTable cln = ((Среднее_пяти_величинDataTable)(base.Clone()));
  2551. cln.InitVars();
  2552. return cln;
  2553. }
  2554. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2555. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2556. protected override global::System.Data.DataTable CreateInstance() {
  2557. return new Среднее_пяти_величинDataTable();
  2558. }
  2559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2560. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2561. internal void InitVars() {
  2562. this.columnСреднее_значение = base.Columns["Среднее значение"];
  2563. }
  2564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2565. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2566. private void InitClass() {
  2567. this.columnСреднее_значение = new global::System.Data.DataColumn("Среднее значение", typeof(float), null, global::System.Data.MappingType.Element);
  2568. base.Columns.Add(this.columnСреднее_значение);
  2569. this.columnСреднее_значение.ReadOnly = true;
  2570. }
  2571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2572. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2573. public Среднее_пяти_величинRow NewСреднее_пяти_величинRow() {
  2574. return ((Среднее_пяти_величинRow)(this.NewRow()));
  2575. }
  2576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2577. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2578. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2579. return new Среднее_пяти_величинRow(builder);
  2580. }
  2581. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2583. protected override global::System.Type GetRowType() {
  2584. return typeof(Среднее_пяти_величинRow);
  2585. }
  2586. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2587. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2588. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2589. base.OnRowChanged(e);
  2590. if ((this.Среднее_пяти_величинRowChanged != null)) {
  2591. this.Среднее_пяти_величинRowChanged(this, new Среднее_пяти_величинRowChangeEvent(((Среднее_пяти_величинRow)(e.Row)), e.Action));
  2592. }
  2593. }
  2594. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2595. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2596. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2597. base.OnRowChanging(e);
  2598. if ((this.Среднее_пяти_величинRowChanging != null)) {
  2599. this.Среднее_пяти_величинRowChanging(this, new Среднее_пяти_величинRowChangeEvent(((Среднее_пяти_величинRow)(e.Row)), e.Action));
  2600. }
  2601. }
  2602. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2603. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2604. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2605. base.OnRowDeleted(e);
  2606. if ((this.Среднее_пяти_величинRowDeleted != null)) {
  2607. this.Среднее_пяти_величинRowDeleted(this, new Среднее_пяти_величинRowChangeEvent(((Среднее_пяти_величинRow)(e.Row)), e.Action));
  2608. }
  2609. }
  2610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2611. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2612. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2613. base.OnRowDeleting(e);
  2614. if ((this.Среднее_пяти_величинRowDeleting != null)) {
  2615. this.Среднее_пяти_величинRowDeleting(this, new Среднее_пяти_величинRowChangeEvent(((Среднее_пяти_величинRow)(e.Row)), e.Action));
  2616. }
  2617. }
  2618. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2619. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2620. public void RemoveСреднее_пяти_величинRow(Среднее_пяти_величинRow row) {
  2621. this.Rows.Remove(row);
  2622. }
  2623. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2624. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2625. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2626. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2627. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2628. _IS_31IvnitskiiStudDataSet ds = new _IS_31IvnitskiiStudDataSet();
  2629. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2630. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2631. any1.MinOccurs = new decimal(0);
  2632. any1.MaxOccurs = decimal.MaxValue;
  2633. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2634. sequence.Items.Add(any1);
  2635. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2636. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2637. any2.MinOccurs = new decimal(1);
  2638. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2639. sequence.Items.Add(any2);
  2640. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2641. attribute1.Name = "namespace";
  2642. attribute1.FixedValue = ds.Namespace;
  2643. type.Attributes.Add(attribute1);
  2644. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2645. attribute2.Name = "tableTypeName";
  2646. attribute2.FixedValue = "Среднее_пяти_величинDataTable";
  2647. type.Attributes.Add(attribute2);
  2648. type.Particle = sequence;
  2649. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2650. if (xs.Contains(dsSchema.TargetNamespace)) {
  2651. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2652. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2653. try {
  2654. global::System.Xml.Schema.XmlSchema schema = null;
  2655. dsSchema.Write(s1);
  2656. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2657. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2658. s2.SetLength(0);
  2659. schema.Write(s2);
  2660. if ((s1.Length == s2.Length)) {
  2661. s1.Position = 0;
  2662. s2.Position = 0;
  2663. for (; ((s1.Position != s1.Length)
  2664. && (s1.ReadByte() == s2.ReadByte())); ) {
  2665. ;
  2666. }
  2667. if ((s1.Position == s1.Length)) {
  2668. return type;
  2669. }
  2670. }
  2671. }
  2672. }
  2673. finally {
  2674. if ((s1 != null)) {
  2675. s1.Close();
  2676. }
  2677. if ((s2 != null)) {
  2678. s2.Close();
  2679. }
  2680. }
  2681. }
  2682. xs.Add(dsSchema);
  2683. return type;
  2684. }
  2685. }
  2686. /// <summary>
  2687. ///Represents strongly named DataRow class.
  2688. ///</summary>
  2689. public partial class ОценкиRow : global::System.Data.DataRow {
  2690. private ОценкиDataTable tableОценки;
  2691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2693. internal ОценкиRow(global::System.Data.DataRowBuilder rb) :
  2694. base(rb) {
  2695. this.tableОценки = ((ОценкиDataTable)(this.Table));
  2696. }
  2697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2698. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2699. public long Код_студента {
  2700. get {
  2701. try {
  2702. return ((long)(this[this.tableОценки.Код_студентаColumn]));
  2703. }
  2704. catch (global::System.InvalidCastException e) {
  2705. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код студента\' в таблице \'Оценки\' равно DBNull.", e);
  2706. }
  2707. }
  2708. set {
  2709. this[this.tableОценки.Код_студентаColumn] = value;
  2710. }
  2711. }
  2712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2714. public System.DateTime Дата_экзамена_1 {
  2715. get {
  2716. try {
  2717. return ((global::System.DateTime)(this[this.tableОценки.Дата_экзамена_1Column]));
  2718. }
  2719. catch (global::System.InvalidCastException e) {
  2720. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата экзамена 1\' в таблице \'Оценки\' равно DBNull.", e);
  2721. }
  2722. }
  2723. set {
  2724. this[this.tableОценки.Дата_экзамена_1Column] = value;
  2725. }
  2726. }
  2727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2729. public long Код_предмета_1 {
  2730. get {
  2731. try {
  2732. return ((long)(this[this.tableОценки.Код_предмета_1Column]));
  2733. }
  2734. catch (global::System.InvalidCastException e) {
  2735. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код предмета 1\' в таблице \'Оценки\' равно DBNull.", e);
  2736. }
  2737. }
  2738. set {
  2739. this[this.tableОценки.Код_предмета_1Column] = value;
  2740. }
  2741. }
  2742. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2743. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2744. public byte Оценка_1 {
  2745. get {
  2746. try {
  2747. return ((byte)(this[this.tableОценки.Оценка_1Column]));
  2748. }
  2749. catch (global::System.InvalidCastException e) {
  2750. throw new global::System.Data.StrongTypingException("Значение для столбца \'Оценка 1\' в таблице \'Оценки\' равно DBNull.", e);
  2751. }
  2752. }
  2753. set {
  2754. this[this.tableОценки.Оценка_1Column] = value;
  2755. }
  2756. }
  2757. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2758. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2759. public System.DateTime Дата_экзамена_2 {
  2760. get {
  2761. try {
  2762. return ((global::System.DateTime)(this[this.tableОценки.Дата_экзамена_2Column]));
  2763. }
  2764. catch (global::System.InvalidCastException e) {
  2765. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата экзамена 2\' в таблице \'Оценки\' равно DBNull.", e);
  2766. }
  2767. }
  2768. set {
  2769. this[this.tableОценки.Дата_экзамена_2Column] = value;
  2770. }
  2771. }
  2772. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2773. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2774. public long Код_предмета_2 {
  2775. get {
  2776. try {
  2777. return ((long)(this[this.tableОценки.Код_предмета_2Column]));
  2778. }
  2779. catch (global::System.InvalidCastException e) {
  2780. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код предмета 2\' в таблице \'Оценки\' равно DBNull.", e);
  2781. }
  2782. }
  2783. set {
  2784. this[this.tableОценки.Код_предмета_2Column] = value;
  2785. }
  2786. }
  2787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2788. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2789. public byte Оценка_2 {
  2790. get {
  2791. try {
  2792. return ((byte)(this[this.tableОценки.Оценка_2Column]));
  2793. }
  2794. catch (global::System.InvalidCastException e) {
  2795. throw new global::System.Data.StrongTypingException("Значение для столбца \'Оценка 2\' в таблице \'Оценки\' равно DBNull.", e);
  2796. }
  2797. }
  2798. set {
  2799. this[this.tableОценки.Оценка_2Column] = value;
  2800. }
  2801. }
  2802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2803. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2804. public System.DateTime Дата_экзамена_3 {
  2805. get {
  2806. try {
  2807. return ((global::System.DateTime)(this[this.tableОценки.Дата_экзамена_3Column]));
  2808. }
  2809. catch (global::System.InvalidCastException e) {
  2810. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата экзамена 3\' в таблице \'Оценки\' равно DBNull.", e);
  2811. }
  2812. }
  2813. set {
  2814. this[this.tableОценки.Дата_экзамена_3Column] = value;
  2815. }
  2816. }
  2817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2819. public long Код_предмета_3 {
  2820. get {
  2821. try {
  2822. return ((long)(this[this.tableОценки.Код_предмета_3Column]));
  2823. }
  2824. catch (global::System.InvalidCastException e) {
  2825. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код предмета 3\' в таблице \'Оценки\' равно DBNull.", e);
  2826. }
  2827. }
  2828. set {
  2829. this[this.tableОценки.Код_предмета_3Column] = value;
  2830. }
  2831. }
  2832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2834. public byte оценка_3 {
  2835. get {
  2836. try {
  2837. return ((byte)(this[this.tableОценки.оценка_3Column]));
  2838. }
  2839. catch (global::System.InvalidCastException e) {
  2840. throw new global::System.Data.StrongTypingException("Значение для столбца \'оценка 3\' в таблице \'Оценки\' равно DBNull.", e);
  2841. }
  2842. }
  2843. set {
  2844. this[this.tableОценки.оценка_3Column] = value;
  2845. }
  2846. }
  2847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2848. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2849. public float Средний_балл {
  2850. get {
  2851. try {
  2852. return ((float)(this[this.tableОценки.Средний_баллColumn]));
  2853. }
  2854. catch (global::System.InvalidCastException e) {
  2855. throw new global::System.Data.StrongTypingException("Значение для столбца \'Средний балл\' в таблице \'Оценки\' равно DBNull.", e);
  2856. }
  2857. }
  2858. set {
  2859. this[this.tableОценки.Средний_баллColumn] = value;
  2860. }
  2861. }
  2862. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2863. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2864. public bool IsКод_студентаNull() {
  2865. return this.IsNull(this.tableОценки.Код_студентаColumn);
  2866. }
  2867. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2868. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2869. public void SetКод_студентаNull() {
  2870. this[this.tableОценки.Код_студентаColumn] = global::System.Convert.DBNull;
  2871. }
  2872. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2873. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2874. public bool IsДата_экзамена_1Null() {
  2875. return this.IsNull(this.tableОценки.Дата_экзамена_1Column);
  2876. }
  2877. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2878. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2879. public void SetДата_экзамена_1Null() {
  2880. this[this.tableОценки.Дата_экзамена_1Column] = global::System.Convert.DBNull;
  2881. }
  2882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2883. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2884. public bool IsКод_предмета_1Null() {
  2885. return this.IsNull(this.tableОценки.Код_предмета_1Column);
  2886. }
  2887. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2888. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2889. public void SetКод_предмета_1Null() {
  2890. this[this.tableОценки.Код_предмета_1Column] = global::System.Convert.DBNull;
  2891. }
  2892. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2893. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2894. public bool IsОценка_1Null() {
  2895. return this.IsNull(this.tableОценки.Оценка_1Column);
  2896. }
  2897. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2898. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2899. public void SetОценка_1Null() {
  2900. this[this.tableОценки.Оценка_1Column] = global::System.Convert.DBNull;
  2901. }
  2902. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2903. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2904. public bool IsДата_экзамена_2Null() {
  2905. return this.IsNull(this.tableОценки.Дата_экзамена_2Column);
  2906. }
  2907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2908. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2909. public void SetДата_экзамена_2Null() {
  2910. this[this.tableОценки.Дата_экзамена_2Column] = global::System.Convert.DBNull;
  2911. }
  2912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2913. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2914. public bool IsКод_предмета_2Null() {
  2915. return this.IsNull(this.tableОценки.Код_предмета_2Column);
  2916. }
  2917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2918. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2919. public void SetКод_предмета_2Null() {
  2920. this[this.tableОценки.Код_предмета_2Column] = global::System.Convert.DBNull;
  2921. }
  2922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2923. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2924. public bool IsОценка_2Null() {
  2925. return this.IsNull(this.tableОценки.Оценка_2Column);
  2926. }
  2927. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2928. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2929. public void SetОценка_2Null() {
  2930. this[this.tableОценки.Оценка_2Column] = global::System.Convert.DBNull;
  2931. }
  2932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2934. public bool IsДата_экзамена_3Null() {
  2935. return this.IsNull(this.tableОценки.Дата_экзамена_3Column);
  2936. }
  2937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2938. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2939. public void SetДата_экзамена_3Null() {
  2940. this[this.tableОценки.Дата_экзамена_3Column] = global::System.Convert.DBNull;
  2941. }
  2942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2943. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2944. public bool IsКод_предмета_3Null() {
  2945. return this.IsNull(this.tableОценки.Код_предмета_3Column);
  2946. }
  2947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2948. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2949. public void SetКод_предмета_3Null() {
  2950. this[this.tableОценки.Код_предмета_3Column] = global::System.Convert.DBNull;
  2951. }
  2952. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2953. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2954. public bool Isоценка_3Null() {
  2955. return this.IsNull(this.tableОценки.оценка_3Column);
  2956. }
  2957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2959. public void Setоценка_3Null() {
  2960. this[this.tableОценки.оценка_3Column] = global::System.Convert.DBNull;
  2961. }
  2962. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2963. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2964. public bool IsСредний_баллNull() {
  2965. return this.IsNull(this.tableОценки.Средний_баллColumn);
  2966. }
  2967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2968. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2969. public void SetСредний_баллNull() {
  2970. this[this.tableОценки.Средний_баллColumn] = global::System.Convert.DBNull;
  2971. }
  2972. }
  2973. /// <summary>
  2974. ///Represents strongly named DataRow class.
  2975. ///</summary>
  2976. public partial class ПредметыRow : global::System.Data.DataRow {
  2977. private ПредметыDataTable tableПредметы;
  2978. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2979. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2980. internal ПредметыRow(global::System.Data.DataRowBuilder rb) :
  2981. base(rb) {
  2982. this.tableПредметы = ((ПредметыDataTable)(this.Table));
  2983. }
  2984. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2985. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2986. public long Код_предмета {
  2987. get {
  2988. return ((long)(this[this.tableПредметы.Код_предметаColumn]));
  2989. }
  2990. set {
  2991. this[this.tableПредметы.Код_предметаColumn] = value;
  2992. }
  2993. }
  2994. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2995. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2996. public string Наименование_предмета {
  2997. get {
  2998. return ((string)(this[this.tableПредметы.Наименование_предметаColumn]));
  2999. }
  3000. set {
  3001. this[this.tableПредметы.Наименование_предметаColumn] = value;
  3002. }
  3003. }
  3004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3006. public string Описание_предмета {
  3007. get {
  3008. try {
  3009. return ((string)(this[this.tableПредметы.Описание_предметаColumn]));
  3010. }
  3011. catch (global::System.InvalidCastException e) {
  3012. throw new global::System.Data.StrongTypingException("Значение для столбца \'Описание предмета\' в таблице \'Предметы\' равно DBNull.", e);
  3013. }
  3014. }
  3015. set {
  3016. this[this.tableПредметы.Описание_предметаColumn] = value;
  3017. }
  3018. }
  3019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3020. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3021. public bool IsОписание_предметаNull() {
  3022. return this.IsNull(this.tableПредметы.Описание_предметаColumn);
  3023. }
  3024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3025. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3026. public void SetОписание_предметаNull() {
  3027. this[this.tableПредметы.Описание_предметаColumn] = global::System.Convert.DBNull;
  3028. }
  3029. }
  3030. /// <summary>
  3031. ///Represents strongly named DataRow class.
  3032. ///</summary>
  3033. public partial class СпециальностиRow : global::System.Data.DataRow {
  3034. private СпециальностиDataTable tableСпециальности;
  3035. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3036. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3037. internal СпециальностиRow(global::System.Data.DataRowBuilder rb) :
  3038. base(rb) {
  3039. this.tableСпециальности = ((СпециальностиDataTable)(this.Table));
  3040. }
  3041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3043. public long Код_специальности {
  3044. get {
  3045. return ((long)(this[this.tableСпециальности.Код_специальностиColumn]));
  3046. }
  3047. set {
  3048. this[this.tableСпециальности.Код_специальностиColumn] = value;
  3049. }
  3050. }
  3051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3052. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3053. public string Наименование_специальности {
  3054. get {
  3055. return ((string)(this[this.tableСпециальности.Наименование_специальностиColumn]));
  3056. }
  3057. set {
  3058. this[this.tableСпециальности.Наименование_специальностиColumn] = value;
  3059. }
  3060. }
  3061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3062. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3063. public string Описание_специальности {
  3064. get {
  3065. return ((string)(this[this.tableСпециальности.Описание_специальностиColumn]));
  3066. }
  3067. set {
  3068. this[this.tableСпециальности.Описание_специальностиColumn] = value;
  3069. }
  3070. }
  3071. }
  3072. /// <summary>
  3073. ///Represents strongly named DataRow class.
  3074. ///</summary>
  3075. public partial class СтудентыRow : global::System.Data.DataRow {
  3076. private СтудентыDataTable tableСтуденты;
  3077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3078. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3079. internal СтудентыRow(global::System.Data.DataRowBuilder rb) :
  3080. base(rb) {
  3081. this.tableСтуденты = ((СтудентыDataTable)(this.Table));
  3082. }
  3083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3085. public long Код_студента {
  3086. get {
  3087. return ((long)(this[this.tableСтуденты.Код_студентаColumn]));
  3088. }
  3089. set {
  3090. this[this.tableСтуденты.Код_студентаColumn] = value;
  3091. }
  3092. }
  3093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3095. public string ФИО {
  3096. get {
  3097. try {
  3098. return ((string)(this[this.tableСтуденты.ФИОColumn]));
  3099. }
  3100. catch (global::System.InvalidCastException e) {
  3101. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Студенты\' равно DBNull.", e);
  3102. }
  3103. }
  3104. set {
  3105. this[this.tableСтуденты.ФИОColumn] = value;
  3106. }
  3107. }
  3108. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3109. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3110. public string Пол {
  3111. get {
  3112. try {
  3113. return ((string)(this[this.tableСтуденты.ПолColumn]));
  3114. }
  3115. catch (global::System.InvalidCastException e) {
  3116. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Студенты\' равно DBNull.", e);
  3117. }
  3118. }
  3119. set {
  3120. this[this.tableСтуденты.ПолColumn] = value;
  3121. }
  3122. }
  3123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3125. public string Родители {
  3126. get {
  3127. try {
  3128. return ((string)(this[this.tableСтуденты.РодителиColumn]));
  3129. }
  3130. catch (global::System.InvalidCastException e) {
  3131. throw new global::System.Data.StrongTypingException("Значение для столбца \'Родители\' в таблице \'Студенты\' равно DBNull.", e);
  3132. }
  3133. }
  3134. set {
  3135. this[this.tableСтуденты.РодителиColumn] = value;
  3136. }
  3137. }
  3138. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3139. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3140. public string Адрес {
  3141. get {
  3142. try {
  3143. return ((string)(this[this.tableСтуденты.АдресColumn]));
  3144. }
  3145. catch (global::System.InvalidCastException e) {
  3146. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Студенты\' равно DBNull.", e);
  3147. }
  3148. }
  3149. set {
  3150. this[this.tableСтуденты.АдресColumn] = value;
  3151. }
  3152. }
  3153. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3154. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3155. public string Телефон {
  3156. get {
  3157. try {
  3158. return ((string)(this[this.tableСтуденты.ТелефонColumn]));
  3159. }
  3160. catch (global::System.InvalidCastException e) {
  3161. throw new global::System.Data.StrongTypingException("Значение для столбца \'Телефон\' в таблице \'Студенты\' равно DBNull.", e);
  3162. }
  3163. }
  3164. set {
  3165. this[this.tableСтуденты.ТелефонColumn] = value;
  3166. }
  3167. }
  3168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3170. public string Паспортные_данные {
  3171. get {
  3172. try {
  3173. return ((string)(this[this.tableСтуденты.Паспортные_данныеColumn]));
  3174. }
  3175. catch (global::System.InvalidCastException e) {
  3176. throw new global::System.Data.StrongTypingException("Значение для столбца \'Паспортные данные\' в таблице \'Студенты\' равно DBNull.", e);
  3177. }
  3178. }
  3179. set {
  3180. this[this.tableСтуденты.Паспортные_данныеColumn] = value;
  3181. }
  3182. }
  3183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3184. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3185. public long Номер_зачетки {
  3186. get {
  3187. try {
  3188. return ((long)(this[this.tableСтуденты.Номер_зачеткиColumn]));
  3189. }
  3190. catch (global::System.InvalidCastException e) {
  3191. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер зачетки\' в таблице \'Студенты\' равно DBNull.", e);
  3192. }
  3193. }
  3194. set {
  3195. this[this.tableСтуденты.Номер_зачеткиColumn] = value;
  3196. }
  3197. }
  3198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3199. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3200. public System.DateTime Дата_поступления {
  3201. get {
  3202. try {
  3203. return ((global::System.DateTime)(this[this.tableСтуденты.Дата_поступленияColumn]));
  3204. }
  3205. catch (global::System.InvalidCastException e) {
  3206. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата поступления\' в таблице \'Студенты\' равно DBNull.", e);
  3207. }
  3208. }
  3209. set {
  3210. this[this.tableСтуденты.Дата_поступленияColumn] = value;
  3211. }
  3212. }
  3213. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3214. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3215. public string Группа {
  3216. get {
  3217. try {
  3218. return ((string)(this[this.tableСтуденты.ГруппаColumn]));
  3219. }
  3220. catch (global::System.InvalidCastException e) {
  3221. throw new global::System.Data.StrongTypingException("Значение для столбца \'Группа\' в таблице \'Студенты\' равно DBNull.", e);
  3222. }
  3223. }
  3224. set {
  3225. this[this.tableСтуденты.ГруппаColumn] = value;
  3226. }
  3227. }
  3228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3230. public byte Курс {
  3231. get {
  3232. try {
  3233. return ((byte)(this[this.tableСтуденты.КурсColumn]));
  3234. }
  3235. catch (global::System.InvalidCastException e) {
  3236. throw new global::System.Data.StrongTypingException("Значение для столбца \'Курс\' в таблице \'Студенты\' равно DBNull.", e);
  3237. }
  3238. }
  3239. set {
  3240. this[this.tableСтуденты.КурсColumn] = value;
  3241. }
  3242. }
  3243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3245. public long Код_специальности {
  3246. get {
  3247. try {
  3248. return ((long)(this[this.tableСтуденты.Код_специальностиColumn]));
  3249. }
  3250. catch (global::System.InvalidCastException e) {
  3251. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код специальности\' в таблице \'Студенты\' равно DBNull.", e);
  3252. }
  3253. }
  3254. set {
  3255. this[this.tableСтуденты.Код_специальностиColumn] = value;
  3256. }
  3257. }
  3258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3259. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3260. public bool Очная_форма_обучения {
  3261. get {
  3262. try {
  3263. return ((bool)(this[this.tableСтуденты.Очная_форма_обученияColumn]));
  3264. }
  3265. catch (global::System.InvalidCastException e) {
  3266. throw new global::System.Data.StrongTypingException("Значение для столбца \'Очная форма обучения\' в таблице \'Студенты\' равно DBNull.", e);
  3267. }
  3268. }
  3269. set {
  3270. this[this.tableСтуденты.Очная_форма_обученияColumn] = value;
  3271. }
  3272. }
  3273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3274. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3275. public System.DateTime Дата_рождения {
  3276. get {
  3277. try {
  3278. return ((global::System.DateTime)(this[this.tableСтуденты.Дата_рожденияColumn]));
  3279. }
  3280. catch (global::System.InvalidCastException e) {
  3281. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Студенты\' равно DBNull.", e);
  3282. }
  3283. }
  3284. set {
  3285. this[this.tableСтуденты.Дата_рожденияColumn] = value;
  3286. }
  3287. }
  3288. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3289. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3290. public bool IsФИОNull() {
  3291. return this.IsNull(this.tableСтуденты.ФИОColumn);
  3292. }
  3293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3294. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3295. public void SetФИОNull() {
  3296. this[this.tableСтуденты.ФИОColumn] = global::System.Convert.DBNull;
  3297. }
  3298. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3299. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3300. public bool IsПолNull() {
  3301. return this.IsNull(this.tableСтуденты.ПолColumn);
  3302. }
  3303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3304. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3305. public void SetПолNull() {
  3306. this[this.tableСтуденты.ПолColumn] = global::System.Convert.DBNull;
  3307. }
  3308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3309. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3310. public bool IsРодителиNull() {
  3311. return this.IsNull(this.tableСтуденты.РодителиColumn);
  3312. }
  3313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3314. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3315. public void SetРодителиNull() {
  3316. this[this.tableСтуденты.РодителиColumn] = global::System.Convert.DBNull;
  3317. }
  3318. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3319. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3320. public bool IsАдресNull() {
  3321. return this.IsNull(this.tableСтуденты.АдресColumn);
  3322. }
  3323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3324. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3325. public void SetАдресNull() {
  3326. this[this.tableСтуденты.АдресColumn] = global::System.Convert.DBNull;
  3327. }
  3328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3329. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3330. public bool IsТелефонNull() {
  3331. return this.IsNull(this.tableСтуденты.ТелефонColumn);
  3332. }
  3333. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3334. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3335. public void SetТелефонNull() {
  3336. this[this.tableСтуденты.ТелефонColumn] = global::System.Convert.DBNull;
  3337. }
  3338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3339. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3340. public bool IsПаспортные_данныеNull() {
  3341. return this.IsNull(this.tableСтуденты.Паспортные_данныеColumn);
  3342. }
  3343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3344. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3345. public void SetПаспортные_данныеNull() {
  3346. this[this.tableСтуденты.Паспортные_данныеColumn] = global::System.Convert.DBNull;
  3347. }
  3348. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3349. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3350. public bool IsНомер_зачеткиNull() {
  3351. return this.IsNull(this.tableСтуденты.Номер_зачеткиColumn);
  3352. }
  3353. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3354. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3355. public void SetНомер_зачеткиNull() {
  3356. this[this.tableСтуденты.Номер_зачеткиColumn] = global::System.Convert.DBNull;
  3357. }
  3358. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3359. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3360. public bool IsДата_поступленияNull() {
  3361. return this.IsNull(this.tableСтуденты.Дата_поступленияColumn);
  3362. }
  3363. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3364. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3365. public void SetДата_поступленияNull() {
  3366. this[this.tableСтуденты.Дата_поступленияColumn] = global::System.Convert.DBNull;
  3367. }
  3368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3370. public bool IsГруппаNull() {
  3371. return this.IsNull(this.tableСтуденты.ГруппаColumn);
  3372. }
  3373. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3374. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3375. public void SetГруппаNull() {
  3376. this[this.tableСтуденты.ГруппаColumn] = global::System.Convert.DBNull;
  3377. }
  3378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3380. public bool IsКурсNull() {
  3381. return this.IsNull(this.tableСтуденты.КурсColumn);
  3382. }
  3383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3385. public void SetКурсNull() {
  3386. this[this.tableСтуденты.КурсColumn] = global::System.Convert.DBNull;
  3387. }
  3388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3389. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3390. public bool IsКод_специальностиNull() {
  3391. return this.IsNull(this.tableСтуденты.Код_специальностиColumn);
  3392. }
  3393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3395. public void SetКод_специальностиNull() {
  3396. this[this.tableСтуденты.Код_специальностиColumn] = global::System.Convert.DBNull;
  3397. }
  3398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3399. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3400. public bool IsОчная_форма_обученияNull() {
  3401. return this.IsNull(this.tableСтуденты.Очная_форма_обученияColumn);
  3402. }
  3403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3404. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3405. public void SetОчная_форма_обученияNull() {
  3406. this[this.tableСтуденты.Очная_форма_обученияColumn] = global::System.Convert.DBNull;
  3407. }
  3408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3409. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3410. public bool IsДата_рожденияNull() {
  3411. return this.IsNull(this.tableСтуденты.Дата_рожденияColumn);
  3412. }
  3413. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3414. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3415. public void SetДата_рожденияNull() {
  3416. this[this.tableСтуденты.Дата_рожденияColumn] = global::System.Convert.DBNull;
  3417. }
  3418. }
  3419. /// <summary>
  3420. ///Represents strongly named DataRow class.
  3421. ///</summary>
  3422. public partial class _Запрос_Студенты_СпециальностиRow : global::System.Data.DataRow {
  3423. private _Запрос_Студенты_СпециальностиDataTable _tableЗапрос_Студенты_Специальности;
  3424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3426. internal _Запрос_Студенты_СпециальностиRow(global::System.Data.DataRowBuilder rb) :
  3427. base(rb) {
  3428. this._tableЗапрос_Студенты_Специальности = ((_Запрос_Студенты_СпециальностиDataTable)(this.Table));
  3429. }
  3430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3431. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3432. public string Наименование_специальности {
  3433. get {
  3434. return ((string)(this[this._tableЗапрос_Студенты_Специальности.Наименование_специальностиColumn]));
  3435. }
  3436. set {
  3437. this[this._tableЗапрос_Студенты_Специальности.Наименование_специальностиColumn] = value;
  3438. }
  3439. }
  3440. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3441. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3442. public string Описание_специальности {
  3443. get {
  3444. return ((string)(this[this._tableЗапрос_Студенты_Специальности.Описание_специальностиColumn]));
  3445. }
  3446. set {
  3447. this[this._tableЗапрос_Студенты_Специальности.Описание_специальностиColumn] = value;
  3448. }
  3449. }
  3450. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3451. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3452. public System.DateTime Дата_рождения {
  3453. get {
  3454. try {
  3455. return ((global::System.DateTime)(this[this._tableЗапрос_Студенты_Специальности.Дата_рожденияColumn]));
  3456. }
  3457. catch (global::System.InvalidCastException e) {
  3458. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Запрос Студенты+Специальности\' ра" +
  3459. "вно DBNull.", e);
  3460. }
  3461. }
  3462. set {
  3463. this[this._tableЗапрос_Студенты_Специальности.Дата_рожденияColumn] = value;
  3464. }
  3465. }
  3466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3468. public bool Очная_форма_обучения {
  3469. get {
  3470. try {
  3471. return ((bool)(this[this._tableЗапрос_Студенты_Специальности.Очная_форма_обученияColumn]));
  3472. }
  3473. catch (global::System.InvalidCastException e) {
  3474. throw new global::System.Data.StrongTypingException("Значение для столбца \'Очная форма обучения\' в таблице \'Запрос Студенты+Специально" +
  3475. "сти\' равно DBNull.", e);
  3476. }
  3477. }
  3478. set {
  3479. this[this._tableЗапрос_Студенты_Специальности.Очная_форма_обученияColumn] = value;
  3480. }
  3481. }
  3482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3483. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3484. public byte Курс {
  3485. get {
  3486. try {
  3487. return ((byte)(this[this._tableЗапрос_Студенты_Специальности.КурсColumn]));
  3488. }
  3489. catch (global::System.InvalidCastException e) {
  3490. throw new global::System.Data.StrongTypingException("Значение для столбца \'Курс\' в таблице \'Запрос Студенты+Специальности\' равно DBNul" +
  3491. "l.", e);
  3492. }
  3493. }
  3494. set {
  3495. this[this._tableЗапрос_Студенты_Специальности.КурсColumn] = value;
  3496. }
  3497. }
  3498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3499. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3500. public string Группа {
  3501. get {
  3502. try {
  3503. return ((string)(this[this._tableЗапрос_Студенты_Специальности.ГруппаColumn]));
  3504. }
  3505. catch (global::System.InvalidCastException e) {
  3506. throw new global::System.Data.StrongTypingException("Значение для столбца \'Группа\' в таблице \'Запрос Студенты+Специальности\' равно DBN" +
  3507. "ull.", e);
  3508. }
  3509. }
  3510. set {
  3511. this[this._tableЗапрос_Студенты_Специальности.ГруппаColumn] = value;
  3512. }
  3513. }
  3514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3515. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3516. public System.DateTime Дата_поступления {
  3517. get {
  3518. try {
  3519. return ((global::System.DateTime)(this[this._tableЗапрос_Студенты_Специальности.Дата_поступленияColumn]));
  3520. }
  3521. catch (global::System.InvalidCastException e) {
  3522. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата поступления\' в таблице \'Запрос Студенты+Специальности\'" +
  3523. " равно DBNull.", e);
  3524. }
  3525. }
  3526. set {
  3527. this[this._tableЗапрос_Студенты_Специальности.Дата_поступленияColumn] = value;
  3528. }
  3529. }
  3530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3532. public long Номер_зачетки {
  3533. get {
  3534. try {
  3535. return ((long)(this[this._tableЗапрос_Студенты_Специальности.Номер_зачеткиColumn]));
  3536. }
  3537. catch (global::System.InvalidCastException e) {
  3538. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер зачетки\' в таблице \'Запрос Студенты+Специальности\' ра" +
  3539. "вно DBNull.", e);
  3540. }
  3541. }
  3542. set {
  3543. this[this._tableЗапрос_Студенты_Специальности.Номер_зачеткиColumn] = value;
  3544. }
  3545. }
  3546. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3547. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3548. public string Паспортные_данные {
  3549. get {
  3550. try {
  3551. return ((string)(this[this._tableЗапрос_Студенты_Специальности.Паспортные_данныеColumn]));
  3552. }
  3553. catch (global::System.InvalidCastException e) {
  3554. throw new global::System.Data.StrongTypingException("Значение для столбца \'Паспортные данные\' в таблице \'Запрос Студенты+Специальности" +
  3555. "\' равно DBNull.", e);
  3556. }
  3557. }
  3558. set {
  3559. this[this._tableЗапрос_Студенты_Специальности.Паспортные_данныеColumn] = value;
  3560. }
  3561. }
  3562. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3563. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3564. public string Телефон {
  3565. get {
  3566. try {
  3567. return ((string)(this[this._tableЗапрос_Студенты_Специальности.ТелефонColumn]));
  3568. }
  3569. catch (global::System.InvalidCastException e) {
  3570. throw new global::System.Data.StrongTypingException("Значение для столбца \'Телефон\' в таблице \'Запрос Студенты+Специальности\' равно DB" +
  3571. "Null.", e);
  3572. }
  3573. }
  3574. set {
  3575. this[this._tableЗапрос_Студенты_Специальности.ТелефонColumn] = value;
  3576. }
  3577. }
  3578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3580. public string Адрес {
  3581. get {
  3582. try {
  3583. return ((string)(this[this._tableЗапрос_Студенты_Специальности.АдресColumn]));
  3584. }
  3585. catch (global::System.InvalidCastException e) {
  3586. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Запрос Студенты+Специальности\' равно DBNu" +
  3587. "ll.", e);
  3588. }
  3589. }
  3590. set {
  3591. this[this._tableЗапрос_Студенты_Специальности.АдресColumn] = value;
  3592. }
  3593. }
  3594. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3595. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3596. public string Пол {
  3597. get {
  3598. try {
  3599. return ((string)(this[this._tableЗапрос_Студенты_Специальности.ПолColumn]));
  3600. }
  3601. catch (global::System.InvalidCastException e) {
  3602. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Запрос Студенты+Специальности\' равно DBNull" +
  3603. ".", e);
  3604. }
  3605. }
  3606. set {
  3607. this[this._tableЗапрос_Студенты_Специальности.ПолColumn] = value;
  3608. }
  3609. }
  3610. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3611. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3612. public string Родители {
  3613. get {
  3614. try {
  3615. return ((string)(this[this._tableЗапрос_Студенты_Специальности.РодителиColumn]));
  3616. }
  3617. catch (global::System.InvalidCastException e) {
  3618. throw new global::System.Data.StrongTypingException("Значение для столбца \'Родители\' в таблице \'Запрос Студенты+Специальности\' равно D" +
  3619. "BNull.", e);
  3620. }
  3621. }
  3622. set {
  3623. this[this._tableЗапрос_Студенты_Специальности.РодителиColumn] = value;
  3624. }
  3625. }
  3626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3628. public string ФИО {
  3629. get {
  3630. try {
  3631. return ((string)(this[this._tableЗапрос_Студенты_Специальности.ФИОColumn]));
  3632. }
  3633. catch (global::System.InvalidCastException e) {
  3634. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Запрос Студенты+Специальности\' равно DBNull" +
  3635. ".", e);
  3636. }
  3637. }
  3638. set {
  3639. this[this._tableЗапрос_Студенты_Специальности.ФИОColumn] = value;
  3640. }
  3641. }
  3642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3643. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3644. public bool IsДата_рожденияNull() {
  3645. return this.IsNull(this._tableЗапрос_Студенты_Специальности.Дата_рожденияColumn);
  3646. }
  3647. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3648. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3649. public void SetДата_рожденияNull() {
  3650. this[this._tableЗапрос_Студенты_Специальности.Дата_рожденияColumn] = global::System.Convert.DBNull;
  3651. }
  3652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3653. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3654. public bool IsОчная_форма_обученияNull() {
  3655. return this.IsNull(this._tableЗапрос_Студенты_Специальности.Очная_форма_обученияColumn);
  3656. }
  3657. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3658. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3659. public void SetОчная_форма_обученияNull() {
  3660. this[this._tableЗапрос_Студенты_Специальности.Очная_форма_обученияColumn] = global::System.Convert.DBNull;
  3661. }
  3662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3664. public bool IsКурсNull() {
  3665. return this.IsNull(this._tableЗапрос_Студенты_Специальности.КурсColumn);
  3666. }
  3667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3668. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3669. public void SetКурсNull() {
  3670. this[this._tableЗапрос_Студенты_Специальности.КурсColumn] = global::System.Convert.DBNull;
  3671. }
  3672. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3673. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3674. public bool IsГруппаNull() {
  3675. return this.IsNull(this._tableЗапрос_Студенты_Специальности.ГруппаColumn);
  3676. }
  3677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3678. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3679. public void SetГруппаNull() {
  3680. this[this._tableЗапрос_Студенты_Специальности.ГруппаColumn] = global::System.Convert.DBNull;
  3681. }
  3682. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3683. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3684. public bool IsДата_поступленияNull() {
  3685. return this.IsNull(this._tableЗапрос_Студенты_Специальности.Дата_поступленияColumn);
  3686. }
  3687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3688. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3689. public void SetДата_поступленияNull() {
  3690. this[this._tableЗапрос_Студенты_Специальности.Дата_поступленияColumn] = global::System.Convert.DBNull;
  3691. }
  3692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3694. public bool IsНомер_зачеткиNull() {
  3695. return this.IsNull(this._tableЗапрос_Студенты_Специальности.Номер_зачеткиColumn);
  3696. }
  3697. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3698. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3699. public void SetНомер_зачеткиNull() {
  3700. this[this._tableЗапрос_Студенты_Специальности.Номер_зачеткиColumn] = global::System.Convert.DBNull;
  3701. }
  3702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3703. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3704. public bool IsПаспортные_данныеNull() {
  3705. return this.IsNull(this._tableЗапрос_Студенты_Специальности.Паспортные_данныеColumn);
  3706. }
  3707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3709. public void SetПаспортные_данныеNull() {
  3710. this[this._tableЗапрос_Студенты_Специальности.Паспортные_данныеColumn] = global::System.Convert.DBNull;
  3711. }
  3712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3714. public bool IsТелефонNull() {
  3715. return this.IsNull(this._tableЗапрос_Студенты_Специальности.ТелефонColumn);
  3716. }
  3717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3718. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3719. public void SetТелефонNull() {
  3720. this[this._tableЗапрос_Студенты_Специальности.ТелефонColumn] = global::System.Convert.DBNull;
  3721. }
  3722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3724. public bool IsАдресNull() {
  3725. return this.IsNull(this._tableЗапрос_Студенты_Специальности.АдресColumn);
  3726. }
  3727. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3728. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3729. public void SetАдресNull() {
  3730. this[this._tableЗапрос_Студенты_Специальности.АдресColumn] = global::System.Convert.DBNull;
  3731. }
  3732. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3733. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3734. public bool IsПолNull() {
  3735. return this.IsNull(this._tableЗапрос_Студенты_Специальности.ПолColumn);
  3736. }
  3737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3738. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3739. public void SetПолNull() {
  3740. this[this._tableЗапрос_Студенты_Специальности.ПолColumn] = global::System.Convert.DBNull;
  3741. }
  3742. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3743. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3744. public bool IsРодителиNull() {
  3745. return this.IsNull(this._tableЗапрос_Студенты_Специальности.РодителиColumn);
  3746. }
  3747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3748. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3749. public void SetРодителиNull() {
  3750. this[this._tableЗапрос_Студенты_Специальности.РодителиColumn] = global::System.Convert.DBNull;
  3751. }
  3752. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3753. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3754. public bool IsФИОNull() {
  3755. return this.IsNull(this._tableЗапрос_Студенты_Специальности.ФИОColumn);
  3756. }
  3757. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3758. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3759. public void SetФИОNull() {
  3760. this[this._tableЗапрос_Студенты_Специальности.ФИОColumn] = global::System.Convert.DBNull;
  3761. }
  3762. }
  3763. /// <summary>
  3764. ///Represents strongly named DataRow class.
  3765. ///</summary>
  3766. public partial class Отображение_студентов_по_ФИОRow : global::System.Data.DataRow {
  3767. private Отображение_студентов_по_ФИОDataTable tableОтображение_студентов_по_ФИО;
  3768. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3769. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3770. internal Отображение_студентов_по_ФИОRow(global::System.Data.DataRowBuilder rb) :
  3771. base(rb) {
  3772. this.tableОтображение_студентов_по_ФИО = ((Отображение_студентов_по_ФИОDataTable)(this.Table));
  3773. }
  3774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3775. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3776. public long Код_студента {
  3777. get {
  3778. return ((long)(this[this.tableОтображение_студентов_по_ФИО.Код_студентаColumn]));
  3779. }
  3780. set {
  3781. this[this.tableОтображение_студентов_по_ФИО.Код_студентаColumn] = value;
  3782. }
  3783. }
  3784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3785. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3786. public string ФИО {
  3787. get {
  3788. try {
  3789. return ((string)(this[this.tableОтображение_студентов_по_ФИО.ФИОColumn]));
  3790. }
  3791. catch (global::System.InvalidCastException e) {
  3792. throw new global::System.Data.StrongTypingException("Значение для столбца \'ФИО\' в таблице \'Отображение студентов по ФИО\' равно DBNull." +
  3793. "", e);
  3794. }
  3795. }
  3796. set {
  3797. this[this.tableОтображение_студентов_по_ФИО.ФИОColumn] = value;
  3798. }
  3799. }
  3800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3801. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3802. public string Пол {
  3803. get {
  3804. try {
  3805. return ((string)(this[this.tableОтображение_студентов_по_ФИО.ПолColumn]));
  3806. }
  3807. catch (global::System.InvalidCastException e) {
  3808. throw new global::System.Data.StrongTypingException("Значение для столбца \'Пол\' в таблице \'Отображение студентов по ФИО\' равно DBNull." +
  3809. "", e);
  3810. }
  3811. }
  3812. set {
  3813. this[this.tableОтображение_студентов_по_ФИО.ПолColumn] = value;
  3814. }
  3815. }
  3816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3817. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3818. public string Родители {
  3819. get {
  3820. try {
  3821. return ((string)(this[this.tableОтображение_студентов_по_ФИО.РодителиColumn]));
  3822. }
  3823. catch (global::System.InvalidCastException e) {
  3824. throw new global::System.Data.StrongTypingException("Значение для столбца \'Родители\' в таблице \'Отображение студентов по ФИО\' равно DB" +
  3825. "Null.", e);
  3826. }
  3827. }
  3828. set {
  3829. this[this.tableОтображение_студентов_по_ФИО.РодителиColumn] = value;
  3830. }
  3831. }
  3832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3834. public string Адрес {
  3835. get {
  3836. try {
  3837. return ((string)(this[this.tableОтображение_студентов_по_ФИО.АдресColumn]));
  3838. }
  3839. catch (global::System.InvalidCastException e) {
  3840. throw new global::System.Data.StrongTypingException("Значение для столбца \'Адрес\' в таблице \'Отображение студентов по ФИО\' равно DBNul" +
  3841. "l.", e);
  3842. }
  3843. }
  3844. set {
  3845. this[this.tableОтображение_студентов_по_ФИО.АдресColumn] = value;
  3846. }
  3847. }
  3848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3850. public string Телефон {
  3851. get {
  3852. try {
  3853. return ((string)(this[this.tableОтображение_студентов_по_ФИО.ТелефонColumn]));
  3854. }
  3855. catch (global::System.InvalidCastException e) {
  3856. throw new global::System.Data.StrongTypingException("Значение для столбца \'Телефон\' в таблице \'Отображение студентов по ФИО\' равно DBN" +
  3857. "ull.", e);
  3858. }
  3859. }
  3860. set {
  3861. this[this.tableОтображение_студентов_по_ФИО.ТелефонColumn] = value;
  3862. }
  3863. }
  3864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3866. public string Паспортные_данные {
  3867. get {
  3868. try {
  3869. return ((string)(this[this.tableОтображение_студентов_по_ФИО.Паспортные_данныеColumn]));
  3870. }
  3871. catch (global::System.InvalidCastException e) {
  3872. throw new global::System.Data.StrongTypingException("Значение для столбца \'Паспортные данные\' в таблице \'Отображение студентов по ФИО\'" +
  3873. " равно DBNull.", e);
  3874. }
  3875. }
  3876. set {
  3877. this[this.tableОтображение_студентов_по_ФИО.Паспортные_данныеColumn] = value;
  3878. }
  3879. }
  3880. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3881. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3882. public long Номер_зачетки {
  3883. get {
  3884. try {
  3885. return ((long)(this[this.tableОтображение_студентов_по_ФИО.Номер_зачеткиColumn]));
  3886. }
  3887. catch (global::System.InvalidCastException e) {
  3888. throw new global::System.Data.StrongTypingException("Значение для столбца \'Номер зачетки\' в таблице \'Отображение студентов по ФИО\' рав" +
  3889. "но DBNull.", e);
  3890. }
  3891. }
  3892. set {
  3893. this[this.tableОтображение_студентов_по_ФИО.Номер_зачеткиColumn] = value;
  3894. }
  3895. }
  3896. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3897. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3898. public System.DateTime Дата_поступления {
  3899. get {
  3900. try {
  3901. return ((global::System.DateTime)(this[this.tableОтображение_студентов_по_ФИО.Дата_поступленияColumn]));
  3902. }
  3903. catch (global::System.InvalidCastException e) {
  3904. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата поступления\' в таблице \'Отображение студентов по ФИО\' " +
  3905. "равно DBNull.", e);
  3906. }
  3907. }
  3908. set {
  3909. this[this.tableОтображение_студентов_по_ФИО.Дата_поступленияColumn] = value;
  3910. }
  3911. }
  3912. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3913. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3914. public string Группа {
  3915. get {
  3916. try {
  3917. return ((string)(this[this.tableОтображение_студентов_по_ФИО.ГруппаColumn]));
  3918. }
  3919. catch (global::System.InvalidCastException e) {
  3920. throw new global::System.Data.StrongTypingException("Значение для столбца \'Группа\' в таблице \'Отображение студентов по ФИО\' равно DBNu" +
  3921. "ll.", e);
  3922. }
  3923. }
  3924. set {
  3925. this[this.tableОтображение_студентов_по_ФИО.ГруппаColumn] = value;
  3926. }
  3927. }
  3928. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3929. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3930. public byte Курс {
  3931. get {
  3932. try {
  3933. return ((byte)(this[this.tableОтображение_студентов_по_ФИО.КурсColumn]));
  3934. }
  3935. catch (global::System.InvalidCastException e) {
  3936. throw new global::System.Data.StrongTypingException("Значение для столбца \'Курс\' в таблице \'Отображение студентов по ФИО\' равно DBNull" +
  3937. ".", e);
  3938. }
  3939. }
  3940. set {
  3941. this[this.tableОтображение_студентов_по_ФИО.КурсColumn] = value;
  3942. }
  3943. }
  3944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3945. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3946. public long Код_специальности {
  3947. get {
  3948. try {
  3949. return ((long)(this[this.tableОтображение_студентов_по_ФИО.Код_специальностиColumn]));
  3950. }
  3951. catch (global::System.InvalidCastException e) {
  3952. throw new global::System.Data.StrongTypingException("Значение для столбца \'Код специальности\' в таблице \'Отображение студентов по ФИО\'" +
  3953. " равно DBNull.", e);
  3954. }
  3955. }
  3956. set {
  3957. this[this.tableОтображение_студентов_по_ФИО.Код_специальностиColumn] = value;
  3958. }
  3959. }
  3960. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3961. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3962. public bool Очная_форма_обучения {
  3963. get {
  3964. try {
  3965. return ((bool)(this[this.tableОтображение_студентов_по_ФИО.Очная_форма_обученияColumn]));
  3966. }
  3967. catch (global::System.InvalidCastException e) {
  3968. throw new global::System.Data.StrongTypingException("Значение для столбца \'Очная форма обучения\' в таблице \'Отображение студентов по Ф" +
  3969. "ИО\' равно DBNull.", e);
  3970. }
  3971. }
  3972. set {
  3973. this[this.tableОтображение_студентов_по_ФИО.Очная_форма_обученияColumn] = value;
  3974. }
  3975. }
  3976. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3977. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3978. public System.DateTime Дата_рождения {
  3979. get {
  3980. try {
  3981. return ((global::System.DateTime)(this[this.tableОтображение_студентов_по_ФИО.Дата_рожденияColumn]));
  3982. }
  3983. catch (global::System.InvalidCastException e) {
  3984. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата рождения\' в таблице \'Отображение студентов по ФИО\' рав" +
  3985. "но DBNull.", e);
  3986. }
  3987. }
  3988. set {
  3989. this[this.tableОтображение_студентов_по_ФИО.Дата_рожденияColumn] = value;
  3990. }
  3991. }
  3992. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3993. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3994. public bool IsФИОNull() {
  3995. return this.IsNull(this.tableОтображение_студентов_по_ФИО.ФИОColumn);
  3996. }
  3997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3998. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3999. public void SetФИОNull() {
  4000. this[this.tableОтображение_студентов_по_ФИО.ФИОColumn] = global::System.Convert.DBNull;
  4001. }
  4002. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4003. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4004. public bool IsПолNull() {
  4005. return this.IsNull(this.tableОтображение_студентов_по_ФИО.ПолColumn);
  4006. }
  4007. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4008. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4009. public void SetПолNull() {
  4010. this[this.tableОтображение_студентов_по_ФИО.ПолColumn] = global::System.Convert.DBNull;
  4011. }
  4012. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4013. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4014. public bool IsРодителиNull() {
  4015. return this.IsNull(this.tableОтображение_студентов_по_ФИО.РодителиColumn);
  4016. }
  4017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4018. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4019. public void SetРодителиNull() {
  4020. this[this.tableОтображение_студентов_по_ФИО.РодителиColumn] = global::System.Convert.DBNull;
  4021. }
  4022. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4023. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4024. public bool IsАдресNull() {
  4025. return this.IsNull(this.tableОтображение_студентов_по_ФИО.АдресColumn);
  4026. }
  4027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4029. public void SetАдресNull() {
  4030. this[this.tableОтображение_студентов_по_ФИО.АдресColumn] = global::System.Convert.DBNull;
  4031. }
  4032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4033. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4034. public bool IsТелефонNull() {
  4035. return this.IsNull(this.tableОтображение_студентов_по_ФИО.ТелефонColumn);
  4036. }
  4037. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4038. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4039. public void SetТелефонNull() {
  4040. this[this.tableОтображение_студентов_по_ФИО.ТелефонColumn] = global::System.Convert.DBNull;
  4041. }
  4042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4044. public bool IsПаспортные_данныеNull() {
  4045. return this.IsNull(this.tableОтображение_студентов_по_ФИО.Паспортные_данныеColumn);
  4046. }
  4047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4048. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4049. public void SetПаспортные_данныеNull() {
  4050. this[this.tableОтображение_студентов_по_ФИО.Паспортные_данныеColumn] = global::System.Convert.DBNull;
  4051. }
  4052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4053. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4054. public bool IsНомер_зачеткиNull() {
  4055. return this.IsNull(this.tableОтображение_студентов_по_ФИО.Номер_зачеткиColumn);
  4056. }
  4057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4058. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4059. public void SetНомер_зачеткиNull() {
  4060. this[this.tableОтображение_студентов_по_ФИО.Номер_зачеткиColumn] = global::System.Convert.DBNull;
  4061. }
  4062. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4063. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4064. public bool IsДата_поступленияNull() {
  4065. return this.IsNull(this.tableОтображение_студентов_по_ФИО.Дата_поступленияColumn);
  4066. }
  4067. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4068. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4069. public void SetДата_поступленияNull() {
  4070. this[this.tableОтображение_студентов_по_ФИО.Дата_поступленияColumn] = global::System.Convert.DBNull;
  4071. }
  4072. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4073. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4074. public bool IsГруппаNull() {
  4075. return this.IsNull(this.tableОтображение_студентов_по_ФИО.ГруппаColumn);
  4076. }
  4077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4078. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4079. public void SetГруппаNull() {
  4080. this[this.tableОтображение_студентов_по_ФИО.ГруппаColumn] = global::System.Convert.DBNull;
  4081. }
  4082. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4083. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4084. public bool IsКурсNull() {
  4085. return this.IsNull(this.tableОтображение_студентов_по_ФИО.КурсColumn);
  4086. }
  4087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4089. public void SetКурсNull() {
  4090. this[this.tableОтображение_студентов_по_ФИО.КурсColumn] = global::System.Convert.DBNull;
  4091. }
  4092. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4093. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4094. public bool IsКод_специальностиNull() {
  4095. return this.IsNull(this.tableОтображение_студентов_по_ФИО.Код_специальностиColumn);
  4096. }
  4097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4099. public void SetКод_специальностиNull() {
  4100. this[this.tableОтображение_студентов_по_ФИО.Код_специальностиColumn] = global::System.Convert.DBNull;
  4101. }
  4102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4104. public bool IsОчная_форма_обученияNull() {
  4105. return this.IsNull(this.tableОтображение_студентов_по_ФИО.Очная_форма_обученияColumn);
  4106. }
  4107. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4108. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4109. public void SetОчная_форма_обученияNull() {
  4110. this[this.tableОтображение_студентов_по_ФИО.Очная_форма_обученияColumn] = global::System.Convert.DBNull;
  4111. }
  4112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4114. public bool IsДата_рожденияNull() {
  4115. return this.IsNull(this.tableОтображение_студентов_по_ФИО.Дата_рожденияColumn);
  4116. }
  4117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4119. public void SetДата_рожденияNull() {
  4120. this[this.tableОтображение_студентов_по_ФИО.Дата_рожденияColumn] = global::System.Convert.DBNull;
  4121. }
  4122. }
  4123. /// <summary>
  4124. ///Represents strongly named DataRow class.
  4125. ///</summary>
  4126. public partial class Среднее_пяти_величинRow : global::System.Data.DataRow {
  4127. private Среднее_пяти_величинDataTable tableСреднее_пяти_величин;
  4128. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4129. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4130. internal Среднее_пяти_величинRow(global::System.Data.DataRowBuilder rb) :
  4131. base(rb) {
  4132. this.tableСреднее_пяти_величин = ((Среднее_пяти_величинDataTable)(this.Table));
  4133. }
  4134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4135. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4136. public float Среднее_значение {
  4137. get {
  4138. try {
  4139. return ((float)(this[this.tableСреднее_пяти_величин.Среднее_значениеColumn]));
  4140. }
  4141. catch (global::System.InvalidCastException e) {
  4142. throw new global::System.Data.StrongTypingException("Значение для столбца \'Среднее значение\' в таблице \'Среднее пяти величин\' равно DB" +
  4143. "Null.", e);
  4144. }
  4145. }
  4146. set {
  4147. this[this.tableСреднее_пяти_величин.Среднее_значениеColumn] = value;
  4148. }
  4149. }
  4150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4151. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4152. public bool IsСреднее_значениеNull() {
  4153. return this.IsNull(this.tableСреднее_пяти_величин.Среднее_значениеColumn);
  4154. }
  4155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4157. public void SetСреднее_значениеNull() {
  4158. this[this.tableСреднее_пяти_величин.Среднее_значениеColumn] = global::System.Convert.DBNull;
  4159. }
  4160. }
  4161. /// <summary>
  4162. ///Row event argument class
  4163. ///</summary>
  4164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4165. public class ОценкиRowChangeEvent : global::System.EventArgs {
  4166. private ОценкиRow eventRow;
  4167. private global::System.Data.DataRowAction eventAction;
  4168. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4170. public ОценкиRowChangeEvent(ОценкиRow row, global::System.Data.DataRowAction action) {
  4171. this.eventRow = row;
  4172. this.eventAction = action;
  4173. }
  4174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4176. public ОценкиRow Row {
  4177. get {
  4178. return this.eventRow;
  4179. }
  4180. }
  4181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4183. public global::System.Data.DataRowAction Action {
  4184. get {
  4185. return this.eventAction;
  4186. }
  4187. }
  4188. }
  4189. /// <summary>
  4190. ///Row event argument class
  4191. ///</summary>
  4192. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4193. public class ПредметыRowChangeEvent : global::System.EventArgs {
  4194. private ПредметыRow eventRow;
  4195. private global::System.Data.DataRowAction eventAction;
  4196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4197. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4198. public ПредметыRowChangeEvent(ПредметыRow row, global::System.Data.DataRowAction action) {
  4199. this.eventRow = row;
  4200. this.eventAction = action;
  4201. }
  4202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4203. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4204. public ПредметыRow Row {
  4205. get {
  4206. return this.eventRow;
  4207. }
  4208. }
  4209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4210. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4211. public global::System.Data.DataRowAction Action {
  4212. get {
  4213. return this.eventAction;
  4214. }
  4215. }
  4216. }
  4217. /// <summary>
  4218. ///Row event argument class
  4219. ///</summary>
  4220. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4221. public class СпециальностиRowChangeEvent : global::System.EventArgs {
  4222. private СпециальностиRow eventRow;
  4223. private global::System.Data.DataRowAction eventAction;
  4224. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4225. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4226. public СпециальностиRowChangeEvent(СпециальностиRow row, global::System.Data.DataRowAction action) {
  4227. this.eventRow = row;
  4228. this.eventAction = action;
  4229. }
  4230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4231. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4232. public СпециальностиRow Row {
  4233. get {
  4234. return this.eventRow;
  4235. }
  4236. }
  4237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4239. public global::System.Data.DataRowAction Action {
  4240. get {
  4241. return this.eventAction;
  4242. }
  4243. }
  4244. }
  4245. /// <summary>
  4246. ///Row event argument class
  4247. ///</summary>
  4248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4249. public class СтудентыRowChangeEvent : global::System.EventArgs {
  4250. private СтудентыRow eventRow;
  4251. private global::System.Data.DataRowAction eventAction;
  4252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4254. public СтудентыRowChangeEvent(СтудентыRow row, global::System.Data.DataRowAction action) {
  4255. this.eventRow = row;
  4256. this.eventAction = action;
  4257. }
  4258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4259. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4260. public СтудентыRow Row {
  4261. get {
  4262. return this.eventRow;
  4263. }
  4264. }
  4265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4267. public global::System.Data.DataRowAction Action {
  4268. get {
  4269. return this.eventAction;
  4270. }
  4271. }
  4272. }
  4273. /// <summary>
  4274. ///Row event argument class
  4275. ///</summary>
  4276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4277. public class _Запрос_Студенты_СпециальностиRowChangeEvent : global::System.EventArgs {
  4278. private _Запрос_Студенты_СпециальностиRow eventRow;
  4279. private global::System.Data.DataRowAction eventAction;
  4280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4282. public _Запрос_Студенты_СпециальностиRowChangeEvent(_Запрос_Студенты_СпециальностиRow row, global::System.Data.DataRowAction action) {
  4283. this.eventRow = row;
  4284. this.eventAction = action;
  4285. }
  4286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4288. public _Запрос_Студенты_СпециальностиRow Row {
  4289. get {
  4290. return this.eventRow;
  4291. }
  4292. }
  4293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4294. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4295. public global::System.Data.DataRowAction Action {
  4296. get {
  4297. return this.eventAction;
  4298. }
  4299. }
  4300. }
  4301. /// <summary>
  4302. ///Row event argument class
  4303. ///</summary>
  4304. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4305. public class Отображение_студентов_по_ФИОRowChangeEvent : global::System.EventArgs {
  4306. private Отображение_студентов_по_ФИОRow eventRow;
  4307. private global::System.Data.DataRowAction eventAction;
  4308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4309. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4310. public Отображение_студентов_по_ФИОRowChangeEvent(Отображение_студентов_по_ФИОRow row, global::System.Data.DataRowAction action) {
  4311. this.eventRow = row;
  4312. this.eventAction = action;
  4313. }
  4314. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4315. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4316. public Отображение_студентов_по_ФИОRow Row {
  4317. get {
  4318. return this.eventRow;
  4319. }
  4320. }
  4321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4323. public global::System.Data.DataRowAction Action {
  4324. get {
  4325. return this.eventAction;
  4326. }
  4327. }
  4328. }
  4329. /// <summary>
  4330. ///Row event argument class
  4331. ///</summary>
  4332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4333. public class Среднее_пяти_величинRowChangeEvent : global::System.EventArgs {
  4334. private Среднее_пяти_величинRow eventRow;
  4335. private global::System.Data.DataRowAction eventAction;
  4336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4337. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4338. public Среднее_пяти_величинRowChangeEvent(Среднее_пяти_величинRow row, global::System.Data.DataRowAction action) {
  4339. this.eventRow = row;
  4340. this.eventAction = action;
  4341. }
  4342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4343. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4344. public Среднее_пяти_величинRow Row {
  4345. get {
  4346. return this.eventRow;
  4347. }
  4348. }
  4349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4351. public global::System.Data.DataRowAction Action {
  4352. get {
  4353. return this.eventAction;
  4354. }
  4355. }
  4356. }
  4357. }
  4358. }
  4359. namespace IS31IvnitskiiStud._IS_31IvnitskiiStudDataSetTableAdapters {
  4360. /// <summary>
  4361. ///Represents the connection and commands used to retrieve and save data.
  4362. ///</summary>
  4363. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4364. [global::System.ComponentModel.ToolboxItem(true)]
  4365. [global::System.ComponentModel.DataObjectAttribute(true)]
  4366. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  4367. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4368. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4369. public partial class ОценкиTableAdapter : global::System.ComponentModel.Component {
  4370. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  4371. private global::System.Data.SqlClient.SqlConnection _connection;
  4372. private global::System.Data.SqlClient.SqlTransaction _transaction;
  4373. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  4374. private bool _clearBeforeFill;
  4375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4376. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4377. public ОценкиTableAdapter() {
  4378. this.ClearBeforeFill = true;
  4379. }
  4380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4381. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4382. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  4383. get {
  4384. if ((this._adapter == null)) {
  4385. this.InitAdapter();
  4386. }
  4387. return this._adapter;
  4388. }
  4389. }
  4390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4391. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4392. internal global::System.Data.SqlClient.SqlConnection Connection {
  4393. get {
  4394. if ((this._connection == null)) {
  4395. this.InitConnection();
  4396. }
  4397. return this._connection;
  4398. }
  4399. set {
  4400. this._connection = value;
  4401. if ((this.Adapter.InsertCommand != null)) {
  4402. this.Adapter.InsertCommand.Connection = value;
  4403. }
  4404. if ((this.Adapter.DeleteCommand != null)) {
  4405. this.Adapter.DeleteCommand.Connection = value;
  4406. }
  4407. if ((this.Adapter.UpdateCommand != null)) {
  4408. this.Adapter.UpdateCommand.Connection = value;
  4409. }
  4410. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4411. if ((this.CommandCollection[i] != null)) {
  4412. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  4413. }
  4414. }
  4415. }
  4416. }
  4417. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4418. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4419. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  4420. get {
  4421. return this._transaction;
  4422. }
  4423. set {
  4424. this._transaction = value;
  4425. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4426. this.CommandCollection[i].Transaction = this._transaction;
  4427. }
  4428. if (((this.Adapter != null)
  4429. && (this.Adapter.DeleteCommand != null))) {
  4430. this.Adapter.DeleteCommand.Transaction = this._transaction;
  4431. }
  4432. if (((this.Adapter != null)
  4433. && (this.Adapter.InsertCommand != null))) {
  4434. this.Adapter.InsertCommand.Transaction = this._transaction;
  4435. }
  4436. if (((this.Adapter != null)
  4437. && (this.Adapter.UpdateCommand != null))) {
  4438. this.Adapter.UpdateCommand.Transaction = this._transaction;
  4439. }
  4440. }
  4441. }
  4442. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4443. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4444. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  4445. get {
  4446. if ((this._commandCollection == null)) {
  4447. this.InitCommandCollection();
  4448. }
  4449. return this._commandCollection;
  4450. }
  4451. }
  4452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4454. public bool ClearBeforeFill {
  4455. get {
  4456. return this._clearBeforeFill;
  4457. }
  4458. set {
  4459. this._clearBeforeFill = value;
  4460. }
  4461. }
  4462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4463. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4464. private void InitAdapter() {
  4465. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  4466. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  4467. tableMapping.SourceTable = "Table";
  4468. tableMapping.DataSetTable = "Оценки";
  4469. tableMapping.ColumnMappings.Add("Код студента", "Код студента");
  4470. tableMapping.ColumnMappings.Add("Дата экзамена 1", "Дата экзамена 1");
  4471. tableMapping.ColumnMappings.Add("Код предмета 1", "Код предмета 1");
  4472. tableMapping.ColumnMappings.Add("Оценка 1", "Оценка 1");
  4473. tableMapping.ColumnMappings.Add("Дата экзамена 2", "Дата экзамена 2");
  4474. tableMapping.ColumnMappings.Add("Код предмета 2", "Код предмета 2");
  4475. tableMapping.ColumnMappings.Add("Оценка 2", "Оценка 2");
  4476. tableMapping.ColumnMappings.Add("Дата экзамена 3", "Дата экзамена 3");
  4477. tableMapping.ColumnMappings.Add("Код предмета 3", "Код предмета 3");
  4478. tableMapping.ColumnMappings.Add("оценка 3", "оценка 3");
  4479. tableMapping.ColumnMappings.Add("Средний балл", "Средний балл");
  4480. this._adapter.TableMappings.Add(tableMapping);
  4481. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  4482. this._adapter.InsertCommand.Connection = this.Connection;
  4483. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Оценки] ([Код студента], [Дата экзамена 1], [Код предмета 1], [Оценка 1], [Дата экзамена 2], [Код предмета 2], [Оценка 2], [Дата экзамена 3], [Код предмета 3], [оценка 3], [Средний балл]) VALUES (@Код_студента, @Дата_экзамена_1, @Код_предмета_1, @Оценка_1, @Дата_экзамена_2, @Код_предмета_2, @Оценка_2, @Дата_экзамена_3, @Код_предмета_3, @оценка_3, @Средний_балл)";
  4484. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  4485. 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, "", "", ""));
  4486. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_экзамена_1", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата экзамена 1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4487. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_предмета_1", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код предмета 1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4488. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Оценка_1", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Оценка 1", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4489. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_экзамена_2", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата экзамена 2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4490. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_предмета_2", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код предмета 2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4491. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Оценка_2", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Оценка 2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4492. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Дата_экзамена_3", global::System.Data.SqlDbType.Date, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Дата экзамена 3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4493. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код_предмета_3", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код предмета 3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4494. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@оценка_3", global::System.Data.SqlDbType.TinyInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "оценка 3", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4495. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Средний_балл", global::System.Data.SqlDbType.Real, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Средний балл", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4496. }
  4497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4498. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4499. private void InitConnection() {
  4500. this._connection = new global::System.Data.SqlClient.SqlConnection();
  4501. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  4502. }
  4503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4505. private void InitCommandCollection() {
  4506. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  4507. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  4508. this._commandCollection[0].Connection = this.Connection;
  4509. this._commandCollection[0].CommandText = "SELECT [Код студента], [Дата экзамена 1], [Код предмета 1], [Оценка 1], [Дата экз" +
  4510. "амена 2], [Код предмета 2], [Оценка 2], [Дата экзамена 3], [Код предмета 3], [оц" +
  4511. "енка 3], [Средний балл] FROM dbo.Оценки";
  4512. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  4513. }
  4514. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4515. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4516. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4517. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  4518. public virtual int Fill(_IS_31IvnitskiiStudDataSet.ОценкиDataTable dataTable) {
  4519. this.Adapter.SelectCommand = this.CommandCollection[0];
  4520. if ((this.ClearBeforeFill == true)) {
  4521. dataTable.Clear();
  4522. }
  4523. int returnValue = this.Adapter.Fill(dataTable);
  4524. return returnValue;
  4525. }
  4526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4528. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4529. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  4530. public virtual _IS_31IvnitskiiStudDataSet.ОценкиDataTable GetData() {
  4531. this.Adapter.SelectCommand = this.CommandCollection[0];
  4532. _IS_31IvnitskiiStudDataSet.ОценкиDataTable dataTable = new _IS_31IvnitskiiStudDataSet.ОценкиDataTable();
  4533. this.Adapter.Fill(dataTable);
  4534. return dataTable;
  4535. }
  4536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4538. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4539. public virtual int Update(_IS_31IvnitskiiStudDataSet.ОценкиDataTable dataTable) {
  4540. return this.Adapter.Update(dataTable);
  4541. }
  4542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4544. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4545. public virtual int Update(_IS_31IvnitskiiStudDataSet dataSet) {
  4546. return this.Adapter.Update(dataSet, "Оценки");
  4547. }
  4548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4550. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4551. public virtual int Update(global::System.Data.DataRow dataRow) {
  4552. return this.Adapter.Update(new global::System.Data.DataRow[] {
  4553. dataRow});
  4554. }
  4555. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4556. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4557. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4558. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  4559. return this.Adapter.Update(dataRows);
  4560. }
  4561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4562. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4563. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4564. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  4565. public virtual int Insert(global::System.Nullable<long> Код_студента, global::System.Nullable<global::System.DateTime> Дата_экзамена_1, global::System.Nullable<long> Код_предмета_1, global::System.Nullable<byte> Оценка_1, global::System.Nullable<global::System.DateTime> Дата_экзамена_2, global::System.Nullable<long> Код_предмета_2, global::System.Nullable<byte> Оценка_2, global::System.Nullable<global::System.DateTime> Дата_экзамена_3, global::System.Nullable<long> Код_предмета_3, global::System.Nullable<byte> оценка_3, global::System.Nullable<float> Средний_балл) {
  4566. if ((Код_студента.HasValue == true)) {
  4567. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Код_студента.Value));
  4568. }
  4569. else {
  4570. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  4571. }
  4572. if ((Дата_экзамена_1.HasValue == true)) {
  4573. this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Дата_экзамена_1.Value));
  4574. }
  4575. else {
  4576. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  4577. }
  4578. if ((Код_предмета_1.HasValue == true)) {
  4579. this.Adapter.InsertCommand.Parameters[2].Value = ((long)(Код_предмета_1.Value));
  4580. }
  4581. else {
  4582. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  4583. }
  4584. if ((Оценка_1.HasValue == true)) {
  4585. this.Adapter.InsertCommand.Parameters[3].Value = ((byte)(Оценка_1.Value));
  4586. }
  4587. else {
  4588. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  4589. }
  4590. if ((Дата_экзамена_2.HasValue == true)) {
  4591. this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(Дата_экзамена_2.Value));
  4592. }
  4593. else {
  4594. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  4595. }
  4596. if ((Код_предмета_2.HasValue == true)) {
  4597. this.Adapter.InsertCommand.Parameters[5].Value = ((long)(Код_предмета_2.Value));
  4598. }
  4599. else {
  4600. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  4601. }
  4602. if ((Оценка_2.HasValue == true)) {
  4603. this.Adapter.InsertCommand.Parameters[6].Value = ((byte)(Оценка_2.Value));
  4604. }
  4605. else {
  4606. this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
  4607. }
  4608. if ((Дата_экзамена_3.HasValue == true)) {
  4609. this.Adapter.InsertCommand.Parameters[7].Value = ((System.DateTime)(Дата_экзамена_3.Value));
  4610. }
  4611. else {
  4612. this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
  4613. }
  4614. if ((Код_предмета_3.HasValue == true)) {
  4615. this.Adapter.InsertCommand.Parameters[8].Value = ((long)(Код_предмета_3.Value));
  4616. }
  4617. else {
  4618. this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
  4619. }
  4620. if ((оценка_3.HasValue == true)) {
  4621. this.Adapter.InsertCommand.Parameters[9].Value = ((byte)(оценка_3.Value));
  4622. }
  4623. else {
  4624. this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
  4625. }
  4626. if ((Средний_балл.HasValue == true)) {
  4627. this.Adapter.InsertCommand.Parameters[10].Value = ((float)(Средний_балл.Value));
  4628. }
  4629. else {
  4630. this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
  4631. }
  4632. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  4633. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4634. != global::System.Data.ConnectionState.Open)) {
  4635. this.Adapter.InsertCommand.Connection.Open();
  4636. }
  4637. try {
  4638. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  4639. return returnValue;
  4640. }
  4641. finally {
  4642. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4643. this.Adapter.InsertCommand.Connection.Close();
  4644. }
  4645. }
  4646. }
  4647. }
  4648. /// <summary>
  4649. ///Represents the connection and commands used to retrieve and save data.
  4650. ///</summary>
  4651. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4652. [global::System.ComponentModel.ToolboxItem(true)]
  4653. [global::System.ComponentModel.DataObjectAttribute(true)]
  4654. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  4655. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4656. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4657. public partial class ПредметыTableAdapter : global::System.ComponentModel.Component {
  4658. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  4659. private global::System.Data.SqlClient.SqlConnection _connection;
  4660. private global::System.Data.SqlClient.SqlTransaction _transaction;
  4661. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  4662. private bool _clearBeforeFill;
  4663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4664. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4665. public ПредметыTableAdapter() {
  4666. this.ClearBeforeFill = true;
  4667. }
  4668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4669. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4670. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  4671. get {
  4672. if ((this._adapter == null)) {
  4673. this.InitAdapter();
  4674. }
  4675. return this._adapter;
  4676. }
  4677. }
  4678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4679. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4680. internal global::System.Data.SqlClient.SqlConnection Connection {
  4681. get {
  4682. if ((this._connection == null)) {
  4683. this.InitConnection();
  4684. }
  4685. return this._connection;
  4686. }
  4687. set {
  4688. this._connection = value;
  4689. if ((this.Adapter.InsertCommand != null)) {
  4690. this.Adapter.InsertCommand.Connection = value;
  4691. }
  4692. if ((this.Adapter.DeleteCommand != null)) {
  4693. this.Adapter.DeleteCommand.Connection = value;
  4694. }
  4695. if ((this.Adapter.UpdateCommand != null)) {
  4696. this.Adapter.UpdateCommand.Connection = value;
  4697. }
  4698. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4699. if ((this.CommandCollection[i] != null)) {
  4700. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  4701. }
  4702. }
  4703. }
  4704. }
  4705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4707. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  4708. get {
  4709. return this._transaction;
  4710. }
  4711. set {
  4712. this._transaction = value;
  4713. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4714. this.CommandCollection[i].Transaction = this._transaction;
  4715. }
  4716. if (((this.Adapter != null)
  4717. && (this.Adapter.DeleteCommand != null))) {
  4718. this.Adapter.DeleteCommand.Transaction = this._transaction;
  4719. }
  4720. if (((this.Adapter != null)
  4721. && (this.Adapter.InsertCommand != null))) {
  4722. this.Adapter.InsertCommand.Transaction = this._transaction;
  4723. }
  4724. if (((this.Adapter != null)
  4725. && (this.Adapter.UpdateCommand != null))) {
  4726. this.Adapter.UpdateCommand.Transaction = this._transaction;
  4727. }
  4728. }
  4729. }
  4730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4731. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4732. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  4733. get {
  4734. if ((this._commandCollection == null)) {
  4735. this.InitCommandCollection();
  4736. }
  4737. return this._commandCollection;
  4738. }
  4739. }
  4740. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4741. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4742. public bool ClearBeforeFill {
  4743. get {
  4744. return this._clearBeforeFill;
  4745. }
  4746. set {
  4747. this._clearBeforeFill = value;
  4748. }
  4749. }
  4750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4751. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4752. private void InitAdapter() {
  4753. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  4754. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  4755. tableMapping.SourceTable = "Table";
  4756. tableMapping.DataSetTable = "Предметы";
  4757. tableMapping.ColumnMappings.Add("Код предмета", "Код предмета");
  4758. tableMapping.ColumnMappings.Add("Наименование предмета", "Наименование предмета");
  4759. tableMapping.ColumnMappings.Add("Описание предмета", "Описание предмета");
  4760. this._adapter.TableMappings.Add(tableMapping);
  4761. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  4762. this._adapter.DeleteCommand.Connection = this.Connection;
  4763. this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[Предметы] WHERE (([Код предмета] = @Original_Код_предмета) AND ([Наименование предмета] = @Original_Наименование_предмета) AND ((@IsNull_Описание_предмета = 1 AND [Описание предмета] IS NULL) OR ([Описание предмета] = @Original_Описание_предмета)))";
  4764. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  4765. 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, "", "", ""));
  4766. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_предмета", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование предмета", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4767. 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, "", "", ""));
  4768. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Описание_предмета", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Описание предмета", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4769. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  4770. this._adapter.InsertCommand.Connection = this.Connection;
  4771. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Предметы] ([Код предмета], [Наименование предмета], [Описание предмета]) VALUES (@Код_предмета, @Наименование_предмета, @Описание_предмета);
  4772. SELECT [Код предмета], [Наименование предмета], [Описание предмета] FROM Предметы WHERE ([Код предмета] = @Код_предмета)";
  4773. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  4774. 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, "", "", ""));
  4775. 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, "", "", ""));
  4776. 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, "", "", ""));
  4777. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  4778. this._adapter.UpdateCommand.Connection = this.Connection;
  4779. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Предметы] SET [Код предмета] = @Код_предмета, [Наименование предмета] = @Наименование_предмета, [Описание предмета] = @Описание_предмета WHERE (([Код предмета] = @Original_Код_предмета) AND ([Наименование предмета] = @Original_Наименование_предмета) AND ((@IsNull_Описание_предмета = 1 AND [Описание предмета] IS NULL) OR ([Описание предмета] = @Original_Описание_предмета)));
  4780. SELECT [Код предмета], [Наименование предмета], [Описание предмета] FROM Предметы WHERE ([Код предмета] = @Код_предмета)";
  4781. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  4782. 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, "", "", ""));
  4783. 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, "", "", ""));
  4784. 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, "", "", ""));
  4785. 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, "", "", ""));
  4786. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_предмета", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование предмета", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4787. 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, "", "", ""));
  4788. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Описание_предмета", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Описание предмета", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4789. }
  4790. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4791. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4792. private void InitConnection() {
  4793. this._connection = new global::System.Data.SqlClient.SqlConnection();
  4794. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  4795. }
  4796. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4797. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4798. private void InitCommandCollection() {
  4799. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  4800. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  4801. this._commandCollection[0].Connection = this.Connection;
  4802. this._commandCollection[0].CommandText = "SELECT [Код предмета], [Наименование предмета], [Описание предмета] FROM dbo.Пред" +
  4803. "меты";
  4804. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  4805. }
  4806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4807. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4808. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4809. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  4810. public virtual int Fill(_IS_31IvnitskiiStudDataSet.ПредметыDataTable dataTable) {
  4811. this.Adapter.SelectCommand = this.CommandCollection[0];
  4812. if ((this.ClearBeforeFill == true)) {
  4813. dataTable.Clear();
  4814. }
  4815. int returnValue = this.Adapter.Fill(dataTable);
  4816. return returnValue;
  4817. }
  4818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4819. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4820. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4821. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  4822. public virtual _IS_31IvnitskiiStudDataSet.ПредметыDataTable GetData() {
  4823. this.Adapter.SelectCommand = this.CommandCollection[0];
  4824. _IS_31IvnitskiiStudDataSet.ПредметыDataTable dataTable = new _IS_31IvnitskiiStudDataSet.ПредметыDataTable();
  4825. this.Adapter.Fill(dataTable);
  4826. return dataTable;
  4827. }
  4828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4829. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4830. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4831. public virtual int Update(_IS_31IvnitskiiStudDataSet.ПредметыDataTable dataTable) {
  4832. return this.Adapter.Update(dataTable);
  4833. }
  4834. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4835. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4836. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4837. public virtual int Update(_IS_31IvnitskiiStudDataSet dataSet) {
  4838. return this.Adapter.Update(dataSet, "Предметы");
  4839. }
  4840. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4841. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4842. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4843. public virtual int Update(global::System.Data.DataRow dataRow) {
  4844. return this.Adapter.Update(new global::System.Data.DataRow[] {
  4845. dataRow});
  4846. }
  4847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4848. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4849. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4850. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  4851. return this.Adapter.Update(dataRows);
  4852. }
  4853. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4854. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4855. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4856. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  4857. public virtual int Delete(long Original_Код_предмета, string Original_Наименование_предмета, string Original_Описание_предмета) {
  4858. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Код_предмета));
  4859. if ((Original_Наименование_предмета == null)) {
  4860. throw new global::System.ArgumentNullException("Original_Наименование_предмета");
  4861. }
  4862. else {
  4863. this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Наименование_предмета));
  4864. }
  4865. if ((Original_Описание_предмета == null)) {
  4866. this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
  4867. this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
  4868. }
  4869. else {
  4870. this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
  4871. this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Описание_предмета));
  4872. }
  4873. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  4874. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4875. != global::System.Data.ConnectionState.Open)) {
  4876. this.Adapter.DeleteCommand.Connection.Open();
  4877. }
  4878. try {
  4879. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  4880. return returnValue;
  4881. }
  4882. finally {
  4883. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4884. this.Adapter.DeleteCommand.Connection.Close();
  4885. }
  4886. }
  4887. }
  4888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4890. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4891. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  4892. public virtual int Insert(long Код_предмета, string Наименование_предмета, string Описание_предмета) {
  4893. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Код_предмета));
  4894. if ((Наименование_предмета == null)) {
  4895. throw new global::System.ArgumentNullException("Наименование_предмета");
  4896. }
  4897. else {
  4898. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Наименование_предмета));
  4899. }
  4900. if ((Описание_предмета == null)) {
  4901. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  4902. }
  4903. else {
  4904. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Описание_предмета));
  4905. }
  4906. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  4907. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4908. != global::System.Data.ConnectionState.Open)) {
  4909. this.Adapter.InsertCommand.Connection.Open();
  4910. }
  4911. try {
  4912. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  4913. return returnValue;
  4914. }
  4915. finally {
  4916. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4917. this.Adapter.InsertCommand.Connection.Close();
  4918. }
  4919. }
  4920. }
  4921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4922. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4923. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4924. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  4925. public virtual int Update(long Код_предмета, string Наименование_предмета, string Описание_предмета, long Original_Код_предмета, string Original_Наименование_предмета, string Original_Описание_предмета) {
  4926. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(Код_предмета));
  4927. if ((Наименование_предмета == null)) {
  4928. throw new global::System.ArgumentNullException("Наименование_предмета");
  4929. }
  4930. else {
  4931. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Наименование_предмета));
  4932. }
  4933. if ((Описание_предмета == null)) {
  4934. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  4935. }
  4936. else {
  4937. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Описание_предмета));
  4938. }
  4939. this.Adapter.UpdateCommand.Parameters[3].Value = ((long)(Original_Код_предмета));
  4940. if ((Original_Наименование_предмета == null)) {
  4941. throw new global::System.ArgumentNullException("Original_Наименование_предмета");
  4942. }
  4943. else {
  4944. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Наименование_предмета));
  4945. }
  4946. if ((Original_Описание_предмета == null)) {
  4947. this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(1));
  4948. this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
  4949. }
  4950. else {
  4951. this.Adapter.UpdateCommand.Parameters[5].Value = ((object)(0));
  4952. this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Описание_предмета));
  4953. }
  4954. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  4955. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4956. != global::System.Data.ConnectionState.Open)) {
  4957. this.Adapter.UpdateCommand.Connection.Open();
  4958. }
  4959. try {
  4960. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  4961. return returnValue;
  4962. }
  4963. finally {
  4964. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4965. this.Adapter.UpdateCommand.Connection.Close();
  4966. }
  4967. }
  4968. }
  4969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4970. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4971. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4972. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  4973. public virtual int Update(string Наименование_предмета, string Описание_предмета, long Original_Код_предмета, string Original_Наименование_предмета, string Original_Описание_предмета) {
  4974. return this.Update(Original_Код_предмета, Наименование_предмета, Описание_предмета, Original_Код_предмета, Original_Наименование_предмета, Original_Описание_предмета);
  4975. }
  4976. }
  4977. /// <summary>
  4978. ///Represents the connection and commands used to retrieve and save data.
  4979. ///</summary>
  4980. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4981. [global::System.ComponentModel.ToolboxItem(true)]
  4982. [global::System.ComponentModel.DataObjectAttribute(true)]
  4983. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  4984. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4985. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4986. public partial class СпециальностиTableAdapter : global::System.ComponentModel.Component {
  4987. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  4988. private global::System.Data.SqlClient.SqlConnection _connection;
  4989. private global::System.Data.SqlClient.SqlTransaction _transaction;
  4990. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  4991. private bool _clearBeforeFill;
  4992. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4993. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4994. public СпециальностиTableAdapter() {
  4995. this.ClearBeforeFill = true;
  4996. }
  4997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4998. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4999. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  5000. get {
  5001. if ((this._adapter == null)) {
  5002. this.InitAdapter();
  5003. }
  5004. return this._adapter;
  5005. }
  5006. }
  5007. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5008. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5009. internal global::System.Data.SqlClient.SqlConnection Connection {
  5010. get {
  5011. if ((this._connection == null)) {
  5012. this.InitConnection();
  5013. }
  5014. return this._connection;
  5015. }
  5016. set {
  5017. this._connection = value;
  5018. if ((this.Adapter.InsertCommand != null)) {
  5019. this.Adapter.InsertCommand.Connection = value;
  5020. }
  5021. if ((this.Adapter.DeleteCommand != null)) {
  5022. this.Adapter.DeleteCommand.Connection = value;
  5023. }
  5024. if ((this.Adapter.UpdateCommand != null)) {
  5025. this.Adapter.UpdateCommand.Connection = value;
  5026. }
  5027. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5028. if ((this.CommandCollection[i] != null)) {
  5029. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  5030. }
  5031. }
  5032. }
  5033. }
  5034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5035. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5036. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  5037. get {
  5038. return this._transaction;
  5039. }
  5040. set {
  5041. this._transaction = value;
  5042. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5043. this.CommandCollection[i].Transaction = this._transaction;
  5044. }
  5045. if (((this.Adapter != null)
  5046. && (this.Adapter.DeleteCommand != null))) {
  5047. this.Adapter.DeleteCommand.Transaction = this._transaction;
  5048. }
  5049. if (((this.Adapter != null)
  5050. && (this.Adapter.InsertCommand != null))) {
  5051. this.Adapter.InsertCommand.Transaction = this._transaction;
  5052. }
  5053. if (((this.Adapter != null)
  5054. && (this.Adapter.UpdateCommand != null))) {
  5055. this.Adapter.UpdateCommand.Transaction = this._transaction;
  5056. }
  5057. }
  5058. }
  5059. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5060. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5061. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  5062. get {
  5063. if ((this._commandCollection == null)) {
  5064. this.InitCommandCollection();
  5065. }
  5066. return this._commandCollection;
  5067. }
  5068. }
  5069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5070. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5071. public bool ClearBeforeFill {
  5072. get {
  5073. return this._clearBeforeFill;
  5074. }
  5075. set {
  5076. this._clearBeforeFill = value;
  5077. }
  5078. }
  5079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5080. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5081. private void InitAdapter() {
  5082. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  5083. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  5084. tableMapping.SourceTable = "Table";
  5085. tableMapping.DataSetTable = "Специальности";
  5086. tableMapping.ColumnMappings.Add("Код специальности", "Код специальности");
  5087. tableMapping.ColumnMappings.Add("Наименование специальности", "Наименование специальности");
  5088. tableMapping.ColumnMappings.Add("Описание специальности", "Описание специальности");
  5089. this._adapter.TableMappings.Add(tableMapping);
  5090. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  5091. this._adapter.DeleteCommand.Connection = this.Connection;
  5092. this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[Специальности] WHERE (([Код специальности] = @Original_Код_спе" +
  5093. "циальности) AND ([Наименование специальности] = @Original_Наименование_специальн" +
  5094. "ости))";
  5095. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  5096. 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, "", "", ""));
  5097. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_специальности", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование специальности", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5098. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  5099. this._adapter.InsertCommand.Connection = this.Connection;
  5100. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Специальности] ([Код специальности], [Наименование специальности], [Описание специальности]) VALUES (@Код_специальности, @Наименование_специальности, @Описание_специальности);
  5101. SELECT [Код специальности], [Наименование специальности], [Описание специальности] FROM Специальности WHERE ([Код специальности] = @Код_специальности)";
  5102. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  5103. 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, "", "", ""));
  5104. 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, "", "", ""));
  5105. 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, "", "", ""));
  5106. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  5107. this._adapter.UpdateCommand.Connection = this.Connection;
  5108. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Специальности] SET [Код специальности] = @Код_специальности, [Наименование специальности] = @Наименование_специальности, [Описание специальности] = @Описание_специальности WHERE (([Код специальности] = @Original_Код_специальности) AND ([Наименование специальности] = @Original_Наименование_специальности));
  5109. SELECT [Код специальности], [Наименование специальности], [Описание специальности] FROM Специальности WHERE ([Код специальности] = @Код_специальности)";
  5110. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  5111. 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, "", "", ""));
  5112. 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, "", "", ""));
  5113. 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, "", "", ""));
  5114. 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, "", "", ""));
  5115. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Наименование_специальности", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Наименование специальности", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5116. }
  5117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5119. private void InitConnection() {
  5120. this._connection = new global::System.Data.SqlClient.SqlConnection();
  5121. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  5122. }
  5123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5125. private void InitCommandCollection() {
  5126. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  5127. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  5128. this._commandCollection[0].Connection = this.Connection;
  5129. this._commandCollection[0].CommandText = "SELECT [Код специальности], [Наименование специальности], [Описание специальности" +
  5130. "] FROM dbo.Специальности";
  5131. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  5132. }
  5133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5134. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5135. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5136. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  5137. public virtual int Fill(_IS_31IvnitskiiStudDataSet.СпециальностиDataTable dataTable) {
  5138. this.Adapter.SelectCommand = this.CommandCollection[0];
  5139. if ((this.ClearBeforeFill == true)) {
  5140. dataTable.Clear();
  5141. }
  5142. int returnValue = this.Adapter.Fill(dataTable);
  5143. return returnValue;
  5144. }
  5145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5147. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5148. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  5149. public virtual _IS_31IvnitskiiStudDataSet.СпециальностиDataTable GetData() {
  5150. this.Adapter.SelectCommand = this.CommandCollection[0];
  5151. _IS_31IvnitskiiStudDataSet.СпециальностиDataTable dataTable = new _IS_31IvnitskiiStudDataSet.СпециальностиDataTable();
  5152. this.Adapter.Fill(dataTable);
  5153. return dataTable;
  5154. }
  5155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5157. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5158. public virtual int Update(_IS_31IvnitskiiStudDataSet.СпециальностиDataTable dataTable) {
  5159. return this.Adapter.Update(dataTable);
  5160. }
  5161. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5162. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5163. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5164. public virtual int Update(_IS_31IvnitskiiStudDataSet dataSet) {
  5165. return this.Adapter.Update(dataSet, "Специальности");
  5166. }
  5167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5169. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5170. public virtual int Update(global::System.Data.DataRow dataRow) {
  5171. return this.Adapter.Update(new global::System.Data.DataRow[] {
  5172. dataRow});
  5173. }
  5174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5176. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5177. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  5178. return this.Adapter.Update(dataRows);
  5179. }
  5180. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5181. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5182. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5183. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  5184. public virtual int Delete(long Original_Код_специальности, string Original_Наименование_специальности) {
  5185. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Код_специальности));
  5186. if ((Original_Наименование_специальности == null)) {
  5187. throw new global::System.ArgumentNullException("Original_Наименование_специальности");
  5188. }
  5189. else {
  5190. this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Наименование_специальности));
  5191. }
  5192. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  5193. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5194. != global::System.Data.ConnectionState.Open)) {
  5195. this.Adapter.DeleteCommand.Connection.Open();
  5196. }
  5197. try {
  5198. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  5199. return returnValue;
  5200. }
  5201. finally {
  5202. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5203. this.Adapter.DeleteCommand.Connection.Close();
  5204. }
  5205. }
  5206. }
  5207. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5208. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5209. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5210. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  5211. public virtual int Insert(long Код_специальности, string Наименование_специальности, string Описание_специальности) {
  5212. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Код_специальности));
  5213. if ((Наименование_специальности == null)) {
  5214. throw new global::System.ArgumentNullException("Наименование_специальности");
  5215. }
  5216. else {
  5217. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Наименование_специальности));
  5218. }
  5219. if ((Описание_специальности == null)) {
  5220. throw new global::System.ArgumentNullException("Описание_специальности");
  5221. }
  5222. else {
  5223. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Описание_специальности));
  5224. }
  5225. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  5226. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5227. != global::System.Data.ConnectionState.Open)) {
  5228. this.Adapter.InsertCommand.Connection.Open();
  5229. }
  5230. try {
  5231. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  5232. return returnValue;
  5233. }
  5234. finally {
  5235. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5236. this.Adapter.InsertCommand.Connection.Close();
  5237. }
  5238. }
  5239. }
  5240. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5241. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5242. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5243. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5244. public virtual int Update(long Код_специальности, string Наименование_специальности, string Описание_специальности, long Original_Код_специальности, string Original_Наименование_специальности) {
  5245. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(Код_специальности));
  5246. if ((Наименование_специальности == null)) {
  5247. throw new global::System.ArgumentNullException("Наименование_специальности");
  5248. }
  5249. else {
  5250. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Наименование_специальности));
  5251. }
  5252. if ((Описание_специальности == null)) {
  5253. throw new global::System.ArgumentNullException("Описание_специальности");
  5254. }
  5255. else {
  5256. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Описание_специальности));
  5257. }
  5258. this.Adapter.UpdateCommand.Parameters[3].Value = ((long)(Original_Код_специальности));
  5259. if ((Original_Наименование_специальности == null)) {
  5260. throw new global::System.ArgumentNullException("Original_Наименование_специальности");
  5261. }
  5262. else {
  5263. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Original_Наименование_специальности));
  5264. }
  5265. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  5266. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5267. != global::System.Data.ConnectionState.Open)) {
  5268. this.Adapter.UpdateCommand.Connection.Open();
  5269. }
  5270. try {
  5271. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  5272. return returnValue;
  5273. }
  5274. finally {
  5275. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5276. this.Adapter.UpdateCommand.Connection.Close();
  5277. }
  5278. }
  5279. }
  5280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5282. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5283. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5284. public virtual int Update(string Наименование_специальности, string Описание_специальности, long Original_Код_специальности, string Original_Наименование_специальности) {
  5285. return this.Update(Original_Код_специальности, Наименование_специальности, Описание_специальности, Original_Код_специальности, Original_Наименование_специальности);
  5286. }
  5287. }
  5288. /// <summary>
  5289. ///Represents the connection and commands used to retrieve and save data.
  5290. ///</summary>
  5291. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  5292. [global::System.ComponentModel.ToolboxItem(true)]
  5293. [global::System.ComponentModel.DataObjectAttribute(true)]
  5294. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  5295. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  5296. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5297. public partial class СтудентыTableAdapter : global::System.ComponentModel.Component {
  5298. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  5299. private global::System.Data.SqlClient.SqlConnection _connection;
  5300. private global::System.Data.SqlClient.SqlTransaction _transaction;
  5301. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  5302. private bool _clearBeforeFill;
  5303. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5304. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5305. public СтудентыTableAdapter() {
  5306. this.ClearBeforeFill = true;
  5307. }
  5308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5309. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5310. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  5311. get {
  5312. if ((this._adapter == null)) {
  5313. this.InitAdapter();
  5314. }
  5315. return this._adapter;
  5316. }
  5317. }
  5318. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5319. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5320. internal global::System.Data.SqlClient.SqlConnection Connection {
  5321. get {
  5322. if ((this._connection == null)) {
  5323. this.InitConnection();
  5324. }
  5325. return this._connection;
  5326. }
  5327. set {
  5328. this._connection = value;
  5329. if ((this.Adapter.InsertCommand != null)) {
  5330. this.Adapter.InsertCommand.Connection = value;
  5331. }
  5332. if ((this.Adapter.DeleteCommand != null)) {
  5333. this.Adapter.DeleteCommand.Connection = value;
  5334. }
  5335. if ((this.Adapter.UpdateCommand != null)) {
  5336. this.Adapter.UpdateCommand.Connection = value;
  5337. }
  5338. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5339. if ((this.CommandCollection[i] != null)) {
  5340. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  5341. }
  5342. }
  5343. }
  5344. }
  5345. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5346. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5347. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  5348. get {
  5349. return this._transaction;
  5350. }
  5351. set {
  5352. this._transaction = value;
  5353. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5354. this.CommandCollection[i].Transaction = this._transaction;
  5355. }
  5356. if (((this.Adapter != null)
  5357. && (this.Adapter.DeleteCommand != null))) {
  5358. this.Adapter.DeleteCommand.Transaction = this._transaction;
  5359. }
  5360. if (((this.Adapter != null)
  5361. && (this.Adapter.InsertCommand != null))) {
  5362. this.Adapter.InsertCommand.Transaction = this._transaction;
  5363. }
  5364. if (((this.Adapter != null)
  5365. && (this.Adapter.UpdateCommand != null))) {
  5366. this.Adapter.UpdateCommand.Transaction = this._transaction;
  5367. }
  5368. }
  5369. }
  5370. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5371. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5372. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  5373. get {
  5374. if ((this._commandCollection == null)) {
  5375. this.InitCommandCollection();
  5376. }
  5377. return this._commandCollection;
  5378. }
  5379. }
  5380. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5381. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5382. public bool ClearBeforeFill {
  5383. get {
  5384. return this._clearBeforeFill;
  5385. }
  5386. set {
  5387. this._clearBeforeFill = value;
  5388. }
  5389. }
  5390. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5391. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5392. private void InitAdapter() {
  5393. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  5394. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  5395. tableMapping.SourceTable = "Table";
  5396. tableMapping.DataSetTable = "Студенты";
  5397. tableMapping.ColumnMappings.Add("Код студента", "Код студента");
  5398. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  5399. tableMapping.ColumnMappings.Add("Пол", "Пол");
  5400. tableMapping.ColumnMappings.Add("Родители", "Родители");
  5401. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  5402. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  5403. tableMapping.ColumnMappings.Add("Паспортные данные", "Паспортные данные");
  5404. tableMapping.ColumnMappings.Add("Номер зачетки", "Номер зачетки");
  5405. tableMapping.ColumnMappings.Add("Дата поступления", "Дата поступления");
  5406. tableMapping.ColumnMappings.Add("Группа", "Группа");
  5407. tableMapping.ColumnMappings.Add("Курс", "Курс");
  5408. tableMapping.ColumnMappings.Add("Код специальности", "Код специальности");
  5409. tableMapping.ColumnMappings.Add("Очная форма обучения", "Очная форма обучения");
  5410. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  5411. this._adapter.TableMappings.Add(tableMapping);
  5412. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  5413. this._adapter.DeleteCommand.Connection = this.Connection;
  5414. 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_Телефон)) 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_Курс)) AND ((@IsNull_Код_специальности = 1 AND [Код специальности] IS NULL) OR ([Код специальности] = @Original_Код_специальности)) AND ((@IsNull_Очная_форма_обучения = 1 AND [Очная форма обучения] IS NULL) OR ([Очная форма обучения] = @Original_Очная_форма_обучения)) AND ((@IsNull_Дата_рождения = 1 AND [Дата рождения] IS NULL) OR ([Дата рождения] = @Original_Дата_рождения)))";
  5415. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  5416. 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, "", "", ""));
  5417. 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, "", "", ""));
  5418. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ФИО", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5419. 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, "", "", ""));
  5420. 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, "", "", ""));
  5421. 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, "", "", ""));
  5422. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Родители", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Родители", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5423. 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, "", "", ""));
  5424. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Телефон", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Телефон", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5425. 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, "", "", ""));
  5426. 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, "", "", ""));
  5427. 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, "", "", ""));
  5428. 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, "", "", ""));
  5429. 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, "", "", ""));
  5430. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Группа", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Группа", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5431. 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, "", "", ""));
  5432. 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, "", "", ""));
  5433. 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, "", "", ""));
  5434. 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, "", "", ""));
  5435. 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, "", "", ""));
  5436. 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, "", "", ""));
  5437. 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, "", "", ""));
  5438. 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, "", "", ""));
  5439. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  5440. this._adapter.InsertCommand.Connection = this.Connection;
  5441. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Студенты] ([Код студента], [ФИО], [Пол], [Родители], [Адрес], [Телефон], [Паспортные данные], [Номер зачетки], [Дата поступления], [Группа], [Курс], [Код специальности], [Очная форма обучения], [Дата рождения]) VALUES (@Код_студента, @ФИО, @Пол, @Родители, @Адрес, @Телефон, @Паспортные_данные, @Номер_зачетки, @Дата_поступления, @Группа, @Курс, @Код_специальности, @Очная_форма_обучения, @Дата_рождения);
  5442. SELECT [Код студента], ФИО, Пол, Родители, Адрес, Телефон, [Паспортные данные], [Номер зачетки], [Дата поступления], Группа, Курс, [Код специальности], [Очная форма обучения], [Дата рождения] FROM Студенты WHERE ([Код студента] = @Код_студента)";
  5443. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  5444. 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, "", "", ""));
  5445. 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, "", "", ""));
  5446. 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, "", "", ""));
  5447. 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, "", "", ""));
  5448. 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, "", "", ""));
  5449. 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, "", "", ""));
  5450. 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, "", "", ""));
  5451. 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, "", "", ""));
  5452. 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, "", "", ""));
  5453. 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, "", "", ""));
  5454. 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, "", "", ""));
  5455. 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, "", "", ""));
  5456. 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, "", "", ""));
  5457. 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, "", "", ""));
  5458. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  5459. this._adapter.UpdateCommand.Connection = this.Connection;
  5460. this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[Студенты] SET [Код студента] = @Код_студента, [ФИО] = @ФИО, [Пол] =" +
  5461. " @Пол, [Родители] = @Родители, [Адрес] = @Адрес, [Телефон] = @Телефон, [Паспортн" +
  5462. "ые данные] = @Паспортные_данные, [Номер зачетки] = @Номер_зачетки, [Дата поступл" +
  5463. "ения] = @Дата_поступления, [Группа] = @Группа, [Курс] = @Курс, [Код специальност" +
  5464. "и] = @Код_специальности, [Очная форма обучения] = @Очная_форма_обучения, [Дата р" +
  5465. "ождения] = @Дата_рождения WHERE (([Код студента] = @Original_Код_студента) AND (" +
  5466. "(@IsNull_ФИО = 1 AND [ФИО] IS NULL) OR ([ФИО] = @Original_ФИО)) AND ((@IsNull_По" +
  5467. "л = 1 AND [Пол] IS NULL) OR ([Пол] = @Original_Пол)) AND ((@IsNull_Родители = 1 " +
  5468. "AND [Родители] IS NULL) OR ([Родители] = @Original_Родители)) AND ((@IsNull_Теле" +
  5469. "фон = 1 AND [Телефон] IS NULL) OR ([Телефон] = @Original_Телефон)) AND ((@IsNull" +
  5470. "_Номер_зачетки = 1 AND [Номер зачетки] IS NULL) OR ([Номер зачетки] = @Original_" +
  5471. "Номер_зачетки)) AND ((@IsNull_Дата_поступления = 1 AND [Дата поступления] IS NUL" +
  5472. "L) OR ([Дата поступления] = @Original_Дата_поступления)) AND ((@IsNull_Группа = " +
  5473. "1 AND [Группа] IS NULL) OR ([Группа] = @Original_Группа)) AND ((@IsNull_Курс = 1" +
  5474. " AND [Курс] IS NULL) OR ([Курс] = @Original_Курс)) AND ((@IsNull_Код_специальнос" +
  5475. "ти = 1 AND [Код специальности] IS NULL) OR ([Код специальности] = @Original_Код_" +
  5476. "специальности)) AND ((@IsNull_Очная_форма_обучения = 1 AND [Очная форма обучения" +
  5477. "] IS NULL) OR ([Очная форма обучения] = @Original_Очная_форма_обучения)) AND ((@" +
  5478. "IsNull_Дата_рождения = 1 AND [Дата рождения] IS NULL) OR ([Дата рождения] = @Ori" +
  5479. "ginal_Дата_рождения)));\r\nSELECT [Код студента], ФИО, Пол, Родители, Адрес, Телеф" +
  5480. "он, [Паспортные данные], [Номер зачетки], [Дата поступления], Группа, Курс, [Код" +
  5481. " специальности], [Очная форма обучения], [Дата рождения] FROM Студенты WHERE ([К" +
  5482. "од студента] = @Код_студента)";
  5483. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  5484. 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, "", "", ""));
  5485. 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, "", "", ""));
  5486. 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, "", "", ""));
  5487. 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, "", "", ""));
  5488. 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, "", "", ""));
  5489. 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, "", "", ""));
  5490. 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, "", "", ""));
  5491. 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, "", "", ""));
  5492. 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, "", "", ""));
  5493. 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, "", "", ""));
  5494. 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, "", "", ""));
  5495. 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, "", "", ""));
  5496. 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, "", "", ""));
  5497. 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, "", "", ""));
  5498. 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, "", "", ""));
  5499. 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, "", "", ""));
  5500. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ФИО", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ФИО", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5501. 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, "", "", ""));
  5502. 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, "", "", ""));
  5503. 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, "", "", ""));
  5504. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Родители", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Родители", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5505. 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, "", "", ""));
  5506. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Телефон", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Телефон", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5507. 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, "", "", ""));
  5508. 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, "", "", ""));
  5509. 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, "", "", ""));
  5510. 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, "", "", ""));
  5511. 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, "", "", ""));
  5512. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Группа", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Группа", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5513. 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, "", "", ""));
  5514. 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, "", "", ""));
  5515. 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, "", "", ""));
  5516. 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, "", "", ""));
  5517. 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, "", "", ""));
  5518. 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, "", "", ""));
  5519. 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, "", "", ""));
  5520. 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, "", "", ""));
  5521. }
  5522. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5523. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5524. private void InitConnection() {
  5525. this._connection = new global::System.Data.SqlClient.SqlConnection();
  5526. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  5527. }
  5528. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5529. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5530. private void InitCommandCollection() {
  5531. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  5532. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  5533. this._commandCollection[0].Connection = this.Connection;
  5534. this._commandCollection[0].CommandText = "SELECT [Код студента], ФИО, Пол, Родители, Адрес, Телефон, [Паспортные данные], [" +
  5535. "Номер зачетки], [Дата поступления], Группа, Курс, [Код специальности], [Очная фо" +
  5536. "рма обучения], [Дата рождения] FROM dbo.Студенты";
  5537. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  5538. }
  5539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5540. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5541. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5542. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  5543. public virtual int Fill(_IS_31IvnitskiiStudDataSet.СтудентыDataTable dataTable) {
  5544. this.Adapter.SelectCommand = this.CommandCollection[0];
  5545. if ((this.ClearBeforeFill == true)) {
  5546. dataTable.Clear();
  5547. }
  5548. int returnValue = this.Adapter.Fill(dataTable);
  5549. return returnValue;
  5550. }
  5551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5552. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5553. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5554. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  5555. public virtual _IS_31IvnitskiiStudDataSet.СтудентыDataTable GetData() {
  5556. this.Adapter.SelectCommand = this.CommandCollection[0];
  5557. _IS_31IvnitskiiStudDataSet.СтудентыDataTable dataTable = new _IS_31IvnitskiiStudDataSet.СтудентыDataTable();
  5558. this.Adapter.Fill(dataTable);
  5559. return dataTable;
  5560. }
  5561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5562. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5563. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5564. public virtual int Update(_IS_31IvnitskiiStudDataSet.СтудентыDataTable dataTable) {
  5565. return this.Adapter.Update(dataTable);
  5566. }
  5567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5568. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5569. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5570. public virtual int Update(_IS_31IvnitskiiStudDataSet dataSet) {
  5571. return this.Adapter.Update(dataSet, "Студенты");
  5572. }
  5573. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5574. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5575. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5576. public virtual int Update(global::System.Data.DataRow dataRow) {
  5577. return this.Adapter.Update(new global::System.Data.DataRow[] {
  5578. dataRow});
  5579. }
  5580. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5581. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5582. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5583. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  5584. return this.Adapter.Update(dataRows);
  5585. }
  5586. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5587. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5588. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5589. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  5590. public virtual int Delete(long Original_Код_студента, string Original_ФИО, string Original_Пол, string Original_Родители, string Original_Телефон, global::System.Nullable<long> Original_Номер_зачетки, global::System.Nullable<global::System.DateTime> Original_Дата_поступления, string Original_Группа, global::System.Nullable<byte> Original_Курс, global::System.Nullable<long> Original_Код_специальности, global::System.Nullable<bool> Original_Очная_форма_обучения, global::System.Nullable<global::System.DateTime> Original_Дата_рождения) {
  5591. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_Код_студента));
  5592. if ((Original_ФИО == null)) {
  5593. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  5594. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  5595. }
  5596. else {
  5597. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  5598. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_ФИО));
  5599. }
  5600. if ((Original_Пол == null)) {
  5601. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  5602. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  5603. }
  5604. else {
  5605. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  5606. this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Пол));
  5607. }
  5608. if ((Original_Родители == null)) {
  5609. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  5610. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  5611. }
  5612. else {
  5613. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  5614. this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Родители));
  5615. }
  5616. if ((Original_Телефон == null)) {
  5617. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
  5618. this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
  5619. }
  5620. else {
  5621. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
  5622. this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_Телефон));
  5623. }
  5624. if ((Original_Номер_зачетки.HasValue == true)) {
  5625. this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
  5626. this.Adapter.DeleteCommand.Parameters[10].Value = ((long)(Original_Номер_зачетки.Value));
  5627. }
  5628. else {
  5629. this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
  5630. this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
  5631. }
  5632. if ((Original_Дата_поступления.HasValue == true)) {
  5633. this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(0));
  5634. this.Adapter.DeleteCommand.Parameters[12].Value = ((System.DateTime)(Original_Дата_поступления.Value));
  5635. }
  5636. else {
  5637. this.Adapter.DeleteCommand.Parameters[11].Value = ((object)(1));
  5638. this.Adapter.DeleteCommand.Parameters[12].Value = global::System.DBNull.Value;
  5639. }
  5640. if ((Original_Группа == null)) {
  5641. this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(1));
  5642. this.Adapter.DeleteCommand.Parameters[14].Value = global::System.DBNull.Value;
  5643. }
  5644. else {
  5645. this.Adapter.DeleteCommand.Parameters[13].Value = ((object)(0));
  5646. this.Adapter.DeleteCommand.Parameters[14].Value = ((string)(Original_Группа));
  5647. }
  5648. if ((Original_Курс.HasValue == true)) {
  5649. this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(0));
  5650. this.Adapter.DeleteCommand.Parameters[16].Value = ((byte)(Original_Курс.Value));
  5651. }
  5652. else {
  5653. this.Adapter.DeleteCommand.Parameters[15].Value = ((object)(1));
  5654. this.Adapter.DeleteCommand.Parameters[16].Value = global::System.DBNull.Value;
  5655. }
  5656. if ((Original_Код_специальности.HasValue == true)) {
  5657. this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(0));
  5658. this.Adapter.DeleteCommand.Parameters[18].Value = ((long)(Original_Код_специальности.Value));
  5659. }
  5660. else {
  5661. this.Adapter.DeleteCommand.Parameters[17].Value = ((object)(1));
  5662. this.Adapter.DeleteCommand.Parameters[18].Value = global::System.DBNull.Value;
  5663. }
  5664. if ((Original_Очная_форма_обучения.HasValue == true)) {
  5665. this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(0));
  5666. this.Adapter.DeleteCommand.Parameters[20].Value = ((bool)(Original_Очная_форма_обучения.Value));
  5667. }
  5668. else {
  5669. this.Adapter.DeleteCommand.Parameters[19].Value = ((object)(1));
  5670. this.Adapter.DeleteCommand.Parameters[20].Value = global::System.DBNull.Value;
  5671. }
  5672. if ((Original_Дата_рождения.HasValue == true)) {
  5673. this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
  5674. this.Adapter.DeleteCommand.Parameters[22].Value = ((System.DateTime)(Original_Дата_рождения.Value));
  5675. }
  5676. else {
  5677. this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
  5678. this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
  5679. }
  5680. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  5681. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5682. != global::System.Data.ConnectionState.Open)) {
  5683. this.Adapter.DeleteCommand.Connection.Open();
  5684. }
  5685. try {
  5686. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  5687. return returnValue;
  5688. }
  5689. finally {
  5690. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5691. this.Adapter.DeleteCommand.Connection.Close();
  5692. }
  5693. }
  5694. }
  5695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5696. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5697. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5698. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  5699. public virtual int Insert(long Код_студента, string ФИО, string Пол, string Родители, string Адрес, string Телефон, string Паспортные_данные, global::System.Nullable<long> Номер_зачетки, global::System.Nullable<global::System.DateTime> Дата_поступления, string Группа, global::System.Nullable<byte> Курс, global::System.Nullable<long> Код_специальности, global::System.Nullable<bool> Очная_форма_обучения, global::System.Nullable<global::System.DateTime> Дата_рождения) {
  5700. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(Код_студента));
  5701. if ((ФИО == null)) {
  5702. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  5703. }
  5704. else {
  5705. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(ФИО));
  5706. }
  5707. if ((Пол == null)) {
  5708. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  5709. }
  5710. else {
  5711. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Пол));
  5712. }
  5713. if ((Родители == null)) {
  5714. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  5715. }
  5716. else {
  5717. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(Родители));
  5718. }
  5719. if ((Адрес == null)) {
  5720. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  5721. }
  5722. else {
  5723. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Адрес));
  5724. }
  5725. if ((Телефон == null)) {
  5726. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  5727. }
  5728. else {
  5729. this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Телефон));
  5730. }
  5731. if ((Паспортные_данные == null)) {
  5732. this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
  5733. }
  5734. else {
  5735. this.Adapter.InsertCommand.Parameters[6].Value = ((string)(Паспортные_данные));
  5736. }
  5737. if ((Номер_зачетки.HasValue == true)) {
  5738. this.Adapter.InsertCommand.Parameters[7].Value = ((long)(Номер_зачетки.Value));
  5739. }
  5740. else {
  5741. this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
  5742. }
  5743. if ((Дата_поступления.HasValue == true)) {
  5744. this.Adapter.InsertCommand.Parameters[8].Value = ((System.DateTime)(Дата_поступления.Value));
  5745. }
  5746. else {
  5747. this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
  5748. }
  5749. if ((Группа == null)) {
  5750. this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value;
  5751. }
  5752. else {
  5753. this.Adapter.InsertCommand.Parameters[9].Value = ((string)(Группа));
  5754. }
  5755. if ((Курс.HasValue == true)) {
  5756. this.Adapter.InsertCommand.Parameters[10].Value = ((byte)(Курс.Value));
  5757. }
  5758. else {
  5759. this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value;
  5760. }
  5761. if ((Код_специальности.HasValue == true)) {
  5762. this.Adapter.InsertCommand.Parameters[11].Value = ((long)(Код_специальности.Value));
  5763. }
  5764. else {
  5765. this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value;
  5766. }
  5767. if ((Очная_форма_обучения.HasValue == true)) {
  5768. this.Adapter.InsertCommand.Parameters[12].Value = ((bool)(Очная_форма_обучения.Value));
  5769. }
  5770. else {
  5771. this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value;
  5772. }
  5773. if ((Дата_рождения.HasValue == true)) {
  5774. this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(Дата_рождения.Value));
  5775. }
  5776. else {
  5777. this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value;
  5778. }
  5779. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  5780. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5781. != global::System.Data.ConnectionState.Open)) {
  5782. this.Adapter.InsertCommand.Connection.Open();
  5783. }
  5784. try {
  5785. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  5786. return returnValue;
  5787. }
  5788. finally {
  5789. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5790. this.Adapter.InsertCommand.Connection.Close();
  5791. }
  5792. }
  5793. }
  5794. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5795. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5796. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5797. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5798. public virtual int Update(
  5799. long Код_студента,
  5800. string ФИО,
  5801. string Пол,
  5802. string Родители,
  5803. string Адрес,
  5804. string Телефон,
  5805. string Паспортные_данные,
  5806. global::System.Nullable<long> Номер_зачетки,
  5807. global::System.Nullable<global::System.DateTime> Дата_поступления,
  5808. string Группа,
  5809. global::System.Nullable<byte> Курс,
  5810. global::System.Nullable<long> Код_специальности,
  5811. global::System.Nullable<bool> Очная_форма_обучения,
  5812. global::System.Nullable<global::System.DateTime> Дата_рождения,
  5813. long Original_Код_студента,
  5814. string Original_ФИО,
  5815. string Original_Пол,
  5816. string Original_Родители,
  5817. string Original_Телефон,
  5818. global::System.Nullable<long> Original_Номер_зачетки,
  5819. global::System.Nullable<global::System.DateTime> Original_Дата_поступления,
  5820. string Original_Группа,
  5821. global::System.Nullable<byte> Original_Курс,
  5822. global::System.Nullable<long> Original_Код_специальности,
  5823. global::System.Nullable<bool> Original_Очная_форма_обучения,
  5824. global::System.Nullable<global::System.DateTime> Original_Дата_рождения) {
  5825. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(Код_студента));
  5826. if ((ФИО == null)) {
  5827. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  5828. }
  5829. else {
  5830. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(ФИО));
  5831. }
  5832. if ((Пол == null)) {
  5833. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  5834. }
  5835. else {
  5836. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Пол));
  5837. }
  5838. if ((Родители == null)) {
  5839. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  5840. }
  5841. else {
  5842. this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(Родители));
  5843. }
  5844. if ((Адрес == null)) {
  5845. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  5846. }
  5847. else {
  5848. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Адрес));
  5849. }
  5850. if ((Телефон == null)) {
  5851. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  5852. }
  5853. else {
  5854. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Телефон));
  5855. }
  5856. if ((Паспортные_данные == null)) {
  5857. this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
  5858. }
  5859. else {
  5860. this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Паспортные_данные));
  5861. }
  5862. if ((Номер_зачетки.HasValue == true)) {
  5863. this.Adapter.UpdateCommand.Parameters[7].Value = ((long)(Номер_зачетки.Value));
  5864. }
  5865. else {
  5866. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  5867. }
  5868. if ((Дата_поступления.HasValue == true)) {
  5869. this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(Дата_поступления.Value));
  5870. }
  5871. else {
  5872. this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
  5873. }
  5874. if ((Группа == null)) {
  5875. this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
  5876. }
  5877. else {
  5878. this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Группа));
  5879. }
  5880. if ((Курс.HasValue == true)) {
  5881. this.Adapter.UpdateCommand.Parameters[10].Value = ((byte)(Курс.Value));
  5882. }
  5883. else {
  5884. this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
  5885. }
  5886. if ((Код_специальности.HasValue == true)) {
  5887. this.Adapter.UpdateCommand.Parameters[11].Value = ((long)(Код_специальности.Value));
  5888. }
  5889. else {
  5890. this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
  5891. }
  5892. if ((Очная_форма_обучения.HasValue == true)) {
  5893. this.Adapter.UpdateCommand.Parameters[12].Value = ((bool)(Очная_форма_обучения.Value));
  5894. }
  5895. else {
  5896. this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
  5897. }
  5898. if ((Дата_рождения.HasValue == true)) {
  5899. this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Дата_рождения.Value));
  5900. }
  5901. else {
  5902. this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
  5903. }
  5904. this.Adapter.UpdateCommand.Parameters[14].Value = ((long)(Original_Код_студента));
  5905. if ((Original_ФИО == null)) {
  5906. this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
  5907. this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
  5908. }
  5909. else {
  5910. this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
  5911. this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_ФИО));
  5912. }
  5913. if ((Original_Пол == null)) {
  5914. this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
  5915. this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
  5916. }
  5917. else {
  5918. this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
  5919. this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_Пол));
  5920. }
  5921. if ((Original_Родители == null)) {
  5922. this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
  5923. this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
  5924. }
  5925. else {
  5926. this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
  5927. this.Adapter.UpdateCommand.Parameters[20].Value = ((string)(Original_Родители));
  5928. }
  5929. if ((Original_Телефон == null)) {
  5930. this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
  5931. this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
  5932. }
  5933. else {
  5934. this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
  5935. this.Adapter.UpdateCommand.Parameters[22].Value = ((string)(Original_Телефон));
  5936. }
  5937. if ((Original_Номер_зачетки.HasValue == true)) {
  5938. this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
  5939. this.Adapter.UpdateCommand.Parameters[24].Value = ((long)(Original_Номер_зачетки.Value));
  5940. }
  5941. else {
  5942. this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
  5943. this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
  5944. }
  5945. if ((Original_Дата_поступления.HasValue == true)) {
  5946. this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
  5947. this.Adapter.UpdateCommand.Parameters[26].Value = ((System.DateTime)(Original_Дата_поступления.Value));
  5948. }
  5949. else {
  5950. this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
  5951. this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
  5952. }
  5953. if ((Original_Группа == null)) {
  5954. this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
  5955. this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
  5956. }
  5957. else {
  5958. this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
  5959. this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_Группа));
  5960. }
  5961. if ((Original_Курс.HasValue == true)) {
  5962. this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
  5963. this.Adapter.UpdateCommand.Parameters[30].Value = ((byte)(Original_Курс.Value));
  5964. }
  5965. else {
  5966. this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
  5967. this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
  5968. }
  5969. if ((Original_Код_специальности.HasValue == true)) {
  5970. this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
  5971. this.Adapter.UpdateCommand.Parameters[32].Value = ((long)(Original_Код_специальности.Value));
  5972. }
  5973. else {
  5974. this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
  5975. this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
  5976. }
  5977. if ((Original_Очная_форма_обучения.HasValue == true)) {
  5978. this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
  5979. this.Adapter.UpdateCommand.Parameters[34].Value = ((bool)(Original_Очная_форма_обучения.Value));
  5980. }
  5981. else {
  5982. this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
  5983. this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
  5984. }
  5985. if ((Original_Дата_рождения.HasValue == true)) {
  5986. this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
  5987. this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_Дата_рождения.Value));
  5988. }
  5989. else {
  5990. this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
  5991. this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
  5992. }
  5993. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  5994. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5995. != global::System.Data.ConnectionState.Open)) {
  5996. this.Adapter.UpdateCommand.Connection.Open();
  5997. }
  5998. try {
  5999. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  6000. return returnValue;
  6001. }
  6002. finally {
  6003. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  6004. this.Adapter.UpdateCommand.Connection.Close();
  6005. }
  6006. }
  6007. }
  6008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6009. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6010. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6011. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  6012. public virtual int Update(
  6013. string ФИО,
  6014. string Пол,
  6015. string Родители,
  6016. string Адрес,
  6017. string Телефон,
  6018. string Паспортные_данные,
  6019. global::System.Nullable<long> Номер_зачетки,
  6020. global::System.Nullable<global::System.DateTime> Дата_поступления,
  6021. string Группа,
  6022. global::System.Nullable<byte> Курс,
  6023. global::System.Nullable<long> Код_специальности,
  6024. global::System.Nullable<bool> Очная_форма_обучения,
  6025. global::System.Nullable<global::System.DateTime> Дата_рождения,
  6026. long Original_Код_студента,
  6027. string Original_ФИО,
  6028. string Original_Пол,
  6029. string Original_Родители,
  6030. string Original_Телефон,
  6031. global::System.Nullable<long> Original_Номер_зачетки,
  6032. global::System.Nullable<global::System.DateTime> Original_Дата_поступления,
  6033. string Original_Группа,
  6034. global::System.Nullable<byte> Original_Курс,
  6035. global::System.Nullable<long> Original_Код_специальности,
  6036. global::System.Nullable<bool> Original_Очная_форма_обучения,
  6037. global::System.Nullable<global::System.DateTime> Original_Дата_рождения) {
  6038. return this.Update(Original_Код_студента, ФИО, Пол, Родители, Адрес, Телефон, Паспортные_данные, Номер_зачетки, Дата_поступления, Группа, Курс, Код_специальности, Очная_форма_обучения, Дата_рождения, Original_Код_студента, Original_ФИО, Original_Пол, Original_Родители, Original_Телефон, Original_Номер_зачетки, Original_Дата_поступления, Original_Группа, Original_Курс, Original_Код_специальности, Original_Очная_форма_обучения, Original_Дата_рождения);
  6039. }
  6040. }
  6041. /// <summary>
  6042. ///Represents the connection and commands used to retrieve and save data.
  6043. ///</summary>
  6044. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6045. [global::System.ComponentModel.ToolboxItem(true)]
  6046. [global::System.ComponentModel.DataObjectAttribute(true)]
  6047. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6048. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6049. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6050. public partial class Запрос_Студенты_СпециальностиTableAdapter : global::System.ComponentModel.Component {
  6051. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6052. private global::System.Data.SqlClient.SqlConnection _connection;
  6053. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6054. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6055. private bool _clearBeforeFill;
  6056. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6057. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6058. public Запрос_Студенты_СпециальностиTableAdapter() {
  6059. this.ClearBeforeFill = true;
  6060. }
  6061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6062. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6063. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6064. get {
  6065. if ((this._adapter == null)) {
  6066. this.InitAdapter();
  6067. }
  6068. return this._adapter;
  6069. }
  6070. }
  6071. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6072. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6073. internal global::System.Data.SqlClient.SqlConnection Connection {
  6074. get {
  6075. if ((this._connection == null)) {
  6076. this.InitConnection();
  6077. }
  6078. return this._connection;
  6079. }
  6080. set {
  6081. this._connection = value;
  6082. if ((this.Adapter.InsertCommand != null)) {
  6083. this.Adapter.InsertCommand.Connection = value;
  6084. }
  6085. if ((this.Adapter.DeleteCommand != null)) {
  6086. this.Adapter.DeleteCommand.Connection = value;
  6087. }
  6088. if ((this.Adapter.UpdateCommand != null)) {
  6089. this.Adapter.UpdateCommand.Connection = value;
  6090. }
  6091. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6092. if ((this.CommandCollection[i] != null)) {
  6093. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6094. }
  6095. }
  6096. }
  6097. }
  6098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6099. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6100. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6101. get {
  6102. return this._transaction;
  6103. }
  6104. set {
  6105. this._transaction = value;
  6106. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6107. this.CommandCollection[i].Transaction = this._transaction;
  6108. }
  6109. if (((this.Adapter != null)
  6110. && (this.Adapter.DeleteCommand != null))) {
  6111. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6112. }
  6113. if (((this.Adapter != null)
  6114. && (this.Adapter.InsertCommand != null))) {
  6115. this.Adapter.InsertCommand.Transaction = this._transaction;
  6116. }
  6117. if (((this.Adapter != null)
  6118. && (this.Adapter.UpdateCommand != null))) {
  6119. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6120. }
  6121. }
  6122. }
  6123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6125. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6126. get {
  6127. if ((this._commandCollection == null)) {
  6128. this.InitCommandCollection();
  6129. }
  6130. return this._commandCollection;
  6131. }
  6132. }
  6133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6134. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6135. public bool ClearBeforeFill {
  6136. get {
  6137. return this._clearBeforeFill;
  6138. }
  6139. set {
  6140. this._clearBeforeFill = value;
  6141. }
  6142. }
  6143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6144. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6145. private void InitAdapter() {
  6146. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6147. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6148. tableMapping.SourceTable = "Table";
  6149. tableMapping.DataSetTable = "Запрос Студенты+Специальности";
  6150. tableMapping.ColumnMappings.Add("Наименование специальности", "Наименование специальности");
  6151. tableMapping.ColumnMappings.Add("Описание специальности", "Описание специальности");
  6152. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  6153. tableMapping.ColumnMappings.Add("Очная форма обучения", "Очная форма обучения");
  6154. tableMapping.ColumnMappings.Add("Курс", "Курс");
  6155. tableMapping.ColumnMappings.Add("Группа", "Группа");
  6156. tableMapping.ColumnMappings.Add("Дата поступления", "Дата поступления");
  6157. tableMapping.ColumnMappings.Add("Номер зачетки", "Номер зачетки");
  6158. tableMapping.ColumnMappings.Add("Паспортные данные", "Паспортные данные");
  6159. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  6160. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  6161. tableMapping.ColumnMappings.Add("Пол", "Пол");
  6162. tableMapping.ColumnMappings.Add("Родители", "Родители");
  6163. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  6164. this._adapter.TableMappings.Add(tableMapping);
  6165. }
  6166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6167. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6168. private void InitConnection() {
  6169. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6170. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  6171. }
  6172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6173. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6174. private void InitCommandCollection() {
  6175. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6176. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6177. this._commandCollection[0].Connection = this.Connection;
  6178. this._commandCollection[0].CommandText = "SELECT [Наименование специальности], [Описание специальности], [Дата рождения], [" +
  6179. "Очная форма обучения], Курс, Группа, [Дата поступления], [Номер зачетки], [Паспо" +
  6180. "ртные данные], Телефон, Адрес, Пол, Родители, ФИО FROM dbo.[Запрос Студенты+Спец" +
  6181. "иальности]";
  6182. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6183. }
  6184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6186. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6187. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6188. public virtual int Fill(_IS_31IvnitskiiStudDataSet._Запрос_Студенты_СпециальностиDataTable dataTable) {
  6189. this.Adapter.SelectCommand = this.CommandCollection[0];
  6190. if ((this.ClearBeforeFill == true)) {
  6191. dataTable.Clear();
  6192. }
  6193. int returnValue = this.Adapter.Fill(dataTable);
  6194. return returnValue;
  6195. }
  6196. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6197. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6198. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6199. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6200. public virtual _IS_31IvnitskiiStudDataSet._Запрос_Студенты_СпециальностиDataTable GetData() {
  6201. this.Adapter.SelectCommand = this.CommandCollection[0];
  6202. _IS_31IvnitskiiStudDataSet._Запрос_Студенты_СпециальностиDataTable dataTable = new _IS_31IvnitskiiStudDataSet._Запрос_Студенты_СпециальностиDataTable();
  6203. this.Adapter.Fill(dataTable);
  6204. return dataTable;
  6205. }
  6206. }
  6207. /// <summary>
  6208. ///Represents the connection and commands used to retrieve and save data.
  6209. ///</summary>
  6210. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6211. [global::System.ComponentModel.ToolboxItem(true)]
  6212. [global::System.ComponentModel.DataObjectAttribute(true)]
  6213. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6214. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6215. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6216. public partial class Отображение_студентов_по_ФИОTableAdapter : global::System.ComponentModel.Component {
  6217. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6218. private global::System.Data.SqlClient.SqlConnection _connection;
  6219. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6220. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6221. private bool _clearBeforeFill;
  6222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6223. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6224. public Отображение_студентов_по_ФИОTableAdapter() {
  6225. this.ClearBeforeFill = true;
  6226. }
  6227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6229. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6230. get {
  6231. if ((this._adapter == null)) {
  6232. this.InitAdapter();
  6233. }
  6234. return this._adapter;
  6235. }
  6236. }
  6237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6239. internal global::System.Data.SqlClient.SqlConnection Connection {
  6240. get {
  6241. if ((this._connection == null)) {
  6242. this.InitConnection();
  6243. }
  6244. return this._connection;
  6245. }
  6246. set {
  6247. this._connection = value;
  6248. if ((this.Adapter.InsertCommand != null)) {
  6249. this.Adapter.InsertCommand.Connection = value;
  6250. }
  6251. if ((this.Adapter.DeleteCommand != null)) {
  6252. this.Adapter.DeleteCommand.Connection = value;
  6253. }
  6254. if ((this.Adapter.UpdateCommand != null)) {
  6255. this.Adapter.UpdateCommand.Connection = value;
  6256. }
  6257. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6258. if ((this.CommandCollection[i] != null)) {
  6259. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6260. }
  6261. }
  6262. }
  6263. }
  6264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6266. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6267. get {
  6268. return this._transaction;
  6269. }
  6270. set {
  6271. this._transaction = value;
  6272. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6273. this.CommandCollection[i].Transaction = this._transaction;
  6274. }
  6275. if (((this.Adapter != null)
  6276. && (this.Adapter.DeleteCommand != null))) {
  6277. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6278. }
  6279. if (((this.Adapter != null)
  6280. && (this.Adapter.InsertCommand != null))) {
  6281. this.Adapter.InsertCommand.Transaction = this._transaction;
  6282. }
  6283. if (((this.Adapter != null)
  6284. && (this.Adapter.UpdateCommand != null))) {
  6285. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6286. }
  6287. }
  6288. }
  6289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6291. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6292. get {
  6293. if ((this._commandCollection == null)) {
  6294. this.InitCommandCollection();
  6295. }
  6296. return this._commandCollection;
  6297. }
  6298. }
  6299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6300. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6301. public bool ClearBeforeFill {
  6302. get {
  6303. return this._clearBeforeFill;
  6304. }
  6305. set {
  6306. this._clearBeforeFill = value;
  6307. }
  6308. }
  6309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6311. private void InitAdapter() {
  6312. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6313. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6314. tableMapping.SourceTable = "Table";
  6315. tableMapping.DataSetTable = "Отображение студентов по ФИО";
  6316. tableMapping.ColumnMappings.Add("Код студента", "Код студента");
  6317. tableMapping.ColumnMappings.Add("ФИО", "ФИО");
  6318. tableMapping.ColumnMappings.Add("Пол", "Пол");
  6319. tableMapping.ColumnMappings.Add("Родители", "Родители");
  6320. tableMapping.ColumnMappings.Add("Адрес", "Адрес");
  6321. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  6322. tableMapping.ColumnMappings.Add("Паспортные данные", "Паспортные данные");
  6323. tableMapping.ColumnMappings.Add("Номер зачетки", "Номер зачетки");
  6324. tableMapping.ColumnMappings.Add("Дата поступления", "Дата поступления");
  6325. tableMapping.ColumnMappings.Add("Группа", "Группа");
  6326. tableMapping.ColumnMappings.Add("Курс", "Курс");
  6327. tableMapping.ColumnMappings.Add("Код специальности", "Код специальности");
  6328. tableMapping.ColumnMappings.Add("Очная форма обучения", "Очная форма обучения");
  6329. tableMapping.ColumnMappings.Add("Дата рождения", "Дата рождения");
  6330. this._adapter.TableMappings.Add(tableMapping);
  6331. }
  6332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6333. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6334. private void InitConnection() {
  6335. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6336. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  6337. }
  6338. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6339. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6340. private void InitCommandCollection() {
  6341. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6342. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6343. this._commandCollection[0].Connection = this.Connection;
  6344. this._commandCollection[0].CommandText = "dbo.[Отображение студентов по ФИО]";
  6345. this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
  6346. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6347. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FIO", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6348. }
  6349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6350. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6351. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6352. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6353. public virtual int Fill(_IS_31IvnitskiiStudDataSet.Отображение_студентов_по_ФИОDataTable dataTable, string FIO) {
  6354. this.Adapter.SelectCommand = this.CommandCollection[0];
  6355. if ((FIO == null)) {
  6356. this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
  6357. }
  6358. else {
  6359. this.Adapter.SelectCommand.Parameters[1].Value = ((string)(FIO));
  6360. }
  6361. if ((this.ClearBeforeFill == true)) {
  6362. dataTable.Clear();
  6363. }
  6364. int returnValue = this.Adapter.Fill(dataTable);
  6365. return returnValue;
  6366. }
  6367. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6368. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6369. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6370. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6371. public virtual _IS_31IvnitskiiStudDataSet.Отображение_студентов_по_ФИОDataTable GetData(string FIO) {
  6372. this.Adapter.SelectCommand = this.CommandCollection[0];
  6373. if ((FIO == null)) {
  6374. this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
  6375. }
  6376. else {
  6377. this.Adapter.SelectCommand.Parameters[1].Value = ((string)(FIO));
  6378. }
  6379. _IS_31IvnitskiiStudDataSet.Отображение_студентов_по_ФИОDataTable dataTable = new _IS_31IvnitskiiStudDataSet.Отображение_студентов_по_ФИОDataTable();
  6380. this.Adapter.Fill(dataTable);
  6381. return dataTable;
  6382. }
  6383. }
  6384. /// <summary>
  6385. ///Represents the connection and commands used to retrieve and save data.
  6386. ///</summary>
  6387. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6388. [global::System.ComponentModel.ToolboxItem(true)]
  6389. [global::System.ComponentModel.DataObjectAttribute(true)]
  6390. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6391. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6392. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6393. public partial class Среднее_пяти_величинTableAdapter : global::System.ComponentModel.Component {
  6394. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6395. private global::System.Data.SqlClient.SqlConnection _connection;
  6396. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6397. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6398. private bool _clearBeforeFill;
  6399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6400. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6401. public Среднее_пяти_величинTableAdapter() {
  6402. this.ClearBeforeFill = true;
  6403. }
  6404. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6405. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6406. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6407. get {
  6408. if ((this._adapter == null)) {
  6409. this.InitAdapter();
  6410. }
  6411. return this._adapter;
  6412. }
  6413. }
  6414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6416. internal global::System.Data.SqlClient.SqlConnection Connection {
  6417. get {
  6418. if ((this._connection == null)) {
  6419. this.InitConnection();
  6420. }
  6421. return this._connection;
  6422. }
  6423. set {
  6424. this._connection = value;
  6425. if ((this.Adapter.InsertCommand != null)) {
  6426. this.Adapter.InsertCommand.Connection = value;
  6427. }
  6428. if ((this.Adapter.DeleteCommand != null)) {
  6429. this.Adapter.DeleteCommand.Connection = value;
  6430. }
  6431. if ((this.Adapter.UpdateCommand != null)) {
  6432. this.Adapter.UpdateCommand.Connection = value;
  6433. }
  6434. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6435. if ((this.CommandCollection[i] != null)) {
  6436. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6437. }
  6438. }
  6439. }
  6440. }
  6441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6442. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6443. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6444. get {
  6445. return this._transaction;
  6446. }
  6447. set {
  6448. this._transaction = value;
  6449. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6450. this.CommandCollection[i].Transaction = this._transaction;
  6451. }
  6452. if (((this.Adapter != null)
  6453. && (this.Adapter.DeleteCommand != null))) {
  6454. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6455. }
  6456. if (((this.Adapter != null)
  6457. && (this.Adapter.InsertCommand != null))) {
  6458. this.Adapter.InsertCommand.Transaction = this._transaction;
  6459. }
  6460. if (((this.Adapter != null)
  6461. && (this.Adapter.UpdateCommand != null))) {
  6462. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6463. }
  6464. }
  6465. }
  6466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6468. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6469. get {
  6470. if ((this._commandCollection == null)) {
  6471. this.InitCommandCollection();
  6472. }
  6473. return this._commandCollection;
  6474. }
  6475. }
  6476. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6478. public bool ClearBeforeFill {
  6479. get {
  6480. return this._clearBeforeFill;
  6481. }
  6482. set {
  6483. this._clearBeforeFill = value;
  6484. }
  6485. }
  6486. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6487. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6488. private void InitAdapter() {
  6489. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6490. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6491. tableMapping.SourceTable = "Table";
  6492. tableMapping.DataSetTable = "Среднее пяти величин";
  6493. tableMapping.ColumnMappings.Add("Среднее значение", "Среднее значение");
  6494. this._adapter.TableMappings.Add(tableMapping);
  6495. }
  6496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6498. private void InitConnection() {
  6499. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6500. this._connection.ConnectionString = global::IS31IvnitskiiStud.Properties.Settings.Default.IS_31IvnitskiiStudConnectionString;
  6501. }
  6502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6503. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6504. private void InitCommandCollection() {
  6505. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6506. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6507. this._commandCollection[0].Connection = this.Connection;
  6508. this._commandCollection[0].CommandText = "dbo.[Среднее пяти величин]";
  6509. this._commandCollection[0].CommandType = global::System.Data.CommandType.StoredProcedure;
  6510. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6511. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value1", global::System.Data.SqlDbType.Real, 4, global::System.Data.ParameterDirection.Input, 24, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6512. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value2", global::System.Data.SqlDbType.Real, 4, global::System.Data.ParameterDirection.Input, 24, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6513. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value3", global::System.Data.SqlDbType.Real, 4, global::System.Data.ParameterDirection.Input, 24, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6514. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value4", global::System.Data.SqlDbType.Real, 4, global::System.Data.ParameterDirection.Input, 24, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6515. this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Value5", global::System.Data.SqlDbType.Real, 4, global::System.Data.ParameterDirection.Input, 24, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  6516. }
  6517. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6518. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6519. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6520. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6521. public virtual int Fill(_IS_31IvnitskiiStudDataSet.Среднее_пяти_величинDataTable dataTable, global::System.Nullable<float> Value1, global::System.Nullable<float> Value2, global::System.Nullable<float> Value3, global::System.Nullable<float> Value4, global::System.Nullable<float> Value5) {
  6522. this.Adapter.SelectCommand = this.CommandCollection[0];
  6523. if ((Value1.HasValue == true)) {
  6524. this.Adapter.SelectCommand.Parameters[1].Value = ((float)(Value1.Value));
  6525. }
  6526. else {
  6527. this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
  6528. }
  6529. if ((Value2.HasValue == true)) {
  6530. this.Adapter.SelectCommand.Parameters[2].Value = ((float)(Value2.Value));
  6531. }
  6532. else {
  6533. this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
  6534. }
  6535. if ((Value3.HasValue == true)) {
  6536. this.Adapter.SelectCommand.Parameters[3].Value = ((float)(Value3.Value));
  6537. }
  6538. else {
  6539. this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
  6540. }
  6541. if ((Value4.HasValue == true)) {
  6542. this.Adapter.SelectCommand.Parameters[4].Value = ((float)(Value4.Value));
  6543. }
  6544. else {
  6545. this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
  6546. }
  6547. if ((Value5.HasValue == true)) {
  6548. this.Adapter.SelectCommand.Parameters[5].Value = ((float)(Value5.Value));
  6549. }
  6550. else {
  6551. this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
  6552. }
  6553. if ((this.ClearBeforeFill == true)) {
  6554. dataTable.Clear();
  6555. }
  6556. int returnValue = this.Adapter.Fill(dataTable);
  6557. return returnValue;
  6558. }
  6559. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6560. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6561. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6562. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6563. public virtual _IS_31IvnitskiiStudDataSet.Среднее_пяти_величинDataTable GetData(global::System.Nullable<float> Value1, global::System.Nullable<float> Value2, global::System.Nullable<float> Value3, global::System.Nullable<float> Value4, global::System.Nullable<float> Value5) {
  6564. this.Adapter.SelectCommand = this.CommandCollection[0];
  6565. if ((Value1.HasValue == true)) {
  6566. this.Adapter.SelectCommand.Parameters[1].Value = ((float)(Value1.Value));
  6567. }
  6568. else {
  6569. this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
  6570. }
  6571. if ((Value2.HasValue == true)) {
  6572. this.Adapter.SelectCommand.Parameters[2].Value = ((float)(Value2.Value));
  6573. }
  6574. else {
  6575. this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
  6576. }
  6577. if ((Value3.HasValue == true)) {
  6578. this.Adapter.SelectCommand.Parameters[3].Value = ((float)(Value3.Value));
  6579. }
  6580. else {
  6581. this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
  6582. }
  6583. if ((Value4.HasValue == true)) {
  6584. this.Adapter.SelectCommand.Parameters[4].Value = ((float)(Value4.Value));
  6585. }
  6586. else {
  6587. this.Adapter.SelectCommand.Parameters[4].Value = global::System.DBNull.Value;
  6588. }
  6589. if ((Value5.HasValue == true)) {
  6590. this.Adapter.SelectCommand.Parameters[5].Value = ((float)(Value5.Value));
  6591. }
  6592. else {
  6593. this.Adapter.SelectCommand.Parameters[5].Value = global::System.DBNull.Value;
  6594. }
  6595. _IS_31IvnitskiiStudDataSet.Среднее_пяти_величинDataTable dataTable = new _IS_31IvnitskiiStudDataSet.Среднее_пяти_величинDataTable();
  6596. this.Adapter.Fill(dataTable);
  6597. return dataTable;
  6598. }
  6599. }
  6600. /// <summary>
  6601. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  6602. ///</summary>
  6603. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6604. [global::System.ComponentModel.ToolboxItem(true)]
  6605. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  6606. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6607. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  6608. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  6609. private UpdateOrderOption _updateOrder;
  6610. private ОценкиTableAdapter _оценкиTableAdapter;
  6611. private ПредметыTableAdapter _предметыTableAdapter;
  6612. private СпециальностиTableAdapter _специальностиTableAdapter;
  6613. private СтудентыTableAdapter _студентыTableAdapter;
  6614. private bool _backupDataSetBeforeUpdate;
  6615. private global::System.Data.IDbConnection _connection;
  6616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6617. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6618. public UpdateOrderOption UpdateOrder {
  6619. get {
  6620. return this._updateOrder;
  6621. }
  6622. set {
  6623. this._updateOrder = value;
  6624. }
  6625. }
  6626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6628. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6629. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6630. "a", "System.Drawing.Design.UITypeEditor")]
  6631. public ОценкиTableAdapter ОценкиTableAdapter {
  6632. get {
  6633. return this._оценкиTableAdapter;
  6634. }
  6635. set {
  6636. this._оценкиTableAdapter = value;
  6637. }
  6638. }
  6639. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6640. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6641. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6642. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6643. "a", "System.Drawing.Design.UITypeEditor")]
  6644. public ПредметыTableAdapter ПредметыTableAdapter {
  6645. get {
  6646. return this._предметыTableAdapter;
  6647. }
  6648. set {
  6649. this._предметыTableAdapter = value;
  6650. }
  6651. }
  6652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6653. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6654. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6655. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6656. "a", "System.Drawing.Design.UITypeEditor")]
  6657. public СпециальностиTableAdapter СпециальностиTableAdapter {
  6658. get {
  6659. return this._специальностиTableAdapter;
  6660. }
  6661. set {
  6662. this._специальностиTableAdapter = value;
  6663. }
  6664. }
  6665. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6666. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6667. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6668. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6669. "a", "System.Drawing.Design.UITypeEditor")]
  6670. public СтудентыTableAdapter СтудентыTableAdapter {
  6671. get {
  6672. return this._студентыTableAdapter;
  6673. }
  6674. set {
  6675. this._студентыTableAdapter = value;
  6676. }
  6677. }
  6678. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6679. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6680. public bool BackupDataSetBeforeUpdate {
  6681. get {
  6682. return this._backupDataSetBeforeUpdate;
  6683. }
  6684. set {
  6685. this._backupDataSetBeforeUpdate = value;
  6686. }
  6687. }
  6688. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6689. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6690. [global::System.ComponentModel.Browsable(false)]
  6691. public global::System.Data.IDbConnection Connection {
  6692. get {
  6693. if ((this._connection != null)) {
  6694. return this._connection;
  6695. }
  6696. if (((this._оценкиTableAdapter != null)
  6697. && (this._оценкиTableAdapter.Connection != null))) {
  6698. return this._оценкиTableAdapter.Connection;
  6699. }
  6700. if (((this._предметыTableAdapter != null)
  6701. && (this._предметыTableAdapter.Connection != null))) {
  6702. return this._предметыTableAdapter.Connection;
  6703. }
  6704. if (((this._специальностиTableAdapter != null)
  6705. && (this._специальностиTableAdapter.Connection != null))) {
  6706. return this._специальностиTableAdapter.Connection;
  6707. }
  6708. if (((this._студентыTableAdapter != null)
  6709. && (this._студентыTableAdapter.Connection != null))) {
  6710. return this._студентыTableAdapter.Connection;
  6711. }
  6712. return null;
  6713. }
  6714. set {
  6715. this._connection = value;
  6716. }
  6717. }
  6718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6719. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6720. [global::System.ComponentModel.Browsable(false)]
  6721. public int TableAdapterInstanceCount {
  6722. get {
  6723. int count = 0;
  6724. if ((this._оценкиTableAdapter != null)) {
  6725. count = (count + 1);
  6726. }
  6727. if ((this._предметыTableAdapter != null)) {
  6728. count = (count + 1);
  6729. }
  6730. if ((this._специальностиTableAdapter != null)) {
  6731. count = (count + 1);
  6732. }
  6733. if ((this._студентыTableAdapter != null)) {
  6734. count = (count + 1);
  6735. }
  6736. return count;
  6737. }
  6738. }
  6739. /// <summary>
  6740. ///Update rows in top-down order.
  6741. ///</summary>
  6742. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6743. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6744. private int UpdateUpdatedRows(_IS_31IvnitskiiStudDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  6745. int result = 0;
  6746. if ((this._оценкиTableAdapter != null)) {
  6747. global::System.Data.DataRow[] updatedRows = dataSet.Оценки.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  6748. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  6749. if (((updatedRows != null)
  6750. && (0 < updatedRows.Length))) {
  6751. result = (result + this._оценкиTableAdapter.Update(updatedRows));
  6752. allChangedRows.AddRange(updatedRows);
  6753. }
  6754. }
  6755. if ((this._предметыTableAdapter != null)) {
  6756. global::System.Data.DataRow[] updatedRows = dataSet.Предметы.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  6757. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  6758. if (((updatedRows != null)
  6759. && (0 < updatedRows.Length))) {
  6760. result = (result + this._предметыTableAdapter.Update(updatedRows));
  6761. allChangedRows.AddRange(updatedRows);
  6762. }
  6763. }
  6764. if ((this._специальностиTableAdapter != null)) {
  6765. global::System.Data.DataRow[] updatedRows = dataSet.Специальности.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  6766. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  6767. if (((updatedRows != null)
  6768. && (0 < updatedRows.Length))) {
  6769. result = (result + this._специальностиTableAdapter.Update(updatedRows));
  6770. allChangedRows.AddRange(updatedRows);
  6771. }
  6772. }
  6773. if ((this._студентыTableAdapter != null)) {
  6774. global::System.Data.DataRow[] updatedRows = dataSet.Студенты.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  6775. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  6776. if (((updatedRows != null)
  6777. && (0 < updatedRows.Length))) {
  6778. result = (result + this._студентыTableAdapter.Update(updatedRows));
  6779. allChangedRows.AddRange(updatedRows);
  6780. }
  6781. }
  6782. return result;
  6783. }
  6784. /// <summary>
  6785. ///Insert rows in top-down order.
  6786. ///</summary>
  6787. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6788. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6789. private int UpdateInsertedRows(_IS_31IvnitskiiStudDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  6790. int result = 0;
  6791. if ((this._оценкиTableAdapter != null)) {
  6792. global::System.Data.DataRow[] addedRows = dataSet.Оценки.Select(null, null, global::System.Data.DataViewRowState.Added);
  6793. if (((addedRows != null)
  6794. && (0 < addedRows.Length))) {
  6795. result = (result + this._оценкиTableAdapter.Update(addedRows));
  6796. allAddedRows.AddRange(addedRows);
  6797. }
  6798. }
  6799. if ((this._предметыTableAdapter != null)) {
  6800. global::System.Data.DataRow[] addedRows = dataSet.Предметы.Select(null, null, global::System.Data.DataViewRowState.Added);
  6801. if (((addedRows != null)
  6802. && (0 < addedRows.Length))) {
  6803. result = (result + this._предметыTableAdapter.Update(addedRows));
  6804. allAddedRows.AddRange(addedRows);
  6805. }
  6806. }
  6807. if ((this._специальностиTableAdapter != null)) {
  6808. global::System.Data.DataRow[] addedRows = dataSet.Специальности.Select(null, null, global::System.Data.DataViewRowState.Added);
  6809. if (((addedRows != null)
  6810. && (0 < addedRows.Length))) {
  6811. result = (result + this._специальностиTableAdapter.Update(addedRows));
  6812. allAddedRows.AddRange(addedRows);
  6813. }
  6814. }
  6815. if ((this._студентыTableAdapter != null)) {
  6816. global::System.Data.DataRow[] addedRows = dataSet.Студенты.Select(null, null, global::System.Data.DataViewRowState.Added);
  6817. if (((addedRows != null)
  6818. && (0 < addedRows.Length))) {
  6819. result = (result + this._студентыTableAdapter.Update(addedRows));
  6820. allAddedRows.AddRange(addedRows);
  6821. }
  6822. }
  6823. return result;
  6824. }
  6825. /// <summary>
  6826. ///Delete rows in bottom-up order.
  6827. ///</summary>
  6828. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6829. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6830. private int UpdateDeletedRows(_IS_31IvnitskiiStudDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  6831. int result = 0;
  6832. if ((this._студентыTableAdapter != null)) {
  6833. global::System.Data.DataRow[] deletedRows = dataSet.Студенты.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  6834. if (((deletedRows != null)
  6835. && (0 < deletedRows.Length))) {
  6836. result = (result + this._студентыTableAdapter.Update(deletedRows));
  6837. allChangedRows.AddRange(deletedRows);
  6838. }
  6839. }
  6840. if ((this._специальностиTableAdapter != null)) {
  6841. global::System.Data.DataRow[] deletedRows = dataSet.Специальности.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  6842. if (((deletedRows != null)
  6843. && (0 < deletedRows.Length))) {
  6844. result = (result + this._специальностиTableAdapter.Update(deletedRows));
  6845. allChangedRows.AddRange(deletedRows);
  6846. }
  6847. }
  6848. if ((this._предметыTableAdapter != null)) {
  6849. global::System.Data.DataRow[] deletedRows = dataSet.Предметы.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  6850. if (((deletedRows != null)
  6851. && (0 < deletedRows.Length))) {
  6852. result = (result + this._предметыTableAdapter.Update(deletedRows));
  6853. allChangedRows.AddRange(deletedRows);
  6854. }
  6855. }
  6856. if ((this._оценкиTableAdapter != null)) {
  6857. global::System.Data.DataRow[] deletedRows = dataSet.Оценки.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  6858. if (((deletedRows != null)
  6859. && (0 < deletedRows.Length))) {
  6860. result = (result + this._оценкиTableAdapter.Update(deletedRows));
  6861. allChangedRows.AddRange(deletedRows);
  6862. }
  6863. }
  6864. return result;
  6865. }
  6866. /// <summary>
  6867. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  6868. ///</summary>
  6869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6870. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6871. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  6872. if (((updatedRows == null)
  6873. || (updatedRows.Length < 1))) {
  6874. return updatedRows;
  6875. }
  6876. if (((allAddedRows == null)
  6877. || (allAddedRows.Count < 1))) {
  6878. return updatedRows;
  6879. }
  6880. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  6881. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  6882. global::System.Data.DataRow row = updatedRows[i];
  6883. if ((allAddedRows.Contains(row) == false)) {
  6884. realUpdatedRows.Add(row);
  6885. }
  6886. }
  6887. return realUpdatedRows.ToArray();
  6888. }
  6889. /// <summary>
  6890. ///Update all changes to the dataset.
  6891. ///</summary>
  6892. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6893. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6894. public virtual int UpdateAll(_IS_31IvnitskiiStudDataSet dataSet) {
  6895. if ((dataSet == null)) {
  6896. throw new global::System.ArgumentNullException("dataSet");
  6897. }
  6898. if ((dataSet.HasChanges() == false)) {
  6899. return 0;
  6900. }
  6901. if (((this._оценкиTableAdapter != null)
  6902. && (this.MatchTableAdapterConnection(this._оценкиTableAdapter.Connection) == false))) {
  6903. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  6904. "r, должны использовать одинаковую строку подключения.");
  6905. }
  6906. if (((this._предметыTableAdapter != null)
  6907. && (this.MatchTableAdapterConnection(this._предметыTableAdapter.Connection) == false))) {
  6908. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  6909. "r, должны использовать одинаковую строку подключения.");
  6910. }
  6911. if (((this._специальностиTableAdapter != null)
  6912. && (this.MatchTableAdapterConnection(this._специальностиTableAdapter.Connection) == false))) {
  6913. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  6914. "r, должны использовать одинаковую строку подключения.");
  6915. }
  6916. if (((this._студентыTableAdapter != null)
  6917. && (this.MatchTableAdapterConnection(this._студентыTableAdapter.Connection) == false))) {
  6918. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  6919. "r, должны использовать одинаковую строку подключения.");
  6920. }
  6921. global::System.Data.IDbConnection workConnection = this.Connection;
  6922. if ((workConnection == null)) {
  6923. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  6924. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  6925. }
  6926. bool workConnOpened = false;
  6927. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  6928. == global::System.Data.ConnectionState.Broken)) {
  6929. workConnection.Close();
  6930. }
  6931. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  6932. workConnection.Open();
  6933. workConnOpened = true;
  6934. }
  6935. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  6936. if ((workTransaction == null)) {
  6937. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  6938. "и или текущее состояние не позволяет начать транзакцию.");
  6939. }
  6940. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  6941. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  6942. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  6943. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  6944. int result = 0;
  6945. global::System.Data.DataSet backupDataSet = null;
  6946. if (this.BackupDataSetBeforeUpdate) {
  6947. backupDataSet = new global::System.Data.DataSet();
  6948. backupDataSet.Merge(dataSet);
  6949. }
  6950. try {
  6951. // ---- Prepare for update -----------
  6952. //
  6953. if ((this._оценкиTableAdapter != null)) {
  6954. revertConnections.Add(this._оценкиTableAdapter, this._оценкиTableAdapter.Connection);
  6955. this._оценкиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  6956. this._оценкиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  6957. if (this._оценкиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  6958. this._оценкиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  6959. adaptersWithAcceptChangesDuringUpdate.Add(this._оценкиTableAdapter.Adapter);
  6960. }
  6961. }
  6962. if ((this._предметыTableAdapter != null)) {
  6963. revertConnections.Add(this._предметыTableAdapter, this._предметыTableAdapter.Connection);
  6964. this._предметыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  6965. this._предметыTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  6966. if (this._предметыTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  6967. this._предметыTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  6968. adaptersWithAcceptChangesDuringUpdate.Add(this._предметыTableAdapter.Adapter);
  6969. }
  6970. }
  6971. if ((this._специальностиTableAdapter != null)) {
  6972. revertConnections.Add(this._специальностиTableAdapter, this._специальностиTableAdapter.Connection);
  6973. this._специальностиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  6974. this._специальностиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  6975. if (this._специальностиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  6976. this._специальностиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  6977. adaptersWithAcceptChangesDuringUpdate.Add(this._специальностиTableAdapter.Adapter);
  6978. }
  6979. }
  6980. if ((this._студентыTableAdapter != null)) {
  6981. revertConnections.Add(this._студентыTableAdapter, this._студентыTableAdapter.Connection);
  6982. this._студентыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  6983. this._студентыTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  6984. if (this._студентыTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  6985. this._студентыTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  6986. adaptersWithAcceptChangesDuringUpdate.Add(this._студентыTableAdapter.Adapter);
  6987. }
  6988. }
  6989. //
  6990. //---- Perform updates -----------
  6991. //
  6992. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  6993. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  6994. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  6995. }
  6996. else {
  6997. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  6998. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  6999. }
  7000. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  7001. //
  7002. //---- Commit updates -----------
  7003. //
  7004. workTransaction.Commit();
  7005. if ((0 < allAddedRows.Count)) {
  7006. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  7007. allAddedRows.CopyTo(rows);
  7008. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  7009. global::System.Data.DataRow row = rows[i];
  7010. row.AcceptChanges();
  7011. }
  7012. }
  7013. if ((0 < allChangedRows.Count)) {
  7014. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  7015. allChangedRows.CopyTo(rows);
  7016. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  7017. global::System.Data.DataRow row = rows[i];
  7018. row.AcceptChanges();
  7019. }
  7020. }
  7021. }
  7022. catch (global::System.Exception ex) {
  7023. workTransaction.Rollback();
  7024. // ---- Restore the dataset -----------
  7025. if (this.BackupDataSetBeforeUpdate) {
  7026. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  7027. dataSet.Clear();
  7028. dataSet.Merge(backupDataSet);
  7029. }
  7030. else {
  7031. if ((0 < allAddedRows.Count)) {
  7032. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  7033. allAddedRows.CopyTo(rows);
  7034. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  7035. global::System.Data.DataRow row = rows[i];
  7036. row.AcceptChanges();
  7037. row.SetAdded();
  7038. }
  7039. }
  7040. }
  7041. throw ex;
  7042. }
  7043. finally {
  7044. if (workConnOpened) {
  7045. workConnection.Close();
  7046. }
  7047. if ((this._оценкиTableAdapter != null)) {
  7048. this._оценкиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._оценкиTableAdapter]));
  7049. this._оценкиTableAdapter.Transaction = null;
  7050. }
  7051. if ((this._предметыTableAdapter != null)) {
  7052. this._предметыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._предметыTableAdapter]));
  7053. this._предметыTableAdapter.Transaction = null;
  7054. }
  7055. if ((this._специальностиTableAdapter != null)) {
  7056. this._специальностиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._специальностиTableAdapter]));
  7057. this._специальностиTableAdapter.Transaction = null;
  7058. }
  7059. if ((this._студентыTableAdapter != null)) {
  7060. this._студентыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._студентыTableAdapter]));
  7061. this._студентыTableAdapter.Transaction = null;
  7062. }
  7063. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  7064. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  7065. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  7066. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  7067. global::System.Data.Common.DataAdapter adapter = adapters[i];
  7068. adapter.AcceptChangesDuringUpdate = true;
  7069. }
  7070. }
  7071. }
  7072. return result;
  7073. }
  7074. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7075. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7076. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  7077. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  7078. }
  7079. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7080. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7081. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  7082. if ((this._connection != null)) {
  7083. return true;
  7084. }
  7085. if (((this.Connection == null)
  7086. || (inputConnection == null))) {
  7087. return true;
  7088. }
  7089. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  7090. return true;
  7091. }
  7092. return false;
  7093. }
  7094. /// <summary>
  7095. ///Update Order Option
  7096. ///</summary>
  7097. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7098. public enum UpdateOrderOption {
  7099. InsertUpdateDelete = 0,
  7100. UpdateInsertDelete = 1,
  7101. }
  7102. /// <summary>
  7103. ///Used to sort self-referenced table's rows
  7104. ///</summary>
  7105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7106. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  7107. private global::System.Data.DataRelation _relation;
  7108. private int _childFirst;
  7109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7111. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  7112. this._relation = relation;
  7113. if (childFirst) {
  7114. this._childFirst = -1;
  7115. }
  7116. else {
  7117. this._childFirst = 1;
  7118. }
  7119. }
  7120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7121. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7122. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  7123. global::System.Diagnostics.Debug.Assert((row != null));
  7124. global::System.Data.DataRow root = row;
  7125. distance = 0;
  7126. 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>();
  7127. traversedRows[row] = row;
  7128. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  7129. for (
  7130. ; ((parent != null)
  7131. && (traversedRows.ContainsKey(parent) == false));
  7132. ) {
  7133. distance = (distance + 1);
  7134. root = parent;
  7135. traversedRows[parent] = parent;
  7136. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  7137. }
  7138. if ((distance == 0)) {
  7139. traversedRows.Clear();
  7140. traversedRows[row] = row;
  7141. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  7142. for (
  7143. ; ((parent != null)
  7144. && (traversedRows.ContainsKey(parent) == false));
  7145. ) {
  7146. distance = (distance + 1);
  7147. root = parent;
  7148. traversedRows[parent] = parent;
  7149. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  7150. }
  7151. }
  7152. return root;
  7153. }
  7154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7156. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  7157. if (object.ReferenceEquals(row1, row2)) {
  7158. return 0;
  7159. }
  7160. if ((row1 == null)) {
  7161. return -1;
  7162. }
  7163. if ((row2 == null)) {
  7164. return 1;
  7165. }
  7166. int distance1 = 0;
  7167. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  7168. int distance2 = 0;
  7169. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  7170. if (object.ReferenceEquals(root1, root2)) {
  7171. return (this._childFirst * distance1.CompareTo(distance2));
  7172. }
  7173. else {
  7174. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  7175. && (root2.Table != null)));
  7176. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  7177. return -1;
  7178. }
  7179. else {
  7180. return 1;
  7181. }
  7182. }
  7183. }
  7184. }
  7185. }
  7186. }
  7187. #pragma warning restore 1591