LebedenkoWorldSkillsDataSet.Designer.cs 327 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace Lebedenko_WS_Winforms {
  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("LebedenkoWorldSkillsDataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class LebedenkoWorldSkillsDataSet : global::System.Data.DataSet {
  22. private DataLoginDataTable tableDataLogin;
  23. private ДанныеОСтудентеDataTable tableДанныеОСтуденте;
  24. private ЭкзаменDataTable tableЭкзамен;
  25. private ЭкспертыDataTable tableЭксперты;
  26. private View_1DataTable tableView_1;
  27. private global::System.Data.DataRelation relationFK_Экзамен_ДанныеОСтуденте;
  28. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  29. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  30. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  31. public LebedenkoWorldSkillsDataSet() {
  32. this.BeginInit();
  33. this.InitClass();
  34. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  35. base.Tables.CollectionChanged += schemaChangedHandler;
  36. base.Relations.CollectionChanged += schemaChangedHandler;
  37. this.EndInit();
  38. }
  39. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  40. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  41. protected LebedenkoWorldSkillsDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  42. base(info, context, false) {
  43. if ((this.IsBinarySerialized(info, context) == true)) {
  44. this.InitVars(false);
  45. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  46. this.Tables.CollectionChanged += schemaChangedHandler1;
  47. this.Relations.CollectionChanged += schemaChangedHandler1;
  48. return;
  49. }
  50. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  51. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  52. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  53. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  54. if ((ds.Tables["DataLogin"] != null)) {
  55. base.Tables.Add(new DataLoginDataTable(ds.Tables["DataLogin"]));
  56. }
  57. if ((ds.Tables["ДанныеОСтуденте"] != null)) {
  58. base.Tables.Add(new ДанныеОСтудентеDataTable(ds.Tables["ДанныеОСтуденте"]));
  59. }
  60. if ((ds.Tables["Экзамен"] != null)) {
  61. base.Tables.Add(new ЭкзаменDataTable(ds.Tables["Экзамен"]));
  62. }
  63. if ((ds.Tables["Эксперты"] != null)) {
  64. base.Tables.Add(new ЭкспертыDataTable(ds.Tables["Эксперты"]));
  65. }
  66. if ((ds.Tables["View_1"] != null)) {
  67. base.Tables.Add(new View_1DataTable(ds.Tables["View_1"]));
  68. }
  69. this.DataSetName = ds.DataSetName;
  70. this.Prefix = ds.Prefix;
  71. this.Namespace = ds.Namespace;
  72. this.Locale = ds.Locale;
  73. this.CaseSensitive = ds.CaseSensitive;
  74. this.EnforceConstraints = ds.EnforceConstraints;
  75. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  76. this.InitVars();
  77. }
  78. else {
  79. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  80. }
  81. this.GetSerializationData(info, context);
  82. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  83. base.Tables.CollectionChanged += schemaChangedHandler;
  84. this.Relations.CollectionChanged += schemaChangedHandler;
  85. }
  86. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  87. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  88. [global::System.ComponentModel.Browsable(false)]
  89. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  90. public DataLoginDataTable DataLogin {
  91. get {
  92. return this.tableDataLogin;
  93. }
  94. }
  95. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  96. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  97. [global::System.ComponentModel.Browsable(false)]
  98. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  99. public ДанныеОСтудентеDataTable ДанныеОСтуденте {
  100. get {
  101. return this.tableДанныеОСтуденте;
  102. }
  103. }
  104. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  105. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  106. [global::System.ComponentModel.Browsable(false)]
  107. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  108. public ЭкзаменDataTable Экзамен {
  109. get {
  110. return this.tableЭкзамен;
  111. }
  112. }
  113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  115. [global::System.ComponentModel.Browsable(false)]
  116. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  117. public ЭкспертыDataTable Эксперты {
  118. get {
  119. return this.tableЭксперты;
  120. }
  121. }
  122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  123. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  124. [global::System.ComponentModel.Browsable(false)]
  125. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  126. public View_1DataTable View_1 {
  127. get {
  128. return this.tableView_1;
  129. }
  130. }
  131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  133. [global::System.ComponentModel.BrowsableAttribute(true)]
  134. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  135. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  136. get {
  137. return this._schemaSerializationMode;
  138. }
  139. set {
  140. this._schemaSerializationMode = value;
  141. }
  142. }
  143. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  144. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  145. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  146. public new global::System.Data.DataTableCollection Tables {
  147. get {
  148. return base.Tables;
  149. }
  150. }
  151. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  152. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  153. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  154. public new global::System.Data.DataRelationCollection Relations {
  155. get {
  156. return base.Relations;
  157. }
  158. }
  159. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  160. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  161. protected override void InitializeDerivedDataSet() {
  162. this.BeginInit();
  163. this.InitClass();
  164. this.EndInit();
  165. }
  166. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  167. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  168. public override global::System.Data.DataSet Clone() {
  169. LebedenkoWorldSkillsDataSet cln = ((LebedenkoWorldSkillsDataSet)(base.Clone()));
  170. cln.InitVars();
  171. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  172. return cln;
  173. }
  174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  176. protected override bool ShouldSerializeTables() {
  177. return false;
  178. }
  179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  181. protected override bool ShouldSerializeRelations() {
  182. return false;
  183. }
  184. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  186. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  187. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  188. this.Reset();
  189. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  190. ds.ReadXml(reader);
  191. if ((ds.Tables["DataLogin"] != null)) {
  192. base.Tables.Add(new DataLoginDataTable(ds.Tables["DataLogin"]));
  193. }
  194. if ((ds.Tables["ДанныеОСтуденте"] != null)) {
  195. base.Tables.Add(new ДанныеОСтудентеDataTable(ds.Tables["ДанныеОСтуденте"]));
  196. }
  197. if ((ds.Tables["Экзамен"] != null)) {
  198. base.Tables.Add(new ЭкзаменDataTable(ds.Tables["Экзамен"]));
  199. }
  200. if ((ds.Tables["Эксперты"] != null)) {
  201. base.Tables.Add(new ЭкспертыDataTable(ds.Tables["Эксперты"]));
  202. }
  203. if ((ds.Tables["View_1"] != null)) {
  204. base.Tables.Add(new View_1DataTable(ds.Tables["View_1"]));
  205. }
  206. this.DataSetName = ds.DataSetName;
  207. this.Prefix = ds.Prefix;
  208. this.Namespace = ds.Namespace;
  209. this.Locale = ds.Locale;
  210. this.CaseSensitive = ds.CaseSensitive;
  211. this.EnforceConstraints = ds.EnforceConstraints;
  212. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  213. this.InitVars();
  214. }
  215. else {
  216. this.ReadXml(reader);
  217. this.InitVars();
  218. }
  219. }
  220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  222. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  223. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  224. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  225. stream.Position = 0;
  226. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  227. }
  228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  230. internal void InitVars() {
  231. this.InitVars(true);
  232. }
  233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  234. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  235. internal void InitVars(bool initTable) {
  236. this.tableDataLogin = ((DataLoginDataTable)(base.Tables["DataLogin"]));
  237. if ((initTable == true)) {
  238. if ((this.tableDataLogin != null)) {
  239. this.tableDataLogin.InitVars();
  240. }
  241. }
  242. this.tableДанныеОСтуденте = ((ДанныеОСтудентеDataTable)(base.Tables["ДанныеОСтуденте"]));
  243. if ((initTable == true)) {
  244. if ((this.tableДанныеОСтуденте != null)) {
  245. this.tableДанныеОСтуденте.InitVars();
  246. }
  247. }
  248. this.tableЭкзамен = ((ЭкзаменDataTable)(base.Tables["Экзамен"]));
  249. if ((initTable == true)) {
  250. if ((this.tableЭкзамен != null)) {
  251. this.tableЭкзамен.InitVars();
  252. }
  253. }
  254. this.tableЭксперты = ((ЭкспертыDataTable)(base.Tables["Эксперты"]));
  255. if ((initTable == true)) {
  256. if ((this.tableЭксперты != null)) {
  257. this.tableЭксперты.InitVars();
  258. }
  259. }
  260. this.tableView_1 = ((View_1DataTable)(base.Tables["View_1"]));
  261. if ((initTable == true)) {
  262. if ((this.tableView_1 != null)) {
  263. this.tableView_1.InitVars();
  264. }
  265. }
  266. this.relationFK_Экзамен_ДанныеОСтуденте = this.Relations["FK_Экзамен_ДанныеОСтуденте"];
  267. }
  268. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  269. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  270. private void InitClass() {
  271. this.DataSetName = "LebedenkoWorldSkillsDataSet";
  272. this.Prefix = "";
  273. this.Namespace = "http://tempuri.org/LebedenkoWorldSkillsDataSet.xsd";
  274. this.EnforceConstraints = true;
  275. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  276. this.tableDataLogin = new DataLoginDataTable();
  277. base.Tables.Add(this.tableDataLogin);
  278. this.tableДанныеОСтуденте = new ДанныеОСтудентеDataTable();
  279. base.Tables.Add(this.tableДанныеОСтуденте);
  280. this.tableЭкзамен = new ЭкзаменDataTable();
  281. base.Tables.Add(this.tableЭкзамен);
  282. this.tableЭксперты = new ЭкспертыDataTable();
  283. base.Tables.Add(this.tableЭксперты);
  284. this.tableView_1 = new View_1DataTable();
  285. base.Tables.Add(this.tableView_1);
  286. this.relationFK_Экзамен_ДанныеОСтуденте = new global::System.Data.DataRelation("FK_Экзамен_ДанныеОСтуденте", new global::System.Data.DataColumn[] {
  287. this.tableДанныеОСтуденте.КодColumn}, new global::System.Data.DataColumn[] {
  288. this.tableЭкзамен.ID_ДанныеОСтудентеColumn}, false);
  289. this.Relations.Add(this.relationFK_Экзамен_ДанныеОСтуденте);
  290. }
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  292. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  293. private bool ShouldSerializeDataLogin() {
  294. return false;
  295. }
  296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  297. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  298. private bool ShouldSerializeДанныеОСтуденте() {
  299. return false;
  300. }
  301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  303. private bool ShouldSerializeЭкзамен() {
  304. return false;
  305. }
  306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  307. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  308. private bool ShouldSerializeЭксперты() {
  309. return false;
  310. }
  311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  313. private bool ShouldSerializeView_1() {
  314. return false;
  315. }
  316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  318. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  319. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  320. this.InitVars();
  321. }
  322. }
  323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  324. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  325. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  326. LebedenkoWorldSkillsDataSet ds = new LebedenkoWorldSkillsDataSet();
  327. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  328. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  329. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  330. any.Namespace = ds.Namespace;
  331. sequence.Items.Add(any);
  332. type.Particle = sequence;
  333. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  334. if (xs.Contains(dsSchema.TargetNamespace)) {
  335. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  336. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  337. try {
  338. global::System.Xml.Schema.XmlSchema schema = null;
  339. dsSchema.Write(s1);
  340. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  341. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  342. s2.SetLength(0);
  343. schema.Write(s2);
  344. if ((s1.Length == s2.Length)) {
  345. s1.Position = 0;
  346. s2.Position = 0;
  347. for (; ((s1.Position != s1.Length)
  348. && (s1.ReadByte() == s2.ReadByte())); ) {
  349. ;
  350. }
  351. if ((s1.Position == s1.Length)) {
  352. return type;
  353. }
  354. }
  355. }
  356. }
  357. finally {
  358. if ((s1 != null)) {
  359. s1.Close();
  360. }
  361. if ((s2 != null)) {
  362. s2.Close();
  363. }
  364. }
  365. }
  366. xs.Add(dsSchema);
  367. return type;
  368. }
  369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  370. public delegate void DataLoginRowChangeEventHandler(object sender, DataLoginRowChangeEvent e);
  371. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  372. public delegate void ДанныеОСтудентеRowChangeEventHandler(object sender, ДанныеОСтудентеRowChangeEvent e);
  373. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  374. public delegate void ЭкзаменRowChangeEventHandler(object sender, ЭкзаменRowChangeEvent e);
  375. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  376. public delegate void ЭкспертыRowChangeEventHandler(object sender, ЭкспертыRowChangeEvent e);
  377. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  378. public delegate void View_1RowChangeEventHandler(object sender, View_1RowChangeEvent e);
  379. /// <summary>
  380. ///Represents the strongly named DataTable class.
  381. ///</summary>
  382. [global::System.Serializable()]
  383. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  384. public partial class DataLoginDataTable : global::System.Data.TypedTableBase<DataLoginRow> {
  385. private global::System.Data.DataColumn columnLogin;
  386. private global::System.Data.DataColumn columnPassword;
  387. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  388. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  389. public DataLoginDataTable() {
  390. this.TableName = "DataLogin";
  391. this.BeginInit();
  392. this.InitClass();
  393. this.EndInit();
  394. }
  395. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  396. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  397. internal DataLoginDataTable(global::System.Data.DataTable table) {
  398. this.TableName = table.TableName;
  399. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  400. this.CaseSensitive = table.CaseSensitive;
  401. }
  402. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  403. this.Locale = table.Locale;
  404. }
  405. if ((table.Namespace != table.DataSet.Namespace)) {
  406. this.Namespace = table.Namespace;
  407. }
  408. this.Prefix = table.Prefix;
  409. this.MinimumCapacity = table.MinimumCapacity;
  410. }
  411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  412. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  413. protected DataLoginDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  414. base(info, context) {
  415. this.InitVars();
  416. }
  417. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  418. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  419. public global::System.Data.DataColumn LoginColumn {
  420. get {
  421. return this.columnLogin;
  422. }
  423. }
  424. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  426. public global::System.Data.DataColumn PasswordColumn {
  427. get {
  428. return this.columnPassword;
  429. }
  430. }
  431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  433. [global::System.ComponentModel.Browsable(false)]
  434. public int Count {
  435. get {
  436. return this.Rows.Count;
  437. }
  438. }
  439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  440. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  441. public DataLoginRow this[int index] {
  442. get {
  443. return ((DataLoginRow)(this.Rows[index]));
  444. }
  445. }
  446. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  447. public event DataLoginRowChangeEventHandler DataLoginRowChanging;
  448. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  449. public event DataLoginRowChangeEventHandler DataLoginRowChanged;
  450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  451. public event DataLoginRowChangeEventHandler DataLoginRowDeleting;
  452. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  453. public event DataLoginRowChangeEventHandler DataLoginRowDeleted;
  454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  456. public void AddDataLoginRow(DataLoginRow row) {
  457. this.Rows.Add(row);
  458. }
  459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  461. public DataLoginRow AddDataLoginRow(string Login, string Password) {
  462. DataLoginRow rowDataLoginRow = ((DataLoginRow)(this.NewRow()));
  463. object[] columnValuesArray = new object[] {
  464. Login,
  465. Password};
  466. rowDataLoginRow.ItemArray = columnValuesArray;
  467. this.Rows.Add(rowDataLoginRow);
  468. return rowDataLoginRow;
  469. }
  470. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  471. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  472. public override global::System.Data.DataTable Clone() {
  473. DataLoginDataTable cln = ((DataLoginDataTable)(base.Clone()));
  474. cln.InitVars();
  475. return cln;
  476. }
  477. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  478. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  479. protected override global::System.Data.DataTable CreateInstance() {
  480. return new DataLoginDataTable();
  481. }
  482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  483. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  484. internal void InitVars() {
  485. this.columnLogin = base.Columns["Login"];
  486. this.columnPassword = base.Columns["Password"];
  487. }
  488. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  489. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  490. private void InitClass() {
  491. this.columnLogin = new global::System.Data.DataColumn("Login", typeof(string), null, global::System.Data.MappingType.Element);
  492. base.Columns.Add(this.columnLogin);
  493. this.columnPassword = new global::System.Data.DataColumn("Password", typeof(string), null, global::System.Data.MappingType.Element);
  494. base.Columns.Add(this.columnPassword);
  495. this.columnLogin.MaxLength = 50;
  496. this.columnPassword.MaxLength = 50;
  497. }
  498. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  499. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  500. public DataLoginRow NewDataLoginRow() {
  501. return ((DataLoginRow)(this.NewRow()));
  502. }
  503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  504. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  505. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  506. return new DataLoginRow(builder);
  507. }
  508. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  509. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  510. protected override global::System.Type GetRowType() {
  511. return typeof(DataLoginRow);
  512. }
  513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  515. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  516. base.OnRowChanged(e);
  517. if ((this.DataLoginRowChanged != null)) {
  518. this.DataLoginRowChanged(this, new DataLoginRowChangeEvent(((DataLoginRow)(e.Row)), e.Action));
  519. }
  520. }
  521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  523. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  524. base.OnRowChanging(e);
  525. if ((this.DataLoginRowChanging != null)) {
  526. this.DataLoginRowChanging(this, new DataLoginRowChangeEvent(((DataLoginRow)(e.Row)), e.Action));
  527. }
  528. }
  529. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  530. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  531. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  532. base.OnRowDeleted(e);
  533. if ((this.DataLoginRowDeleted != null)) {
  534. this.DataLoginRowDeleted(this, new DataLoginRowChangeEvent(((DataLoginRow)(e.Row)), e.Action));
  535. }
  536. }
  537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  539. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  540. base.OnRowDeleting(e);
  541. if ((this.DataLoginRowDeleting != null)) {
  542. this.DataLoginRowDeleting(this, new DataLoginRowChangeEvent(((DataLoginRow)(e.Row)), e.Action));
  543. }
  544. }
  545. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  546. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  547. public void RemoveDataLoginRow(DataLoginRow row) {
  548. this.Rows.Remove(row);
  549. }
  550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  552. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  553. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  554. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  555. LebedenkoWorldSkillsDataSet ds = new LebedenkoWorldSkillsDataSet();
  556. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  557. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  558. any1.MinOccurs = new decimal(0);
  559. any1.MaxOccurs = decimal.MaxValue;
  560. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  561. sequence.Items.Add(any1);
  562. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  563. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  564. any2.MinOccurs = new decimal(1);
  565. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  566. sequence.Items.Add(any2);
  567. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  568. attribute1.Name = "namespace";
  569. attribute1.FixedValue = ds.Namespace;
  570. type.Attributes.Add(attribute1);
  571. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  572. attribute2.Name = "tableTypeName";
  573. attribute2.FixedValue = "DataLoginDataTable";
  574. type.Attributes.Add(attribute2);
  575. type.Particle = sequence;
  576. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  577. if (xs.Contains(dsSchema.TargetNamespace)) {
  578. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  579. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  580. try {
  581. global::System.Xml.Schema.XmlSchema schema = null;
  582. dsSchema.Write(s1);
  583. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  584. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  585. s2.SetLength(0);
  586. schema.Write(s2);
  587. if ((s1.Length == s2.Length)) {
  588. s1.Position = 0;
  589. s2.Position = 0;
  590. for (; ((s1.Position != s1.Length)
  591. && (s1.ReadByte() == s2.ReadByte())); ) {
  592. ;
  593. }
  594. if ((s1.Position == s1.Length)) {
  595. return type;
  596. }
  597. }
  598. }
  599. }
  600. finally {
  601. if ((s1 != null)) {
  602. s1.Close();
  603. }
  604. if ((s2 != null)) {
  605. s2.Close();
  606. }
  607. }
  608. }
  609. xs.Add(dsSchema);
  610. return type;
  611. }
  612. }
  613. /// <summary>
  614. ///Represents the strongly named DataTable class.
  615. ///</summary>
  616. [global::System.Serializable()]
  617. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  618. public partial class ДанныеОСтудентеDataTable : global::System.Data.TypedTableBase<ДанныеОСтудентеRow> {
  619. private global::System.Data.DataColumn columnКод;
  620. private global::System.Data.DataColumn columnИмя;
  621. private global::System.Data.DataColumn columnФамилия;
  622. private global::System.Data.DataColumn columnОтчество;
  623. private global::System.Data.DataColumn columnДата_Рождения;
  624. private global::System.Data.DataColumn columnГруппа;
  625. private global::System.Data.DataColumn columnТелефон;
  626. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  628. public ДанныеОСтудентеDataTable() {
  629. this.TableName = "ДанныеОСтуденте";
  630. this.BeginInit();
  631. this.InitClass();
  632. this.EndInit();
  633. }
  634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  636. internal ДанныеОСтудентеDataTable(global::System.Data.DataTable table) {
  637. this.TableName = table.TableName;
  638. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  639. this.CaseSensitive = table.CaseSensitive;
  640. }
  641. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  642. this.Locale = table.Locale;
  643. }
  644. if ((table.Namespace != table.DataSet.Namespace)) {
  645. this.Namespace = table.Namespace;
  646. }
  647. this.Prefix = table.Prefix;
  648. this.MinimumCapacity = table.MinimumCapacity;
  649. }
  650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  651. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  652. protected ДанныеОСтудентеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  653. base(info, context) {
  654. this.InitVars();
  655. }
  656. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  657. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  658. public global::System.Data.DataColumn КодColumn {
  659. get {
  660. return this.columnКод;
  661. }
  662. }
  663. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  664. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  665. public global::System.Data.DataColumn ИмяColumn {
  666. get {
  667. return this.columnИмя;
  668. }
  669. }
  670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  672. public global::System.Data.DataColumn ФамилияColumn {
  673. get {
  674. return this.columnФамилия;
  675. }
  676. }
  677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  678. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  679. public global::System.Data.DataColumn ОтчествоColumn {
  680. get {
  681. return this.columnОтчество;
  682. }
  683. }
  684. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  685. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  686. public global::System.Data.DataColumn Дата_РожденияColumn {
  687. get {
  688. return this.columnДата_Рождения;
  689. }
  690. }
  691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  693. public global::System.Data.DataColumn ГруппаColumn {
  694. get {
  695. return this.columnГруппа;
  696. }
  697. }
  698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  699. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  700. public global::System.Data.DataColumn ТелефонColumn {
  701. get {
  702. return this.columnТелефон;
  703. }
  704. }
  705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  707. [global::System.ComponentModel.Browsable(false)]
  708. public int Count {
  709. get {
  710. return this.Rows.Count;
  711. }
  712. }
  713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  714. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  715. public ДанныеОСтудентеRow this[int index] {
  716. get {
  717. return ((ДанныеОСтудентеRow)(this.Rows[index]));
  718. }
  719. }
  720. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  721. public event ДанныеОСтудентеRowChangeEventHandler ДанныеОСтудентеRowChanging;
  722. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  723. public event ДанныеОСтудентеRowChangeEventHandler ДанныеОСтудентеRowChanged;
  724. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  725. public event ДанныеОСтудентеRowChangeEventHandler ДанныеОСтудентеRowDeleting;
  726. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  727. public event ДанныеОСтудентеRowChangeEventHandler ДанныеОСтудентеRowDeleted;
  728. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  729. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  730. public void AddДанныеОСтудентеRow(ДанныеОСтудентеRow row) {
  731. this.Rows.Add(row);
  732. }
  733. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  734. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  735. public ДанныеОСтудентеRow AddДанныеОСтудентеRow(string Имя, string Фамилия, string Отчество, System.DateTime Дата_Рождения, string Группа, string Телефон) {
  736. ДанныеОСтудентеRow rowДанныеОСтудентеRow = ((ДанныеОСтудентеRow)(this.NewRow()));
  737. object[] columnValuesArray = new object[] {
  738. null,
  739. Имя,
  740. Фамилия,
  741. Отчество,
  742. Дата_Рождения,
  743. Группа,
  744. Телефон};
  745. rowДанныеОСтудентеRow.ItemArray = columnValuesArray;
  746. this.Rows.Add(rowДанныеОСтудентеRow);
  747. return rowДанныеОСтудентеRow;
  748. }
  749. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  750. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  751. public ДанныеОСтудентеRow FindByКод(int Код) {
  752. return ((ДанныеОСтудентеRow)(this.Rows.Find(new object[] {
  753. Код})));
  754. }
  755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  756. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  757. public override global::System.Data.DataTable Clone() {
  758. ДанныеОСтудентеDataTable cln = ((ДанныеОСтудентеDataTable)(base.Clone()));
  759. cln.InitVars();
  760. return cln;
  761. }
  762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  763. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  764. protected override global::System.Data.DataTable CreateInstance() {
  765. return new ДанныеОСтудентеDataTable();
  766. }
  767. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  768. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  769. internal void InitVars() {
  770. this.columnКод = base.Columns["Код"];
  771. this.columnИмя = base.Columns["Имя"];
  772. this.columnФамилия = base.Columns["Фамилия"];
  773. this.columnОтчество = base.Columns["Отчество"];
  774. this.columnДата_Рождения = base.Columns["Дата_Рождения"];
  775. this.columnГруппа = base.Columns["Группа"];
  776. this.columnТелефон = base.Columns["Телефон"];
  777. }
  778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  779. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  780. private void InitClass() {
  781. this.columnКод = new global::System.Data.DataColumn("Код", typeof(int), null, global::System.Data.MappingType.Element);
  782. base.Columns.Add(this.columnКод);
  783. this.columnИмя = new global::System.Data.DataColumn("Имя", typeof(string), null, global::System.Data.MappingType.Element);
  784. base.Columns.Add(this.columnИмя);
  785. this.columnФамилия = new global::System.Data.DataColumn("Фамилия", typeof(string), null, global::System.Data.MappingType.Element);
  786. base.Columns.Add(this.columnФамилия);
  787. this.columnОтчество = new global::System.Data.DataColumn("Отчество", typeof(string), null, global::System.Data.MappingType.Element);
  788. base.Columns.Add(this.columnОтчество);
  789. this.columnДата_Рождения = new global::System.Data.DataColumn("Дата_Рождения", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  790. base.Columns.Add(this.columnДата_Рождения);
  791. this.columnГруппа = new global::System.Data.DataColumn("Группа", typeof(string), null, global::System.Data.MappingType.Element);
  792. base.Columns.Add(this.columnГруппа);
  793. this.columnТелефон = new global::System.Data.DataColumn("Телефон", typeof(string), null, global::System.Data.MappingType.Element);
  794. base.Columns.Add(this.columnТелефон);
  795. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  796. this.columnКод}, true));
  797. this.columnКод.AutoIncrement = true;
  798. this.columnКод.AutoIncrementSeed = -1;
  799. this.columnКод.AutoIncrementStep = -1;
  800. this.columnКод.AllowDBNull = false;
  801. this.columnКод.ReadOnly = true;
  802. this.columnКод.Unique = true;
  803. this.columnИмя.AllowDBNull = false;
  804. this.columnИмя.MaxLength = 50;
  805. this.columnФамилия.AllowDBNull = false;
  806. this.columnФамилия.MaxLength = 50;
  807. this.columnОтчество.AllowDBNull = false;
  808. this.columnОтчество.MaxLength = 50;
  809. this.columnГруппа.MaxLength = 50;
  810. this.columnТелефон.MaxLength = 50;
  811. }
  812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  813. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  814. public ДанныеОСтудентеRow NewДанныеОСтудентеRow() {
  815. return ((ДанныеОСтудентеRow)(this.NewRow()));
  816. }
  817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  819. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  820. return new ДанныеОСтудентеRow(builder);
  821. }
  822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  823. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  824. protected override global::System.Type GetRowType() {
  825. return typeof(ДанныеОСтудентеRow);
  826. }
  827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  829. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  830. base.OnRowChanged(e);
  831. if ((this.ДанныеОСтудентеRowChanged != null)) {
  832. this.ДанныеОСтудентеRowChanged(this, new ДанныеОСтудентеRowChangeEvent(((ДанныеОСтудентеRow)(e.Row)), e.Action));
  833. }
  834. }
  835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  836. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  837. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  838. base.OnRowChanging(e);
  839. if ((this.ДанныеОСтудентеRowChanging != null)) {
  840. this.ДанныеОСтудентеRowChanging(this, new ДанныеОСтудентеRowChangeEvent(((ДанныеОСтудентеRow)(e.Row)), e.Action));
  841. }
  842. }
  843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  844. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  845. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  846. base.OnRowDeleted(e);
  847. if ((this.ДанныеОСтудентеRowDeleted != null)) {
  848. this.ДанныеОСтудентеRowDeleted(this, new ДанныеОСтудентеRowChangeEvent(((ДанныеОСтудентеRow)(e.Row)), e.Action));
  849. }
  850. }
  851. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  852. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  853. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  854. base.OnRowDeleting(e);
  855. if ((this.ДанныеОСтудентеRowDeleting != null)) {
  856. this.ДанныеОСтудентеRowDeleting(this, new ДанныеОСтудентеRowChangeEvent(((ДанныеОСтудентеRow)(e.Row)), e.Action));
  857. }
  858. }
  859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  860. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  861. public void RemoveДанныеОСтудентеRow(ДанныеОСтудентеRow row) {
  862. this.Rows.Remove(row);
  863. }
  864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  866. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  867. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  868. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  869. LebedenkoWorldSkillsDataSet ds = new LebedenkoWorldSkillsDataSet();
  870. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  871. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  872. any1.MinOccurs = new decimal(0);
  873. any1.MaxOccurs = decimal.MaxValue;
  874. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  875. sequence.Items.Add(any1);
  876. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  877. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  878. any2.MinOccurs = new decimal(1);
  879. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  880. sequence.Items.Add(any2);
  881. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  882. attribute1.Name = "namespace";
  883. attribute1.FixedValue = ds.Namespace;
  884. type.Attributes.Add(attribute1);
  885. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  886. attribute2.Name = "tableTypeName";
  887. attribute2.FixedValue = "ДанныеОСтудентеDataTable";
  888. type.Attributes.Add(attribute2);
  889. type.Particle = sequence;
  890. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  891. if (xs.Contains(dsSchema.TargetNamespace)) {
  892. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  893. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  894. try {
  895. global::System.Xml.Schema.XmlSchema schema = null;
  896. dsSchema.Write(s1);
  897. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  898. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  899. s2.SetLength(0);
  900. schema.Write(s2);
  901. if ((s1.Length == s2.Length)) {
  902. s1.Position = 0;
  903. s2.Position = 0;
  904. for (; ((s1.Position != s1.Length)
  905. && (s1.ReadByte() == s2.ReadByte())); ) {
  906. ;
  907. }
  908. if ((s1.Position == s1.Length)) {
  909. return type;
  910. }
  911. }
  912. }
  913. }
  914. finally {
  915. if ((s1 != null)) {
  916. s1.Close();
  917. }
  918. if ((s2 != null)) {
  919. s2.Close();
  920. }
  921. }
  922. }
  923. xs.Add(dsSchema);
  924. return type;
  925. }
  926. }
  927. /// <summary>
  928. ///Represents the strongly named DataTable class.
  929. ///</summary>
  930. [global::System.Serializable()]
  931. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  932. public partial class ЭкзаменDataTable : global::System.Data.TypedTableBase<ЭкзаменRow> {
  933. private global::System.Data.DataColumn columnКод;
  934. private global::System.Data.DataColumn columnНаименование;
  935. private global::System.Data.DataColumn columnДата_начала;
  936. private global::System.Data.DataColumn columnДата_окончания;
  937. private global::System.Data.DataColumn columnОценка;
  938. private global::System.Data.DataColumn columnID_ДанныеОСтуденте;
  939. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  940. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  941. public ЭкзаменDataTable() {
  942. this.TableName = "Экзамен";
  943. this.BeginInit();
  944. this.InitClass();
  945. this.EndInit();
  946. }
  947. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  948. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  949. internal ЭкзаменDataTable(global::System.Data.DataTable table) {
  950. this.TableName = table.TableName;
  951. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  952. this.CaseSensitive = table.CaseSensitive;
  953. }
  954. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  955. this.Locale = table.Locale;
  956. }
  957. if ((table.Namespace != table.DataSet.Namespace)) {
  958. this.Namespace = table.Namespace;
  959. }
  960. this.Prefix = table.Prefix;
  961. this.MinimumCapacity = table.MinimumCapacity;
  962. }
  963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  964. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  965. protected ЭкзаменDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  966. base(info, context) {
  967. this.InitVars();
  968. }
  969. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  970. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  971. public global::System.Data.DataColumn КодColumn {
  972. get {
  973. return this.columnКод;
  974. }
  975. }
  976. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  977. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  978. public global::System.Data.DataColumn НаименованиеColumn {
  979. get {
  980. return this.columnНаименование;
  981. }
  982. }
  983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  984. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  985. public global::System.Data.DataColumn Дата_началаColumn {
  986. get {
  987. return this.columnДата_начала;
  988. }
  989. }
  990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  991. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  992. public global::System.Data.DataColumn Дата_окончанияColumn {
  993. get {
  994. return this.columnДата_окончания;
  995. }
  996. }
  997. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  998. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  999. public global::System.Data.DataColumn ОценкаColumn {
  1000. get {
  1001. return this.columnОценка;
  1002. }
  1003. }
  1004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1006. public global::System.Data.DataColumn ID_ДанныеОСтудентеColumn {
  1007. get {
  1008. return this.columnID_ДанныеОСтуденте;
  1009. }
  1010. }
  1011. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1012. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1013. [global::System.ComponentModel.Browsable(false)]
  1014. public int Count {
  1015. get {
  1016. return this.Rows.Count;
  1017. }
  1018. }
  1019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1020. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1021. public ЭкзаменRow this[int index] {
  1022. get {
  1023. return ((ЭкзаменRow)(this.Rows[index]));
  1024. }
  1025. }
  1026. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1027. public event ЭкзаменRowChangeEventHandler ЭкзаменRowChanging;
  1028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1029. public event ЭкзаменRowChangeEventHandler ЭкзаменRowChanged;
  1030. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1031. public event ЭкзаменRowChangeEventHandler ЭкзаменRowDeleting;
  1032. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1033. public event ЭкзаменRowChangeEventHandler ЭкзаменRowDeleted;
  1034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1035. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1036. public void AddЭкзаменRow(ЭкзаменRow row) {
  1037. this.Rows.Add(row);
  1038. }
  1039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1040. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1041. public ЭкзаменRow AddЭкзаменRow(string Наименование, System.DateTime Дата_начала, System.DateTime Дата_окончания, int Оценка, ДанныеОСтудентеRow parentДанныеОСтудентеRowByFK_Экзамен_ДанныеОСтуденте) {
  1042. ЭкзаменRow rowЭкзаменRow = ((ЭкзаменRow)(this.NewRow()));
  1043. object[] columnValuesArray = new object[] {
  1044. null,
  1045. Наименование,
  1046. Дата_начала,
  1047. Дата_окончания,
  1048. Оценка,
  1049. null};
  1050. if ((parentДанныеОСтудентеRowByFK_Экзамен_ДанныеОСтуденте != null)) {
  1051. columnValuesArray[5] = parentДанныеОСтудентеRowByFK_Экзамен_ДанныеОСтуденте[0];
  1052. }
  1053. rowЭкзаменRow.ItemArray = columnValuesArray;
  1054. this.Rows.Add(rowЭкзаменRow);
  1055. return rowЭкзаменRow;
  1056. }
  1057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1058. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1059. public ЭкзаменRow FindByКод(int Код) {
  1060. return ((ЭкзаменRow)(this.Rows.Find(new object[] {
  1061. Код})));
  1062. }
  1063. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1064. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1065. public override global::System.Data.DataTable Clone() {
  1066. ЭкзаменDataTable cln = ((ЭкзаменDataTable)(base.Clone()));
  1067. cln.InitVars();
  1068. return cln;
  1069. }
  1070. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1071. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1072. protected override global::System.Data.DataTable CreateInstance() {
  1073. return new ЭкзаменDataTable();
  1074. }
  1075. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1076. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1077. internal void InitVars() {
  1078. this.columnКод = base.Columns["Код"];
  1079. this.columnНаименование = base.Columns["Наименование"];
  1080. this.columnДата_начала = base.Columns["Дата_начала"];
  1081. this.columnДата_окончания = base.Columns["Дата_окончания"];
  1082. this.columnОценка = base.Columns["Оценка"];
  1083. this.columnID_ДанныеОСтуденте = base.Columns["ID_ДанныеОСтуденте"];
  1084. }
  1085. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1086. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1087. private void InitClass() {
  1088. this.columnКод = new global::System.Data.DataColumn("Код", typeof(int), null, global::System.Data.MappingType.Element);
  1089. base.Columns.Add(this.columnКод);
  1090. this.columnНаименование = new global::System.Data.DataColumn("Наименование", typeof(string), null, global::System.Data.MappingType.Element);
  1091. base.Columns.Add(this.columnНаименование);
  1092. this.columnДата_начала = new global::System.Data.DataColumn("Дата_начала", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1093. base.Columns.Add(this.columnДата_начала);
  1094. this.columnДата_окончания = new global::System.Data.DataColumn("Дата_окончания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1095. base.Columns.Add(this.columnДата_окончания);
  1096. this.columnОценка = new global::System.Data.DataColumn("Оценка", typeof(int), null, global::System.Data.MappingType.Element);
  1097. base.Columns.Add(this.columnОценка);
  1098. this.columnID_ДанныеОСтуденте = new global::System.Data.DataColumn("ID_ДанныеОСтуденте", typeof(int), null, global::System.Data.MappingType.Element);
  1099. base.Columns.Add(this.columnID_ДанныеОСтуденте);
  1100. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1101. this.columnКод}, true));
  1102. this.columnКод.AutoIncrement = true;
  1103. this.columnКод.AutoIncrementSeed = -1;
  1104. this.columnКод.AutoIncrementStep = -1;
  1105. this.columnКод.AllowDBNull = false;
  1106. this.columnКод.ReadOnly = true;
  1107. this.columnКод.Unique = true;
  1108. this.columnНаименование.MaxLength = 50;
  1109. }
  1110. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1111. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1112. public ЭкзаменRow NewЭкзаменRow() {
  1113. return ((ЭкзаменRow)(this.NewRow()));
  1114. }
  1115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1116. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1117. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1118. return new ЭкзаменRow(builder);
  1119. }
  1120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1121. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1122. protected override global::System.Type GetRowType() {
  1123. return typeof(ЭкзаменRow);
  1124. }
  1125. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1126. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1127. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1128. base.OnRowChanged(e);
  1129. if ((this.ЭкзаменRowChanged != null)) {
  1130. this.ЭкзаменRowChanged(this, new ЭкзаменRowChangeEvent(((ЭкзаменRow)(e.Row)), e.Action));
  1131. }
  1132. }
  1133. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1134. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1135. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1136. base.OnRowChanging(e);
  1137. if ((this.ЭкзаменRowChanging != null)) {
  1138. this.ЭкзаменRowChanging(this, new ЭкзаменRowChangeEvent(((ЭкзаменRow)(e.Row)), e.Action));
  1139. }
  1140. }
  1141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1142. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1143. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1144. base.OnRowDeleted(e);
  1145. if ((this.ЭкзаменRowDeleted != null)) {
  1146. this.ЭкзаменRowDeleted(this, new ЭкзаменRowChangeEvent(((ЭкзаменRow)(e.Row)), e.Action));
  1147. }
  1148. }
  1149. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1150. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1151. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1152. base.OnRowDeleting(e);
  1153. if ((this.ЭкзаменRowDeleting != null)) {
  1154. this.ЭкзаменRowDeleting(this, new ЭкзаменRowChangeEvent(((ЭкзаменRow)(e.Row)), e.Action));
  1155. }
  1156. }
  1157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1159. public void RemoveЭкзаменRow(ЭкзаменRow row) {
  1160. this.Rows.Remove(row);
  1161. }
  1162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1163. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1164. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1165. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1166. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1167. LebedenkoWorldSkillsDataSet ds = new LebedenkoWorldSkillsDataSet();
  1168. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1169. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1170. any1.MinOccurs = new decimal(0);
  1171. any1.MaxOccurs = decimal.MaxValue;
  1172. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1173. sequence.Items.Add(any1);
  1174. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1175. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1176. any2.MinOccurs = new decimal(1);
  1177. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1178. sequence.Items.Add(any2);
  1179. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1180. attribute1.Name = "namespace";
  1181. attribute1.FixedValue = ds.Namespace;
  1182. type.Attributes.Add(attribute1);
  1183. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1184. attribute2.Name = "tableTypeName";
  1185. attribute2.FixedValue = "ЭкзаменDataTable";
  1186. type.Attributes.Add(attribute2);
  1187. type.Particle = sequence;
  1188. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1189. if (xs.Contains(dsSchema.TargetNamespace)) {
  1190. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1191. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1192. try {
  1193. global::System.Xml.Schema.XmlSchema schema = null;
  1194. dsSchema.Write(s1);
  1195. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1196. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1197. s2.SetLength(0);
  1198. schema.Write(s2);
  1199. if ((s1.Length == s2.Length)) {
  1200. s1.Position = 0;
  1201. s2.Position = 0;
  1202. for (; ((s1.Position != s1.Length)
  1203. && (s1.ReadByte() == s2.ReadByte())); ) {
  1204. ;
  1205. }
  1206. if ((s1.Position == s1.Length)) {
  1207. return type;
  1208. }
  1209. }
  1210. }
  1211. }
  1212. finally {
  1213. if ((s1 != null)) {
  1214. s1.Close();
  1215. }
  1216. if ((s2 != null)) {
  1217. s2.Close();
  1218. }
  1219. }
  1220. }
  1221. xs.Add(dsSchema);
  1222. return type;
  1223. }
  1224. }
  1225. /// <summary>
  1226. ///Represents the strongly named DataTable class.
  1227. ///</summary>
  1228. [global::System.Serializable()]
  1229. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1230. public partial class ЭкспертыDataTable : global::System.Data.TypedTableBase<ЭкспертыRow> {
  1231. private global::System.Data.DataColumn columnКод;
  1232. private global::System.Data.DataColumn columnИмя;
  1233. private global::System.Data.DataColumn columnФамилия;
  1234. private global::System.Data.DataColumn columnРоль;
  1235. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1236. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1237. public ЭкспертыDataTable() {
  1238. this.TableName = "Эксперты";
  1239. this.BeginInit();
  1240. this.InitClass();
  1241. this.EndInit();
  1242. }
  1243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1245. internal ЭкспертыDataTable(global::System.Data.DataTable table) {
  1246. this.TableName = table.TableName;
  1247. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1248. this.CaseSensitive = table.CaseSensitive;
  1249. }
  1250. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1251. this.Locale = table.Locale;
  1252. }
  1253. if ((table.Namespace != table.DataSet.Namespace)) {
  1254. this.Namespace = table.Namespace;
  1255. }
  1256. this.Prefix = table.Prefix;
  1257. this.MinimumCapacity = table.MinimumCapacity;
  1258. }
  1259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1261. protected ЭкспертыDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1262. base(info, context) {
  1263. this.InitVars();
  1264. }
  1265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1267. public global::System.Data.DataColumn КодColumn {
  1268. get {
  1269. return this.columnКод;
  1270. }
  1271. }
  1272. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1273. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1274. public global::System.Data.DataColumn ИмяColumn {
  1275. get {
  1276. return this.columnИмя;
  1277. }
  1278. }
  1279. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1280. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1281. public global::System.Data.DataColumn ФамилияColumn {
  1282. get {
  1283. return this.columnФамилия;
  1284. }
  1285. }
  1286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1288. public global::System.Data.DataColumn РольColumn {
  1289. get {
  1290. return this.columnРоль;
  1291. }
  1292. }
  1293. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1294. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1295. [global::System.ComponentModel.Browsable(false)]
  1296. public int Count {
  1297. get {
  1298. return this.Rows.Count;
  1299. }
  1300. }
  1301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1303. public ЭкспертыRow this[int index] {
  1304. get {
  1305. return ((ЭкспертыRow)(this.Rows[index]));
  1306. }
  1307. }
  1308. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1309. public event ЭкспертыRowChangeEventHandler ЭкспертыRowChanging;
  1310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1311. public event ЭкспертыRowChangeEventHandler ЭкспертыRowChanged;
  1312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1313. public event ЭкспертыRowChangeEventHandler ЭкспертыRowDeleting;
  1314. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1315. public event ЭкспертыRowChangeEventHandler ЭкспертыRowDeleted;
  1316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1318. public void AddЭкспертыRow(ЭкспертыRow row) {
  1319. this.Rows.Add(row);
  1320. }
  1321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1323. public ЭкспертыRow AddЭкспертыRow(string Имя, string Фамилия, string Роль) {
  1324. ЭкспертыRow rowЭкспертыRow = ((ЭкспертыRow)(this.NewRow()));
  1325. object[] columnValuesArray = new object[] {
  1326. null,
  1327. Имя,
  1328. Фамилия,
  1329. Роль};
  1330. rowЭкспертыRow.ItemArray = columnValuesArray;
  1331. this.Rows.Add(rowЭкспертыRow);
  1332. return rowЭкспертыRow;
  1333. }
  1334. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1335. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1336. public ЭкспертыRow FindByКод(int Код) {
  1337. return ((ЭкспертыRow)(this.Rows.Find(new object[] {
  1338. Код})));
  1339. }
  1340. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1341. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1342. public override global::System.Data.DataTable Clone() {
  1343. ЭкспертыDataTable cln = ((ЭкспертыDataTable)(base.Clone()));
  1344. cln.InitVars();
  1345. return cln;
  1346. }
  1347. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1348. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1349. protected override global::System.Data.DataTable CreateInstance() {
  1350. return new ЭкспертыDataTable();
  1351. }
  1352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1353. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1354. internal void InitVars() {
  1355. this.columnКод = base.Columns["Код"];
  1356. this.columnИмя = base.Columns["Имя"];
  1357. this.columnФамилия = base.Columns["Фамилия"];
  1358. this.columnРоль = base.Columns["Роль"];
  1359. }
  1360. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1361. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1362. private void InitClass() {
  1363. this.columnКод = new global::System.Data.DataColumn("Код", typeof(int), null, global::System.Data.MappingType.Element);
  1364. base.Columns.Add(this.columnКод);
  1365. this.columnИмя = new global::System.Data.DataColumn("Имя", typeof(string), null, global::System.Data.MappingType.Element);
  1366. base.Columns.Add(this.columnИмя);
  1367. this.columnФамилия = new global::System.Data.DataColumn("Фамилия", typeof(string), null, global::System.Data.MappingType.Element);
  1368. base.Columns.Add(this.columnФамилия);
  1369. this.columnРоль = new global::System.Data.DataColumn("Роль", typeof(string), null, global::System.Data.MappingType.Element);
  1370. base.Columns.Add(this.columnРоль);
  1371. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1372. this.columnКод}, true));
  1373. this.columnКод.AutoIncrement = true;
  1374. this.columnКод.AutoIncrementSeed = -1;
  1375. this.columnКод.AutoIncrementStep = -1;
  1376. this.columnКод.AllowDBNull = false;
  1377. this.columnКод.ReadOnly = true;
  1378. this.columnКод.Unique = true;
  1379. this.columnИмя.MaxLength = 50;
  1380. this.columnФамилия.MaxLength = 50;
  1381. this.columnРоль.MaxLength = 50;
  1382. }
  1383. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1384. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1385. public ЭкспертыRow NewЭкспертыRow() {
  1386. return ((ЭкспертыRow)(this.NewRow()));
  1387. }
  1388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1389. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1390. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1391. return new ЭкспертыRow(builder);
  1392. }
  1393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1395. protected override global::System.Type GetRowType() {
  1396. return typeof(ЭкспертыRow);
  1397. }
  1398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1399. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1400. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1401. base.OnRowChanged(e);
  1402. if ((this.ЭкспертыRowChanged != null)) {
  1403. this.ЭкспертыRowChanged(this, new ЭкспертыRowChangeEvent(((ЭкспертыRow)(e.Row)), e.Action));
  1404. }
  1405. }
  1406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1408. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1409. base.OnRowChanging(e);
  1410. if ((this.ЭкспертыRowChanging != null)) {
  1411. this.ЭкспертыRowChanging(this, new ЭкспертыRowChangeEvent(((ЭкспертыRow)(e.Row)), e.Action));
  1412. }
  1413. }
  1414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1416. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1417. base.OnRowDeleted(e);
  1418. if ((this.ЭкспертыRowDeleted != null)) {
  1419. this.ЭкспертыRowDeleted(this, new ЭкспертыRowChangeEvent(((ЭкспертыRow)(e.Row)), e.Action));
  1420. }
  1421. }
  1422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1424. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1425. base.OnRowDeleting(e);
  1426. if ((this.ЭкспертыRowDeleting != null)) {
  1427. this.ЭкспертыRowDeleting(this, new ЭкспертыRowChangeEvent(((ЭкспертыRow)(e.Row)), e.Action));
  1428. }
  1429. }
  1430. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1431. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1432. public void RemoveЭкспертыRow(ЭкспертыRow row) {
  1433. this.Rows.Remove(row);
  1434. }
  1435. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1436. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1437. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1438. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1439. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1440. LebedenkoWorldSkillsDataSet ds = new LebedenkoWorldSkillsDataSet();
  1441. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1442. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1443. any1.MinOccurs = new decimal(0);
  1444. any1.MaxOccurs = decimal.MaxValue;
  1445. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1446. sequence.Items.Add(any1);
  1447. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1448. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1449. any2.MinOccurs = new decimal(1);
  1450. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1451. sequence.Items.Add(any2);
  1452. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1453. attribute1.Name = "namespace";
  1454. attribute1.FixedValue = ds.Namespace;
  1455. type.Attributes.Add(attribute1);
  1456. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1457. attribute2.Name = "tableTypeName";
  1458. attribute2.FixedValue = "ЭкспертыDataTable";
  1459. type.Attributes.Add(attribute2);
  1460. type.Particle = sequence;
  1461. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1462. if (xs.Contains(dsSchema.TargetNamespace)) {
  1463. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1464. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1465. try {
  1466. global::System.Xml.Schema.XmlSchema schema = null;
  1467. dsSchema.Write(s1);
  1468. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1469. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1470. s2.SetLength(0);
  1471. schema.Write(s2);
  1472. if ((s1.Length == s2.Length)) {
  1473. s1.Position = 0;
  1474. s2.Position = 0;
  1475. for (; ((s1.Position != s1.Length)
  1476. && (s1.ReadByte() == s2.ReadByte())); ) {
  1477. ;
  1478. }
  1479. if ((s1.Position == s1.Length)) {
  1480. return type;
  1481. }
  1482. }
  1483. }
  1484. }
  1485. finally {
  1486. if ((s1 != null)) {
  1487. s1.Close();
  1488. }
  1489. if ((s2 != null)) {
  1490. s2.Close();
  1491. }
  1492. }
  1493. }
  1494. xs.Add(dsSchema);
  1495. return type;
  1496. }
  1497. }
  1498. /// <summary>
  1499. ///Represents the strongly named DataTable class.
  1500. ///</summary>
  1501. [global::System.Serializable()]
  1502. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1503. public partial class View_1DataTable : global::System.Data.TypedTableBase<View_1Row> {
  1504. private global::System.Data.DataColumn columnID_ДанныеОСтуденте;
  1505. private global::System.Data.DataColumn columnИмя;
  1506. private global::System.Data.DataColumn columnФамилия;
  1507. private global::System.Data.DataColumn columnОтчество;
  1508. private global::System.Data.DataColumn columnНаименование;
  1509. private global::System.Data.DataColumn columnДата_начала;
  1510. private global::System.Data.DataColumn columnДата_окончания;
  1511. private global::System.Data.DataColumn columnОценка;
  1512. private global::System.Data.DataColumn columnГруппа;
  1513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1515. public View_1DataTable() {
  1516. this.TableName = "View_1";
  1517. this.BeginInit();
  1518. this.InitClass();
  1519. this.EndInit();
  1520. }
  1521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1523. internal View_1DataTable(global::System.Data.DataTable table) {
  1524. this.TableName = table.TableName;
  1525. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1526. this.CaseSensitive = table.CaseSensitive;
  1527. }
  1528. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1529. this.Locale = table.Locale;
  1530. }
  1531. if ((table.Namespace != table.DataSet.Namespace)) {
  1532. this.Namespace = table.Namespace;
  1533. }
  1534. this.Prefix = table.Prefix;
  1535. this.MinimumCapacity = table.MinimumCapacity;
  1536. }
  1537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1539. protected View_1DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1540. base(info, context) {
  1541. this.InitVars();
  1542. }
  1543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1544. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1545. public global::System.Data.DataColumn ID_ДанныеОСтудентеColumn {
  1546. get {
  1547. return this.columnID_ДанныеОСтуденте;
  1548. }
  1549. }
  1550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1552. public global::System.Data.DataColumn ИмяColumn {
  1553. get {
  1554. return this.columnИмя;
  1555. }
  1556. }
  1557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1559. public global::System.Data.DataColumn ФамилияColumn {
  1560. get {
  1561. return this.columnФамилия;
  1562. }
  1563. }
  1564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1565. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1566. public global::System.Data.DataColumn ОтчествоColumn {
  1567. get {
  1568. return this.columnОтчество;
  1569. }
  1570. }
  1571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1572. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1573. public global::System.Data.DataColumn НаименованиеColumn {
  1574. get {
  1575. return this.columnНаименование;
  1576. }
  1577. }
  1578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1580. public global::System.Data.DataColumn Дата_началаColumn {
  1581. get {
  1582. return this.columnДата_начала;
  1583. }
  1584. }
  1585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1586. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1587. public global::System.Data.DataColumn Дата_окончанияColumn {
  1588. get {
  1589. return this.columnДата_окончания;
  1590. }
  1591. }
  1592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1593. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1594. public global::System.Data.DataColumn ОценкаColumn {
  1595. get {
  1596. return this.columnОценка;
  1597. }
  1598. }
  1599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1601. public global::System.Data.DataColumn ГруппаColumn {
  1602. get {
  1603. return this.columnГруппа;
  1604. }
  1605. }
  1606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1607. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1608. [global::System.ComponentModel.Browsable(false)]
  1609. public int Count {
  1610. get {
  1611. return this.Rows.Count;
  1612. }
  1613. }
  1614. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1615. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1616. public View_1Row this[int index] {
  1617. get {
  1618. return ((View_1Row)(this.Rows[index]));
  1619. }
  1620. }
  1621. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1622. public event View_1RowChangeEventHandler View_1RowChanging;
  1623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1624. public event View_1RowChangeEventHandler View_1RowChanged;
  1625. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1626. public event View_1RowChangeEventHandler View_1RowDeleting;
  1627. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1628. public event View_1RowChangeEventHandler View_1RowDeleted;
  1629. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1630. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1631. public void AddView_1Row(View_1Row row) {
  1632. this.Rows.Add(row);
  1633. }
  1634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1636. public View_1Row AddView_1Row(int ID_ДанныеОСтуденте, string Имя, string Фамилия, string Отчество, string Наименование, System.DateTime Дата_начала, System.DateTime Дата_окончания, int Оценка, string Группа) {
  1637. View_1Row rowView_1Row = ((View_1Row)(this.NewRow()));
  1638. object[] columnValuesArray = new object[] {
  1639. ID_ДанныеОСтуденте,
  1640. Имя,
  1641. Фамилия,
  1642. Отчество,
  1643. Наименование,
  1644. Дата_начала,
  1645. Дата_окончания,
  1646. Оценка,
  1647. Группа};
  1648. rowView_1Row.ItemArray = columnValuesArray;
  1649. this.Rows.Add(rowView_1Row);
  1650. return rowView_1Row;
  1651. }
  1652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1653. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1654. public override global::System.Data.DataTable Clone() {
  1655. View_1DataTable cln = ((View_1DataTable)(base.Clone()));
  1656. cln.InitVars();
  1657. return cln;
  1658. }
  1659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1661. protected override global::System.Data.DataTable CreateInstance() {
  1662. return new View_1DataTable();
  1663. }
  1664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1665. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1666. internal void InitVars() {
  1667. this.columnID_ДанныеОСтуденте = base.Columns["ID_ДанныеОСтуденте"];
  1668. this.columnИмя = base.Columns["Имя"];
  1669. this.columnФамилия = base.Columns["Фамилия"];
  1670. this.columnОтчество = base.Columns["Отчество"];
  1671. this.columnНаименование = base.Columns["Наименование"];
  1672. this.columnДата_начала = base.Columns["Дата_начала"];
  1673. this.columnДата_окончания = base.Columns["Дата_окончания"];
  1674. this.columnОценка = base.Columns["Оценка"];
  1675. this.columnГруппа = base.Columns["Группа"];
  1676. }
  1677. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1678. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1679. private void InitClass() {
  1680. this.columnID_ДанныеОСтуденте = new global::System.Data.DataColumn("ID_ДанныеОСтуденте", typeof(int), null, global::System.Data.MappingType.Element);
  1681. base.Columns.Add(this.columnID_ДанныеОСтуденте);
  1682. this.columnИмя = new global::System.Data.DataColumn("Имя", typeof(string), null, global::System.Data.MappingType.Element);
  1683. base.Columns.Add(this.columnИмя);
  1684. this.columnФамилия = new global::System.Data.DataColumn("Фамилия", typeof(string), null, global::System.Data.MappingType.Element);
  1685. base.Columns.Add(this.columnФамилия);
  1686. this.columnОтчество = new global::System.Data.DataColumn("Отчество", typeof(string), null, global::System.Data.MappingType.Element);
  1687. base.Columns.Add(this.columnОтчество);
  1688. this.columnНаименование = new global::System.Data.DataColumn("Наименование", typeof(string), null, global::System.Data.MappingType.Element);
  1689. base.Columns.Add(this.columnНаименование);
  1690. this.columnДата_начала = new global::System.Data.DataColumn("Дата_начала", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1691. base.Columns.Add(this.columnДата_начала);
  1692. this.columnДата_окончания = new global::System.Data.DataColumn("Дата_окончания", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1693. base.Columns.Add(this.columnДата_окончания);
  1694. this.columnОценка = new global::System.Data.DataColumn("Оценка", typeof(int), null, global::System.Data.MappingType.Element);
  1695. base.Columns.Add(this.columnОценка);
  1696. this.columnГруппа = new global::System.Data.DataColumn("Группа", typeof(string), null, global::System.Data.MappingType.Element);
  1697. base.Columns.Add(this.columnГруппа);
  1698. this.columnИмя.AllowDBNull = false;
  1699. this.columnИмя.MaxLength = 50;
  1700. this.columnФамилия.AllowDBNull = false;
  1701. this.columnФамилия.MaxLength = 50;
  1702. this.columnОтчество.AllowDBNull = false;
  1703. this.columnОтчество.MaxLength = 50;
  1704. this.columnНаименование.MaxLength = 50;
  1705. this.columnГруппа.MaxLength = 50;
  1706. }
  1707. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1709. public View_1Row NewView_1Row() {
  1710. return ((View_1Row)(this.NewRow()));
  1711. }
  1712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1714. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1715. return new View_1Row(builder);
  1716. }
  1717. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1718. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1719. protected override global::System.Type GetRowType() {
  1720. return typeof(View_1Row);
  1721. }
  1722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1724. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1725. base.OnRowChanged(e);
  1726. if ((this.View_1RowChanged != null)) {
  1727. this.View_1RowChanged(this, new View_1RowChangeEvent(((View_1Row)(e.Row)), e.Action));
  1728. }
  1729. }
  1730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1731. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1732. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1733. base.OnRowChanging(e);
  1734. if ((this.View_1RowChanging != null)) {
  1735. this.View_1RowChanging(this, new View_1RowChangeEvent(((View_1Row)(e.Row)), e.Action));
  1736. }
  1737. }
  1738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1739. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1740. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1741. base.OnRowDeleted(e);
  1742. if ((this.View_1RowDeleted != null)) {
  1743. this.View_1RowDeleted(this, new View_1RowChangeEvent(((View_1Row)(e.Row)), e.Action));
  1744. }
  1745. }
  1746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1748. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1749. base.OnRowDeleting(e);
  1750. if ((this.View_1RowDeleting != null)) {
  1751. this.View_1RowDeleting(this, new View_1RowChangeEvent(((View_1Row)(e.Row)), e.Action));
  1752. }
  1753. }
  1754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1755. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1756. public void RemoveView_1Row(View_1Row row) {
  1757. this.Rows.Remove(row);
  1758. }
  1759. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1760. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1761. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1762. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1763. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1764. LebedenkoWorldSkillsDataSet ds = new LebedenkoWorldSkillsDataSet();
  1765. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1766. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1767. any1.MinOccurs = new decimal(0);
  1768. any1.MaxOccurs = decimal.MaxValue;
  1769. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1770. sequence.Items.Add(any1);
  1771. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1772. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1773. any2.MinOccurs = new decimal(1);
  1774. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1775. sequence.Items.Add(any2);
  1776. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1777. attribute1.Name = "namespace";
  1778. attribute1.FixedValue = ds.Namespace;
  1779. type.Attributes.Add(attribute1);
  1780. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1781. attribute2.Name = "tableTypeName";
  1782. attribute2.FixedValue = "View_1DataTable";
  1783. type.Attributes.Add(attribute2);
  1784. type.Particle = sequence;
  1785. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1786. if (xs.Contains(dsSchema.TargetNamespace)) {
  1787. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1788. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1789. try {
  1790. global::System.Xml.Schema.XmlSchema schema = null;
  1791. dsSchema.Write(s1);
  1792. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1793. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1794. s2.SetLength(0);
  1795. schema.Write(s2);
  1796. if ((s1.Length == s2.Length)) {
  1797. s1.Position = 0;
  1798. s2.Position = 0;
  1799. for (; ((s1.Position != s1.Length)
  1800. && (s1.ReadByte() == s2.ReadByte())); ) {
  1801. ;
  1802. }
  1803. if ((s1.Position == s1.Length)) {
  1804. return type;
  1805. }
  1806. }
  1807. }
  1808. }
  1809. finally {
  1810. if ((s1 != null)) {
  1811. s1.Close();
  1812. }
  1813. if ((s2 != null)) {
  1814. s2.Close();
  1815. }
  1816. }
  1817. }
  1818. xs.Add(dsSchema);
  1819. return type;
  1820. }
  1821. }
  1822. /// <summary>
  1823. ///Represents strongly named DataRow class.
  1824. ///</summary>
  1825. public partial class DataLoginRow : global::System.Data.DataRow {
  1826. private DataLoginDataTable tableDataLogin;
  1827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1829. internal DataLoginRow(global::System.Data.DataRowBuilder rb) :
  1830. base(rb) {
  1831. this.tableDataLogin = ((DataLoginDataTable)(this.Table));
  1832. }
  1833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1835. public string Login {
  1836. get {
  1837. try {
  1838. return ((string)(this[this.tableDataLogin.LoginColumn]));
  1839. }
  1840. catch (global::System.InvalidCastException e) {
  1841. throw new global::System.Data.StrongTypingException("Значение для столбца \'Login\' в таблице \'DataLogin\' равно DBNull.", e);
  1842. }
  1843. }
  1844. set {
  1845. this[this.tableDataLogin.LoginColumn] = value;
  1846. }
  1847. }
  1848. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1849. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1850. public string Password {
  1851. get {
  1852. try {
  1853. return ((string)(this[this.tableDataLogin.PasswordColumn]));
  1854. }
  1855. catch (global::System.InvalidCastException e) {
  1856. throw new global::System.Data.StrongTypingException("Значение для столбца \'Password\' в таблице \'DataLogin\' равно DBNull.", e);
  1857. }
  1858. }
  1859. set {
  1860. this[this.tableDataLogin.PasswordColumn] = value;
  1861. }
  1862. }
  1863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1865. public bool IsLoginNull() {
  1866. return this.IsNull(this.tableDataLogin.LoginColumn);
  1867. }
  1868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1870. public void SetLoginNull() {
  1871. this[this.tableDataLogin.LoginColumn] = global::System.Convert.DBNull;
  1872. }
  1873. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1874. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1875. public bool IsPasswordNull() {
  1876. return this.IsNull(this.tableDataLogin.PasswordColumn);
  1877. }
  1878. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1879. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1880. public void SetPasswordNull() {
  1881. this[this.tableDataLogin.PasswordColumn] = global::System.Convert.DBNull;
  1882. }
  1883. }
  1884. /// <summary>
  1885. ///Represents strongly named DataRow class.
  1886. ///</summary>
  1887. public partial class ДанныеОСтудентеRow : global::System.Data.DataRow {
  1888. private ДанныеОСтудентеDataTable tableДанныеОСтуденте;
  1889. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1891. internal ДанныеОСтудентеRow(global::System.Data.DataRowBuilder rb) :
  1892. base(rb) {
  1893. this.tableДанныеОСтуденте = ((ДанныеОСтудентеDataTable)(this.Table));
  1894. }
  1895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1896. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1897. public int Код {
  1898. get {
  1899. return ((int)(this[this.tableДанныеОСтуденте.КодColumn]));
  1900. }
  1901. set {
  1902. this[this.tableДанныеОСтуденте.КодColumn] = value;
  1903. }
  1904. }
  1905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1906. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1907. public string Имя {
  1908. get {
  1909. return ((string)(this[this.tableДанныеОСтуденте.ИмяColumn]));
  1910. }
  1911. set {
  1912. this[this.tableДанныеОСтуденте.ИмяColumn] = value;
  1913. }
  1914. }
  1915. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1916. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1917. public string Фамилия {
  1918. get {
  1919. return ((string)(this[this.tableДанныеОСтуденте.ФамилияColumn]));
  1920. }
  1921. set {
  1922. this[this.tableДанныеОСтуденте.ФамилияColumn] = value;
  1923. }
  1924. }
  1925. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1926. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1927. public string Отчество {
  1928. get {
  1929. return ((string)(this[this.tableДанныеОСтуденте.ОтчествоColumn]));
  1930. }
  1931. set {
  1932. this[this.tableДанныеОСтуденте.ОтчествоColumn] = value;
  1933. }
  1934. }
  1935. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1936. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1937. public System.DateTime Дата_Рождения {
  1938. get {
  1939. try {
  1940. return ((global::System.DateTime)(this[this.tableДанныеОСтуденте.Дата_РожденияColumn]));
  1941. }
  1942. catch (global::System.InvalidCastException e) {
  1943. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата_Рождения\' в таблице \'ДанныеОСтуденте\' равно DBNull.", e);
  1944. }
  1945. }
  1946. set {
  1947. this[this.tableДанныеОСтуденте.Дата_РожденияColumn] = value;
  1948. }
  1949. }
  1950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1951. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1952. public string Группа {
  1953. get {
  1954. try {
  1955. return ((string)(this[this.tableДанныеОСтуденте.ГруппаColumn]));
  1956. }
  1957. catch (global::System.InvalidCastException e) {
  1958. throw new global::System.Data.StrongTypingException("Значение для столбца \'Группа\' в таблице \'ДанныеОСтуденте\' равно DBNull.", e);
  1959. }
  1960. }
  1961. set {
  1962. this[this.tableДанныеОСтуденте.ГруппаColumn] = value;
  1963. }
  1964. }
  1965. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1966. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1967. public string Телефон {
  1968. get {
  1969. try {
  1970. return ((string)(this[this.tableДанныеОСтуденте.ТелефонColumn]));
  1971. }
  1972. catch (global::System.InvalidCastException e) {
  1973. throw new global::System.Data.StrongTypingException("Значение для столбца \'Телефон\' в таблице \'ДанныеОСтуденте\' равно DBNull.", e);
  1974. }
  1975. }
  1976. set {
  1977. this[this.tableДанныеОСтуденте.ТелефонColumn] = value;
  1978. }
  1979. }
  1980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1981. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1982. public bool IsДата_РожденияNull() {
  1983. return this.IsNull(this.tableДанныеОСтуденте.Дата_РожденияColumn);
  1984. }
  1985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1987. public void SetДата_РожденияNull() {
  1988. this[this.tableДанныеОСтуденте.Дата_РожденияColumn] = global::System.Convert.DBNull;
  1989. }
  1990. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1991. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1992. public bool IsГруппаNull() {
  1993. return this.IsNull(this.tableДанныеОСтуденте.ГруппаColumn);
  1994. }
  1995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1996. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1997. public void SetГруппаNull() {
  1998. this[this.tableДанныеОСтуденте.ГруппаColumn] = global::System.Convert.DBNull;
  1999. }
  2000. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2001. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2002. public bool IsТелефонNull() {
  2003. return this.IsNull(this.tableДанныеОСтуденте.ТелефонColumn);
  2004. }
  2005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2006. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2007. public void SetТелефонNull() {
  2008. this[this.tableДанныеОСтуденте.ТелефонColumn] = global::System.Convert.DBNull;
  2009. }
  2010. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2011. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2012. public ЭкзаменRow[] GetЭкзаменRows() {
  2013. if ((this.Table.ChildRelations["FK_Экзамен_ДанныеОСтуденте"] == null)) {
  2014. return new ЭкзаменRow[0];
  2015. }
  2016. else {
  2017. return ((ЭкзаменRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Экзамен_ДанныеОСтуденте"])));
  2018. }
  2019. }
  2020. }
  2021. /// <summary>
  2022. ///Represents strongly named DataRow class.
  2023. ///</summary>
  2024. public partial class ЭкзаменRow : global::System.Data.DataRow {
  2025. private ЭкзаменDataTable tableЭкзамен;
  2026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2027. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2028. internal ЭкзаменRow(global::System.Data.DataRowBuilder rb) :
  2029. base(rb) {
  2030. this.tableЭкзамен = ((ЭкзаменDataTable)(this.Table));
  2031. }
  2032. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2033. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2034. public int Код {
  2035. get {
  2036. return ((int)(this[this.tableЭкзамен.КодColumn]));
  2037. }
  2038. set {
  2039. this[this.tableЭкзамен.КодColumn] = value;
  2040. }
  2041. }
  2042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2044. public string Наименование {
  2045. get {
  2046. try {
  2047. return ((string)(this[this.tableЭкзамен.НаименованиеColumn]));
  2048. }
  2049. catch (global::System.InvalidCastException e) {
  2050. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование\' в таблице \'Экзамен\' равно DBNull.", e);
  2051. }
  2052. }
  2053. set {
  2054. this[this.tableЭкзамен.НаименованиеColumn] = value;
  2055. }
  2056. }
  2057. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2058. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2059. public System.DateTime Дата_начала {
  2060. get {
  2061. try {
  2062. return ((global::System.DateTime)(this[this.tableЭкзамен.Дата_началаColumn]));
  2063. }
  2064. catch (global::System.InvalidCastException e) {
  2065. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата_начала\' в таблице \'Экзамен\' равно DBNull.", e);
  2066. }
  2067. }
  2068. set {
  2069. this[this.tableЭкзамен.Дата_началаColumn] = value;
  2070. }
  2071. }
  2072. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2073. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2074. public System.DateTime Дата_окончания {
  2075. get {
  2076. try {
  2077. return ((global::System.DateTime)(this[this.tableЭкзамен.Дата_окончанияColumn]));
  2078. }
  2079. catch (global::System.InvalidCastException e) {
  2080. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата_окончания\' в таблице \'Экзамен\' равно DBNull.", e);
  2081. }
  2082. }
  2083. set {
  2084. this[this.tableЭкзамен.Дата_окончанияColumn] = value;
  2085. }
  2086. }
  2087. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2088. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2089. public int Оценка {
  2090. get {
  2091. try {
  2092. return ((int)(this[this.tableЭкзамен.ОценкаColumn]));
  2093. }
  2094. catch (global::System.InvalidCastException e) {
  2095. throw new global::System.Data.StrongTypingException("Значение для столбца \'Оценка\' в таблице \'Экзамен\' равно DBNull.", e);
  2096. }
  2097. }
  2098. set {
  2099. this[this.tableЭкзамен.ОценкаColumn] = value;
  2100. }
  2101. }
  2102. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2103. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2104. public int ID_ДанныеОСтуденте {
  2105. get {
  2106. try {
  2107. return ((int)(this[this.tableЭкзамен.ID_ДанныеОСтудентеColumn]));
  2108. }
  2109. catch (global::System.InvalidCastException e) {
  2110. throw new global::System.Data.StrongTypingException("Значение для столбца \'ID_ДанныеОСтуденте\' в таблице \'Экзамен\' равно DBNull.", e);
  2111. }
  2112. }
  2113. set {
  2114. this[this.tableЭкзамен.ID_ДанныеОСтудентеColumn] = value;
  2115. }
  2116. }
  2117. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2118. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2119. public ДанныеОСтудентеRow ДанныеОСтудентеRow {
  2120. get {
  2121. return ((ДанныеОСтудентеRow)(this.GetParentRow(this.Table.ParentRelations["FK_Экзамен_ДанныеОСтуденте"])));
  2122. }
  2123. set {
  2124. this.SetParentRow(value, this.Table.ParentRelations["FK_Экзамен_ДанныеОСтуденте"]);
  2125. }
  2126. }
  2127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2128. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2129. public bool IsНаименованиеNull() {
  2130. return this.IsNull(this.tableЭкзамен.НаименованиеColumn);
  2131. }
  2132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2133. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2134. public void SetНаименованиеNull() {
  2135. this[this.tableЭкзамен.НаименованиеColumn] = global::System.Convert.DBNull;
  2136. }
  2137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2139. public bool IsДата_началаNull() {
  2140. return this.IsNull(this.tableЭкзамен.Дата_началаColumn);
  2141. }
  2142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2143. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2144. public void SetДата_началаNull() {
  2145. this[this.tableЭкзамен.Дата_началаColumn] = global::System.Convert.DBNull;
  2146. }
  2147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2149. public bool IsДата_окончанияNull() {
  2150. return this.IsNull(this.tableЭкзамен.Дата_окончанияColumn);
  2151. }
  2152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2153. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2154. public void SetДата_окончанияNull() {
  2155. this[this.tableЭкзамен.Дата_окончанияColumn] = global::System.Convert.DBNull;
  2156. }
  2157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2159. public bool IsОценкаNull() {
  2160. return this.IsNull(this.tableЭкзамен.ОценкаColumn);
  2161. }
  2162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2163. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2164. public void SetОценкаNull() {
  2165. this[this.tableЭкзамен.ОценкаColumn] = global::System.Convert.DBNull;
  2166. }
  2167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2169. public bool IsID_ДанныеОСтудентеNull() {
  2170. return this.IsNull(this.tableЭкзамен.ID_ДанныеОСтудентеColumn);
  2171. }
  2172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2173. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2174. public void SetID_ДанныеОСтудентеNull() {
  2175. this[this.tableЭкзамен.ID_ДанныеОСтудентеColumn] = global::System.Convert.DBNull;
  2176. }
  2177. }
  2178. /// <summary>
  2179. ///Represents strongly named DataRow class.
  2180. ///</summary>
  2181. public partial class ЭкспертыRow : global::System.Data.DataRow {
  2182. private ЭкспертыDataTable tableЭксперты;
  2183. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2184. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2185. internal ЭкспертыRow(global::System.Data.DataRowBuilder rb) :
  2186. base(rb) {
  2187. this.tableЭксперты = ((ЭкспертыDataTable)(this.Table));
  2188. }
  2189. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2190. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2191. public int Код {
  2192. get {
  2193. return ((int)(this[this.tableЭксперты.КодColumn]));
  2194. }
  2195. set {
  2196. this[this.tableЭксперты.КодColumn] = value;
  2197. }
  2198. }
  2199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2201. public string Имя {
  2202. get {
  2203. try {
  2204. return ((string)(this[this.tableЭксперты.ИмяColumn]));
  2205. }
  2206. catch (global::System.InvalidCastException e) {
  2207. throw new global::System.Data.StrongTypingException("Значение для столбца \'Имя\' в таблице \'Эксперты\' равно DBNull.", e);
  2208. }
  2209. }
  2210. set {
  2211. this[this.tableЭксперты.ИмяColumn] = value;
  2212. }
  2213. }
  2214. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2215. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2216. public string Фамилия {
  2217. get {
  2218. try {
  2219. return ((string)(this[this.tableЭксперты.ФамилияColumn]));
  2220. }
  2221. catch (global::System.InvalidCastException e) {
  2222. throw new global::System.Data.StrongTypingException("Значение для столбца \'Фамилия\' в таблице \'Эксперты\' равно DBNull.", e);
  2223. }
  2224. }
  2225. set {
  2226. this[this.tableЭксперты.ФамилияColumn] = value;
  2227. }
  2228. }
  2229. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2230. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2231. public string Роль {
  2232. get {
  2233. try {
  2234. return ((string)(this[this.tableЭксперты.РольColumn]));
  2235. }
  2236. catch (global::System.InvalidCastException e) {
  2237. throw new global::System.Data.StrongTypingException("Значение для столбца \'Роль\' в таблице \'Эксперты\' равно DBNull.", e);
  2238. }
  2239. }
  2240. set {
  2241. this[this.tableЭксперты.РольColumn] = value;
  2242. }
  2243. }
  2244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2246. public bool IsИмяNull() {
  2247. return this.IsNull(this.tableЭксперты.ИмяColumn);
  2248. }
  2249. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2250. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2251. public void SetИмяNull() {
  2252. this[this.tableЭксперты.ИмяColumn] = global::System.Convert.DBNull;
  2253. }
  2254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2255. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2256. public bool IsФамилияNull() {
  2257. return this.IsNull(this.tableЭксперты.ФамилияColumn);
  2258. }
  2259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2261. public void SetФамилияNull() {
  2262. this[this.tableЭксперты.ФамилияColumn] = global::System.Convert.DBNull;
  2263. }
  2264. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2265. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2266. public bool IsРольNull() {
  2267. return this.IsNull(this.tableЭксперты.РольColumn);
  2268. }
  2269. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2270. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2271. public void SetРольNull() {
  2272. this[this.tableЭксперты.РольColumn] = global::System.Convert.DBNull;
  2273. }
  2274. }
  2275. /// <summary>
  2276. ///Represents strongly named DataRow class.
  2277. ///</summary>
  2278. public partial class View_1Row : global::System.Data.DataRow {
  2279. private View_1DataTable tableView_1;
  2280. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2281. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2282. internal View_1Row(global::System.Data.DataRowBuilder rb) :
  2283. base(rb) {
  2284. this.tableView_1 = ((View_1DataTable)(this.Table));
  2285. }
  2286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2288. public int ID_ДанныеОСтуденте {
  2289. get {
  2290. try {
  2291. return ((int)(this[this.tableView_1.ID_ДанныеОСтудентеColumn]));
  2292. }
  2293. catch (global::System.InvalidCastException e) {
  2294. throw new global::System.Data.StrongTypingException("Значение для столбца \'ID_ДанныеОСтуденте\' в таблице \'View_1\' равно DBNull.", e);
  2295. }
  2296. }
  2297. set {
  2298. this[this.tableView_1.ID_ДанныеОСтудентеColumn] = value;
  2299. }
  2300. }
  2301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2303. public string Имя {
  2304. get {
  2305. return ((string)(this[this.tableView_1.ИмяColumn]));
  2306. }
  2307. set {
  2308. this[this.tableView_1.ИмяColumn] = value;
  2309. }
  2310. }
  2311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2313. public string Фамилия {
  2314. get {
  2315. return ((string)(this[this.tableView_1.ФамилияColumn]));
  2316. }
  2317. set {
  2318. this[this.tableView_1.ФамилияColumn] = value;
  2319. }
  2320. }
  2321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2323. public string Отчество {
  2324. get {
  2325. return ((string)(this[this.tableView_1.ОтчествоColumn]));
  2326. }
  2327. set {
  2328. this[this.tableView_1.ОтчествоColumn] = value;
  2329. }
  2330. }
  2331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2333. public string Наименование {
  2334. get {
  2335. try {
  2336. return ((string)(this[this.tableView_1.НаименованиеColumn]));
  2337. }
  2338. catch (global::System.InvalidCastException e) {
  2339. throw new global::System.Data.StrongTypingException("Значение для столбца \'Наименование\' в таблице \'View_1\' равно DBNull.", e);
  2340. }
  2341. }
  2342. set {
  2343. this[this.tableView_1.НаименованиеColumn] = value;
  2344. }
  2345. }
  2346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2347. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2348. public System.DateTime Дата_начала {
  2349. get {
  2350. try {
  2351. return ((global::System.DateTime)(this[this.tableView_1.Дата_началаColumn]));
  2352. }
  2353. catch (global::System.InvalidCastException e) {
  2354. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата_начала\' в таблице \'View_1\' равно DBNull.", e);
  2355. }
  2356. }
  2357. set {
  2358. this[this.tableView_1.Дата_началаColumn] = value;
  2359. }
  2360. }
  2361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2362. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2363. public System.DateTime Дата_окончания {
  2364. get {
  2365. try {
  2366. return ((global::System.DateTime)(this[this.tableView_1.Дата_окончанияColumn]));
  2367. }
  2368. catch (global::System.InvalidCastException e) {
  2369. throw new global::System.Data.StrongTypingException("Значение для столбца \'Дата_окончания\' в таблице \'View_1\' равно DBNull.", e);
  2370. }
  2371. }
  2372. set {
  2373. this[this.tableView_1.Дата_окончанияColumn] = value;
  2374. }
  2375. }
  2376. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2377. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2378. public int Оценка {
  2379. get {
  2380. try {
  2381. return ((int)(this[this.tableView_1.ОценкаColumn]));
  2382. }
  2383. catch (global::System.InvalidCastException e) {
  2384. throw new global::System.Data.StrongTypingException("Значение для столбца \'Оценка\' в таблице \'View_1\' равно DBNull.", e);
  2385. }
  2386. }
  2387. set {
  2388. this[this.tableView_1.ОценкаColumn] = value;
  2389. }
  2390. }
  2391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2392. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2393. public string Группа {
  2394. get {
  2395. try {
  2396. return ((string)(this[this.tableView_1.ГруппаColumn]));
  2397. }
  2398. catch (global::System.InvalidCastException e) {
  2399. throw new global::System.Data.StrongTypingException("Значение для столбца \'Группа\' в таблице \'View_1\' равно DBNull.", e);
  2400. }
  2401. }
  2402. set {
  2403. this[this.tableView_1.ГруппаColumn] = value;
  2404. }
  2405. }
  2406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2408. public bool IsID_ДанныеОСтудентеNull() {
  2409. return this.IsNull(this.tableView_1.ID_ДанныеОСтудентеColumn);
  2410. }
  2411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2412. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2413. public void SetID_ДанныеОСтудентеNull() {
  2414. this[this.tableView_1.ID_ДанныеОСтудентеColumn] = global::System.Convert.DBNull;
  2415. }
  2416. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2417. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2418. public bool IsНаименованиеNull() {
  2419. return this.IsNull(this.tableView_1.НаименованиеColumn);
  2420. }
  2421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2422. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2423. public void SetНаименованиеNull() {
  2424. this[this.tableView_1.НаименованиеColumn] = global::System.Convert.DBNull;
  2425. }
  2426. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2427. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2428. public bool IsДата_началаNull() {
  2429. return this.IsNull(this.tableView_1.Дата_началаColumn);
  2430. }
  2431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2433. public void SetДата_началаNull() {
  2434. this[this.tableView_1.Дата_началаColumn] = global::System.Convert.DBNull;
  2435. }
  2436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2438. public bool IsДата_окончанияNull() {
  2439. return this.IsNull(this.tableView_1.Дата_окончанияColumn);
  2440. }
  2441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2442. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2443. public void SetДата_окончанияNull() {
  2444. this[this.tableView_1.Дата_окончанияColumn] = global::System.Convert.DBNull;
  2445. }
  2446. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2447. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2448. public bool IsОценкаNull() {
  2449. return this.IsNull(this.tableView_1.ОценкаColumn);
  2450. }
  2451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2452. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2453. public void SetОценкаNull() {
  2454. this[this.tableView_1.ОценкаColumn] = global::System.Convert.DBNull;
  2455. }
  2456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2458. public bool IsГруппаNull() {
  2459. return this.IsNull(this.tableView_1.ГруппаColumn);
  2460. }
  2461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2462. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2463. public void SetГруппаNull() {
  2464. this[this.tableView_1.ГруппаColumn] = global::System.Convert.DBNull;
  2465. }
  2466. }
  2467. /// <summary>
  2468. ///Row event argument class
  2469. ///</summary>
  2470. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2471. public class DataLoginRowChangeEvent : global::System.EventArgs {
  2472. private DataLoginRow eventRow;
  2473. private global::System.Data.DataRowAction eventAction;
  2474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2476. public DataLoginRowChangeEvent(DataLoginRow row, global::System.Data.DataRowAction action) {
  2477. this.eventRow = row;
  2478. this.eventAction = action;
  2479. }
  2480. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2481. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2482. public DataLoginRow Row {
  2483. get {
  2484. return this.eventRow;
  2485. }
  2486. }
  2487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2488. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2489. public global::System.Data.DataRowAction Action {
  2490. get {
  2491. return this.eventAction;
  2492. }
  2493. }
  2494. }
  2495. /// <summary>
  2496. ///Row event argument class
  2497. ///</summary>
  2498. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2499. public class ДанныеОСтудентеRowChangeEvent : global::System.EventArgs {
  2500. private ДанныеОСтудентеRow eventRow;
  2501. private global::System.Data.DataRowAction eventAction;
  2502. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2503. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2504. public ДанныеОСтудентеRowChangeEvent(ДанныеОСтудентеRow row, global::System.Data.DataRowAction action) {
  2505. this.eventRow = row;
  2506. this.eventAction = action;
  2507. }
  2508. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2509. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2510. public ДанныеОСтудентеRow Row {
  2511. get {
  2512. return this.eventRow;
  2513. }
  2514. }
  2515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2516. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2517. public global::System.Data.DataRowAction Action {
  2518. get {
  2519. return this.eventAction;
  2520. }
  2521. }
  2522. }
  2523. /// <summary>
  2524. ///Row event argument class
  2525. ///</summary>
  2526. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2527. public class ЭкзаменRowChangeEvent : global::System.EventArgs {
  2528. private ЭкзаменRow eventRow;
  2529. private global::System.Data.DataRowAction eventAction;
  2530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2532. public ЭкзаменRowChangeEvent(ЭкзаменRow row, global::System.Data.DataRowAction action) {
  2533. this.eventRow = row;
  2534. this.eventAction = action;
  2535. }
  2536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2538. public ЭкзаменRow Row {
  2539. get {
  2540. return this.eventRow;
  2541. }
  2542. }
  2543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2544. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2545. public global::System.Data.DataRowAction Action {
  2546. get {
  2547. return this.eventAction;
  2548. }
  2549. }
  2550. }
  2551. /// <summary>
  2552. ///Row event argument class
  2553. ///</summary>
  2554. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2555. public class ЭкспертыRowChangeEvent : global::System.EventArgs {
  2556. private ЭкспертыRow eventRow;
  2557. private global::System.Data.DataRowAction eventAction;
  2558. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2559. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2560. public ЭкспертыRowChangeEvent(ЭкспертыRow row, global::System.Data.DataRowAction action) {
  2561. this.eventRow = row;
  2562. this.eventAction = action;
  2563. }
  2564. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2565. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2566. public ЭкспертыRow Row {
  2567. get {
  2568. return this.eventRow;
  2569. }
  2570. }
  2571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2572. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2573. public global::System.Data.DataRowAction Action {
  2574. get {
  2575. return this.eventAction;
  2576. }
  2577. }
  2578. }
  2579. /// <summary>
  2580. ///Row event argument class
  2581. ///</summary>
  2582. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2583. public class View_1RowChangeEvent : global::System.EventArgs {
  2584. private View_1Row eventRow;
  2585. private global::System.Data.DataRowAction eventAction;
  2586. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2587. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2588. public View_1RowChangeEvent(View_1Row row, global::System.Data.DataRowAction action) {
  2589. this.eventRow = row;
  2590. this.eventAction = action;
  2591. }
  2592. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2593. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2594. public View_1Row Row {
  2595. get {
  2596. return this.eventRow;
  2597. }
  2598. }
  2599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2601. public global::System.Data.DataRowAction Action {
  2602. get {
  2603. return this.eventAction;
  2604. }
  2605. }
  2606. }
  2607. }
  2608. }
  2609. namespace Lebedenko_WS_Winforms.LebedenkoWorldSkillsDataSetTableAdapters {
  2610. /// <summary>
  2611. ///Represents the connection and commands used to retrieve and save data.
  2612. ///</summary>
  2613. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  2614. [global::System.ComponentModel.ToolboxItem(true)]
  2615. [global::System.ComponentModel.DataObjectAttribute(true)]
  2616. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  2617. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  2618. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2619. public partial class DataLoginTableAdapter : global::System.ComponentModel.Component {
  2620. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  2621. private global::System.Data.SqlClient.SqlConnection _connection;
  2622. private global::System.Data.SqlClient.SqlTransaction _transaction;
  2623. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  2624. private bool _clearBeforeFill;
  2625. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2626. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2627. public DataLoginTableAdapter() {
  2628. this.ClearBeforeFill = true;
  2629. }
  2630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2631. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2632. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  2633. get {
  2634. if ((this._adapter == null)) {
  2635. this.InitAdapter();
  2636. }
  2637. return this._adapter;
  2638. }
  2639. }
  2640. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2641. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2642. internal global::System.Data.SqlClient.SqlConnection Connection {
  2643. get {
  2644. if ((this._connection == null)) {
  2645. this.InitConnection();
  2646. }
  2647. return this._connection;
  2648. }
  2649. set {
  2650. this._connection = value;
  2651. if ((this.Adapter.InsertCommand != null)) {
  2652. this.Adapter.InsertCommand.Connection = value;
  2653. }
  2654. if ((this.Adapter.DeleteCommand != null)) {
  2655. this.Adapter.DeleteCommand.Connection = value;
  2656. }
  2657. if ((this.Adapter.UpdateCommand != null)) {
  2658. this.Adapter.UpdateCommand.Connection = value;
  2659. }
  2660. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2661. if ((this.CommandCollection[i] != null)) {
  2662. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  2663. }
  2664. }
  2665. }
  2666. }
  2667. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2668. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2669. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  2670. get {
  2671. return this._transaction;
  2672. }
  2673. set {
  2674. this._transaction = value;
  2675. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2676. this.CommandCollection[i].Transaction = this._transaction;
  2677. }
  2678. if (((this.Adapter != null)
  2679. && (this.Adapter.DeleteCommand != null))) {
  2680. this.Adapter.DeleteCommand.Transaction = this._transaction;
  2681. }
  2682. if (((this.Adapter != null)
  2683. && (this.Adapter.InsertCommand != null))) {
  2684. this.Adapter.InsertCommand.Transaction = this._transaction;
  2685. }
  2686. if (((this.Adapter != null)
  2687. && (this.Adapter.UpdateCommand != null))) {
  2688. this.Adapter.UpdateCommand.Transaction = this._transaction;
  2689. }
  2690. }
  2691. }
  2692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2694. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  2695. get {
  2696. if ((this._commandCollection == null)) {
  2697. this.InitCommandCollection();
  2698. }
  2699. return this._commandCollection;
  2700. }
  2701. }
  2702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2703. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2704. public bool ClearBeforeFill {
  2705. get {
  2706. return this._clearBeforeFill;
  2707. }
  2708. set {
  2709. this._clearBeforeFill = value;
  2710. }
  2711. }
  2712. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2713. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2714. private void InitAdapter() {
  2715. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  2716. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  2717. tableMapping.SourceTable = "Table";
  2718. tableMapping.DataSetTable = "DataLogin";
  2719. tableMapping.ColumnMappings.Add("Login", "Login");
  2720. tableMapping.ColumnMappings.Add("Password", "Password");
  2721. this._adapter.TableMappings.Add(tableMapping);
  2722. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  2723. this._adapter.InsertCommand.Connection = this.Connection;
  2724. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[DataLogin] ([Login], [Password]) VALUES (@Login, @Password)";
  2725. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  2726. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Login", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Login", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2727. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Password", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Password", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2728. }
  2729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2730. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2731. private void InitConnection() {
  2732. this._connection = new global::System.Data.SqlClient.SqlConnection();
  2733. this._connection.ConnectionString = global::Lebedenko_WS_Winforms.Properties.Settings.Default.LebedenkoWorldSkillsConnectionString;
  2734. }
  2735. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2736. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2737. private void InitCommandCollection() {
  2738. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  2739. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  2740. this._commandCollection[0].Connection = this.Connection;
  2741. this._commandCollection[0].CommandText = "SELECT Login, Password FROM dbo.DataLogin";
  2742. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  2743. }
  2744. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2745. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2746. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2747. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  2748. public virtual int Fill(LebedenkoWorldSkillsDataSet.DataLoginDataTable dataTable) {
  2749. this.Adapter.SelectCommand = this.CommandCollection[0];
  2750. if ((this.ClearBeforeFill == true)) {
  2751. dataTable.Clear();
  2752. }
  2753. int returnValue = this.Adapter.Fill(dataTable);
  2754. return returnValue;
  2755. }
  2756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2757. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2758. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2759. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  2760. public virtual LebedenkoWorldSkillsDataSet.DataLoginDataTable GetData() {
  2761. this.Adapter.SelectCommand = this.CommandCollection[0];
  2762. LebedenkoWorldSkillsDataSet.DataLoginDataTable dataTable = new LebedenkoWorldSkillsDataSet.DataLoginDataTable();
  2763. this.Adapter.Fill(dataTable);
  2764. return dataTable;
  2765. }
  2766. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2767. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2768. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2769. public virtual int Update(LebedenkoWorldSkillsDataSet.DataLoginDataTable dataTable) {
  2770. return this.Adapter.Update(dataTable);
  2771. }
  2772. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2773. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2774. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2775. public virtual int Update(LebedenkoWorldSkillsDataSet dataSet) {
  2776. return this.Adapter.Update(dataSet, "DataLogin");
  2777. }
  2778. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2779. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2780. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2781. public virtual int Update(global::System.Data.DataRow dataRow) {
  2782. return this.Adapter.Update(new global::System.Data.DataRow[] {
  2783. dataRow});
  2784. }
  2785. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2786. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2787. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2788. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  2789. return this.Adapter.Update(dataRows);
  2790. }
  2791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2792. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2793. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2794. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  2795. public virtual int Insert(string Login, string Password) {
  2796. if ((Login == null)) {
  2797. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  2798. }
  2799. else {
  2800. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Login));
  2801. }
  2802. if ((Password == null)) {
  2803. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  2804. }
  2805. else {
  2806. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Password));
  2807. }
  2808. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  2809. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  2810. != global::System.Data.ConnectionState.Open)) {
  2811. this.Adapter.InsertCommand.Connection.Open();
  2812. }
  2813. try {
  2814. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  2815. return returnValue;
  2816. }
  2817. finally {
  2818. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  2819. this.Adapter.InsertCommand.Connection.Close();
  2820. }
  2821. }
  2822. }
  2823. }
  2824. /// <summary>
  2825. ///Represents the connection and commands used to retrieve and save data.
  2826. ///</summary>
  2827. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  2828. [global::System.ComponentModel.ToolboxItem(true)]
  2829. [global::System.ComponentModel.DataObjectAttribute(true)]
  2830. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  2831. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  2832. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  2833. public partial class ДанныеОСтудентеTableAdapter : global::System.ComponentModel.Component {
  2834. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  2835. private global::System.Data.SqlClient.SqlConnection _connection;
  2836. private global::System.Data.SqlClient.SqlTransaction _transaction;
  2837. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  2838. private bool _clearBeforeFill;
  2839. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2840. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2841. public ДанныеОСтудентеTableAdapter() {
  2842. this.ClearBeforeFill = true;
  2843. }
  2844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2845. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2846. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  2847. get {
  2848. if ((this._adapter == null)) {
  2849. this.InitAdapter();
  2850. }
  2851. return this._adapter;
  2852. }
  2853. }
  2854. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2855. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2856. internal global::System.Data.SqlClient.SqlConnection Connection {
  2857. get {
  2858. if ((this._connection == null)) {
  2859. this.InitConnection();
  2860. }
  2861. return this._connection;
  2862. }
  2863. set {
  2864. this._connection = value;
  2865. if ((this.Adapter.InsertCommand != null)) {
  2866. this.Adapter.InsertCommand.Connection = value;
  2867. }
  2868. if ((this.Adapter.DeleteCommand != null)) {
  2869. this.Adapter.DeleteCommand.Connection = value;
  2870. }
  2871. if ((this.Adapter.UpdateCommand != null)) {
  2872. this.Adapter.UpdateCommand.Connection = value;
  2873. }
  2874. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2875. if ((this.CommandCollection[i] != null)) {
  2876. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  2877. }
  2878. }
  2879. }
  2880. }
  2881. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2882. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2883. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  2884. get {
  2885. return this._transaction;
  2886. }
  2887. set {
  2888. this._transaction = value;
  2889. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  2890. this.CommandCollection[i].Transaction = this._transaction;
  2891. }
  2892. if (((this.Adapter != null)
  2893. && (this.Adapter.DeleteCommand != null))) {
  2894. this.Adapter.DeleteCommand.Transaction = this._transaction;
  2895. }
  2896. if (((this.Adapter != null)
  2897. && (this.Adapter.InsertCommand != null))) {
  2898. this.Adapter.InsertCommand.Transaction = this._transaction;
  2899. }
  2900. if (((this.Adapter != null)
  2901. && (this.Adapter.UpdateCommand != null))) {
  2902. this.Adapter.UpdateCommand.Transaction = this._transaction;
  2903. }
  2904. }
  2905. }
  2906. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2907. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2908. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  2909. get {
  2910. if ((this._commandCollection == null)) {
  2911. this.InitCommandCollection();
  2912. }
  2913. return this._commandCollection;
  2914. }
  2915. }
  2916. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2917. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2918. public bool ClearBeforeFill {
  2919. get {
  2920. return this._clearBeforeFill;
  2921. }
  2922. set {
  2923. this._clearBeforeFill = value;
  2924. }
  2925. }
  2926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2927. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2928. private void InitAdapter() {
  2929. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  2930. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  2931. tableMapping.SourceTable = "Table";
  2932. tableMapping.DataSetTable = "ДанныеОСтуденте";
  2933. tableMapping.ColumnMappings.Add("Код", "Код");
  2934. tableMapping.ColumnMappings.Add("Имя", "Имя");
  2935. tableMapping.ColumnMappings.Add("Фамилия", "Фамилия");
  2936. tableMapping.ColumnMappings.Add("Отчество", "Отчество");
  2937. tableMapping.ColumnMappings.Add("Дата_Рождения", "Дата_Рождения");
  2938. tableMapping.ColumnMappings.Add("Группа", "Группа");
  2939. tableMapping.ColumnMappings.Add("Телефон", "Телефон");
  2940. this._adapter.TableMappings.Add(tableMapping);
  2941. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  2942. this._adapter.DeleteCommand.Connection = this.Connection;
  2943. this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[ДанныеОСтуденте] WHERE (([Код] = @Original_Код) AND ([Имя] = @Original_Имя) AND ([Фамилия] = @Original_Фамилия) AND ([Отчество] = @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_Телефон)))";
  2944. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  2945. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2946. 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, "", "", ""));
  2947. 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, "", "", ""));
  2948. 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, "", "", ""));
  2949. 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, "", "", ""));
  2950. 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, "", "", ""));
  2951. 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, "", "", ""));
  2952. 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, "", "", ""));
  2953. 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, "", "", ""));
  2954. 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, "", "", ""));
  2955. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  2956. this._adapter.InsertCommand.Connection = this.Connection;
  2957. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[ДанныеОСтуденте] ([Имя], [Фамилия], [Отчество], [Дата_Рождения], [Группа], [Телефон]) VALUES (@Имя, @Фамилия, @Отчество, @Дата_Рождения, @Группа, @Телефон);
  2958. SELECT Код, Имя, Фамилия, Отчество, Дата_Рождения, Группа, Телефон FROM ДанныеОСтуденте WHERE (Код = SCOPE_IDENTITY())";
  2959. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  2960. 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, "", "", ""));
  2961. 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, "", "", ""));
  2962. 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, "", "", ""));
  2963. 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, "", "", ""));
  2964. 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, "", "", ""));
  2965. 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, "", "", ""));
  2966. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  2967. this._adapter.UpdateCommand.Connection = this.Connection;
  2968. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[ДанныеОСтуденте] SET [Имя] = @Имя, [Фамилия] = @Фамилия, [Отчество] = @Отчество, [Дата_Рождения] = @Дата_Рождения, [Группа] = @Группа, [Телефон] = @Телефон WHERE (([Код] = @Original_Код) AND ([Имя] = @Original_Имя) AND ([Фамилия] = @Original_Фамилия) AND ([Отчество] = @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_Телефон)));
  2969. SELECT Код, Имя, Фамилия, Отчество, Дата_Рождения, Группа, Телефон FROM ДанныеОСтуденте WHERE (Код = @Код)";
  2970. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  2971. 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, "", "", ""));
  2972. 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, "", "", ""));
  2973. 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, "", "", ""));
  2974. 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, "", "", ""));
  2975. 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, "", "", ""));
  2976. 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, "", "", ""));
  2977. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  2978. 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, "", "", ""));
  2979. 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, "", "", ""));
  2980. 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, "", "", ""));
  2981. 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, "", "", ""));
  2982. 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, "", "", ""));
  2983. 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, "", "", ""));
  2984. 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, "", "", ""));
  2985. 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, "", "", ""));
  2986. 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, "", "", ""));
  2987. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  2988. }
  2989. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2990. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2991. private void InitConnection() {
  2992. this._connection = new global::System.Data.SqlClient.SqlConnection();
  2993. this._connection.ConnectionString = global::Lebedenko_WS_Winforms.Properties.Settings.Default.LebedenkoWorldSkillsConnectionString;
  2994. }
  2995. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2996. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2997. private void InitCommandCollection() {
  2998. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  2999. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  3000. this._commandCollection[0].Connection = this.Connection;
  3001. this._commandCollection[0].CommandText = "SELECT Код, Имя, Фамилия, Отчество, Дата_Рождения, Группа, Телефон FROM dbo.Данны" +
  3002. "еОСтуденте";
  3003. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  3004. }
  3005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3006. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3007. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3008. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  3009. public virtual int Fill(LebedenkoWorldSkillsDataSet.ДанныеОСтудентеDataTable dataTable) {
  3010. this.Adapter.SelectCommand = this.CommandCollection[0];
  3011. if ((this.ClearBeforeFill == true)) {
  3012. dataTable.Clear();
  3013. }
  3014. int returnValue = this.Adapter.Fill(dataTable);
  3015. return returnValue;
  3016. }
  3017. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3018. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3019. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3020. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  3021. public virtual LebedenkoWorldSkillsDataSet.ДанныеОСтудентеDataTable GetData() {
  3022. this.Adapter.SelectCommand = this.CommandCollection[0];
  3023. LebedenkoWorldSkillsDataSet.ДанныеОСтудентеDataTable dataTable = new LebedenkoWorldSkillsDataSet.ДанныеОСтудентеDataTable();
  3024. this.Adapter.Fill(dataTable);
  3025. return dataTable;
  3026. }
  3027. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3028. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3029. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3030. public virtual int Update(LebedenkoWorldSkillsDataSet.ДанныеОСтудентеDataTable dataTable) {
  3031. return this.Adapter.Update(dataTable);
  3032. }
  3033. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3034. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3035. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3036. public virtual int Update(LebedenkoWorldSkillsDataSet dataSet) {
  3037. return this.Adapter.Update(dataSet, "ДанныеОСтуденте");
  3038. }
  3039. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3040. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3041. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3042. public virtual int Update(global::System.Data.DataRow dataRow) {
  3043. return this.Adapter.Update(new global::System.Data.DataRow[] {
  3044. dataRow});
  3045. }
  3046. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3047. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3048. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3049. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  3050. return this.Adapter.Update(dataRows);
  3051. }
  3052. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3053. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3054. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3055. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  3056. public virtual int Delete(int Original_Код, string Original_Имя, string Original_Фамилия, string Original_Отчество, global::System.Nullable<global::System.DateTime> Original_Дата_Рождения, string Original_Группа, string Original_Телефон) {
  3057. this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Код));
  3058. if ((Original_Имя == null)) {
  3059. throw new global::System.ArgumentNullException("Original_Имя");
  3060. }
  3061. else {
  3062. this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_Имя));
  3063. }
  3064. if ((Original_Фамилия == null)) {
  3065. throw new global::System.ArgumentNullException("Original_Фамилия");
  3066. }
  3067. else {
  3068. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Фамилия));
  3069. }
  3070. if ((Original_Отчество == null)) {
  3071. throw new global::System.ArgumentNullException("Original_Отчество");
  3072. }
  3073. else {
  3074. this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(Original_Отчество));
  3075. }
  3076. if ((Original_Дата_Рождения.HasValue == true)) {
  3077. this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
  3078. this.Adapter.DeleteCommand.Parameters[5].Value = ((System.DateTime)(Original_Дата_Рождения.Value));
  3079. }
  3080. else {
  3081. this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
  3082. this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
  3083. }
  3084. if ((Original_Группа == null)) {
  3085. this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
  3086. this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
  3087. }
  3088. else {
  3089. this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
  3090. this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_Группа));
  3091. }
  3092. if ((Original_Телефон == null)) {
  3093. this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
  3094. this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
  3095. }
  3096. else {
  3097. this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
  3098. this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(Original_Телефон));
  3099. }
  3100. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  3101. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3102. != global::System.Data.ConnectionState.Open)) {
  3103. this.Adapter.DeleteCommand.Connection.Open();
  3104. }
  3105. try {
  3106. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  3107. return returnValue;
  3108. }
  3109. finally {
  3110. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3111. this.Adapter.DeleteCommand.Connection.Close();
  3112. }
  3113. }
  3114. }
  3115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3116. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3117. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3118. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  3119. public virtual int Insert(string Имя, string Фамилия, string Отчество, global::System.Nullable<global::System.DateTime> Дата_Рождения, string Группа, string Телефон) {
  3120. if ((Имя == null)) {
  3121. throw new global::System.ArgumentNullException("Имя");
  3122. }
  3123. else {
  3124. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Имя));
  3125. }
  3126. if ((Фамилия == null)) {
  3127. throw new global::System.ArgumentNullException("Фамилия");
  3128. }
  3129. else {
  3130. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Фамилия));
  3131. }
  3132. if ((Отчество == null)) {
  3133. throw new global::System.ArgumentNullException("Отчество");
  3134. }
  3135. else {
  3136. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Отчество));
  3137. }
  3138. if ((Дата_Рождения.HasValue == true)) {
  3139. this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(Дата_Рождения.Value));
  3140. }
  3141. else {
  3142. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  3143. }
  3144. if ((Группа == null)) {
  3145. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  3146. }
  3147. else {
  3148. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(Группа));
  3149. }
  3150. if ((Телефон == null)) {
  3151. this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
  3152. }
  3153. else {
  3154. this.Adapter.InsertCommand.Parameters[5].Value = ((string)(Телефон));
  3155. }
  3156. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  3157. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3158. != global::System.Data.ConnectionState.Open)) {
  3159. this.Adapter.InsertCommand.Connection.Open();
  3160. }
  3161. try {
  3162. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  3163. return returnValue;
  3164. }
  3165. finally {
  3166. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3167. this.Adapter.InsertCommand.Connection.Close();
  3168. }
  3169. }
  3170. }
  3171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3173. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3174. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  3175. public virtual int Update(string Имя, string Фамилия, string Отчество, global::System.Nullable<global::System.DateTime> Дата_Рождения, string Группа, string Телефон, int Original_Код, string Original_Имя, string Original_Фамилия, string Original_Отчество, global::System.Nullable<global::System.DateTime> Original_Дата_Рождения, string Original_Группа, string Original_Телефон, int Код) {
  3176. if ((Имя == null)) {
  3177. throw new global::System.ArgumentNullException("Имя");
  3178. }
  3179. else {
  3180. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Имя));
  3181. }
  3182. if ((Фамилия == null)) {
  3183. throw new global::System.ArgumentNullException("Фамилия");
  3184. }
  3185. else {
  3186. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Фамилия));
  3187. }
  3188. if ((Отчество == null)) {
  3189. throw new global::System.ArgumentNullException("Отчество");
  3190. }
  3191. else {
  3192. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Отчество));
  3193. }
  3194. if ((Дата_Рождения.HasValue == true)) {
  3195. this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(Дата_Рождения.Value));
  3196. }
  3197. else {
  3198. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  3199. }
  3200. if ((Группа == null)) {
  3201. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  3202. }
  3203. else {
  3204. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(Группа));
  3205. }
  3206. if ((Телефон == null)) {
  3207. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  3208. }
  3209. else {
  3210. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Телефон));
  3211. }
  3212. this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(Original_Код));
  3213. if ((Original_Имя == null)) {
  3214. throw new global::System.ArgumentNullException("Original_Имя");
  3215. }
  3216. else {
  3217. this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Имя));
  3218. }
  3219. if ((Original_Фамилия == null)) {
  3220. throw new global::System.ArgumentNullException("Original_Фамилия");
  3221. }
  3222. else {
  3223. this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_Фамилия));
  3224. }
  3225. if ((Original_Отчество == null)) {
  3226. throw new global::System.ArgumentNullException("Original_Отчество");
  3227. }
  3228. else {
  3229. this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Отчество));
  3230. }
  3231. if ((Original_Дата_Рождения.HasValue == true)) {
  3232. this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
  3233. this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(Original_Дата_Рождения.Value));
  3234. }
  3235. else {
  3236. this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
  3237. this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
  3238. }
  3239. if ((Original_Группа == null)) {
  3240. this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
  3241. this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
  3242. }
  3243. else {
  3244. this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
  3245. this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_Группа));
  3246. }
  3247. if ((Original_Телефон == null)) {
  3248. this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
  3249. this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
  3250. }
  3251. else {
  3252. this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
  3253. this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(Original_Телефон));
  3254. }
  3255. this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Код));
  3256. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  3257. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3258. != global::System.Data.ConnectionState.Open)) {
  3259. this.Adapter.UpdateCommand.Connection.Open();
  3260. }
  3261. try {
  3262. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  3263. return returnValue;
  3264. }
  3265. finally {
  3266. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3267. this.Adapter.UpdateCommand.Connection.Close();
  3268. }
  3269. }
  3270. }
  3271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3272. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3273. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3274. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  3275. public virtual int Update(string Имя, string Фамилия, string Отчество, global::System.Nullable<global::System.DateTime> Дата_Рождения, string Группа, string Телефон, int Original_Код, string Original_Имя, string Original_Фамилия, string Original_Отчество, global::System.Nullable<global::System.DateTime> Original_Дата_Рождения, string Original_Группа, string Original_Телефон) {
  3276. return this.Update(Имя, Фамилия, Отчество, Дата_Рождения, Группа, Телефон, Original_Код, Original_Имя, Original_Фамилия, Original_Отчество, Original_Дата_Рождения, Original_Группа, Original_Телефон, Original_Код);
  3277. }
  3278. }
  3279. /// <summary>
  3280. ///Represents the connection and commands used to retrieve and save data.
  3281. ///</summary>
  3282. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  3283. [global::System.ComponentModel.ToolboxItem(true)]
  3284. [global::System.ComponentModel.DataObjectAttribute(true)]
  3285. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  3286. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  3287. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3288. public partial class ЭкзаменTableAdapter : global::System.ComponentModel.Component {
  3289. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  3290. private global::System.Data.SqlClient.SqlConnection _connection;
  3291. private global::System.Data.SqlClient.SqlTransaction _transaction;
  3292. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  3293. private bool _clearBeforeFill;
  3294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3295. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3296. public ЭкзаменTableAdapter() {
  3297. this.ClearBeforeFill = true;
  3298. }
  3299. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3300. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3301. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  3302. get {
  3303. if ((this._adapter == null)) {
  3304. this.InitAdapter();
  3305. }
  3306. return this._adapter;
  3307. }
  3308. }
  3309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3311. internal global::System.Data.SqlClient.SqlConnection Connection {
  3312. get {
  3313. if ((this._connection == null)) {
  3314. this.InitConnection();
  3315. }
  3316. return this._connection;
  3317. }
  3318. set {
  3319. this._connection = value;
  3320. if ((this.Adapter.InsertCommand != null)) {
  3321. this.Adapter.InsertCommand.Connection = value;
  3322. }
  3323. if ((this.Adapter.DeleteCommand != null)) {
  3324. this.Adapter.DeleteCommand.Connection = value;
  3325. }
  3326. if ((this.Adapter.UpdateCommand != null)) {
  3327. this.Adapter.UpdateCommand.Connection = value;
  3328. }
  3329. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  3330. if ((this.CommandCollection[i] != null)) {
  3331. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  3332. }
  3333. }
  3334. }
  3335. }
  3336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3337. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3338. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  3339. get {
  3340. return this._transaction;
  3341. }
  3342. set {
  3343. this._transaction = value;
  3344. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  3345. this.CommandCollection[i].Transaction = this._transaction;
  3346. }
  3347. if (((this.Adapter != null)
  3348. && (this.Adapter.DeleteCommand != null))) {
  3349. this.Adapter.DeleteCommand.Transaction = this._transaction;
  3350. }
  3351. if (((this.Adapter != null)
  3352. && (this.Adapter.InsertCommand != null))) {
  3353. this.Adapter.InsertCommand.Transaction = this._transaction;
  3354. }
  3355. if (((this.Adapter != null)
  3356. && (this.Adapter.UpdateCommand != null))) {
  3357. this.Adapter.UpdateCommand.Transaction = this._transaction;
  3358. }
  3359. }
  3360. }
  3361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3362. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3363. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  3364. get {
  3365. if ((this._commandCollection == null)) {
  3366. this.InitCommandCollection();
  3367. }
  3368. return this._commandCollection;
  3369. }
  3370. }
  3371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3372. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3373. public bool ClearBeforeFill {
  3374. get {
  3375. return this._clearBeforeFill;
  3376. }
  3377. set {
  3378. this._clearBeforeFill = value;
  3379. }
  3380. }
  3381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3382. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3383. private void InitAdapter() {
  3384. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  3385. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  3386. tableMapping.SourceTable = "Table";
  3387. tableMapping.DataSetTable = "Экзамен";
  3388. tableMapping.ColumnMappings.Add("Код", "Код");
  3389. tableMapping.ColumnMappings.Add("Наименование", "Наименование");
  3390. tableMapping.ColumnMappings.Add("Дата_начала", "Дата_начала");
  3391. tableMapping.ColumnMappings.Add("Дата_окончания", "Дата_окончания");
  3392. tableMapping.ColumnMappings.Add("Оценка", "Оценка");
  3393. tableMapping.ColumnMappings.Add("ID_ДанныеОСтуденте", "ID_ДанныеОСтуденте");
  3394. this._adapter.TableMappings.Add(tableMapping);
  3395. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  3396. this._adapter.DeleteCommand.Connection = this.Connection;
  3397. 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_ID_ДанныеОСтуденте = 1 AND [ID_ДанныеОСтуденте] IS NULL) OR ([ID_ДанныеОСтуденте] = @Original_ID_ДанныеОСтуденте)))";
  3398. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  3399. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3400. 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, "", "", ""));
  3401. 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, "", "", ""));
  3402. 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, "", "", ""));
  3403. 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, "", "", ""));
  3404. 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, "", "", ""));
  3405. 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, "", "", ""));
  3406. 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, "", "", ""));
  3407. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Оценка", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Оценка", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3408. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ID_ДанныеОСтуденте", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_ДанныеОСтуденте", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3409. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_ДанныеОСтуденте", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_ДанныеОСтуденте", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3410. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  3411. this._adapter.InsertCommand.Connection = this.Connection;
  3412. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[Экзамен] ([Наименование], [Дата_начала], [Дата_окончания], [Оценка], [ID_ДанныеОСтуденте]) VALUES (@Наименование, @Дата_начала, @Дата_окончания, @Оценка, @ID_ДанныеОСтуденте);
  3413. SELECT Код, Наименование, Дата_начала, Дата_окончания, Оценка, ID_ДанныеОСтуденте FROM Экзамен WHERE (Код = SCOPE_IDENTITY())";
  3414. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  3415. 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, "", "", ""));
  3416. 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, "", "", ""));
  3417. 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, "", "", ""));
  3418. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Оценка", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Оценка", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3419. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_ДанныеОСтуденте", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_ДанныеОСтуденте", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3420. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  3421. this._adapter.UpdateCommand.Connection = this.Connection;
  3422. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Экзамен] SET [Наименование] = @Наименование, [Дата_начала] = @Дата_начала, [Дата_окончания] = @Дата_окончания, [Оценка] = @Оценка, [ID_ДанныеОСтуденте] = @ID_ДанныеОСтуденте 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_ID_ДанныеОСтуденте = 1 AND [ID_ДанныеОСтуденте] IS NULL) OR ([ID_ДанныеОСтуденте] = @Original_ID_ДанныеОСтуденте)));
  3423. SELECT Код, Наименование, Дата_начала, Дата_окончания, Оценка, ID_ДанныеОСтуденте FROM Экзамен WHERE (Код = @Код)";
  3424. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  3425. 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, "", "", ""));
  3426. 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, "", "", ""));
  3427. 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, "", "", ""));
  3428. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Оценка", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Оценка", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3429. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID_ДанныеОСтуденте", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_ДанныеОСтуденте", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3430. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3431. 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, "", "", ""));
  3432. 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, "", "", ""));
  3433. 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, "", "", ""));
  3434. 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, "", "", ""));
  3435. 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, "", "", ""));
  3436. 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, "", "", ""));
  3437. 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, "", "", ""));
  3438. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Оценка", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Оценка", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3439. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ID_ДанныеОСтуденте", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_ДанныеОСтуденте", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
  3440. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID_ДанныеОСтуденте", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID_ДанныеОСтуденте", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3441. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3442. }
  3443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3445. private void InitConnection() {
  3446. this._connection = new global::System.Data.SqlClient.SqlConnection();
  3447. this._connection.ConnectionString = global::Lebedenko_WS_Winforms.Properties.Settings.Default.LebedenkoWorldSkillsConnectionString;
  3448. }
  3449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3451. private void InitCommandCollection() {
  3452. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  3453. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  3454. this._commandCollection[0].Connection = this.Connection;
  3455. this._commandCollection[0].CommandText = "SELECT Код, Наименование, Дата_начала, Дата_окончания, Оценка, ID_ДанныеОСтуденте" +
  3456. " FROM dbo.Экзамен";
  3457. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  3458. }
  3459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3461. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3462. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  3463. public virtual int Fill(LebedenkoWorldSkillsDataSet.ЭкзаменDataTable dataTable) {
  3464. this.Adapter.SelectCommand = this.CommandCollection[0];
  3465. if ((this.ClearBeforeFill == true)) {
  3466. dataTable.Clear();
  3467. }
  3468. int returnValue = this.Adapter.Fill(dataTable);
  3469. return returnValue;
  3470. }
  3471. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3472. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3473. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3474. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  3475. public virtual LebedenkoWorldSkillsDataSet.ЭкзаменDataTable GetData() {
  3476. this.Adapter.SelectCommand = this.CommandCollection[0];
  3477. LebedenkoWorldSkillsDataSet.ЭкзаменDataTable dataTable = new LebedenkoWorldSkillsDataSet.ЭкзаменDataTable();
  3478. this.Adapter.Fill(dataTable);
  3479. return dataTable;
  3480. }
  3481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3482. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3483. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3484. public virtual int Update(LebedenkoWorldSkillsDataSet.ЭкзаменDataTable dataTable) {
  3485. return this.Adapter.Update(dataTable);
  3486. }
  3487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3488. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3489. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3490. public virtual int Update(LebedenkoWorldSkillsDataSet dataSet) {
  3491. return this.Adapter.Update(dataSet, "Экзамен");
  3492. }
  3493. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3494. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3495. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3496. public virtual int Update(global::System.Data.DataRow dataRow) {
  3497. return this.Adapter.Update(new global::System.Data.DataRow[] {
  3498. dataRow});
  3499. }
  3500. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3501. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3502. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3503. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  3504. return this.Adapter.Update(dataRows);
  3505. }
  3506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3507. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3508. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3509. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  3510. public virtual int Delete(int Original_Код, string Original_Наименование, global::System.Nullable<global::System.DateTime> Original_Дата_начала, global::System.Nullable<global::System.DateTime> Original_Дата_окончания, global::System.Nullable<int> Original_Оценка, global::System.Nullable<int> Original_ID_ДанныеОСтуденте) {
  3511. this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Код));
  3512. if ((Original_Наименование == null)) {
  3513. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  3514. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  3515. }
  3516. else {
  3517. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  3518. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Наименование));
  3519. }
  3520. if ((Original_Дата_начала.HasValue == true)) {
  3521. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  3522. this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_Дата_начала.Value));
  3523. }
  3524. else {
  3525. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  3526. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  3527. }
  3528. if ((Original_Дата_окончания.HasValue == true)) {
  3529. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  3530. this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_Дата_окончания.Value));
  3531. }
  3532. else {
  3533. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  3534. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  3535. }
  3536. if ((Original_Оценка.HasValue == true)) {
  3537. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(0));
  3538. this.Adapter.DeleteCommand.Parameters[8].Value = ((int)(Original_Оценка.Value));
  3539. }
  3540. else {
  3541. this.Adapter.DeleteCommand.Parameters[7].Value = ((object)(1));
  3542. this.Adapter.DeleteCommand.Parameters[8].Value = global::System.DBNull.Value;
  3543. }
  3544. if ((Original_ID_ДанныеОСтуденте.HasValue == true)) {
  3545. this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(0));
  3546. this.Adapter.DeleteCommand.Parameters[10].Value = ((int)(Original_ID_ДанныеОСтуденте.Value));
  3547. }
  3548. else {
  3549. this.Adapter.DeleteCommand.Parameters[9].Value = ((object)(1));
  3550. this.Adapter.DeleteCommand.Parameters[10].Value = global::System.DBNull.Value;
  3551. }
  3552. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  3553. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3554. != global::System.Data.ConnectionState.Open)) {
  3555. this.Adapter.DeleteCommand.Connection.Open();
  3556. }
  3557. try {
  3558. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  3559. return returnValue;
  3560. }
  3561. finally {
  3562. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3563. this.Adapter.DeleteCommand.Connection.Close();
  3564. }
  3565. }
  3566. }
  3567. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3568. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3569. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3570. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  3571. public virtual int Insert(string Наименование, global::System.Nullable<global::System.DateTime> Дата_начала, global::System.Nullable<global::System.DateTime> Дата_окончания, global::System.Nullable<int> Оценка, global::System.Nullable<int> ID_ДанныеОСтуденте) {
  3572. if ((Наименование == null)) {
  3573. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  3574. }
  3575. else {
  3576. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Наименование));
  3577. }
  3578. if ((Дата_начала.HasValue == true)) {
  3579. this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(Дата_начала.Value));
  3580. }
  3581. else {
  3582. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  3583. }
  3584. if ((Дата_окончания.HasValue == true)) {
  3585. this.Adapter.InsertCommand.Parameters[2].Value = ((System.DateTime)(Дата_окончания.Value));
  3586. }
  3587. else {
  3588. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  3589. }
  3590. if ((Оценка.HasValue == true)) {
  3591. this.Adapter.InsertCommand.Parameters[3].Value = ((int)(Оценка.Value));
  3592. }
  3593. else {
  3594. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  3595. }
  3596. if ((ID_ДанныеОСтуденте.HasValue == true)) {
  3597. this.Adapter.InsertCommand.Parameters[4].Value = ((int)(ID_ДанныеОСтуденте.Value));
  3598. }
  3599. else {
  3600. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  3601. }
  3602. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  3603. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3604. != global::System.Data.ConnectionState.Open)) {
  3605. this.Adapter.InsertCommand.Connection.Open();
  3606. }
  3607. try {
  3608. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  3609. return returnValue;
  3610. }
  3611. finally {
  3612. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3613. this.Adapter.InsertCommand.Connection.Close();
  3614. }
  3615. }
  3616. }
  3617. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3618. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3619. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3620. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  3621. public virtual int Update(string Наименование, global::System.Nullable<global::System.DateTime> Дата_начала, global::System.Nullable<global::System.DateTime> Дата_окончания, global::System.Nullable<int> Оценка, global::System.Nullable<int> ID_ДанныеОСтуденте, int Original_Код, string Original_Наименование, global::System.Nullable<global::System.DateTime> Original_Дата_начала, global::System.Nullable<global::System.DateTime> Original_Дата_окончания, global::System.Nullable<int> Original_Оценка, global::System.Nullable<int> Original_ID_ДанныеОСтуденте, int Код) {
  3622. if ((Наименование == null)) {
  3623. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  3624. }
  3625. else {
  3626. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Наименование));
  3627. }
  3628. if ((Дата_начала.HasValue == true)) {
  3629. this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(Дата_начала.Value));
  3630. }
  3631. else {
  3632. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  3633. }
  3634. if ((Дата_окончания.HasValue == true)) {
  3635. this.Adapter.UpdateCommand.Parameters[2].Value = ((System.DateTime)(Дата_окончания.Value));
  3636. }
  3637. else {
  3638. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  3639. }
  3640. if ((Оценка.HasValue == true)) {
  3641. this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Оценка.Value));
  3642. }
  3643. else {
  3644. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  3645. }
  3646. if ((ID_ДанныеОСтуденте.HasValue == true)) {
  3647. this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(ID_ДанныеОСтуденте.Value));
  3648. }
  3649. else {
  3650. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  3651. }
  3652. this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_Код));
  3653. if ((Original_Наименование == null)) {
  3654. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
  3655. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  3656. }
  3657. else {
  3658. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
  3659. this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Наименование));
  3660. }
  3661. if ((Original_Дата_начала.HasValue == true)) {
  3662. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
  3663. this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Original_Дата_начала.Value));
  3664. }
  3665. else {
  3666. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
  3667. this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
  3668. }
  3669. if ((Original_Дата_окончания.HasValue == true)) {
  3670. this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
  3671. this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(Original_Дата_окончания.Value));
  3672. }
  3673. else {
  3674. this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
  3675. this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
  3676. }
  3677. if ((Original_Оценка.HasValue == true)) {
  3678. this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));
  3679. this.Adapter.UpdateCommand.Parameters[13].Value = ((int)(Original_Оценка.Value));
  3680. }
  3681. else {
  3682. this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
  3683. this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
  3684. }
  3685. if ((Original_ID_ДанныеОСтуденте.HasValue == true)) {
  3686. this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(0));
  3687. this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_ID_ДанныеОСтуденте.Value));
  3688. }
  3689. else {
  3690. this.Adapter.UpdateCommand.Parameters[14].Value = ((object)(1));
  3691. this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
  3692. }
  3693. this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Код));
  3694. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  3695. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3696. != global::System.Data.ConnectionState.Open)) {
  3697. this.Adapter.UpdateCommand.Connection.Open();
  3698. }
  3699. try {
  3700. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  3701. return returnValue;
  3702. }
  3703. finally {
  3704. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3705. this.Adapter.UpdateCommand.Connection.Close();
  3706. }
  3707. }
  3708. }
  3709. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3710. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3711. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3712. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  3713. public virtual int Update(string Наименование, global::System.Nullable<global::System.DateTime> Дата_начала, global::System.Nullable<global::System.DateTime> Дата_окончания, global::System.Nullable<int> Оценка, global::System.Nullable<int> ID_ДанныеОСтуденте, int Original_Код, string Original_Наименование, global::System.Nullable<global::System.DateTime> Original_Дата_начала, global::System.Nullable<global::System.DateTime> Original_Дата_окончания, global::System.Nullable<int> Original_Оценка, global::System.Nullable<int> Original_ID_ДанныеОСтуденте) {
  3714. return this.Update(Наименование, Дата_начала, Дата_окончания, Оценка, ID_ДанныеОСтуденте, Original_Код, Original_Наименование, Original_Дата_начала, Original_Дата_окончания, Original_Оценка, Original_ID_ДанныеОСтуденте, Original_Код);
  3715. }
  3716. }
  3717. /// <summary>
  3718. ///Represents the connection and commands used to retrieve and save data.
  3719. ///</summary>
  3720. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  3721. [global::System.ComponentModel.ToolboxItem(true)]
  3722. [global::System.ComponentModel.DataObjectAttribute(true)]
  3723. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  3724. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  3725. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3726. public partial class ЭкспертыTableAdapter : global::System.ComponentModel.Component {
  3727. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  3728. private global::System.Data.SqlClient.SqlConnection _connection;
  3729. private global::System.Data.SqlClient.SqlTransaction _transaction;
  3730. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  3731. private bool _clearBeforeFill;
  3732. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3733. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3734. public ЭкспертыTableAdapter() {
  3735. this.ClearBeforeFill = true;
  3736. }
  3737. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3738. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3739. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  3740. get {
  3741. if ((this._adapter == null)) {
  3742. this.InitAdapter();
  3743. }
  3744. return this._adapter;
  3745. }
  3746. }
  3747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3748. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3749. internal global::System.Data.SqlClient.SqlConnection Connection {
  3750. get {
  3751. if ((this._connection == null)) {
  3752. this.InitConnection();
  3753. }
  3754. return this._connection;
  3755. }
  3756. set {
  3757. this._connection = value;
  3758. if ((this.Adapter.InsertCommand != null)) {
  3759. this.Adapter.InsertCommand.Connection = value;
  3760. }
  3761. if ((this.Adapter.DeleteCommand != null)) {
  3762. this.Adapter.DeleteCommand.Connection = value;
  3763. }
  3764. if ((this.Adapter.UpdateCommand != null)) {
  3765. this.Adapter.UpdateCommand.Connection = value;
  3766. }
  3767. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  3768. if ((this.CommandCollection[i] != null)) {
  3769. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  3770. }
  3771. }
  3772. }
  3773. }
  3774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3775. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3776. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  3777. get {
  3778. return this._transaction;
  3779. }
  3780. set {
  3781. this._transaction = value;
  3782. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  3783. this.CommandCollection[i].Transaction = this._transaction;
  3784. }
  3785. if (((this.Adapter != null)
  3786. && (this.Adapter.DeleteCommand != null))) {
  3787. this.Adapter.DeleteCommand.Transaction = this._transaction;
  3788. }
  3789. if (((this.Adapter != null)
  3790. && (this.Adapter.InsertCommand != null))) {
  3791. this.Adapter.InsertCommand.Transaction = this._transaction;
  3792. }
  3793. if (((this.Adapter != null)
  3794. && (this.Adapter.UpdateCommand != null))) {
  3795. this.Adapter.UpdateCommand.Transaction = this._transaction;
  3796. }
  3797. }
  3798. }
  3799. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3800. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3801. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  3802. get {
  3803. if ((this._commandCollection == null)) {
  3804. this.InitCommandCollection();
  3805. }
  3806. return this._commandCollection;
  3807. }
  3808. }
  3809. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3810. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3811. public bool ClearBeforeFill {
  3812. get {
  3813. return this._clearBeforeFill;
  3814. }
  3815. set {
  3816. this._clearBeforeFill = value;
  3817. }
  3818. }
  3819. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3820. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3821. private void InitAdapter() {
  3822. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  3823. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  3824. tableMapping.SourceTable = "Table";
  3825. tableMapping.DataSetTable = "Эксперты";
  3826. tableMapping.ColumnMappings.Add("Код", "Код");
  3827. tableMapping.ColumnMappings.Add("Имя", "Имя");
  3828. tableMapping.ColumnMappings.Add("Фамилия", "Фамилия");
  3829. tableMapping.ColumnMappings.Add("Роль", "Роль");
  3830. this._adapter.TableMappings.Add(tableMapping);
  3831. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  3832. this._adapter.DeleteCommand.Connection = this.Connection;
  3833. 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_Роль)))";
  3834. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  3835. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3836. 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, "", "", ""));
  3837. 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, "", "", ""));
  3838. 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, "", "", ""));
  3839. 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, "", "", ""));
  3840. 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, "", "", ""));
  3841. 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, "", "", ""));
  3842. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  3843. this._adapter.InsertCommand.Connection = this.Connection;
  3844. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[Эксперты] ([Имя], [Фамилия], [Роль]) VALUES (@Имя, @Фамилия, @" +
  3845. "Роль);\r\nSELECT Код, Имя, Фамилия, Роль FROM Эксперты WHERE (Код = SCOPE_IDENTITY" +
  3846. "())";
  3847. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  3848. 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, "", "", ""));
  3849. 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, "", "", ""));
  3850. 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, "", "", ""));
  3851. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  3852. this._adapter.UpdateCommand.Connection = this.Connection;
  3853. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[Эксперты] SET [Имя] = @Имя, [Фамилия] = @Фамилия, [Роль] = @Роль WHERE (([Код] = @Original_Код) AND ((@IsNull_Имя = 1 AND [Имя] IS NULL) OR ([Имя] = @Original_Имя)) AND ((@IsNull_Фамилия = 1 AND [Фамилия] IS NULL) OR ([Фамилия] = @Original_Фамилия)) AND ((@IsNull_Роль = 1 AND [Роль] IS NULL) OR ([Роль] = @Original_Роль)));
  3854. SELECT Код, Имя, Фамилия, Роль FROM Эксперты WHERE (Код = @Код)";
  3855. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  3856. 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, "", "", ""));
  3857. 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, "", "", ""));
  3858. 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, "", "", ""));
  3859. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Код", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  3860. 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, "", "", ""));
  3861. 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, "", "", ""));
  3862. 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, "", "", ""));
  3863. 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, "", "", ""));
  3864. 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, "", "", ""));
  3865. 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, "", "", ""));
  3866. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Код", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "Код", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  3867. }
  3868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3870. private void InitConnection() {
  3871. this._connection = new global::System.Data.SqlClient.SqlConnection();
  3872. this._connection.ConnectionString = global::Lebedenko_WS_Winforms.Properties.Settings.Default.LebedenkoWorldSkillsConnectionString;
  3873. }
  3874. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3875. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3876. private void InitCommandCollection() {
  3877. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  3878. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  3879. this._commandCollection[0].Connection = this.Connection;
  3880. this._commandCollection[0].CommandText = "SELECT Код, Имя, Фамилия, Роль FROM dbo.Эксперты";
  3881. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  3882. }
  3883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3885. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3886. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  3887. public virtual int Fill(LebedenkoWorldSkillsDataSet.ЭкспертыDataTable dataTable) {
  3888. this.Adapter.SelectCommand = this.CommandCollection[0];
  3889. if ((this.ClearBeforeFill == true)) {
  3890. dataTable.Clear();
  3891. }
  3892. int returnValue = this.Adapter.Fill(dataTable);
  3893. return returnValue;
  3894. }
  3895. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3896. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3897. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3898. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  3899. public virtual LebedenkoWorldSkillsDataSet.ЭкспертыDataTable GetData() {
  3900. this.Adapter.SelectCommand = this.CommandCollection[0];
  3901. LebedenkoWorldSkillsDataSet.ЭкспертыDataTable dataTable = new LebedenkoWorldSkillsDataSet.ЭкспертыDataTable();
  3902. this.Adapter.Fill(dataTable);
  3903. return dataTable;
  3904. }
  3905. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3906. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3907. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3908. public virtual int Update(LebedenkoWorldSkillsDataSet.ЭкспертыDataTable dataTable) {
  3909. return this.Adapter.Update(dataTable);
  3910. }
  3911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3912. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3913. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3914. public virtual int Update(LebedenkoWorldSkillsDataSet dataSet) {
  3915. return this.Adapter.Update(dataSet, "Эксперты");
  3916. }
  3917. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3918. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3919. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3920. public virtual int Update(global::System.Data.DataRow dataRow) {
  3921. return this.Adapter.Update(new global::System.Data.DataRow[] {
  3922. dataRow});
  3923. }
  3924. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3925. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3926. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3927. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  3928. return this.Adapter.Update(dataRows);
  3929. }
  3930. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3932. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3933. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  3934. public virtual int Delete(int Original_Код, string Original_Имя, string Original_Фамилия, string Original_Роль) {
  3935. this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_Код));
  3936. if ((Original_Имя == null)) {
  3937. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  3938. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  3939. }
  3940. else {
  3941. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  3942. this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Имя));
  3943. }
  3944. if ((Original_Фамилия == null)) {
  3945. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  3946. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  3947. }
  3948. else {
  3949. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  3950. this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Фамилия));
  3951. }
  3952. if ((Original_Роль == null)) {
  3953. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1));
  3954. this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value;
  3955. }
  3956. else {
  3957. this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0));
  3958. this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_Роль));
  3959. }
  3960. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  3961. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  3962. != global::System.Data.ConnectionState.Open)) {
  3963. this.Adapter.DeleteCommand.Connection.Open();
  3964. }
  3965. try {
  3966. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  3967. return returnValue;
  3968. }
  3969. finally {
  3970. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  3971. this.Adapter.DeleteCommand.Connection.Close();
  3972. }
  3973. }
  3974. }
  3975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3977. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  3978. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  3979. public virtual int Insert(string Имя, string Фамилия, string Роль) {
  3980. if ((Имя == null)) {
  3981. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  3982. }
  3983. else {
  3984. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Имя));
  3985. }
  3986. if ((Фамилия == null)) {
  3987. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  3988. }
  3989. else {
  3990. this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Фамилия));
  3991. }
  3992. if ((Роль == null)) {
  3993. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  3994. }
  3995. else {
  3996. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Роль));
  3997. }
  3998. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  3999. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4000. != global::System.Data.ConnectionState.Open)) {
  4001. this.Adapter.InsertCommand.Connection.Open();
  4002. }
  4003. try {
  4004. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  4005. return returnValue;
  4006. }
  4007. finally {
  4008. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4009. this.Adapter.InsertCommand.Connection.Close();
  4010. }
  4011. }
  4012. }
  4013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4014. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4015. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4016. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  4017. public virtual int Update(string Имя, string Фамилия, string Роль, int Original_Код, string Original_Имя, string Original_Фамилия, string Original_Роль, int Код) {
  4018. if ((Имя == null)) {
  4019. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  4020. }
  4021. else {
  4022. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Имя));
  4023. }
  4024. if ((Фамилия == null)) {
  4025. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  4026. }
  4027. else {
  4028. this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Фамилия));
  4029. }
  4030. if ((Роль == null)) {
  4031. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  4032. }
  4033. else {
  4034. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Роль));
  4035. }
  4036. this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_Код));
  4037. if ((Original_Имя == null)) {
  4038. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1));
  4039. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  4040. }
  4041. else {
  4042. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0));
  4043. this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_Имя));
  4044. }
  4045. if ((Original_Фамилия == null)) {
  4046. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
  4047. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  4048. }
  4049. else {
  4050. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
  4051. this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Фамилия));
  4052. }
  4053. if ((Original_Роль == null)) {
  4054. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
  4055. this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
  4056. }
  4057. else {
  4058. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
  4059. this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Роль));
  4060. }
  4061. this.Adapter.UpdateCommand.Parameters[10].Value = ((int)(Код));
  4062. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  4063. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4064. != global::System.Data.ConnectionState.Open)) {
  4065. this.Adapter.UpdateCommand.Connection.Open();
  4066. }
  4067. try {
  4068. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  4069. return returnValue;
  4070. }
  4071. finally {
  4072. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4073. this.Adapter.UpdateCommand.Connection.Close();
  4074. }
  4075. }
  4076. }
  4077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4078. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4079. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4080. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  4081. public virtual int Update(string Имя, string Фамилия, string Роль, int Original_Код, string Original_Имя, string Original_Фамилия, string Original_Роль) {
  4082. return this.Update(Имя, Фамилия, Роль, Original_Код, Original_Имя, Original_Фамилия, Original_Роль, Original_Код);
  4083. }
  4084. }
  4085. /// <summary>
  4086. ///Represents the connection and commands used to retrieve and save data.
  4087. ///</summary>
  4088. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4089. [global::System.ComponentModel.ToolboxItem(true)]
  4090. [global::System.ComponentModel.DataObjectAttribute(true)]
  4091. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  4092. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4093. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4094. public partial class View_1TableAdapter : global::System.ComponentModel.Component {
  4095. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  4096. private global::System.Data.SqlClient.SqlConnection _connection;
  4097. private global::System.Data.SqlClient.SqlTransaction _transaction;
  4098. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  4099. private bool _clearBeforeFill;
  4100. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4101. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4102. public View_1TableAdapter() {
  4103. this.ClearBeforeFill = true;
  4104. }
  4105. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4106. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4107. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  4108. get {
  4109. if ((this._adapter == null)) {
  4110. this.InitAdapter();
  4111. }
  4112. return this._adapter;
  4113. }
  4114. }
  4115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4116. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4117. internal global::System.Data.SqlClient.SqlConnection Connection {
  4118. get {
  4119. if ((this._connection == null)) {
  4120. this.InitConnection();
  4121. }
  4122. return this._connection;
  4123. }
  4124. set {
  4125. this._connection = value;
  4126. if ((this.Adapter.InsertCommand != null)) {
  4127. this.Adapter.InsertCommand.Connection = value;
  4128. }
  4129. if ((this.Adapter.DeleteCommand != null)) {
  4130. this.Adapter.DeleteCommand.Connection = value;
  4131. }
  4132. if ((this.Adapter.UpdateCommand != null)) {
  4133. this.Adapter.UpdateCommand.Connection = value;
  4134. }
  4135. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4136. if ((this.CommandCollection[i] != null)) {
  4137. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  4138. }
  4139. }
  4140. }
  4141. }
  4142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4143. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4144. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  4145. get {
  4146. return this._transaction;
  4147. }
  4148. set {
  4149. this._transaction = value;
  4150. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4151. this.CommandCollection[i].Transaction = this._transaction;
  4152. }
  4153. if (((this.Adapter != null)
  4154. && (this.Adapter.DeleteCommand != null))) {
  4155. this.Adapter.DeleteCommand.Transaction = this._transaction;
  4156. }
  4157. if (((this.Adapter != null)
  4158. && (this.Adapter.InsertCommand != null))) {
  4159. this.Adapter.InsertCommand.Transaction = this._transaction;
  4160. }
  4161. if (((this.Adapter != null)
  4162. && (this.Adapter.UpdateCommand != null))) {
  4163. this.Adapter.UpdateCommand.Transaction = this._transaction;
  4164. }
  4165. }
  4166. }
  4167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4169. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  4170. get {
  4171. if ((this._commandCollection == null)) {
  4172. this.InitCommandCollection();
  4173. }
  4174. return this._commandCollection;
  4175. }
  4176. }
  4177. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4178. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4179. public bool ClearBeforeFill {
  4180. get {
  4181. return this._clearBeforeFill;
  4182. }
  4183. set {
  4184. this._clearBeforeFill = value;
  4185. }
  4186. }
  4187. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4188. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4189. private void InitAdapter() {
  4190. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  4191. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  4192. tableMapping.SourceTable = "Table";
  4193. tableMapping.DataSetTable = "View_1";
  4194. tableMapping.ColumnMappings.Add("ID_ДанныеОСтуденте", "ID_ДанныеОСтуденте");
  4195. tableMapping.ColumnMappings.Add("Имя", "Имя");
  4196. tableMapping.ColumnMappings.Add("Фамилия", "Фамилия");
  4197. tableMapping.ColumnMappings.Add("Отчество", "Отчество");
  4198. tableMapping.ColumnMappings.Add("Наименование", "Наименование");
  4199. tableMapping.ColumnMappings.Add("Дата_начала", "Дата_начала");
  4200. tableMapping.ColumnMappings.Add("Дата_окончания", "Дата_окончания");
  4201. tableMapping.ColumnMappings.Add("Оценка", "Оценка");
  4202. tableMapping.ColumnMappings.Add("Группа", "Группа");
  4203. this._adapter.TableMappings.Add(tableMapping);
  4204. }
  4205. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4206. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4207. private void InitConnection() {
  4208. this._connection = new global::System.Data.SqlClient.SqlConnection();
  4209. this._connection.ConnectionString = global::Lebedenko_WS_Winforms.Properties.Settings.Default.LebedenkoWorldSkillsConnectionString;
  4210. }
  4211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4213. private void InitCommandCollection() {
  4214. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  4215. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  4216. this._commandCollection[0].Connection = this.Connection;
  4217. this._commandCollection[0].CommandText = "SELECT ID_ДанныеОСтуденте, Имя, Фамилия, Отчество, Наименование, Дата_начала, Дат" +
  4218. "а_окончания, Оценка, Группа FROM dbo.View_1";
  4219. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  4220. }
  4221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4223. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4224. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  4225. public virtual int Fill(LebedenkoWorldSkillsDataSet.View_1DataTable dataTable) {
  4226. this.Adapter.SelectCommand = this.CommandCollection[0];
  4227. if ((this.ClearBeforeFill == true)) {
  4228. dataTable.Clear();
  4229. }
  4230. int returnValue = this.Adapter.Fill(dataTable);
  4231. return returnValue;
  4232. }
  4233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4234. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4235. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4236. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  4237. public virtual LebedenkoWorldSkillsDataSet.View_1DataTable GetData() {
  4238. this.Adapter.SelectCommand = this.CommandCollection[0];
  4239. LebedenkoWorldSkillsDataSet.View_1DataTable dataTable = new LebedenkoWorldSkillsDataSet.View_1DataTable();
  4240. this.Adapter.Fill(dataTable);
  4241. return dataTable;
  4242. }
  4243. }
  4244. /// <summary>
  4245. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  4246. ///</summary>
  4247. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4248. [global::System.ComponentModel.ToolboxItem(true)]
  4249. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  4250. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4251. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  4252. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  4253. private UpdateOrderOption _updateOrder;
  4254. private DataLoginTableAdapter _dataLoginTableAdapter;
  4255. private ДанныеОСтудентеTableAdapter _данныеОСтудентеTableAdapter;
  4256. private ЭкзаменTableAdapter _экзаменTableAdapter;
  4257. private ЭкспертыTableAdapter _экспертыTableAdapter;
  4258. private bool _backupDataSetBeforeUpdate;
  4259. private global::System.Data.IDbConnection _connection;
  4260. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4261. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4262. public UpdateOrderOption UpdateOrder {
  4263. get {
  4264. return this._updateOrder;
  4265. }
  4266. set {
  4267. this._updateOrder = value;
  4268. }
  4269. }
  4270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4271. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4272. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  4273. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  4274. "a", "System.Drawing.Design.UITypeEditor")]
  4275. public DataLoginTableAdapter DataLoginTableAdapter {
  4276. get {
  4277. return this._dataLoginTableAdapter;
  4278. }
  4279. set {
  4280. this._dataLoginTableAdapter = value;
  4281. }
  4282. }
  4283. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4284. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4285. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  4286. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  4287. "a", "System.Drawing.Design.UITypeEditor")]
  4288. public ДанныеОСтудентеTableAdapter ДанныеОСтудентеTableAdapter {
  4289. get {
  4290. return this._данныеОСтудентеTableAdapter;
  4291. }
  4292. set {
  4293. this._данныеОСтудентеTableAdapter = value;
  4294. }
  4295. }
  4296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4297. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4298. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  4299. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  4300. "a", "System.Drawing.Design.UITypeEditor")]
  4301. public ЭкзаменTableAdapter ЭкзаменTableAdapter {
  4302. get {
  4303. return this._экзаменTableAdapter;
  4304. }
  4305. set {
  4306. this._экзаменTableAdapter = value;
  4307. }
  4308. }
  4309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4311. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  4312. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  4313. "a", "System.Drawing.Design.UITypeEditor")]
  4314. public ЭкспертыTableAdapter ЭкспертыTableAdapter {
  4315. get {
  4316. return this._экспертыTableAdapter;
  4317. }
  4318. set {
  4319. this._экспертыTableAdapter = value;
  4320. }
  4321. }
  4322. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4323. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4324. public bool BackupDataSetBeforeUpdate {
  4325. get {
  4326. return this._backupDataSetBeforeUpdate;
  4327. }
  4328. set {
  4329. this._backupDataSetBeforeUpdate = value;
  4330. }
  4331. }
  4332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4333. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4334. [global::System.ComponentModel.Browsable(false)]
  4335. public global::System.Data.IDbConnection Connection {
  4336. get {
  4337. if ((this._connection != null)) {
  4338. return this._connection;
  4339. }
  4340. if (((this._dataLoginTableAdapter != null)
  4341. && (this._dataLoginTableAdapter.Connection != null))) {
  4342. return this._dataLoginTableAdapter.Connection;
  4343. }
  4344. if (((this._данныеОСтудентеTableAdapter != null)
  4345. && (this._данныеОСтудентеTableAdapter.Connection != null))) {
  4346. return this._данныеОСтудентеTableAdapter.Connection;
  4347. }
  4348. if (((this._экзаменTableAdapter != null)
  4349. && (this._экзаменTableAdapter.Connection != null))) {
  4350. return this._экзаменTableAdapter.Connection;
  4351. }
  4352. if (((this._экспертыTableAdapter != null)
  4353. && (this._экспертыTableAdapter.Connection != null))) {
  4354. return this._экспертыTableAdapter.Connection;
  4355. }
  4356. return null;
  4357. }
  4358. set {
  4359. this._connection = value;
  4360. }
  4361. }
  4362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4364. [global::System.ComponentModel.Browsable(false)]
  4365. public int TableAdapterInstanceCount {
  4366. get {
  4367. int count = 0;
  4368. if ((this._dataLoginTableAdapter != null)) {
  4369. count = (count + 1);
  4370. }
  4371. if ((this._данныеОСтудентеTableAdapter != null)) {
  4372. count = (count + 1);
  4373. }
  4374. if ((this._экзаменTableAdapter != null)) {
  4375. count = (count + 1);
  4376. }
  4377. if ((this._экспертыTableAdapter != null)) {
  4378. count = (count + 1);
  4379. }
  4380. return count;
  4381. }
  4382. }
  4383. /// <summary>
  4384. ///Update rows in top-down order.
  4385. ///</summary>
  4386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4387. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4388. private int UpdateUpdatedRows(LebedenkoWorldSkillsDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  4389. int result = 0;
  4390. if ((this._данныеОСтудентеTableAdapter != null)) {
  4391. global::System.Data.DataRow[] updatedRows = dataSet.ДанныеОСтуденте.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  4392. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  4393. if (((updatedRows != null)
  4394. && (0 < updatedRows.Length))) {
  4395. result = (result + this._данныеОСтудентеTableAdapter.Update(updatedRows));
  4396. allChangedRows.AddRange(updatedRows);
  4397. }
  4398. }
  4399. if ((this._dataLoginTableAdapter != null)) {
  4400. global::System.Data.DataRow[] updatedRows = dataSet.DataLogin.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  4401. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  4402. if (((updatedRows != null)
  4403. && (0 < updatedRows.Length))) {
  4404. result = (result + this._dataLoginTableAdapter.Update(updatedRows));
  4405. allChangedRows.AddRange(updatedRows);
  4406. }
  4407. }
  4408. if ((this._экзаменTableAdapter != null)) {
  4409. global::System.Data.DataRow[] updatedRows = dataSet.Экзамен.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  4410. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  4411. if (((updatedRows != null)
  4412. && (0 < updatedRows.Length))) {
  4413. result = (result + this._экзаменTableAdapter.Update(updatedRows));
  4414. allChangedRows.AddRange(updatedRows);
  4415. }
  4416. }
  4417. if ((this._экспертыTableAdapter != null)) {
  4418. global::System.Data.DataRow[] updatedRows = dataSet.Эксперты.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  4419. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  4420. if (((updatedRows != null)
  4421. && (0 < updatedRows.Length))) {
  4422. result = (result + this._экспертыTableAdapter.Update(updatedRows));
  4423. allChangedRows.AddRange(updatedRows);
  4424. }
  4425. }
  4426. return result;
  4427. }
  4428. /// <summary>
  4429. ///Insert rows in top-down order.
  4430. ///</summary>
  4431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4433. private int UpdateInsertedRows(LebedenkoWorldSkillsDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  4434. int result = 0;
  4435. if ((this._данныеОСтудентеTableAdapter != null)) {
  4436. global::System.Data.DataRow[] addedRows = dataSet.ДанныеОСтуденте.Select(null, null, global::System.Data.DataViewRowState.Added);
  4437. if (((addedRows != null)
  4438. && (0 < addedRows.Length))) {
  4439. result = (result + this._данныеОСтудентеTableAdapter.Update(addedRows));
  4440. allAddedRows.AddRange(addedRows);
  4441. }
  4442. }
  4443. if ((this._dataLoginTableAdapter != null)) {
  4444. global::System.Data.DataRow[] addedRows = dataSet.DataLogin.Select(null, null, global::System.Data.DataViewRowState.Added);
  4445. if (((addedRows != null)
  4446. && (0 < addedRows.Length))) {
  4447. result = (result + this._dataLoginTableAdapter.Update(addedRows));
  4448. allAddedRows.AddRange(addedRows);
  4449. }
  4450. }
  4451. if ((this._экзаменTableAdapter != null)) {
  4452. global::System.Data.DataRow[] addedRows = dataSet.Экзамен.Select(null, null, global::System.Data.DataViewRowState.Added);
  4453. if (((addedRows != null)
  4454. && (0 < addedRows.Length))) {
  4455. result = (result + this._экзаменTableAdapter.Update(addedRows));
  4456. allAddedRows.AddRange(addedRows);
  4457. }
  4458. }
  4459. if ((this._экспертыTableAdapter != null)) {
  4460. global::System.Data.DataRow[] addedRows = dataSet.Эксперты.Select(null, null, global::System.Data.DataViewRowState.Added);
  4461. if (((addedRows != null)
  4462. && (0 < addedRows.Length))) {
  4463. result = (result + this._экспертыTableAdapter.Update(addedRows));
  4464. allAddedRows.AddRange(addedRows);
  4465. }
  4466. }
  4467. return result;
  4468. }
  4469. /// <summary>
  4470. ///Delete rows in bottom-up order.
  4471. ///</summary>
  4472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4473. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4474. private int UpdateDeletedRows(LebedenkoWorldSkillsDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  4475. int result = 0;
  4476. if ((this._экспертыTableAdapter != null)) {
  4477. global::System.Data.DataRow[] deletedRows = dataSet.Эксперты.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  4478. if (((deletedRows != null)
  4479. && (0 < deletedRows.Length))) {
  4480. result = (result + this._экспертыTableAdapter.Update(deletedRows));
  4481. allChangedRows.AddRange(deletedRows);
  4482. }
  4483. }
  4484. if ((this._экзаменTableAdapter != null)) {
  4485. global::System.Data.DataRow[] deletedRows = dataSet.Экзамен.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  4486. if (((deletedRows != null)
  4487. && (0 < deletedRows.Length))) {
  4488. result = (result + this._экзаменTableAdapter.Update(deletedRows));
  4489. allChangedRows.AddRange(deletedRows);
  4490. }
  4491. }
  4492. if ((this._dataLoginTableAdapter != null)) {
  4493. global::System.Data.DataRow[] deletedRows = dataSet.DataLogin.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  4494. if (((deletedRows != null)
  4495. && (0 < deletedRows.Length))) {
  4496. result = (result + this._dataLoginTableAdapter.Update(deletedRows));
  4497. allChangedRows.AddRange(deletedRows);
  4498. }
  4499. }
  4500. if ((this._данныеОСтудентеTableAdapter != null)) {
  4501. global::System.Data.DataRow[] deletedRows = dataSet.ДанныеОСтуденте.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  4502. if (((deletedRows != null)
  4503. && (0 < deletedRows.Length))) {
  4504. result = (result + this._данныеОСтудентеTableAdapter.Update(deletedRows));
  4505. allChangedRows.AddRange(deletedRows);
  4506. }
  4507. }
  4508. return result;
  4509. }
  4510. /// <summary>
  4511. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  4512. ///</summary>
  4513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4515. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  4516. if (((updatedRows == null)
  4517. || (updatedRows.Length < 1))) {
  4518. return updatedRows;
  4519. }
  4520. if (((allAddedRows == null)
  4521. || (allAddedRows.Count < 1))) {
  4522. return updatedRows;
  4523. }
  4524. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  4525. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  4526. global::System.Data.DataRow row = updatedRows[i];
  4527. if ((allAddedRows.Contains(row) == false)) {
  4528. realUpdatedRows.Add(row);
  4529. }
  4530. }
  4531. return realUpdatedRows.ToArray();
  4532. }
  4533. /// <summary>
  4534. ///Update all changes to the dataset.
  4535. ///</summary>
  4536. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4538. public virtual int UpdateAll(LebedenkoWorldSkillsDataSet dataSet) {
  4539. if ((dataSet == null)) {
  4540. throw new global::System.ArgumentNullException("dataSet");
  4541. }
  4542. if ((dataSet.HasChanges() == false)) {
  4543. return 0;
  4544. }
  4545. if (((this._dataLoginTableAdapter != null)
  4546. && (this.MatchTableAdapterConnection(this._dataLoginTableAdapter.Connection) == false))) {
  4547. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  4548. "r, должны использовать одинаковую строку подключения.");
  4549. }
  4550. if (((this._данныеОСтудентеTableAdapter != null)
  4551. && (this.MatchTableAdapterConnection(this._данныеОСтудентеTableAdapter.Connection) == false))) {
  4552. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  4553. "r, должны использовать одинаковую строку подключения.");
  4554. }
  4555. if (((this._экзаменTableAdapter != null)
  4556. && (this.MatchTableAdapterConnection(this._экзаменTableAdapter.Connection) == false))) {
  4557. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  4558. "r, должны использовать одинаковую строку подключения.");
  4559. }
  4560. if (((this._экспертыTableAdapter != null)
  4561. && (this.MatchTableAdapterConnection(this._экспертыTableAdapter.Connection) == false))) {
  4562. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  4563. "r, должны использовать одинаковую строку подключения.");
  4564. }
  4565. global::System.Data.IDbConnection workConnection = this.Connection;
  4566. if ((workConnection == null)) {
  4567. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  4568. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  4569. }
  4570. bool workConnOpened = false;
  4571. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  4572. == global::System.Data.ConnectionState.Broken)) {
  4573. workConnection.Close();
  4574. }
  4575. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  4576. workConnection.Open();
  4577. workConnOpened = true;
  4578. }
  4579. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  4580. if ((workTransaction == null)) {
  4581. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  4582. "и или текущее состояние не позволяет начать транзакцию.");
  4583. }
  4584. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  4585. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  4586. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  4587. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  4588. int result = 0;
  4589. global::System.Data.DataSet backupDataSet = null;
  4590. if (this.BackupDataSetBeforeUpdate) {
  4591. backupDataSet = new global::System.Data.DataSet();
  4592. backupDataSet.Merge(dataSet);
  4593. }
  4594. try {
  4595. // ---- Prepare for update -----------
  4596. //
  4597. if ((this._dataLoginTableAdapter != null)) {
  4598. revertConnections.Add(this._dataLoginTableAdapter, this._dataLoginTableAdapter.Connection);
  4599. this._dataLoginTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  4600. this._dataLoginTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  4601. if (this._dataLoginTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  4602. this._dataLoginTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  4603. adaptersWithAcceptChangesDuringUpdate.Add(this._dataLoginTableAdapter.Adapter);
  4604. }
  4605. }
  4606. if ((this._данныеОСтудентеTableAdapter != null)) {
  4607. revertConnections.Add(this._данныеОСтудентеTableAdapter, this._данныеОСтудентеTableAdapter.Connection);
  4608. this._данныеОСтудентеTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  4609. this._данныеОСтудентеTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  4610. if (this._данныеОСтудентеTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  4611. this._данныеОСтудентеTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  4612. adaptersWithAcceptChangesDuringUpdate.Add(this._данныеОСтудентеTableAdapter.Adapter);
  4613. }
  4614. }
  4615. if ((this._экзаменTableAdapter != null)) {
  4616. revertConnections.Add(this._экзаменTableAdapter, this._экзаменTableAdapter.Connection);
  4617. this._экзаменTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  4618. this._экзаменTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  4619. if (this._экзаменTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  4620. this._экзаменTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  4621. adaptersWithAcceptChangesDuringUpdate.Add(this._экзаменTableAdapter.Adapter);
  4622. }
  4623. }
  4624. if ((this._экспертыTableAdapter != null)) {
  4625. revertConnections.Add(this._экспертыTableAdapter, this._экспертыTableAdapter.Connection);
  4626. this._экспертыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  4627. this._экспертыTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  4628. if (this._экспертыTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  4629. this._экспертыTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  4630. adaptersWithAcceptChangesDuringUpdate.Add(this._экспертыTableAdapter.Adapter);
  4631. }
  4632. }
  4633. //
  4634. //---- Perform updates -----------
  4635. //
  4636. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  4637. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  4638. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  4639. }
  4640. else {
  4641. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  4642. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  4643. }
  4644. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  4645. //
  4646. //---- Commit updates -----------
  4647. //
  4648. workTransaction.Commit();
  4649. if ((0 < allAddedRows.Count)) {
  4650. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  4651. allAddedRows.CopyTo(rows);
  4652. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  4653. global::System.Data.DataRow row = rows[i];
  4654. row.AcceptChanges();
  4655. }
  4656. }
  4657. if ((0 < allChangedRows.Count)) {
  4658. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  4659. allChangedRows.CopyTo(rows);
  4660. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  4661. global::System.Data.DataRow row = rows[i];
  4662. row.AcceptChanges();
  4663. }
  4664. }
  4665. }
  4666. catch (global::System.Exception ex) {
  4667. workTransaction.Rollback();
  4668. // ---- Restore the dataset -----------
  4669. if (this.BackupDataSetBeforeUpdate) {
  4670. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  4671. dataSet.Clear();
  4672. dataSet.Merge(backupDataSet);
  4673. }
  4674. else {
  4675. if ((0 < allAddedRows.Count)) {
  4676. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  4677. allAddedRows.CopyTo(rows);
  4678. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  4679. global::System.Data.DataRow row = rows[i];
  4680. row.AcceptChanges();
  4681. row.SetAdded();
  4682. }
  4683. }
  4684. }
  4685. throw ex;
  4686. }
  4687. finally {
  4688. if (workConnOpened) {
  4689. workConnection.Close();
  4690. }
  4691. if ((this._dataLoginTableAdapter != null)) {
  4692. this._dataLoginTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._dataLoginTableAdapter]));
  4693. this._dataLoginTableAdapter.Transaction = null;
  4694. }
  4695. if ((this._данныеОСтудентеTableAdapter != null)) {
  4696. this._данныеОСтудентеTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._данныеОСтудентеTableAdapter]));
  4697. this._данныеОСтудентеTableAdapter.Transaction = null;
  4698. }
  4699. if ((this._экзаменTableAdapter != null)) {
  4700. this._экзаменTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._экзаменTableAdapter]));
  4701. this._экзаменTableAdapter.Transaction = null;
  4702. }
  4703. if ((this._экспертыTableAdapter != null)) {
  4704. this._экспертыTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._экспертыTableAdapter]));
  4705. this._экспертыTableAdapter.Transaction = null;
  4706. }
  4707. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  4708. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  4709. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  4710. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  4711. global::System.Data.Common.DataAdapter adapter = adapters[i];
  4712. adapter.AcceptChangesDuringUpdate = true;
  4713. }
  4714. }
  4715. }
  4716. return result;
  4717. }
  4718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4719. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4720. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  4721. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  4722. }
  4723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4724. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4725. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  4726. if ((this._connection != null)) {
  4727. return true;
  4728. }
  4729. if (((this.Connection == null)
  4730. || (inputConnection == null))) {
  4731. return true;
  4732. }
  4733. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  4734. return true;
  4735. }
  4736. return false;
  4737. }
  4738. /// <summary>
  4739. ///Update Order Option
  4740. ///</summary>
  4741. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4742. public enum UpdateOrderOption {
  4743. InsertUpdateDelete = 0,
  4744. UpdateInsertDelete = 1,
  4745. }
  4746. /// <summary>
  4747. ///Used to sort self-referenced table's rows
  4748. ///</summary>
  4749. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4750. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  4751. private global::System.Data.DataRelation _relation;
  4752. private int _childFirst;
  4753. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4754. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4755. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  4756. this._relation = relation;
  4757. if (childFirst) {
  4758. this._childFirst = -1;
  4759. }
  4760. else {
  4761. this._childFirst = 1;
  4762. }
  4763. }
  4764. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4765. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4766. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  4767. global::System.Diagnostics.Debug.Assert((row != null));
  4768. global::System.Data.DataRow root = row;
  4769. distance = 0;
  4770. 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>();
  4771. traversedRows[row] = row;
  4772. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  4773. for (
  4774. ; ((parent != null)
  4775. && (traversedRows.ContainsKey(parent) == false));
  4776. ) {
  4777. distance = (distance + 1);
  4778. root = parent;
  4779. traversedRows[parent] = parent;
  4780. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  4781. }
  4782. if ((distance == 0)) {
  4783. traversedRows.Clear();
  4784. traversedRows[row] = row;
  4785. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  4786. for (
  4787. ; ((parent != null)
  4788. && (traversedRows.ContainsKey(parent) == false));
  4789. ) {
  4790. distance = (distance + 1);
  4791. root = parent;
  4792. traversedRows[parent] = parent;
  4793. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  4794. }
  4795. }
  4796. return root;
  4797. }
  4798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4799. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4800. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  4801. if (object.ReferenceEquals(row1, row2)) {
  4802. return 0;
  4803. }
  4804. if ((row1 == null)) {
  4805. return -1;
  4806. }
  4807. if ((row2 == null)) {
  4808. return 1;
  4809. }
  4810. int distance1 = 0;
  4811. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  4812. int distance2 = 0;
  4813. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  4814. if (object.ReferenceEquals(root1, root2)) {
  4815. return (this._childFirst * distance1.CompareTo(distance2));
  4816. }
  4817. else {
  4818. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  4819. && (root2.Table != null)));
  4820. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  4821. return -1;
  4822. }
  4823. else {
  4824. return 1;
  4825. }
  4826. }
  4827. }
  4828. }
  4829. }
  4830. }
  4831. #pragma warning restore 1591