IS31Kiselev5DataSet.Designer.cs 503 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан программой.
  4. // Исполняемая версия:4.0.30319.42000
  5. //
  6. // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
  7. // повторной генерации кода.
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. #pragma warning disable 1591
  11. namespace IS31Kiselev5 {
  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("IS31Kiselev5DataSet")]
  20. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
  21. public partial class IS31Kiselev5DataSet : global::System.Data.DataSet {
  22. private моделиDataTable tableмодели;
  23. private поступленияDataTable tableпоступления;
  24. private товарDataTable tableтовар;
  25. private _2_ое_полугодиеDataTable _table2_ое_полугодие;
  26. private _дата_модель_товар_кол_во_ценаDataTable _tableдата_модель_товар_кол_во_цена;
  27. private ИвановDataTable tableИванов;
  28. private меньше_15к_штукDataTable tableменьше_15к_штук;
  29. private _модели_1_го_полугодияDataTable _tableмодели_1_го_полугодия;
  30. private модель_товарDataTable tableмодель_товар;
  31. private название_модели_до_500_рублейDataTable tableназвание_модели_до_500_рублей;
  32. private _связь_товар_модели_поступленияDataTable _tableсвязь_товар_модели_поступления;
  33. private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  34. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  35. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  36. public IS31Kiselev5DataSet() {
  37. this.BeginInit();
  38. this.InitClass();
  39. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  40. base.Tables.CollectionChanged += schemaChangedHandler;
  41. base.Relations.CollectionChanged += schemaChangedHandler;
  42. this.EndInit();
  43. }
  44. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  45. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  46. protected IS31Kiselev5DataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  47. base(info, context, false) {
  48. if ((this.IsBinarySerialized(info, context) == true)) {
  49. this.InitVars(false);
  50. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  51. this.Tables.CollectionChanged += schemaChangedHandler1;
  52. this.Relations.CollectionChanged += schemaChangedHandler1;
  53. return;
  54. }
  55. string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
  56. if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  57. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  58. ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  59. if ((ds.Tables["модели"] != null)) {
  60. base.Tables.Add(new моделиDataTable(ds.Tables["модели"]));
  61. }
  62. if ((ds.Tables["поступления"] != null)) {
  63. base.Tables.Add(new поступленияDataTable(ds.Tables["поступления"]));
  64. }
  65. if ((ds.Tables["товар"] != null)) {
  66. base.Tables.Add(new товарDataTable(ds.Tables["товар"]));
  67. }
  68. if ((ds.Tables["2-ое полугодие"] != null)) {
  69. base.Tables.Add(new _2_ое_полугодиеDataTable(ds.Tables["2-ое полугодие"]));
  70. }
  71. if ((ds.Tables["дата модель товар кол-во цена"] != null)) {
  72. base.Tables.Add(new _дата_модель_товар_кол_во_ценаDataTable(ds.Tables["дата модель товар кол-во цена"]));
  73. }
  74. if ((ds.Tables["Иванов"] != null)) {
  75. base.Tables.Add(new ИвановDataTable(ds.Tables["Иванов"]));
  76. }
  77. if ((ds.Tables["меньше 15к штук"] != null)) {
  78. base.Tables.Add(new меньше_15к_штукDataTable(ds.Tables["меньше 15к штук"]));
  79. }
  80. if ((ds.Tables["модели 1-го полугодия"] != null)) {
  81. base.Tables.Add(new _модели_1_го_полугодияDataTable(ds.Tables["модели 1-го полугодия"]));
  82. }
  83. if ((ds.Tables["модель товар"] != null)) {
  84. base.Tables.Add(new модель_товарDataTable(ds.Tables["модель товар"]));
  85. }
  86. if ((ds.Tables["название модели до 500 рублей"] != null)) {
  87. base.Tables.Add(new название_модели_до_500_рублейDataTable(ds.Tables["название модели до 500 рублей"]));
  88. }
  89. if ((ds.Tables["связь товар+модели+поступления"] != null)) {
  90. base.Tables.Add(new _связь_товар_модели_поступленияDataTable(ds.Tables["связь товар+модели+поступления"]));
  91. }
  92. this.DataSetName = ds.DataSetName;
  93. this.Prefix = ds.Prefix;
  94. this.Namespace = ds.Namespace;
  95. this.Locale = ds.Locale;
  96. this.CaseSensitive = ds.CaseSensitive;
  97. this.EnforceConstraints = ds.EnforceConstraints;
  98. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  99. this.InitVars();
  100. }
  101. else {
  102. this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
  103. }
  104. this.GetSerializationData(info, context);
  105. global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
  106. base.Tables.CollectionChanged += schemaChangedHandler;
  107. this.Relations.CollectionChanged += schemaChangedHandler;
  108. }
  109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  111. [global::System.ComponentModel.Browsable(false)]
  112. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  113. public моделиDataTable модели {
  114. get {
  115. return this.tableмодели;
  116. }
  117. }
  118. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  119. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  120. [global::System.ComponentModel.Browsable(false)]
  121. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  122. public поступленияDataTable поступления {
  123. get {
  124. return this.tableпоступления;
  125. }
  126. }
  127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  128. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  129. [global::System.ComponentModel.Browsable(false)]
  130. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  131. public товарDataTable товар {
  132. get {
  133. return this.tableтовар;
  134. }
  135. }
  136. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  137. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  138. [global::System.ComponentModel.Browsable(false)]
  139. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  140. public _2_ое_полугодиеDataTable _2_ое_полугодие {
  141. get {
  142. return this._table2_ое_полугодие;
  143. }
  144. }
  145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  147. [global::System.ComponentModel.Browsable(false)]
  148. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  149. public _дата_модель_товар_кол_во_ценаDataTable _дата_модель_товар_кол_во_цена {
  150. get {
  151. return this._tableдата_модель_товар_кол_во_цена;
  152. }
  153. }
  154. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  155. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  156. [global::System.ComponentModel.Browsable(false)]
  157. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  158. public ИвановDataTable Иванов {
  159. get {
  160. return this.tableИванов;
  161. }
  162. }
  163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  165. [global::System.ComponentModel.Browsable(false)]
  166. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  167. public меньше_15к_штукDataTable меньше_15к_штук {
  168. get {
  169. return this.tableменьше_15к_штук;
  170. }
  171. }
  172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  173. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  174. [global::System.ComponentModel.Browsable(false)]
  175. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  176. public _модели_1_го_полугодияDataTable _модели_1_го_полугодия {
  177. get {
  178. return this._tableмодели_1_го_полугодия;
  179. }
  180. }
  181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  183. [global::System.ComponentModel.Browsable(false)]
  184. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  185. public модель_товарDataTable модель_товар {
  186. get {
  187. return this.tableмодель_товар;
  188. }
  189. }
  190. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  192. [global::System.ComponentModel.Browsable(false)]
  193. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  194. public название_модели_до_500_рублейDataTable название_модели_до_500_рублей {
  195. get {
  196. return this.tableназвание_модели_до_500_рублей;
  197. }
  198. }
  199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  201. [global::System.ComponentModel.Browsable(false)]
  202. [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
  203. public _связь_товар_модели_поступленияDataTable _связь_товар_модели_поступления {
  204. get {
  205. return this._tableсвязь_товар_модели_поступления;
  206. }
  207. }
  208. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  209. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  210. [global::System.ComponentModel.BrowsableAttribute(true)]
  211. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
  212. public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
  213. get {
  214. return this._schemaSerializationMode;
  215. }
  216. set {
  217. this._schemaSerializationMode = value;
  218. }
  219. }
  220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  222. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  223. public new global::System.Data.DataTableCollection Tables {
  224. get {
  225. return base.Tables;
  226. }
  227. }
  228. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  229. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  230. [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  231. public new global::System.Data.DataRelationCollection Relations {
  232. get {
  233. return base.Relations;
  234. }
  235. }
  236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  238. protected override void InitializeDerivedDataSet() {
  239. this.BeginInit();
  240. this.InitClass();
  241. this.EndInit();
  242. }
  243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  245. public override global::System.Data.DataSet Clone() {
  246. IS31Kiselev5DataSet cln = ((IS31Kiselev5DataSet)(base.Clone()));
  247. cln.InitVars();
  248. cln.SchemaSerializationMode = this.SchemaSerializationMode;
  249. return cln;
  250. }
  251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  252. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  253. protected override bool ShouldSerializeTables() {
  254. return false;
  255. }
  256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  257. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  258. protected override bool ShouldSerializeRelations() {
  259. return false;
  260. }
  261. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  262. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  263. protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
  264. if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
  265. this.Reset();
  266. global::System.Data.DataSet ds = new global::System.Data.DataSet();
  267. ds.ReadXml(reader);
  268. if ((ds.Tables["модели"] != null)) {
  269. base.Tables.Add(new моделиDataTable(ds.Tables["модели"]));
  270. }
  271. if ((ds.Tables["поступления"] != null)) {
  272. base.Tables.Add(new поступленияDataTable(ds.Tables["поступления"]));
  273. }
  274. if ((ds.Tables["товар"] != null)) {
  275. base.Tables.Add(new товарDataTable(ds.Tables["товар"]));
  276. }
  277. if ((ds.Tables["2-ое полугодие"] != null)) {
  278. base.Tables.Add(new _2_ое_полугодиеDataTable(ds.Tables["2-ое полугодие"]));
  279. }
  280. if ((ds.Tables["дата модель товар кол-во цена"] != null)) {
  281. base.Tables.Add(new _дата_модель_товар_кол_во_ценаDataTable(ds.Tables["дата модель товар кол-во цена"]));
  282. }
  283. if ((ds.Tables["Иванов"] != null)) {
  284. base.Tables.Add(new ИвановDataTable(ds.Tables["Иванов"]));
  285. }
  286. if ((ds.Tables["меньше 15к штук"] != null)) {
  287. base.Tables.Add(new меньше_15к_штукDataTable(ds.Tables["меньше 15к штук"]));
  288. }
  289. if ((ds.Tables["модели 1-го полугодия"] != null)) {
  290. base.Tables.Add(new _модели_1_го_полугодияDataTable(ds.Tables["модели 1-го полугодия"]));
  291. }
  292. if ((ds.Tables["модель товар"] != null)) {
  293. base.Tables.Add(new модель_товарDataTable(ds.Tables["модель товар"]));
  294. }
  295. if ((ds.Tables["название модели до 500 рублей"] != null)) {
  296. base.Tables.Add(new название_модели_до_500_рублейDataTable(ds.Tables["название модели до 500 рублей"]));
  297. }
  298. if ((ds.Tables["связь товар+модели+поступления"] != null)) {
  299. base.Tables.Add(new _связь_товар_модели_поступленияDataTable(ds.Tables["связь товар+модели+поступления"]));
  300. }
  301. this.DataSetName = ds.DataSetName;
  302. this.Prefix = ds.Prefix;
  303. this.Namespace = ds.Namespace;
  304. this.Locale = ds.Locale;
  305. this.CaseSensitive = ds.CaseSensitive;
  306. this.EnforceConstraints = ds.EnforceConstraints;
  307. this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
  308. this.InitVars();
  309. }
  310. else {
  311. this.ReadXml(reader);
  312. this.InitVars();
  313. }
  314. }
  315. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  316. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  317. protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
  318. global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
  319. this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
  320. stream.Position = 0;
  321. return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
  322. }
  323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  324. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  325. internal void InitVars() {
  326. this.InitVars(true);
  327. }
  328. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  329. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  330. internal void InitVars(bool initTable) {
  331. this.tableмодели = ((моделиDataTable)(base.Tables["модели"]));
  332. if ((initTable == true)) {
  333. if ((this.tableмодели != null)) {
  334. this.tableмодели.InitVars();
  335. }
  336. }
  337. this.tableпоступления = ((поступленияDataTable)(base.Tables["поступления"]));
  338. if ((initTable == true)) {
  339. if ((this.tableпоступления != null)) {
  340. this.tableпоступления.InitVars();
  341. }
  342. }
  343. this.tableтовар = ((товарDataTable)(base.Tables["товар"]));
  344. if ((initTable == true)) {
  345. if ((this.tableтовар != null)) {
  346. this.tableтовар.InitVars();
  347. }
  348. }
  349. this._table2_ое_полугодие = ((_2_ое_полугодиеDataTable)(base.Tables["2-ое полугодие"]));
  350. if ((initTable == true)) {
  351. if ((this._table2_ое_полугодие != null)) {
  352. this._table2_ое_полугодие.InitVars();
  353. }
  354. }
  355. this._tableдата_модель_товар_кол_во_цена = ((_дата_модель_товар_кол_во_ценаDataTable)(base.Tables["дата модель товар кол-во цена"]));
  356. if ((initTable == true)) {
  357. if ((this._tableдата_модель_товар_кол_во_цена != null)) {
  358. this._tableдата_модель_товар_кол_во_цена.InitVars();
  359. }
  360. }
  361. this.tableИванов = ((ИвановDataTable)(base.Tables["Иванов"]));
  362. if ((initTable == true)) {
  363. if ((this.tableИванов != null)) {
  364. this.tableИванов.InitVars();
  365. }
  366. }
  367. this.tableменьше_15к_штук = ((меньше_15к_штукDataTable)(base.Tables["меньше 15к штук"]));
  368. if ((initTable == true)) {
  369. if ((this.tableменьше_15к_штук != null)) {
  370. this.tableменьше_15к_штук.InitVars();
  371. }
  372. }
  373. this._tableмодели_1_го_полугодия = ((_модели_1_го_полугодияDataTable)(base.Tables["модели 1-го полугодия"]));
  374. if ((initTable == true)) {
  375. if ((this._tableмодели_1_го_полугодия != null)) {
  376. this._tableмодели_1_го_полугодия.InitVars();
  377. }
  378. }
  379. this.tableмодель_товар = ((модель_товарDataTable)(base.Tables["модель товар"]));
  380. if ((initTable == true)) {
  381. if ((this.tableмодель_товар != null)) {
  382. this.tableмодель_товар.InitVars();
  383. }
  384. }
  385. this.tableназвание_модели_до_500_рублей = ((название_модели_до_500_рублейDataTable)(base.Tables["название модели до 500 рублей"]));
  386. if ((initTable == true)) {
  387. if ((this.tableназвание_модели_до_500_рублей != null)) {
  388. this.tableназвание_модели_до_500_рублей.InitVars();
  389. }
  390. }
  391. this._tableсвязь_товар_модели_поступления = ((_связь_товар_модели_поступленияDataTable)(base.Tables["связь товар+модели+поступления"]));
  392. if ((initTable == true)) {
  393. if ((this._tableсвязь_товар_модели_поступления != null)) {
  394. this._tableсвязь_товар_модели_поступления.InitVars();
  395. }
  396. }
  397. }
  398. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  399. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  400. private void InitClass() {
  401. this.DataSetName = "IS31Kiselev5DataSet";
  402. this.Prefix = "";
  403. this.Namespace = "http://tempuri.org/IS31Kiselev5DataSet.xsd";
  404. this.EnforceConstraints = true;
  405. this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
  406. this.tableмодели = new моделиDataTable();
  407. base.Tables.Add(this.tableмодели);
  408. this.tableпоступления = new поступленияDataTable();
  409. base.Tables.Add(this.tableпоступления);
  410. this.tableтовар = new товарDataTable();
  411. base.Tables.Add(this.tableтовар);
  412. this._table2_ое_полугодие = new _2_ое_полугодиеDataTable();
  413. base.Tables.Add(this._table2_ое_полугодие);
  414. this._tableдата_модель_товар_кол_во_цена = new _дата_модель_товар_кол_во_ценаDataTable();
  415. base.Tables.Add(this._tableдата_модель_товар_кол_во_цена);
  416. this.tableИванов = new ИвановDataTable();
  417. base.Tables.Add(this.tableИванов);
  418. this.tableменьше_15к_штук = new меньше_15к_штукDataTable();
  419. base.Tables.Add(this.tableменьше_15к_штук);
  420. this._tableмодели_1_го_полугодия = new _модели_1_го_полугодияDataTable();
  421. base.Tables.Add(this._tableмодели_1_го_полугодия);
  422. this.tableмодель_товар = new модель_товарDataTable();
  423. base.Tables.Add(this.tableмодель_товар);
  424. this.tableназвание_модели_до_500_рублей = new название_модели_до_500_рублейDataTable();
  425. base.Tables.Add(this.tableназвание_модели_до_500_рублей);
  426. this._tableсвязь_товар_модели_поступления = new _связь_товар_модели_поступленияDataTable();
  427. base.Tables.Add(this._tableсвязь_товар_модели_поступления);
  428. }
  429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  431. private bool ShouldSerializeмодели() {
  432. return false;
  433. }
  434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  435. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  436. private bool ShouldSerializeпоступления() {
  437. return false;
  438. }
  439. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  440. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  441. private bool ShouldSerializeтовар() {
  442. return false;
  443. }
  444. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  446. private bool ShouldSerialize_2_ое_полугодие() {
  447. return false;
  448. }
  449. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  450. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  451. private bool ShouldSerialize_дата_модель_товар_кол_во_цена() {
  452. return false;
  453. }
  454. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  455. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  456. private bool ShouldSerializeИванов() {
  457. return false;
  458. }
  459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  461. private bool ShouldSerializeменьше_15к_штук() {
  462. return false;
  463. }
  464. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  465. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  466. private bool ShouldSerialize_модели_1_го_полугодия() {
  467. return false;
  468. }
  469. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  470. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  471. private bool ShouldSerializeмодель_товар() {
  472. return false;
  473. }
  474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  476. private bool ShouldSerializeназвание_модели_до_500_рублей() {
  477. return false;
  478. }
  479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  481. private bool ShouldSerialize_связь_товар_модели_поступления() {
  482. return false;
  483. }
  484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  485. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  486. private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
  487. if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
  488. this.InitVars();
  489. }
  490. }
  491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  492. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  493. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  494. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  495. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  496. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  497. global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
  498. any.Namespace = ds.Namespace;
  499. sequence.Items.Add(any);
  500. type.Particle = sequence;
  501. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  502. if (xs.Contains(dsSchema.TargetNamespace)) {
  503. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  504. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  505. try {
  506. global::System.Xml.Schema.XmlSchema schema = null;
  507. dsSchema.Write(s1);
  508. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  509. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  510. s2.SetLength(0);
  511. schema.Write(s2);
  512. if ((s1.Length == s2.Length)) {
  513. s1.Position = 0;
  514. s2.Position = 0;
  515. for (; ((s1.Position != s1.Length)
  516. && (s1.ReadByte() == s2.ReadByte())); ) {
  517. ;
  518. }
  519. if ((s1.Position == s1.Length)) {
  520. return type;
  521. }
  522. }
  523. }
  524. }
  525. finally {
  526. if ((s1 != null)) {
  527. s1.Close();
  528. }
  529. if ((s2 != null)) {
  530. s2.Close();
  531. }
  532. }
  533. }
  534. xs.Add(dsSchema);
  535. return type;
  536. }
  537. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  538. public delegate void моделиRowChangeEventHandler(object sender, моделиRowChangeEvent e);
  539. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  540. public delegate void поступленияRowChangeEventHandler(object sender, поступленияRowChangeEvent e);
  541. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  542. public delegate void товарRowChangeEventHandler(object sender, товарRowChangeEvent e);
  543. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  544. public delegate void _2_ое_полугодиеRowChangeEventHandler(object sender, _2_ое_полугодиеRowChangeEvent e);
  545. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  546. public delegate void _дата_модель_товар_кол_во_ценаRowChangeEventHandler(object sender, _дата_модель_товар_кол_во_ценаRowChangeEvent e);
  547. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  548. public delegate void ИвановRowChangeEventHandler(object sender, ИвановRowChangeEvent e);
  549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  550. public delegate void меньше_15к_штукRowChangeEventHandler(object sender, меньше_15к_штукRowChangeEvent e);
  551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  552. public delegate void _модели_1_го_полугодияRowChangeEventHandler(object sender, _модели_1_го_полугодияRowChangeEvent e);
  553. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  554. public delegate void модель_товарRowChangeEventHandler(object sender, модель_товарRowChangeEvent e);
  555. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  556. public delegate void название_модели_до_500_рублейRowChangeEventHandler(object sender, название_модели_до_500_рублейRowChangeEvent e);
  557. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  558. public delegate void _связь_товар_модели_поступленияRowChangeEventHandler(object sender, _связь_товар_модели_поступленияRowChangeEvent e);
  559. /// <summary>
  560. ///Represents the strongly named DataTable class.
  561. ///</summary>
  562. [global::System.Serializable()]
  563. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  564. public partial class моделиDataTable : global::System.Data.TypedTableBase<моделиRow> {
  565. private global::System.Data.DataColumn columnкод_модели;
  566. private global::System.Data.DataColumn columnнаименование_модели;
  567. private global::System.Data.DataColumn columnкод_товара;
  568. private global::System.Data.DataColumn columnцена_модели;
  569. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  570. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  571. public моделиDataTable() {
  572. this.TableName = "модели";
  573. this.BeginInit();
  574. this.InitClass();
  575. this.EndInit();
  576. }
  577. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  578. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  579. internal моделиDataTable(global::System.Data.DataTable table) {
  580. this.TableName = table.TableName;
  581. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  582. this.CaseSensitive = table.CaseSensitive;
  583. }
  584. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  585. this.Locale = table.Locale;
  586. }
  587. if ((table.Namespace != table.DataSet.Namespace)) {
  588. this.Namespace = table.Namespace;
  589. }
  590. this.Prefix = table.Prefix;
  591. this.MinimumCapacity = table.MinimumCapacity;
  592. }
  593. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  594. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  595. protected моделиDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  596. base(info, context) {
  597. this.InitVars();
  598. }
  599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  601. public global::System.Data.DataColumn код_моделиColumn {
  602. get {
  603. return this.columnкод_модели;
  604. }
  605. }
  606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  607. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  608. public global::System.Data.DataColumn наименование_моделиColumn {
  609. get {
  610. return this.columnнаименование_модели;
  611. }
  612. }
  613. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  614. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  615. public global::System.Data.DataColumn код_товараColumn {
  616. get {
  617. return this.columnкод_товара;
  618. }
  619. }
  620. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  621. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  622. public global::System.Data.DataColumn цена_моделиColumn {
  623. get {
  624. return this.columnцена_модели;
  625. }
  626. }
  627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  628. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  629. [global::System.ComponentModel.Browsable(false)]
  630. public int Count {
  631. get {
  632. return this.Rows.Count;
  633. }
  634. }
  635. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  636. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  637. public моделиRow this[int index] {
  638. get {
  639. return ((моделиRow)(this.Rows[index]));
  640. }
  641. }
  642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  643. public event моделиRowChangeEventHandler моделиRowChanging;
  644. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  645. public event моделиRowChangeEventHandler моделиRowChanged;
  646. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  647. public event моделиRowChangeEventHandler моделиRowDeleting;
  648. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  649. public event моделиRowChangeEventHandler моделиRowDeleted;
  650. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  651. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  652. public void AddмоделиRow(моделиRow row) {
  653. this.Rows.Add(row);
  654. }
  655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  656. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  657. public моделиRow AddмоделиRow(string наименование_модели, long код_товара, decimal цена_модели) {
  658. моделиRow rowмоделиRow = ((моделиRow)(this.NewRow()));
  659. object[] columnValuesArray = new object[] {
  660. null,
  661. наименование_модели,
  662. код_товара,
  663. цена_модели};
  664. rowмоделиRow.ItemArray = columnValuesArray;
  665. this.Rows.Add(rowмоделиRow);
  666. return rowмоделиRow;
  667. }
  668. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  669. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  670. public моделиRow FindByкод_модели(long код_модели) {
  671. return ((моделиRow)(this.Rows.Find(new object[] {
  672. код_модели})));
  673. }
  674. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  675. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  676. public override global::System.Data.DataTable Clone() {
  677. моделиDataTable cln = ((моделиDataTable)(base.Clone()));
  678. cln.InitVars();
  679. return cln;
  680. }
  681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  682. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  683. protected override global::System.Data.DataTable CreateInstance() {
  684. return new моделиDataTable();
  685. }
  686. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  687. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  688. internal void InitVars() {
  689. this.columnкод_модели = base.Columns["код модели"];
  690. this.columnнаименование_модели = base.Columns["наименование модели"];
  691. this.columnкод_товара = base.Columns["код товара"];
  692. this.columnцена_модели = base.Columns["цена модели"];
  693. }
  694. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  695. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  696. private void InitClass() {
  697. this.columnкод_модели = new global::System.Data.DataColumn("код модели", typeof(long), null, global::System.Data.MappingType.Element);
  698. base.Columns.Add(this.columnкод_модели);
  699. this.columnнаименование_модели = new global::System.Data.DataColumn("наименование модели", typeof(string), null, global::System.Data.MappingType.Element);
  700. base.Columns.Add(this.columnнаименование_модели);
  701. this.columnкод_товара = new global::System.Data.DataColumn("код товара", typeof(long), null, global::System.Data.MappingType.Element);
  702. base.Columns.Add(this.columnкод_товара);
  703. this.columnцена_модели = new global::System.Data.DataColumn("цена модели", typeof(decimal), null, global::System.Data.MappingType.Element);
  704. base.Columns.Add(this.columnцена_модели);
  705. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  706. this.columnкод_модели}, true));
  707. this.columnкод_модели.AutoIncrement = true;
  708. this.columnкод_модели.AutoIncrementSeed = -1;
  709. this.columnкод_модели.AutoIncrementStep = -1;
  710. this.columnкод_модели.AllowDBNull = false;
  711. this.columnкод_модели.ReadOnly = true;
  712. this.columnкод_модели.Unique = true;
  713. this.columnнаименование_модели.MaxLength = 2147483647;
  714. }
  715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  716. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  717. public моделиRow NewмоделиRow() {
  718. return ((моделиRow)(this.NewRow()));
  719. }
  720. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  721. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  722. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  723. return new моделиRow(builder);
  724. }
  725. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  726. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  727. protected override global::System.Type GetRowType() {
  728. return typeof(моделиRow);
  729. }
  730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  731. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  732. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  733. base.OnRowChanged(e);
  734. if ((this.моделиRowChanged != null)) {
  735. this.моделиRowChanged(this, new моделиRowChangeEvent(((моделиRow)(e.Row)), e.Action));
  736. }
  737. }
  738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  739. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  740. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  741. base.OnRowChanging(e);
  742. if ((this.моделиRowChanging != null)) {
  743. this.моделиRowChanging(this, new моделиRowChangeEvent(((моделиRow)(e.Row)), e.Action));
  744. }
  745. }
  746. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  747. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  748. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  749. base.OnRowDeleted(e);
  750. if ((this.моделиRowDeleted != null)) {
  751. this.моделиRowDeleted(this, new моделиRowChangeEvent(((моделиRow)(e.Row)), e.Action));
  752. }
  753. }
  754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  755. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  756. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  757. base.OnRowDeleting(e);
  758. if ((this.моделиRowDeleting != null)) {
  759. this.моделиRowDeleting(this, new моделиRowChangeEvent(((моделиRow)(e.Row)), e.Action));
  760. }
  761. }
  762. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  763. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  764. public void RemoveмоделиRow(моделиRow row) {
  765. this.Rows.Remove(row);
  766. }
  767. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  768. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  769. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  770. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  771. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  772. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  773. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  774. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  775. any1.MinOccurs = new decimal(0);
  776. any1.MaxOccurs = decimal.MaxValue;
  777. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  778. sequence.Items.Add(any1);
  779. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  780. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  781. any2.MinOccurs = new decimal(1);
  782. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  783. sequence.Items.Add(any2);
  784. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  785. attribute1.Name = "namespace";
  786. attribute1.FixedValue = ds.Namespace;
  787. type.Attributes.Add(attribute1);
  788. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  789. attribute2.Name = "tableTypeName";
  790. attribute2.FixedValue = "моделиDataTable";
  791. type.Attributes.Add(attribute2);
  792. type.Particle = sequence;
  793. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  794. if (xs.Contains(dsSchema.TargetNamespace)) {
  795. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  796. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  797. try {
  798. global::System.Xml.Schema.XmlSchema schema = null;
  799. dsSchema.Write(s1);
  800. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  801. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  802. s2.SetLength(0);
  803. schema.Write(s2);
  804. if ((s1.Length == s2.Length)) {
  805. s1.Position = 0;
  806. s2.Position = 0;
  807. for (; ((s1.Position != s1.Length)
  808. && (s1.ReadByte() == s2.ReadByte())); ) {
  809. ;
  810. }
  811. if ((s1.Position == s1.Length)) {
  812. return type;
  813. }
  814. }
  815. }
  816. }
  817. finally {
  818. if ((s1 != null)) {
  819. s1.Close();
  820. }
  821. if ((s2 != null)) {
  822. s2.Close();
  823. }
  824. }
  825. }
  826. xs.Add(dsSchema);
  827. return type;
  828. }
  829. }
  830. /// <summary>
  831. ///Represents the strongly named DataTable class.
  832. ///</summary>
  833. [global::System.Serializable()]
  834. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  835. public partial class поступленияDataTable : global::System.Data.TypedTableBase<поступленияRow> {
  836. private global::System.Data.DataColumn columnкод_поступления;
  837. private global::System.Data.DataColumn columnкод_модели;
  838. private global::System.Data.DataColumn columnдата_поступления;
  839. private global::System.Data.DataColumn columnмодели_товара;
  840. private global::System.Data.DataColumn _columnколичество__шт_;
  841. private global::System.Data.DataColumn columnкто_принял_товар;
  842. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  843. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  844. public поступленияDataTable() {
  845. this.TableName = "поступления";
  846. this.BeginInit();
  847. this.InitClass();
  848. this.EndInit();
  849. }
  850. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  851. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  852. internal поступленияDataTable(global::System.Data.DataTable table) {
  853. this.TableName = table.TableName;
  854. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  855. this.CaseSensitive = table.CaseSensitive;
  856. }
  857. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  858. this.Locale = table.Locale;
  859. }
  860. if ((table.Namespace != table.DataSet.Namespace)) {
  861. this.Namespace = table.Namespace;
  862. }
  863. this.Prefix = table.Prefix;
  864. this.MinimumCapacity = table.MinimumCapacity;
  865. }
  866. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  867. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  868. protected поступленияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  869. base(info, context) {
  870. this.InitVars();
  871. }
  872. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  873. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  874. public global::System.Data.DataColumn код_поступленияColumn {
  875. get {
  876. return this.columnкод_поступления;
  877. }
  878. }
  879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  880. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  881. public global::System.Data.DataColumn код_моделиColumn {
  882. get {
  883. return this.columnкод_модели;
  884. }
  885. }
  886. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  887. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  888. public global::System.Data.DataColumn дата_поступленияColumn {
  889. get {
  890. return this.columnдата_поступления;
  891. }
  892. }
  893. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  894. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  895. public global::System.Data.DataColumn модели_товараColumn {
  896. get {
  897. return this.columnмодели_товара;
  898. }
  899. }
  900. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  901. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  902. public global::System.Data.DataColumn _количество__шт_Column {
  903. get {
  904. return this._columnколичество__шт_;
  905. }
  906. }
  907. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  908. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  909. public global::System.Data.DataColumn кто_принял_товарColumn {
  910. get {
  911. return this.columnкто_принял_товар;
  912. }
  913. }
  914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  915. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  916. [global::System.ComponentModel.Browsable(false)]
  917. public int Count {
  918. get {
  919. return this.Rows.Count;
  920. }
  921. }
  922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  923. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  924. public поступленияRow this[int index] {
  925. get {
  926. return ((поступленияRow)(this.Rows[index]));
  927. }
  928. }
  929. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  930. public event поступленияRowChangeEventHandler поступленияRowChanging;
  931. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  932. public event поступленияRowChangeEventHandler поступленияRowChanged;
  933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  934. public event поступленияRowChangeEventHandler поступленияRowDeleting;
  935. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  936. public event поступленияRowChangeEventHandler поступленияRowDeleted;
  937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  938. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  939. public void AddпоступленияRow(поступленияRow row) {
  940. this.Rows.Add(row);
  941. }
  942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  943. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  944. public поступленияRow AddпоступленияRow(long код_модели, System.DateTime дата_поступления, string модели_товара, string _количество__шт_, string кто_принял_товар) {
  945. поступленияRow rowпоступленияRow = ((поступленияRow)(this.NewRow()));
  946. object[] columnValuesArray = new object[] {
  947. null,
  948. код_модели,
  949. дата_поступления,
  950. модели_товара,
  951. _количество__шт_,
  952. кто_принял_товар};
  953. rowпоступленияRow.ItemArray = columnValuesArray;
  954. this.Rows.Add(rowпоступленияRow);
  955. return rowпоступленияRow;
  956. }
  957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  959. public поступленияRow FindByкод_поступления(long код_поступления) {
  960. return ((поступленияRow)(this.Rows.Find(new object[] {
  961. код_поступления})));
  962. }
  963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  964. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  965. public override global::System.Data.DataTable Clone() {
  966. поступленияDataTable cln = ((поступленияDataTable)(base.Clone()));
  967. cln.InitVars();
  968. return cln;
  969. }
  970. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  971. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  972. protected override global::System.Data.DataTable CreateInstance() {
  973. return new поступленияDataTable();
  974. }
  975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  977. internal void InitVars() {
  978. this.columnкод_поступления = base.Columns["код поступления"];
  979. this.columnкод_модели = base.Columns["код модели"];
  980. this.columnдата_поступления = base.Columns["дата поступления"];
  981. this.columnмодели_товара = base.Columns["модели товара"];
  982. this._columnколичество__шт_ = base.Columns["количество, шт_"];
  983. this.columnкто_принял_товар = base.Columns["кто принял товар"];
  984. }
  985. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  986. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  987. private void InitClass() {
  988. this.columnкод_поступления = new global::System.Data.DataColumn("код поступления", typeof(long), null, global::System.Data.MappingType.Element);
  989. base.Columns.Add(this.columnкод_поступления);
  990. this.columnкод_модели = new global::System.Data.DataColumn("код модели", typeof(long), null, global::System.Data.MappingType.Element);
  991. base.Columns.Add(this.columnкод_модели);
  992. this.columnдата_поступления = new global::System.Data.DataColumn("дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  993. base.Columns.Add(this.columnдата_поступления);
  994. this.columnмодели_товара = new global::System.Data.DataColumn("модели товара", typeof(string), null, global::System.Data.MappingType.Element);
  995. base.Columns.Add(this.columnмодели_товара);
  996. this._columnколичество__шт_ = new global::System.Data.DataColumn("количество, шт_", typeof(string), null, global::System.Data.MappingType.Element);
  997. this._columnколичество__шт_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnколичество__шт_");
  998. this._columnколичество__шт_.ExtendedProperties.Add("Generator_UserColumnName", "количество, шт_");
  999. base.Columns.Add(this._columnколичество__шт_);
  1000. this.columnкто_принял_товар = new global::System.Data.DataColumn("кто принял товар", typeof(string), null, global::System.Data.MappingType.Element);
  1001. base.Columns.Add(this.columnкто_принял_товар);
  1002. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1003. this.columnкод_поступления}, true));
  1004. this.columnкод_поступления.AutoIncrement = true;
  1005. this.columnкод_поступления.AutoIncrementSeed = -1;
  1006. this.columnкод_поступления.AutoIncrementStep = -1;
  1007. this.columnкод_поступления.AllowDBNull = false;
  1008. this.columnкод_поступления.ReadOnly = true;
  1009. this.columnкод_поступления.Unique = true;
  1010. this.columnмодели_товара.MaxLength = 2147483647;
  1011. this._columnколичество__шт_.MaxLength = 2147483647;
  1012. this.columnкто_принял_товар.MaxLength = 2147483647;
  1013. }
  1014. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1015. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1016. public поступленияRow NewпоступленияRow() {
  1017. return ((поступленияRow)(this.NewRow()));
  1018. }
  1019. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1020. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1021. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1022. return new поступленияRow(builder);
  1023. }
  1024. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1025. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1026. protected override global::System.Type GetRowType() {
  1027. return typeof(поступленияRow);
  1028. }
  1029. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1030. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1031. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1032. base.OnRowChanged(e);
  1033. if ((this.поступленияRowChanged != null)) {
  1034. this.поступленияRowChanged(this, new поступленияRowChangeEvent(((поступленияRow)(e.Row)), e.Action));
  1035. }
  1036. }
  1037. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1038. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1039. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1040. base.OnRowChanging(e);
  1041. if ((this.поступленияRowChanging != null)) {
  1042. this.поступленияRowChanging(this, new поступленияRowChangeEvent(((поступленияRow)(e.Row)), e.Action));
  1043. }
  1044. }
  1045. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1046. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1047. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1048. base.OnRowDeleted(e);
  1049. if ((this.поступленияRowDeleted != null)) {
  1050. this.поступленияRowDeleted(this, new поступленияRowChangeEvent(((поступленияRow)(e.Row)), e.Action));
  1051. }
  1052. }
  1053. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1054. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1055. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1056. base.OnRowDeleting(e);
  1057. if ((this.поступленияRowDeleting != null)) {
  1058. this.поступленияRowDeleting(this, new поступленияRowChangeEvent(((поступленияRow)(e.Row)), e.Action));
  1059. }
  1060. }
  1061. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1062. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1063. public void RemoveпоступленияRow(поступленияRow row) {
  1064. this.Rows.Remove(row);
  1065. }
  1066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1067. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1068. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1069. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1070. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1071. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  1072. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1073. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1074. any1.MinOccurs = new decimal(0);
  1075. any1.MaxOccurs = decimal.MaxValue;
  1076. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1077. sequence.Items.Add(any1);
  1078. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1079. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1080. any2.MinOccurs = new decimal(1);
  1081. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1082. sequence.Items.Add(any2);
  1083. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1084. attribute1.Name = "namespace";
  1085. attribute1.FixedValue = ds.Namespace;
  1086. type.Attributes.Add(attribute1);
  1087. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1088. attribute2.Name = "tableTypeName";
  1089. attribute2.FixedValue = "поступленияDataTable";
  1090. type.Attributes.Add(attribute2);
  1091. type.Particle = sequence;
  1092. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1093. if (xs.Contains(dsSchema.TargetNamespace)) {
  1094. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1095. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1096. try {
  1097. global::System.Xml.Schema.XmlSchema schema = null;
  1098. dsSchema.Write(s1);
  1099. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1100. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1101. s2.SetLength(0);
  1102. schema.Write(s2);
  1103. if ((s1.Length == s2.Length)) {
  1104. s1.Position = 0;
  1105. s2.Position = 0;
  1106. for (; ((s1.Position != s1.Length)
  1107. && (s1.ReadByte() == s2.ReadByte())); ) {
  1108. ;
  1109. }
  1110. if ((s1.Position == s1.Length)) {
  1111. return type;
  1112. }
  1113. }
  1114. }
  1115. }
  1116. finally {
  1117. if ((s1 != null)) {
  1118. s1.Close();
  1119. }
  1120. if ((s2 != null)) {
  1121. s2.Close();
  1122. }
  1123. }
  1124. }
  1125. xs.Add(dsSchema);
  1126. return type;
  1127. }
  1128. }
  1129. /// <summary>
  1130. ///Represents the strongly named DataTable class.
  1131. ///</summary>
  1132. [global::System.Serializable()]
  1133. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1134. public partial class товарDataTable : global::System.Data.TypedTableBase<товарRow> {
  1135. private global::System.Data.DataColumn columnкод_товара;
  1136. private global::System.Data.DataColumn columnнаименование_товара;
  1137. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1138. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1139. public товарDataTable() {
  1140. this.TableName = "товар";
  1141. this.BeginInit();
  1142. this.InitClass();
  1143. this.EndInit();
  1144. }
  1145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1147. internal товарDataTable(global::System.Data.DataTable table) {
  1148. this.TableName = table.TableName;
  1149. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1150. this.CaseSensitive = table.CaseSensitive;
  1151. }
  1152. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1153. this.Locale = table.Locale;
  1154. }
  1155. if ((table.Namespace != table.DataSet.Namespace)) {
  1156. this.Namespace = table.Namespace;
  1157. }
  1158. this.Prefix = table.Prefix;
  1159. this.MinimumCapacity = table.MinimumCapacity;
  1160. }
  1161. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1162. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1163. protected товарDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1164. base(info, context) {
  1165. this.InitVars();
  1166. }
  1167. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1168. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1169. public global::System.Data.DataColumn код_товараColumn {
  1170. get {
  1171. return this.columnкод_товара;
  1172. }
  1173. }
  1174. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1175. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1176. public global::System.Data.DataColumn наименование_товараColumn {
  1177. get {
  1178. return this.columnнаименование_товара;
  1179. }
  1180. }
  1181. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1182. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1183. [global::System.ComponentModel.Browsable(false)]
  1184. public int Count {
  1185. get {
  1186. return this.Rows.Count;
  1187. }
  1188. }
  1189. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1190. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1191. public товарRow this[int index] {
  1192. get {
  1193. return ((товарRow)(this.Rows[index]));
  1194. }
  1195. }
  1196. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1197. public event товарRowChangeEventHandler товарRowChanging;
  1198. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1199. public event товарRowChangeEventHandler товарRowChanged;
  1200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1201. public event товарRowChangeEventHandler товарRowDeleting;
  1202. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1203. public event товарRowChangeEventHandler товарRowDeleted;
  1204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1205. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1206. public void AddтоварRow(товарRow row) {
  1207. this.Rows.Add(row);
  1208. }
  1209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1210. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1211. public товарRow AddтоварRow(string наименование_товара) {
  1212. товарRow rowтоварRow = ((товарRow)(this.NewRow()));
  1213. object[] columnValuesArray = new object[] {
  1214. null,
  1215. наименование_товара};
  1216. rowтоварRow.ItemArray = columnValuesArray;
  1217. this.Rows.Add(rowтоварRow);
  1218. return rowтоварRow;
  1219. }
  1220. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1221. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1222. public товарRow FindByкод_товара(long код_товара) {
  1223. return ((товарRow)(this.Rows.Find(new object[] {
  1224. код_товара})));
  1225. }
  1226. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1227. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1228. public override global::System.Data.DataTable Clone() {
  1229. товарDataTable cln = ((товарDataTable)(base.Clone()));
  1230. cln.InitVars();
  1231. return cln;
  1232. }
  1233. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1234. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1235. protected override global::System.Data.DataTable CreateInstance() {
  1236. return new товарDataTable();
  1237. }
  1238. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1239. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1240. internal void InitVars() {
  1241. this.columnкод_товара = base.Columns["код товара"];
  1242. this.columnнаименование_товара = base.Columns["наименование товара"];
  1243. }
  1244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1246. private void InitClass() {
  1247. this.columnкод_товара = new global::System.Data.DataColumn("код товара", typeof(long), null, global::System.Data.MappingType.Element);
  1248. base.Columns.Add(this.columnкод_товара);
  1249. this.columnнаименование_товара = new global::System.Data.DataColumn("наименование товара", typeof(string), null, global::System.Data.MappingType.Element);
  1250. base.Columns.Add(this.columnнаименование_товара);
  1251. this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
  1252. this.columnкод_товара}, true));
  1253. this.columnкод_товара.AutoIncrement = true;
  1254. this.columnкод_товара.AutoIncrementSeed = -1;
  1255. this.columnкод_товара.AutoIncrementStep = -1;
  1256. this.columnкод_товара.AllowDBNull = false;
  1257. this.columnкод_товара.ReadOnly = true;
  1258. this.columnкод_товара.Unique = true;
  1259. this.columnнаименование_товара.MaxLength = 2147483647;
  1260. }
  1261. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1262. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1263. public товарRow NewтоварRow() {
  1264. return ((товарRow)(this.NewRow()));
  1265. }
  1266. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1267. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1268. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1269. return new товарRow(builder);
  1270. }
  1271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1272. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1273. protected override global::System.Type GetRowType() {
  1274. return typeof(товарRow);
  1275. }
  1276. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1277. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1278. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1279. base.OnRowChanged(e);
  1280. if ((this.товарRowChanged != null)) {
  1281. this.товарRowChanged(this, new товарRowChangeEvent(((товарRow)(e.Row)), e.Action));
  1282. }
  1283. }
  1284. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1285. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1286. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1287. base.OnRowChanging(e);
  1288. if ((this.товарRowChanging != null)) {
  1289. this.товарRowChanging(this, new товарRowChangeEvent(((товарRow)(e.Row)), e.Action));
  1290. }
  1291. }
  1292. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1293. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1294. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1295. base.OnRowDeleted(e);
  1296. if ((this.товарRowDeleted != null)) {
  1297. this.товарRowDeleted(this, new товарRowChangeEvent(((товарRow)(e.Row)), e.Action));
  1298. }
  1299. }
  1300. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1301. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1302. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1303. base.OnRowDeleting(e);
  1304. if ((this.товарRowDeleting != null)) {
  1305. this.товарRowDeleting(this, new товарRowChangeEvent(((товарRow)(e.Row)), e.Action));
  1306. }
  1307. }
  1308. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1309. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1310. public void RemoveтоварRow(товарRow row) {
  1311. this.Rows.Remove(row);
  1312. }
  1313. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1314. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1315. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1316. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1317. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1318. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  1319. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1320. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1321. any1.MinOccurs = new decimal(0);
  1322. any1.MaxOccurs = decimal.MaxValue;
  1323. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1324. sequence.Items.Add(any1);
  1325. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1326. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1327. any2.MinOccurs = new decimal(1);
  1328. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1329. sequence.Items.Add(any2);
  1330. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1331. attribute1.Name = "namespace";
  1332. attribute1.FixedValue = ds.Namespace;
  1333. type.Attributes.Add(attribute1);
  1334. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1335. attribute2.Name = "tableTypeName";
  1336. attribute2.FixedValue = "товарDataTable";
  1337. type.Attributes.Add(attribute2);
  1338. type.Particle = sequence;
  1339. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1340. if (xs.Contains(dsSchema.TargetNamespace)) {
  1341. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1342. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1343. try {
  1344. global::System.Xml.Schema.XmlSchema schema = null;
  1345. dsSchema.Write(s1);
  1346. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1347. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1348. s2.SetLength(0);
  1349. schema.Write(s2);
  1350. if ((s1.Length == s2.Length)) {
  1351. s1.Position = 0;
  1352. s2.Position = 0;
  1353. for (; ((s1.Position != s1.Length)
  1354. && (s1.ReadByte() == s2.ReadByte())); ) {
  1355. ;
  1356. }
  1357. if ((s1.Position == s1.Length)) {
  1358. return type;
  1359. }
  1360. }
  1361. }
  1362. }
  1363. finally {
  1364. if ((s1 != null)) {
  1365. s1.Close();
  1366. }
  1367. if ((s2 != null)) {
  1368. s2.Close();
  1369. }
  1370. }
  1371. }
  1372. xs.Add(dsSchema);
  1373. return type;
  1374. }
  1375. }
  1376. /// <summary>
  1377. ///Represents the strongly named DataTable class.
  1378. ///</summary>
  1379. [global::System.Serializable()]
  1380. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1381. public partial class _2_ое_полугодиеDataTable : global::System.Data.TypedTableBase<_2_ое_полугодиеRow> {
  1382. private global::System.Data.DataColumn columnнаименование_модели;
  1383. private global::System.Data.DataColumn columnдата_поступления;
  1384. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1385. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1386. public _2_ое_полугодиеDataTable() {
  1387. this.TableName = "2-ое полугодие";
  1388. this.BeginInit();
  1389. this.InitClass();
  1390. this.EndInit();
  1391. }
  1392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1393. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1394. internal _2_ое_полугодиеDataTable(global::System.Data.DataTable table) {
  1395. this.TableName = table.TableName;
  1396. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1397. this.CaseSensitive = table.CaseSensitive;
  1398. }
  1399. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1400. this.Locale = table.Locale;
  1401. }
  1402. if ((table.Namespace != table.DataSet.Namespace)) {
  1403. this.Namespace = table.Namespace;
  1404. }
  1405. this.Prefix = table.Prefix;
  1406. this.MinimumCapacity = table.MinimumCapacity;
  1407. }
  1408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1409. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1410. protected _2_ое_полугодиеDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1411. base(info, context) {
  1412. this.InitVars();
  1413. }
  1414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1416. public global::System.Data.DataColumn наименование_моделиColumn {
  1417. get {
  1418. return this.columnнаименование_модели;
  1419. }
  1420. }
  1421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1422. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1423. public global::System.Data.DataColumn дата_поступленияColumn {
  1424. get {
  1425. return this.columnдата_поступления;
  1426. }
  1427. }
  1428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1429. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1430. [global::System.ComponentModel.Browsable(false)]
  1431. public int Count {
  1432. get {
  1433. return this.Rows.Count;
  1434. }
  1435. }
  1436. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1437. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1438. public _2_ое_полугодиеRow this[int index] {
  1439. get {
  1440. return ((_2_ое_полугодиеRow)(this.Rows[index]));
  1441. }
  1442. }
  1443. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1444. public event _2_ое_полугодиеRowChangeEventHandler _2_ое_полугодиеRowChanging;
  1445. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1446. public event _2_ое_полугодиеRowChangeEventHandler _2_ое_полугодиеRowChanged;
  1447. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1448. public event _2_ое_полугодиеRowChangeEventHandler _2_ое_полугодиеRowDeleting;
  1449. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1450. public event _2_ое_полугодиеRowChangeEventHandler _2_ое_полугодиеRowDeleted;
  1451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1452. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1453. public void Add_2_ое_полугодиеRow(_2_ое_полугодиеRow row) {
  1454. this.Rows.Add(row);
  1455. }
  1456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1458. public _2_ое_полугодиеRow Add_2_ое_полугодиеRow(string наименование_модели, System.DateTime дата_поступления) {
  1459. _2_ое_полугодиеRow row_2_ое_полугодиеRow = ((_2_ое_полугодиеRow)(this.NewRow()));
  1460. object[] columnValuesArray = new object[] {
  1461. наименование_модели,
  1462. дата_поступления};
  1463. row_2_ое_полугодиеRow.ItemArray = columnValuesArray;
  1464. this.Rows.Add(row_2_ое_полугодиеRow);
  1465. return row_2_ое_полугодиеRow;
  1466. }
  1467. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1468. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1469. public override global::System.Data.DataTable Clone() {
  1470. _2_ое_полугодиеDataTable cln = ((_2_ое_полугодиеDataTable)(base.Clone()));
  1471. cln.InitVars();
  1472. return cln;
  1473. }
  1474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1476. protected override global::System.Data.DataTable CreateInstance() {
  1477. return new _2_ое_полугодиеDataTable();
  1478. }
  1479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1481. internal void InitVars() {
  1482. this.columnнаименование_модели = base.Columns["наименование модели"];
  1483. this.columnдата_поступления = base.Columns["дата поступления"];
  1484. }
  1485. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1486. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1487. private void InitClass() {
  1488. this.columnнаименование_модели = new global::System.Data.DataColumn("наименование модели", typeof(string), null, global::System.Data.MappingType.Element);
  1489. base.Columns.Add(this.columnнаименование_модели);
  1490. this.columnдата_поступления = new global::System.Data.DataColumn("дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1491. base.Columns.Add(this.columnдата_поступления);
  1492. this.columnнаименование_модели.MaxLength = 2147483647;
  1493. this.ExtendedProperties.Add("Generator_TableVarName", "_table2_ое_полугодие");
  1494. this.ExtendedProperties.Add("Generator_UserTableName", "2-ое полугодие");
  1495. }
  1496. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1497. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1498. public _2_ое_полугодиеRow New_2_ое_полугодиеRow() {
  1499. return ((_2_ое_полугодиеRow)(this.NewRow()));
  1500. }
  1501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1502. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1503. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1504. return new _2_ое_полугодиеRow(builder);
  1505. }
  1506. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1507. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1508. protected override global::System.Type GetRowType() {
  1509. return typeof(_2_ое_полугодиеRow);
  1510. }
  1511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1512. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1513. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1514. base.OnRowChanged(e);
  1515. if ((this._2_ое_полугодиеRowChanged != null)) {
  1516. this._2_ое_полугодиеRowChanged(this, new _2_ое_полугодиеRowChangeEvent(((_2_ое_полугодиеRow)(e.Row)), e.Action));
  1517. }
  1518. }
  1519. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1520. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1521. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1522. base.OnRowChanging(e);
  1523. if ((this._2_ое_полугодиеRowChanging != null)) {
  1524. this._2_ое_полугодиеRowChanging(this, new _2_ое_полугодиеRowChangeEvent(((_2_ое_полугодиеRow)(e.Row)), e.Action));
  1525. }
  1526. }
  1527. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1528. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1529. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1530. base.OnRowDeleted(e);
  1531. if ((this._2_ое_полугодиеRowDeleted != null)) {
  1532. this._2_ое_полугодиеRowDeleted(this, new _2_ое_полугодиеRowChangeEvent(((_2_ое_полугодиеRow)(e.Row)), e.Action));
  1533. }
  1534. }
  1535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1536. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1537. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1538. base.OnRowDeleting(e);
  1539. if ((this._2_ое_полугодиеRowDeleting != null)) {
  1540. this._2_ое_полугодиеRowDeleting(this, new _2_ое_полугодиеRowChangeEvent(((_2_ое_полугодиеRow)(e.Row)), e.Action));
  1541. }
  1542. }
  1543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1544. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1545. public void Remove_2_ое_полугодиеRow(_2_ое_полугодиеRow row) {
  1546. this.Rows.Remove(row);
  1547. }
  1548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1550. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1551. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1552. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1553. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  1554. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1555. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1556. any1.MinOccurs = new decimal(0);
  1557. any1.MaxOccurs = decimal.MaxValue;
  1558. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1559. sequence.Items.Add(any1);
  1560. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1561. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1562. any2.MinOccurs = new decimal(1);
  1563. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1564. sequence.Items.Add(any2);
  1565. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1566. attribute1.Name = "namespace";
  1567. attribute1.FixedValue = ds.Namespace;
  1568. type.Attributes.Add(attribute1);
  1569. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1570. attribute2.Name = "tableTypeName";
  1571. attribute2.FixedValue = "_2_ое_полугодиеDataTable";
  1572. type.Attributes.Add(attribute2);
  1573. type.Particle = sequence;
  1574. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1575. if (xs.Contains(dsSchema.TargetNamespace)) {
  1576. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1577. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1578. try {
  1579. global::System.Xml.Schema.XmlSchema schema = null;
  1580. dsSchema.Write(s1);
  1581. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1582. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1583. s2.SetLength(0);
  1584. schema.Write(s2);
  1585. if ((s1.Length == s2.Length)) {
  1586. s1.Position = 0;
  1587. s2.Position = 0;
  1588. for (; ((s1.Position != s1.Length)
  1589. && (s1.ReadByte() == s2.ReadByte())); ) {
  1590. ;
  1591. }
  1592. if ((s1.Position == s1.Length)) {
  1593. return type;
  1594. }
  1595. }
  1596. }
  1597. }
  1598. finally {
  1599. if ((s1 != null)) {
  1600. s1.Close();
  1601. }
  1602. if ((s2 != null)) {
  1603. s2.Close();
  1604. }
  1605. }
  1606. }
  1607. xs.Add(dsSchema);
  1608. return type;
  1609. }
  1610. }
  1611. /// <summary>
  1612. ///Represents the strongly named DataTable class.
  1613. ///</summary>
  1614. [global::System.Serializable()]
  1615. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1616. public partial class _дата_модель_товар_кол_во_ценаDataTable : global::System.Data.TypedTableBase<_дата_модель_товар_кол_во_ценаRow> {
  1617. private global::System.Data.DataColumn columnдата_поступления_товара;
  1618. private global::System.Data.DataColumn columnназвание_модели;
  1619. private global::System.Data.DataColumn columnназвание_товара;
  1620. private global::System.Data.DataColumn columnколичество;
  1621. private global::System.Data.DataColumn columnцена;
  1622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1624. public _дата_модель_товар_кол_во_ценаDataTable() {
  1625. this.TableName = "дата модель товар кол-во цена";
  1626. this.BeginInit();
  1627. this.InitClass();
  1628. this.EndInit();
  1629. }
  1630. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1631. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1632. internal _дата_модель_товар_кол_во_ценаDataTable(global::System.Data.DataTable table) {
  1633. this.TableName = table.TableName;
  1634. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1635. this.CaseSensitive = table.CaseSensitive;
  1636. }
  1637. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1638. this.Locale = table.Locale;
  1639. }
  1640. if ((table.Namespace != table.DataSet.Namespace)) {
  1641. this.Namespace = table.Namespace;
  1642. }
  1643. this.Prefix = table.Prefix;
  1644. this.MinimumCapacity = table.MinimumCapacity;
  1645. }
  1646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1647. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1648. protected _дата_модель_товар_кол_во_ценаDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1649. base(info, context) {
  1650. this.InitVars();
  1651. }
  1652. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1653. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1654. public global::System.Data.DataColumn дата_поступления_товараColumn {
  1655. get {
  1656. return this.columnдата_поступления_товара;
  1657. }
  1658. }
  1659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1661. public global::System.Data.DataColumn название_моделиColumn {
  1662. get {
  1663. return this.columnназвание_модели;
  1664. }
  1665. }
  1666. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1667. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1668. public global::System.Data.DataColumn название_товараColumn {
  1669. get {
  1670. return this.columnназвание_товара;
  1671. }
  1672. }
  1673. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1674. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1675. public global::System.Data.DataColumn количествоColumn {
  1676. get {
  1677. return this.columnколичество;
  1678. }
  1679. }
  1680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1681. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1682. public global::System.Data.DataColumn ценаColumn {
  1683. get {
  1684. return this.columnцена;
  1685. }
  1686. }
  1687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1688. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1689. [global::System.ComponentModel.Browsable(false)]
  1690. public int Count {
  1691. get {
  1692. return this.Rows.Count;
  1693. }
  1694. }
  1695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1696. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1697. public _дата_модель_товар_кол_во_ценаRow this[int index] {
  1698. get {
  1699. return ((_дата_модель_товар_кол_во_ценаRow)(this.Rows[index]));
  1700. }
  1701. }
  1702. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1703. public event _дата_модель_товар_кол_во_ценаRowChangeEventHandler _дата_модель_товар_кол_во_ценаRowChanging;
  1704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1705. public event _дата_модель_товар_кол_во_ценаRowChangeEventHandler _дата_модель_товар_кол_во_ценаRowChanged;
  1706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1707. public event _дата_модель_товар_кол_во_ценаRowChangeEventHandler _дата_модель_товар_кол_во_ценаRowDeleting;
  1708. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1709. public event _дата_модель_товар_кол_во_ценаRowChangeEventHandler _дата_модель_товар_кол_во_ценаRowDeleted;
  1710. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1711. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1712. public void Add_дата_модель_товар_кол_во_ценаRow(_дата_модель_товар_кол_во_ценаRow row) {
  1713. this.Rows.Add(row);
  1714. }
  1715. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1716. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1717. public _дата_модель_товар_кол_во_ценаRow Add_дата_модель_товар_кол_во_ценаRow(System.DateTime дата_поступления_товара, string название_модели, string название_товара, string количество, decimal цена) {
  1718. _дата_модель_товар_кол_во_ценаRow row_дата_модель_товар_кол_во_ценаRow = ((_дата_модель_товар_кол_во_ценаRow)(this.NewRow()));
  1719. object[] columnValuesArray = new object[] {
  1720. дата_поступления_товара,
  1721. название_модели,
  1722. название_товара,
  1723. количество,
  1724. цена};
  1725. row_дата_модель_товар_кол_во_ценаRow.ItemArray = columnValuesArray;
  1726. this.Rows.Add(row_дата_модель_товар_кол_во_ценаRow);
  1727. return row_дата_модель_товар_кол_во_ценаRow;
  1728. }
  1729. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1730. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1731. public override global::System.Data.DataTable Clone() {
  1732. _дата_модель_товар_кол_во_ценаDataTable cln = ((_дата_модель_товар_кол_во_ценаDataTable)(base.Clone()));
  1733. cln.InitVars();
  1734. return cln;
  1735. }
  1736. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1737. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1738. protected override global::System.Data.DataTable CreateInstance() {
  1739. return new _дата_модель_товар_кол_во_ценаDataTable();
  1740. }
  1741. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1742. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1743. internal void InitVars() {
  1744. this.columnдата_поступления_товара = base.Columns["дата поступления товара"];
  1745. this.columnназвание_модели = base.Columns["название модели"];
  1746. this.columnназвание_товара = base.Columns["название товара"];
  1747. this.columnколичество = base.Columns["количество"];
  1748. this.columnцена = base.Columns["цена"];
  1749. }
  1750. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1751. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1752. private void InitClass() {
  1753. this.columnдата_поступления_товара = new global::System.Data.DataColumn("дата поступления товара", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  1754. base.Columns.Add(this.columnдата_поступления_товара);
  1755. this.columnназвание_модели = new global::System.Data.DataColumn("название модели", typeof(string), null, global::System.Data.MappingType.Element);
  1756. base.Columns.Add(this.columnназвание_модели);
  1757. this.columnназвание_товара = new global::System.Data.DataColumn("название товара", typeof(string), null, global::System.Data.MappingType.Element);
  1758. base.Columns.Add(this.columnназвание_товара);
  1759. this.columnколичество = new global::System.Data.DataColumn("количество", typeof(string), null, global::System.Data.MappingType.Element);
  1760. base.Columns.Add(this.columnколичество);
  1761. this.columnцена = new global::System.Data.DataColumn("цена", typeof(decimal), null, global::System.Data.MappingType.Element);
  1762. base.Columns.Add(this.columnцена);
  1763. this.columnназвание_модели.MaxLength = 2147483647;
  1764. this.columnназвание_товара.MaxLength = 2147483647;
  1765. this.columnколичество.MaxLength = 2147483647;
  1766. this.ExtendedProperties.Add("Generator_TableVarName", "_tableдата_модель_товар_кол_во_цена");
  1767. this.ExtendedProperties.Add("Generator_UserTableName", "дата модель товар кол-во цена");
  1768. }
  1769. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1770. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1771. public _дата_модель_товар_кол_во_ценаRow New_дата_модель_товар_кол_во_ценаRow() {
  1772. return ((_дата_модель_товар_кол_во_ценаRow)(this.NewRow()));
  1773. }
  1774. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1775. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1776. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  1777. return new _дата_модель_товар_кол_во_ценаRow(builder);
  1778. }
  1779. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1780. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1781. protected override global::System.Type GetRowType() {
  1782. return typeof(_дата_модель_товар_кол_во_ценаRow);
  1783. }
  1784. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1785. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1786. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  1787. base.OnRowChanged(e);
  1788. if ((this._дата_модель_товар_кол_во_ценаRowChanged != null)) {
  1789. this._дата_модель_товар_кол_во_ценаRowChanged(this, new _дата_модель_товар_кол_во_ценаRowChangeEvent(((_дата_модель_товар_кол_во_ценаRow)(e.Row)), e.Action));
  1790. }
  1791. }
  1792. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1793. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1794. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  1795. base.OnRowChanging(e);
  1796. if ((this._дата_модель_товар_кол_во_ценаRowChanging != null)) {
  1797. this._дата_модель_товар_кол_во_ценаRowChanging(this, new _дата_модель_товар_кол_во_ценаRowChangeEvent(((_дата_модель_товар_кол_во_ценаRow)(e.Row)), e.Action));
  1798. }
  1799. }
  1800. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1801. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1802. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  1803. base.OnRowDeleted(e);
  1804. if ((this._дата_модель_товар_кол_во_ценаRowDeleted != null)) {
  1805. this._дата_модель_товар_кол_во_ценаRowDeleted(this, new _дата_модель_товар_кол_во_ценаRowChangeEvent(((_дата_модель_товар_кол_во_ценаRow)(e.Row)), e.Action));
  1806. }
  1807. }
  1808. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1809. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1810. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  1811. base.OnRowDeleting(e);
  1812. if ((this._дата_модель_товар_кол_во_ценаRowDeleting != null)) {
  1813. this._дата_модель_товар_кол_во_ценаRowDeleting(this, new _дата_модель_товар_кол_во_ценаRowChangeEvent(((_дата_модель_товар_кол_во_ценаRow)(e.Row)), e.Action));
  1814. }
  1815. }
  1816. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1817. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1818. public void Remove_дата_модель_товар_кол_во_ценаRow(_дата_модель_товар_кол_во_ценаRow row) {
  1819. this.Rows.Remove(row);
  1820. }
  1821. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1822. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1823. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  1824. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  1825. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  1826. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  1827. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  1828. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  1829. any1.MinOccurs = new decimal(0);
  1830. any1.MaxOccurs = decimal.MaxValue;
  1831. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1832. sequence.Items.Add(any1);
  1833. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  1834. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  1835. any2.MinOccurs = new decimal(1);
  1836. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  1837. sequence.Items.Add(any2);
  1838. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1839. attribute1.Name = "namespace";
  1840. attribute1.FixedValue = ds.Namespace;
  1841. type.Attributes.Add(attribute1);
  1842. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  1843. attribute2.Name = "tableTypeName";
  1844. attribute2.FixedValue = "_дата_модель_товар_кол_во_ценаDataTable";
  1845. type.Attributes.Add(attribute2);
  1846. type.Particle = sequence;
  1847. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  1848. if (xs.Contains(dsSchema.TargetNamespace)) {
  1849. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  1850. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  1851. try {
  1852. global::System.Xml.Schema.XmlSchema schema = null;
  1853. dsSchema.Write(s1);
  1854. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  1855. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  1856. s2.SetLength(0);
  1857. schema.Write(s2);
  1858. if ((s1.Length == s2.Length)) {
  1859. s1.Position = 0;
  1860. s2.Position = 0;
  1861. for (; ((s1.Position != s1.Length)
  1862. && (s1.ReadByte() == s2.ReadByte())); ) {
  1863. ;
  1864. }
  1865. if ((s1.Position == s1.Length)) {
  1866. return type;
  1867. }
  1868. }
  1869. }
  1870. }
  1871. finally {
  1872. if ((s1 != null)) {
  1873. s1.Close();
  1874. }
  1875. if ((s2 != null)) {
  1876. s2.Close();
  1877. }
  1878. }
  1879. }
  1880. xs.Add(dsSchema);
  1881. return type;
  1882. }
  1883. }
  1884. /// <summary>
  1885. ///Represents the strongly named DataTable class.
  1886. ///</summary>
  1887. [global::System.Serializable()]
  1888. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  1889. public partial class ИвановDataTable : global::System.Data.TypedTableBase<ИвановRow> {
  1890. private global::System.Data.DataColumn columnнаименование_модели;
  1891. private global::System.Data.DataColumn columnкто_принял_товар;
  1892. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1893. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1894. public ИвановDataTable() {
  1895. this.TableName = "Иванов";
  1896. this.BeginInit();
  1897. this.InitClass();
  1898. this.EndInit();
  1899. }
  1900. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1901. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1902. internal ИвановDataTable(global::System.Data.DataTable table) {
  1903. this.TableName = table.TableName;
  1904. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  1905. this.CaseSensitive = table.CaseSensitive;
  1906. }
  1907. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  1908. this.Locale = table.Locale;
  1909. }
  1910. if ((table.Namespace != table.DataSet.Namespace)) {
  1911. this.Namespace = table.Namespace;
  1912. }
  1913. this.Prefix = table.Prefix;
  1914. this.MinimumCapacity = table.MinimumCapacity;
  1915. }
  1916. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1917. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1918. protected ИвановDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  1919. base(info, context) {
  1920. this.InitVars();
  1921. }
  1922. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1923. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1924. public global::System.Data.DataColumn наименование_моделиColumn {
  1925. get {
  1926. return this.columnнаименование_модели;
  1927. }
  1928. }
  1929. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1930. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1931. public global::System.Data.DataColumn кто_принял_товарColumn {
  1932. get {
  1933. return this.columnкто_принял_товар;
  1934. }
  1935. }
  1936. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1937. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1938. [global::System.ComponentModel.Browsable(false)]
  1939. public int Count {
  1940. get {
  1941. return this.Rows.Count;
  1942. }
  1943. }
  1944. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1945. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1946. public ИвановRow this[int index] {
  1947. get {
  1948. return ((ИвановRow)(this.Rows[index]));
  1949. }
  1950. }
  1951. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1952. public event ИвановRowChangeEventHandler ИвановRowChanging;
  1953. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1954. public event ИвановRowChangeEventHandler ИвановRowChanged;
  1955. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1956. public event ИвановRowChangeEventHandler ИвановRowDeleting;
  1957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1958. public event ИвановRowChangeEventHandler ИвановRowDeleted;
  1959. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1960. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1961. public void AddИвановRow(ИвановRow row) {
  1962. this.Rows.Add(row);
  1963. }
  1964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1965. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1966. public ИвановRow AddИвановRow(string наименование_модели, string кто_принял_товар) {
  1967. ИвановRow rowИвановRow = ((ИвановRow)(this.NewRow()));
  1968. object[] columnValuesArray = new object[] {
  1969. наименование_модели,
  1970. кто_принял_товар};
  1971. rowИвановRow.ItemArray = columnValuesArray;
  1972. this.Rows.Add(rowИвановRow);
  1973. return rowИвановRow;
  1974. }
  1975. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1976. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1977. public override global::System.Data.DataTable Clone() {
  1978. ИвановDataTable cln = ((ИвановDataTable)(base.Clone()));
  1979. cln.InitVars();
  1980. return cln;
  1981. }
  1982. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1983. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1984. protected override global::System.Data.DataTable CreateInstance() {
  1985. return new ИвановDataTable();
  1986. }
  1987. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1988. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1989. internal void InitVars() {
  1990. this.columnнаименование_модели = base.Columns["наименование модели"];
  1991. this.columnкто_принял_товар = base.Columns["кто принял товар"];
  1992. }
  1993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  1994. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  1995. private void InitClass() {
  1996. this.columnнаименование_модели = new global::System.Data.DataColumn("наименование модели", typeof(string), null, global::System.Data.MappingType.Element);
  1997. base.Columns.Add(this.columnнаименование_модели);
  1998. this.columnкто_принял_товар = new global::System.Data.DataColumn("кто принял товар", typeof(string), null, global::System.Data.MappingType.Element);
  1999. base.Columns.Add(this.columnкто_принял_товар);
  2000. this.columnнаименование_модели.MaxLength = 2147483647;
  2001. this.columnкто_принял_товар.MaxLength = 2147483647;
  2002. }
  2003. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2004. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2005. public ИвановRow NewИвановRow() {
  2006. return ((ИвановRow)(this.NewRow()));
  2007. }
  2008. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2009. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2010. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2011. return new ИвановRow(builder);
  2012. }
  2013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2014. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2015. protected override global::System.Type GetRowType() {
  2016. return typeof(ИвановRow);
  2017. }
  2018. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2019. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2020. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2021. base.OnRowChanged(e);
  2022. if ((this.ИвановRowChanged != null)) {
  2023. this.ИвановRowChanged(this, new ИвановRowChangeEvent(((ИвановRow)(e.Row)), e.Action));
  2024. }
  2025. }
  2026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2027. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2028. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2029. base.OnRowChanging(e);
  2030. if ((this.ИвановRowChanging != null)) {
  2031. this.ИвановRowChanging(this, new ИвановRowChangeEvent(((ИвановRow)(e.Row)), e.Action));
  2032. }
  2033. }
  2034. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2035. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2036. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2037. base.OnRowDeleted(e);
  2038. if ((this.ИвановRowDeleted != null)) {
  2039. this.ИвановRowDeleted(this, new ИвановRowChangeEvent(((ИвановRow)(e.Row)), e.Action));
  2040. }
  2041. }
  2042. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2043. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2044. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2045. base.OnRowDeleting(e);
  2046. if ((this.ИвановRowDeleting != null)) {
  2047. this.ИвановRowDeleting(this, new ИвановRowChangeEvent(((ИвановRow)(e.Row)), e.Action));
  2048. }
  2049. }
  2050. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2051. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2052. public void RemoveИвановRow(ИвановRow row) {
  2053. this.Rows.Remove(row);
  2054. }
  2055. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2056. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2057. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2058. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2059. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2060. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  2061. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2062. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2063. any1.MinOccurs = new decimal(0);
  2064. any1.MaxOccurs = decimal.MaxValue;
  2065. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2066. sequence.Items.Add(any1);
  2067. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2068. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2069. any2.MinOccurs = new decimal(1);
  2070. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2071. sequence.Items.Add(any2);
  2072. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2073. attribute1.Name = "namespace";
  2074. attribute1.FixedValue = ds.Namespace;
  2075. type.Attributes.Add(attribute1);
  2076. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2077. attribute2.Name = "tableTypeName";
  2078. attribute2.FixedValue = "ИвановDataTable";
  2079. type.Attributes.Add(attribute2);
  2080. type.Particle = sequence;
  2081. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2082. if (xs.Contains(dsSchema.TargetNamespace)) {
  2083. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2084. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2085. try {
  2086. global::System.Xml.Schema.XmlSchema schema = null;
  2087. dsSchema.Write(s1);
  2088. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2089. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2090. s2.SetLength(0);
  2091. schema.Write(s2);
  2092. if ((s1.Length == s2.Length)) {
  2093. s1.Position = 0;
  2094. s2.Position = 0;
  2095. for (; ((s1.Position != s1.Length)
  2096. && (s1.ReadByte() == s2.ReadByte())); ) {
  2097. ;
  2098. }
  2099. if ((s1.Position == s1.Length)) {
  2100. return type;
  2101. }
  2102. }
  2103. }
  2104. }
  2105. finally {
  2106. if ((s1 != null)) {
  2107. s1.Close();
  2108. }
  2109. if ((s2 != null)) {
  2110. s2.Close();
  2111. }
  2112. }
  2113. }
  2114. xs.Add(dsSchema);
  2115. return type;
  2116. }
  2117. }
  2118. /// <summary>
  2119. ///Represents the strongly named DataTable class.
  2120. ///</summary>
  2121. [global::System.Serializable()]
  2122. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2123. public partial class меньше_15к_штукDataTable : global::System.Data.TypedTableBase<меньше_15к_штукRow> {
  2124. private global::System.Data.DataColumn columnкто_принял_товар;
  2125. private global::System.Data.DataColumn _columnколичество__шт_;
  2126. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2127. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2128. public меньше_15к_штукDataTable() {
  2129. this.TableName = "меньше 15к штук";
  2130. this.BeginInit();
  2131. this.InitClass();
  2132. this.EndInit();
  2133. }
  2134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2135. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2136. internal меньше_15к_штукDataTable(global::System.Data.DataTable table) {
  2137. this.TableName = table.TableName;
  2138. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2139. this.CaseSensitive = table.CaseSensitive;
  2140. }
  2141. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2142. this.Locale = table.Locale;
  2143. }
  2144. if ((table.Namespace != table.DataSet.Namespace)) {
  2145. this.Namespace = table.Namespace;
  2146. }
  2147. this.Prefix = table.Prefix;
  2148. this.MinimumCapacity = table.MinimumCapacity;
  2149. }
  2150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2151. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2152. protected меньше_15к_штукDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2153. base(info, context) {
  2154. this.InitVars();
  2155. }
  2156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2158. public global::System.Data.DataColumn кто_принял_товарColumn {
  2159. get {
  2160. return this.columnкто_принял_товар;
  2161. }
  2162. }
  2163. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2164. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2165. public global::System.Data.DataColumn _количество__шт_Column {
  2166. get {
  2167. return this._columnколичество__шт_;
  2168. }
  2169. }
  2170. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2171. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2172. [global::System.ComponentModel.Browsable(false)]
  2173. public int Count {
  2174. get {
  2175. return this.Rows.Count;
  2176. }
  2177. }
  2178. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2179. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2180. public меньше_15к_штукRow this[int index] {
  2181. get {
  2182. return ((меньше_15к_штукRow)(this.Rows[index]));
  2183. }
  2184. }
  2185. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2186. public event меньше_15к_штукRowChangeEventHandler меньше_15к_штукRowChanging;
  2187. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2188. public event меньше_15к_штукRowChangeEventHandler меньше_15к_штукRowChanged;
  2189. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2190. public event меньше_15к_штукRowChangeEventHandler меньше_15к_штукRowDeleting;
  2191. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2192. public event меньше_15к_штукRowChangeEventHandler меньше_15к_штукRowDeleted;
  2193. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2194. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2195. public void Addменьше_15к_штукRow(меньше_15к_штукRow row) {
  2196. this.Rows.Add(row);
  2197. }
  2198. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2199. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2200. public меньше_15к_штукRow Addменьше_15к_штукRow(string кто_принял_товар, string _количество__шт_) {
  2201. меньше_15к_штукRow rowменьше_15к_штукRow = ((меньше_15к_штукRow)(this.NewRow()));
  2202. object[] columnValuesArray = new object[] {
  2203. кто_принял_товар,
  2204. _количество__шт_};
  2205. rowменьше_15к_штукRow.ItemArray = columnValuesArray;
  2206. this.Rows.Add(rowменьше_15к_штукRow);
  2207. return rowменьше_15к_штукRow;
  2208. }
  2209. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2210. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2211. public override global::System.Data.DataTable Clone() {
  2212. меньше_15к_штукDataTable cln = ((меньше_15к_штукDataTable)(base.Clone()));
  2213. cln.InitVars();
  2214. return cln;
  2215. }
  2216. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2217. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2218. protected override global::System.Data.DataTable CreateInstance() {
  2219. return new меньше_15к_штукDataTable();
  2220. }
  2221. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2222. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2223. internal void InitVars() {
  2224. this.columnкто_принял_товар = base.Columns["кто принял товар"];
  2225. this._columnколичество__шт_ = base.Columns["количество, шт_"];
  2226. }
  2227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2229. private void InitClass() {
  2230. this.columnкто_принял_товар = new global::System.Data.DataColumn("кто принял товар", typeof(string), null, global::System.Data.MappingType.Element);
  2231. base.Columns.Add(this.columnкто_принял_товар);
  2232. this._columnколичество__шт_ = new global::System.Data.DataColumn("количество, шт_", typeof(string), null, global::System.Data.MappingType.Element);
  2233. this._columnколичество__шт_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnколичество__шт_");
  2234. this._columnколичество__шт_.ExtendedProperties.Add("Generator_UserColumnName", "количество, шт_");
  2235. base.Columns.Add(this._columnколичество__шт_);
  2236. this.columnкто_принял_товар.MaxLength = 2147483647;
  2237. this._columnколичество__шт_.MaxLength = 2147483647;
  2238. }
  2239. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2240. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2241. public меньше_15к_штукRow Newменьше_15к_штукRow() {
  2242. return ((меньше_15к_штукRow)(this.NewRow()));
  2243. }
  2244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2245. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2246. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2247. return new меньше_15к_штукRow(builder);
  2248. }
  2249. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2250. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2251. protected override global::System.Type GetRowType() {
  2252. return typeof(меньше_15к_штукRow);
  2253. }
  2254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2255. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2256. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2257. base.OnRowChanged(e);
  2258. if ((this.меньше_15к_штукRowChanged != null)) {
  2259. this.меньше_15к_штукRowChanged(this, new меньше_15к_штукRowChangeEvent(((меньше_15к_штукRow)(e.Row)), e.Action));
  2260. }
  2261. }
  2262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2263. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2264. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2265. base.OnRowChanging(e);
  2266. if ((this.меньше_15к_штукRowChanging != null)) {
  2267. this.меньше_15к_штукRowChanging(this, new меньше_15к_штукRowChangeEvent(((меньше_15к_штукRow)(e.Row)), e.Action));
  2268. }
  2269. }
  2270. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2271. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2272. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2273. base.OnRowDeleted(e);
  2274. if ((this.меньше_15к_штукRowDeleted != null)) {
  2275. this.меньше_15к_штукRowDeleted(this, new меньше_15к_штукRowChangeEvent(((меньше_15к_штукRow)(e.Row)), e.Action));
  2276. }
  2277. }
  2278. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2279. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2280. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2281. base.OnRowDeleting(e);
  2282. if ((this.меньше_15к_штукRowDeleting != null)) {
  2283. this.меньше_15к_штукRowDeleting(this, new меньше_15к_штукRowChangeEvent(((меньше_15к_штукRow)(e.Row)), e.Action));
  2284. }
  2285. }
  2286. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2287. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2288. public void Removeменьше_15к_штукRow(меньше_15к_штукRow row) {
  2289. this.Rows.Remove(row);
  2290. }
  2291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2292. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2293. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2294. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2295. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2296. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  2297. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2298. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2299. any1.MinOccurs = new decimal(0);
  2300. any1.MaxOccurs = decimal.MaxValue;
  2301. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2302. sequence.Items.Add(any1);
  2303. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2304. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2305. any2.MinOccurs = new decimal(1);
  2306. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2307. sequence.Items.Add(any2);
  2308. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2309. attribute1.Name = "namespace";
  2310. attribute1.FixedValue = ds.Namespace;
  2311. type.Attributes.Add(attribute1);
  2312. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2313. attribute2.Name = "tableTypeName";
  2314. attribute2.FixedValue = "меньше_15к_штукDataTable";
  2315. type.Attributes.Add(attribute2);
  2316. type.Particle = sequence;
  2317. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2318. if (xs.Contains(dsSchema.TargetNamespace)) {
  2319. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2320. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2321. try {
  2322. global::System.Xml.Schema.XmlSchema schema = null;
  2323. dsSchema.Write(s1);
  2324. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2325. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2326. s2.SetLength(0);
  2327. schema.Write(s2);
  2328. if ((s1.Length == s2.Length)) {
  2329. s1.Position = 0;
  2330. s2.Position = 0;
  2331. for (; ((s1.Position != s1.Length)
  2332. && (s1.ReadByte() == s2.ReadByte())); ) {
  2333. ;
  2334. }
  2335. if ((s1.Position == s1.Length)) {
  2336. return type;
  2337. }
  2338. }
  2339. }
  2340. }
  2341. finally {
  2342. if ((s1 != null)) {
  2343. s1.Close();
  2344. }
  2345. if ((s2 != null)) {
  2346. s2.Close();
  2347. }
  2348. }
  2349. }
  2350. xs.Add(dsSchema);
  2351. return type;
  2352. }
  2353. }
  2354. /// <summary>
  2355. ///Represents the strongly named DataTable class.
  2356. ///</summary>
  2357. [global::System.Serializable()]
  2358. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2359. public partial class _модели_1_го_полугодияDataTable : global::System.Data.TypedTableBase<_модели_1_го_полугодияRow> {
  2360. private global::System.Data.DataColumn columnдата_поступления;
  2361. private global::System.Data.DataColumn columnнаименование_модели;
  2362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2364. public _модели_1_го_полугодияDataTable() {
  2365. this.TableName = "модели 1-го полугодия";
  2366. this.BeginInit();
  2367. this.InitClass();
  2368. this.EndInit();
  2369. }
  2370. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2371. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2372. internal _модели_1_го_полугодияDataTable(global::System.Data.DataTable table) {
  2373. this.TableName = table.TableName;
  2374. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2375. this.CaseSensitive = table.CaseSensitive;
  2376. }
  2377. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2378. this.Locale = table.Locale;
  2379. }
  2380. if ((table.Namespace != table.DataSet.Namespace)) {
  2381. this.Namespace = table.Namespace;
  2382. }
  2383. this.Prefix = table.Prefix;
  2384. this.MinimumCapacity = table.MinimumCapacity;
  2385. }
  2386. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2387. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2388. protected _модели_1_го_полугодияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2389. base(info, context) {
  2390. this.InitVars();
  2391. }
  2392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2393. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2394. public global::System.Data.DataColumn дата_поступленияColumn {
  2395. get {
  2396. return this.columnдата_поступления;
  2397. }
  2398. }
  2399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2400. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2401. public global::System.Data.DataColumn наименование_моделиColumn {
  2402. get {
  2403. return this.columnнаименование_модели;
  2404. }
  2405. }
  2406. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2407. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2408. [global::System.ComponentModel.Browsable(false)]
  2409. public int Count {
  2410. get {
  2411. return this.Rows.Count;
  2412. }
  2413. }
  2414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2416. public _модели_1_го_полугодияRow this[int index] {
  2417. get {
  2418. return ((_модели_1_го_полугодияRow)(this.Rows[index]));
  2419. }
  2420. }
  2421. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2422. public event _модели_1_го_полугодияRowChangeEventHandler _модели_1_го_полугодияRowChanging;
  2423. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2424. public event _модели_1_го_полугодияRowChangeEventHandler _модели_1_го_полугодияRowChanged;
  2425. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2426. public event _модели_1_го_полугодияRowChangeEventHandler _модели_1_го_полугодияRowDeleting;
  2427. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2428. public event _модели_1_го_полугодияRowChangeEventHandler _модели_1_го_полугодияRowDeleted;
  2429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2431. public void Add_модели_1_го_полугодияRow(_модели_1_го_полугодияRow row) {
  2432. this.Rows.Add(row);
  2433. }
  2434. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2435. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2436. public _модели_1_го_полугодияRow Add_модели_1_го_полугодияRow(System.DateTime дата_поступления, string наименование_модели) {
  2437. _модели_1_го_полугодияRow row_модели_1_го_полугодияRow = ((_модели_1_го_полугодияRow)(this.NewRow()));
  2438. object[] columnValuesArray = new object[] {
  2439. дата_поступления,
  2440. наименование_модели};
  2441. row_модели_1_го_полугодияRow.ItemArray = columnValuesArray;
  2442. this.Rows.Add(row_модели_1_го_полугодияRow);
  2443. return row_модели_1_го_полугодияRow;
  2444. }
  2445. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2446. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2447. public override global::System.Data.DataTable Clone() {
  2448. _модели_1_го_полугодияDataTable cln = ((_модели_1_го_полугодияDataTable)(base.Clone()));
  2449. cln.InitVars();
  2450. return cln;
  2451. }
  2452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2453. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2454. protected override global::System.Data.DataTable CreateInstance() {
  2455. return new _модели_1_го_полугодияDataTable();
  2456. }
  2457. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2458. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2459. internal void InitVars() {
  2460. this.columnдата_поступления = base.Columns["дата поступления"];
  2461. this.columnнаименование_модели = base.Columns["наименование модели"];
  2462. }
  2463. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2464. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2465. private void InitClass() {
  2466. this.columnдата_поступления = new global::System.Data.DataColumn("дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  2467. base.Columns.Add(this.columnдата_поступления);
  2468. this.columnнаименование_модели = new global::System.Data.DataColumn("наименование модели", typeof(string), null, global::System.Data.MappingType.Element);
  2469. base.Columns.Add(this.columnнаименование_модели);
  2470. this.columnнаименование_модели.MaxLength = 2147483647;
  2471. this.ExtendedProperties.Add("Generator_TableVarName", "_tableмодели_1_го_полугодия");
  2472. this.ExtendedProperties.Add("Generator_UserTableName", "модели 1-го полугодия");
  2473. }
  2474. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2475. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2476. public _модели_1_го_полугодияRow New_модели_1_го_полугодияRow() {
  2477. return ((_модели_1_го_полугодияRow)(this.NewRow()));
  2478. }
  2479. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2480. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2481. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2482. return new _модели_1_го_полугодияRow(builder);
  2483. }
  2484. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2485. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2486. protected override global::System.Type GetRowType() {
  2487. return typeof(_модели_1_го_полугодияRow);
  2488. }
  2489. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2490. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2491. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2492. base.OnRowChanged(e);
  2493. if ((this._модели_1_го_полугодияRowChanged != null)) {
  2494. this._модели_1_го_полугодияRowChanged(this, new _модели_1_го_полугодияRowChangeEvent(((_модели_1_го_полугодияRow)(e.Row)), e.Action));
  2495. }
  2496. }
  2497. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2498. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2499. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2500. base.OnRowChanging(e);
  2501. if ((this._модели_1_го_полугодияRowChanging != null)) {
  2502. this._модели_1_го_полугодияRowChanging(this, new _модели_1_го_полугодияRowChangeEvent(((_модели_1_го_полугодияRow)(e.Row)), e.Action));
  2503. }
  2504. }
  2505. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2506. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2507. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2508. base.OnRowDeleted(e);
  2509. if ((this._модели_1_го_полугодияRowDeleted != null)) {
  2510. this._модели_1_го_полугодияRowDeleted(this, new _модели_1_го_полугодияRowChangeEvent(((_модели_1_го_полугодияRow)(e.Row)), e.Action));
  2511. }
  2512. }
  2513. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2514. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2515. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2516. base.OnRowDeleting(e);
  2517. if ((this._модели_1_го_полугодияRowDeleting != null)) {
  2518. this._модели_1_го_полугодияRowDeleting(this, new _модели_1_го_полугодияRowChangeEvent(((_модели_1_го_полугодияRow)(e.Row)), e.Action));
  2519. }
  2520. }
  2521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2523. public void Remove_модели_1_го_полугодияRow(_модели_1_го_полугодияRow row) {
  2524. this.Rows.Remove(row);
  2525. }
  2526. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2527. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2528. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2529. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2530. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2531. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  2532. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2533. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2534. any1.MinOccurs = new decimal(0);
  2535. any1.MaxOccurs = decimal.MaxValue;
  2536. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2537. sequence.Items.Add(any1);
  2538. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2539. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2540. any2.MinOccurs = new decimal(1);
  2541. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2542. sequence.Items.Add(any2);
  2543. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2544. attribute1.Name = "namespace";
  2545. attribute1.FixedValue = ds.Namespace;
  2546. type.Attributes.Add(attribute1);
  2547. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2548. attribute2.Name = "tableTypeName";
  2549. attribute2.FixedValue = "_модели_1_го_полугодияDataTable";
  2550. type.Attributes.Add(attribute2);
  2551. type.Particle = sequence;
  2552. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2553. if (xs.Contains(dsSchema.TargetNamespace)) {
  2554. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2555. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2556. try {
  2557. global::System.Xml.Schema.XmlSchema schema = null;
  2558. dsSchema.Write(s1);
  2559. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2560. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2561. s2.SetLength(0);
  2562. schema.Write(s2);
  2563. if ((s1.Length == s2.Length)) {
  2564. s1.Position = 0;
  2565. s2.Position = 0;
  2566. for (; ((s1.Position != s1.Length)
  2567. && (s1.ReadByte() == s2.ReadByte())); ) {
  2568. ;
  2569. }
  2570. if ((s1.Position == s1.Length)) {
  2571. return type;
  2572. }
  2573. }
  2574. }
  2575. }
  2576. finally {
  2577. if ((s1 != null)) {
  2578. s1.Close();
  2579. }
  2580. if ((s2 != null)) {
  2581. s2.Close();
  2582. }
  2583. }
  2584. }
  2585. xs.Add(dsSchema);
  2586. return type;
  2587. }
  2588. }
  2589. /// <summary>
  2590. ///Represents the strongly named DataTable class.
  2591. ///</summary>
  2592. [global::System.Serializable()]
  2593. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2594. public partial class модель_товарDataTable : global::System.Data.TypedTableBase<модель_товарRow> {
  2595. private global::System.Data.DataColumn columnназвание_товара;
  2596. private global::System.Data.DataColumn columnназвание_модели;
  2597. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2598. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2599. public модель_товарDataTable() {
  2600. this.TableName = "модель товар";
  2601. this.BeginInit();
  2602. this.InitClass();
  2603. this.EndInit();
  2604. }
  2605. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2606. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2607. internal модель_товарDataTable(global::System.Data.DataTable table) {
  2608. this.TableName = table.TableName;
  2609. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2610. this.CaseSensitive = table.CaseSensitive;
  2611. }
  2612. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2613. this.Locale = table.Locale;
  2614. }
  2615. if ((table.Namespace != table.DataSet.Namespace)) {
  2616. this.Namespace = table.Namespace;
  2617. }
  2618. this.Prefix = table.Prefix;
  2619. this.MinimumCapacity = table.MinimumCapacity;
  2620. }
  2621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2622. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2623. protected модель_товарDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2624. base(info, context) {
  2625. this.InitVars();
  2626. }
  2627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2628. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2629. public global::System.Data.DataColumn название_товараColumn {
  2630. get {
  2631. return this.columnназвание_товара;
  2632. }
  2633. }
  2634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2636. public global::System.Data.DataColumn название_моделиColumn {
  2637. get {
  2638. return this.columnназвание_модели;
  2639. }
  2640. }
  2641. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2642. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2643. [global::System.ComponentModel.Browsable(false)]
  2644. public int Count {
  2645. get {
  2646. return this.Rows.Count;
  2647. }
  2648. }
  2649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2650. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2651. public модель_товарRow this[int index] {
  2652. get {
  2653. return ((модель_товарRow)(this.Rows[index]));
  2654. }
  2655. }
  2656. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2657. public event модель_товарRowChangeEventHandler модель_товарRowChanging;
  2658. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2659. public event модель_товарRowChangeEventHandler модель_товарRowChanged;
  2660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2661. public event модель_товарRowChangeEventHandler модель_товарRowDeleting;
  2662. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2663. public event модель_товарRowChangeEventHandler модель_товарRowDeleted;
  2664. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2665. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2666. public void Addмодель_товарRow(модель_товарRow row) {
  2667. this.Rows.Add(row);
  2668. }
  2669. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2670. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2671. public модель_товарRow Addмодель_товарRow(string название_товара, string название_модели) {
  2672. модель_товарRow rowмодель_товарRow = ((модель_товарRow)(this.NewRow()));
  2673. object[] columnValuesArray = new object[] {
  2674. название_товара,
  2675. название_модели};
  2676. rowмодель_товарRow.ItemArray = columnValuesArray;
  2677. this.Rows.Add(rowмодель_товарRow);
  2678. return rowмодель_товарRow;
  2679. }
  2680. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2681. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2682. public override global::System.Data.DataTable Clone() {
  2683. модель_товарDataTable cln = ((модель_товарDataTable)(base.Clone()));
  2684. cln.InitVars();
  2685. return cln;
  2686. }
  2687. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2688. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2689. protected override global::System.Data.DataTable CreateInstance() {
  2690. return new модель_товарDataTable();
  2691. }
  2692. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2693. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2694. internal void InitVars() {
  2695. this.columnназвание_товара = base.Columns["название товара"];
  2696. this.columnназвание_модели = base.Columns["название модели"];
  2697. }
  2698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2699. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2700. private void InitClass() {
  2701. this.columnназвание_товара = new global::System.Data.DataColumn("название товара", typeof(string), null, global::System.Data.MappingType.Element);
  2702. base.Columns.Add(this.columnназвание_товара);
  2703. this.columnназвание_модели = new global::System.Data.DataColumn("название модели", typeof(string), null, global::System.Data.MappingType.Element);
  2704. base.Columns.Add(this.columnназвание_модели);
  2705. this.columnназвание_товара.MaxLength = 2147483647;
  2706. this.columnназвание_модели.MaxLength = 2147483647;
  2707. }
  2708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2709. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2710. public модель_товарRow Newмодель_товарRow() {
  2711. return ((модель_товарRow)(this.NewRow()));
  2712. }
  2713. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2714. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2715. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2716. return new модель_товарRow(builder);
  2717. }
  2718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2719. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2720. protected override global::System.Type GetRowType() {
  2721. return typeof(модель_товарRow);
  2722. }
  2723. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2724. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2725. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2726. base.OnRowChanged(e);
  2727. if ((this.модель_товарRowChanged != null)) {
  2728. this.модель_товарRowChanged(this, new модель_товарRowChangeEvent(((модель_товарRow)(e.Row)), e.Action));
  2729. }
  2730. }
  2731. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2732. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2733. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2734. base.OnRowChanging(e);
  2735. if ((this.модель_товарRowChanging != null)) {
  2736. this.модель_товарRowChanging(this, new модель_товарRowChangeEvent(((модель_товарRow)(e.Row)), e.Action));
  2737. }
  2738. }
  2739. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2740. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2741. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2742. base.OnRowDeleted(e);
  2743. if ((this.модель_товарRowDeleted != null)) {
  2744. this.модель_товарRowDeleted(this, new модель_товарRowChangeEvent(((модель_товарRow)(e.Row)), e.Action));
  2745. }
  2746. }
  2747. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2748. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2749. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2750. base.OnRowDeleting(e);
  2751. if ((this.модель_товарRowDeleting != null)) {
  2752. this.модель_товарRowDeleting(this, new модель_товарRowChangeEvent(((модель_товарRow)(e.Row)), e.Action));
  2753. }
  2754. }
  2755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2756. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2757. public void Removeмодель_товарRow(модель_товарRow row) {
  2758. this.Rows.Remove(row);
  2759. }
  2760. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2761. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2762. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2763. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2764. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2765. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  2766. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  2767. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  2768. any1.MinOccurs = new decimal(0);
  2769. any1.MaxOccurs = decimal.MaxValue;
  2770. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2771. sequence.Items.Add(any1);
  2772. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  2773. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  2774. any2.MinOccurs = new decimal(1);
  2775. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  2776. sequence.Items.Add(any2);
  2777. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2778. attribute1.Name = "namespace";
  2779. attribute1.FixedValue = ds.Namespace;
  2780. type.Attributes.Add(attribute1);
  2781. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  2782. attribute2.Name = "tableTypeName";
  2783. attribute2.FixedValue = "модель_товарDataTable";
  2784. type.Attributes.Add(attribute2);
  2785. type.Particle = sequence;
  2786. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  2787. if (xs.Contains(dsSchema.TargetNamespace)) {
  2788. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  2789. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  2790. try {
  2791. global::System.Xml.Schema.XmlSchema schema = null;
  2792. dsSchema.Write(s1);
  2793. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  2794. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  2795. s2.SetLength(0);
  2796. schema.Write(s2);
  2797. if ((s1.Length == s2.Length)) {
  2798. s1.Position = 0;
  2799. s2.Position = 0;
  2800. for (; ((s1.Position != s1.Length)
  2801. && (s1.ReadByte() == s2.ReadByte())); ) {
  2802. ;
  2803. }
  2804. if ((s1.Position == s1.Length)) {
  2805. return type;
  2806. }
  2807. }
  2808. }
  2809. }
  2810. finally {
  2811. if ((s1 != null)) {
  2812. s1.Close();
  2813. }
  2814. if ((s2 != null)) {
  2815. s2.Close();
  2816. }
  2817. }
  2818. }
  2819. xs.Add(dsSchema);
  2820. return type;
  2821. }
  2822. }
  2823. /// <summary>
  2824. ///Represents the strongly named DataTable class.
  2825. ///</summary>
  2826. [global::System.Serializable()]
  2827. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  2828. public partial class название_модели_до_500_рублейDataTable : global::System.Data.TypedTableBase<название_модели_до_500_рублейRow> {
  2829. private global::System.Data.DataColumn columnнаименование_модели;
  2830. private global::System.Data.DataColumn columnцена_модели;
  2831. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2832. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2833. public название_модели_до_500_рублейDataTable() {
  2834. this.TableName = "название модели до 500 рублей";
  2835. this.BeginInit();
  2836. this.InitClass();
  2837. this.EndInit();
  2838. }
  2839. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2840. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2841. internal название_модели_до_500_рублейDataTable(global::System.Data.DataTable table) {
  2842. this.TableName = table.TableName;
  2843. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  2844. this.CaseSensitive = table.CaseSensitive;
  2845. }
  2846. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  2847. this.Locale = table.Locale;
  2848. }
  2849. if ((table.Namespace != table.DataSet.Namespace)) {
  2850. this.Namespace = table.Namespace;
  2851. }
  2852. this.Prefix = table.Prefix;
  2853. this.MinimumCapacity = table.MinimumCapacity;
  2854. }
  2855. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2856. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2857. protected название_модели_до_500_рублейDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  2858. base(info, context) {
  2859. this.InitVars();
  2860. }
  2861. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2862. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2863. public global::System.Data.DataColumn наименование_моделиColumn {
  2864. get {
  2865. return this.columnнаименование_модели;
  2866. }
  2867. }
  2868. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2869. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2870. public global::System.Data.DataColumn цена_моделиColumn {
  2871. get {
  2872. return this.columnцена_модели;
  2873. }
  2874. }
  2875. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2876. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2877. [global::System.ComponentModel.Browsable(false)]
  2878. public int Count {
  2879. get {
  2880. return this.Rows.Count;
  2881. }
  2882. }
  2883. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2884. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2885. public название_модели_до_500_рублейRow this[int index] {
  2886. get {
  2887. return ((название_модели_до_500_рублейRow)(this.Rows[index]));
  2888. }
  2889. }
  2890. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2891. public event название_модели_до_500_рублейRowChangeEventHandler название_модели_до_500_рублейRowChanging;
  2892. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2893. public event название_модели_до_500_рублейRowChangeEventHandler название_модели_до_500_рублейRowChanged;
  2894. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2895. public event название_модели_до_500_рублейRowChangeEventHandler название_модели_до_500_рублейRowDeleting;
  2896. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2897. public event название_модели_до_500_рублейRowChangeEventHandler название_модели_до_500_рублейRowDeleted;
  2898. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2899. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2900. public void Addназвание_модели_до_500_рублейRow(название_модели_до_500_рублейRow row) {
  2901. this.Rows.Add(row);
  2902. }
  2903. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2904. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2905. public название_модели_до_500_рублейRow Addназвание_модели_до_500_рублейRow(string наименование_модели, decimal цена_модели) {
  2906. название_модели_до_500_рублейRow rowназвание_модели_до_500_рублейRow = ((название_модели_до_500_рублейRow)(this.NewRow()));
  2907. object[] columnValuesArray = new object[] {
  2908. наименование_модели,
  2909. цена_модели};
  2910. rowназвание_модели_до_500_рублейRow.ItemArray = columnValuesArray;
  2911. this.Rows.Add(rowназвание_модели_до_500_рублейRow);
  2912. return rowназвание_модели_до_500_рублейRow;
  2913. }
  2914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2915. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2916. public override global::System.Data.DataTable Clone() {
  2917. название_модели_до_500_рублейDataTable cln = ((название_модели_до_500_рублейDataTable)(base.Clone()));
  2918. cln.InitVars();
  2919. return cln;
  2920. }
  2921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2922. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2923. protected override global::System.Data.DataTable CreateInstance() {
  2924. return new название_модели_до_500_рублейDataTable();
  2925. }
  2926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2927. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2928. internal void InitVars() {
  2929. this.columnнаименование_модели = base.Columns["наименование модели"];
  2930. this.columnцена_модели = base.Columns["цена модели"];
  2931. }
  2932. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2933. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2934. private void InitClass() {
  2935. this.columnнаименование_модели = new global::System.Data.DataColumn("наименование модели", typeof(string), null, global::System.Data.MappingType.Element);
  2936. base.Columns.Add(this.columnнаименование_модели);
  2937. this.columnцена_модели = new global::System.Data.DataColumn("цена модели", typeof(decimal), null, global::System.Data.MappingType.Element);
  2938. base.Columns.Add(this.columnцена_модели);
  2939. this.columnнаименование_модели.MaxLength = 2147483647;
  2940. }
  2941. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2942. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2943. public название_модели_до_500_рублейRow Newназвание_модели_до_500_рублейRow() {
  2944. return ((название_модели_до_500_рублейRow)(this.NewRow()));
  2945. }
  2946. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2947. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2948. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  2949. return new название_модели_до_500_рублейRow(builder);
  2950. }
  2951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2952. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2953. protected override global::System.Type GetRowType() {
  2954. return typeof(название_модели_до_500_рублейRow);
  2955. }
  2956. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2957. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2958. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  2959. base.OnRowChanged(e);
  2960. if ((this.название_модели_до_500_рублейRowChanged != null)) {
  2961. this.название_модели_до_500_рублейRowChanged(this, new название_модели_до_500_рублейRowChangeEvent(((название_модели_до_500_рублейRow)(e.Row)), e.Action));
  2962. }
  2963. }
  2964. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2965. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2966. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  2967. base.OnRowChanging(e);
  2968. if ((this.название_модели_до_500_рублейRowChanging != null)) {
  2969. this.название_модели_до_500_рублейRowChanging(this, new название_модели_до_500_рублейRowChangeEvent(((название_модели_до_500_рублейRow)(e.Row)), e.Action));
  2970. }
  2971. }
  2972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2974. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  2975. base.OnRowDeleted(e);
  2976. if ((this.название_модели_до_500_рублейRowDeleted != null)) {
  2977. this.название_модели_до_500_рублейRowDeleted(this, new название_модели_до_500_рублейRowChangeEvent(((название_модели_до_500_рублейRow)(e.Row)), e.Action));
  2978. }
  2979. }
  2980. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2981. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2982. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  2983. base.OnRowDeleting(e);
  2984. if ((this.название_модели_до_500_рублейRowDeleting != null)) {
  2985. this.название_модели_до_500_рублейRowDeleting(this, new название_модели_до_500_рублейRowChangeEvent(((название_модели_до_500_рублейRow)(e.Row)), e.Action));
  2986. }
  2987. }
  2988. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2989. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2990. public void Removeназвание_модели_до_500_рублейRow(название_модели_до_500_рублейRow row) {
  2991. this.Rows.Remove(row);
  2992. }
  2993. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  2994. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  2995. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  2996. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  2997. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  2998. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  2999. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3000. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3001. any1.MinOccurs = new decimal(0);
  3002. any1.MaxOccurs = decimal.MaxValue;
  3003. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3004. sequence.Items.Add(any1);
  3005. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3006. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3007. any2.MinOccurs = new decimal(1);
  3008. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3009. sequence.Items.Add(any2);
  3010. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3011. attribute1.Name = "namespace";
  3012. attribute1.FixedValue = ds.Namespace;
  3013. type.Attributes.Add(attribute1);
  3014. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3015. attribute2.Name = "tableTypeName";
  3016. attribute2.FixedValue = "название_модели_до_500_рублейDataTable";
  3017. type.Attributes.Add(attribute2);
  3018. type.Particle = sequence;
  3019. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3020. if (xs.Contains(dsSchema.TargetNamespace)) {
  3021. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3022. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3023. try {
  3024. global::System.Xml.Schema.XmlSchema schema = null;
  3025. dsSchema.Write(s1);
  3026. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3027. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3028. s2.SetLength(0);
  3029. schema.Write(s2);
  3030. if ((s1.Length == s2.Length)) {
  3031. s1.Position = 0;
  3032. s2.Position = 0;
  3033. for (; ((s1.Position != s1.Length)
  3034. && (s1.ReadByte() == s2.ReadByte())); ) {
  3035. ;
  3036. }
  3037. if ((s1.Position == s1.Length)) {
  3038. return type;
  3039. }
  3040. }
  3041. }
  3042. }
  3043. finally {
  3044. if ((s1 != null)) {
  3045. s1.Close();
  3046. }
  3047. if ((s2 != null)) {
  3048. s2.Close();
  3049. }
  3050. }
  3051. }
  3052. xs.Add(dsSchema);
  3053. return type;
  3054. }
  3055. }
  3056. /// <summary>
  3057. ///Represents the strongly named DataTable class.
  3058. ///</summary>
  3059. [global::System.Serializable()]
  3060. [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
  3061. public partial class _связь_товар_модели_поступленияDataTable : global::System.Data.TypedTableBase<_связь_товар_модели_поступленияRow> {
  3062. private global::System.Data.DataColumn columnнаименование_товара;
  3063. private global::System.Data.DataColumn columnнаименование_модели;
  3064. private global::System.Data.DataColumn columnцена_модели;
  3065. private global::System.Data.DataColumn columnдата_поступления;
  3066. private global::System.Data.DataColumn columnмодели_товара;
  3067. private global::System.Data.DataColumn _columnколичество__шт_;
  3068. private global::System.Data.DataColumn columnкто_принял_товар;
  3069. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3070. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3071. public _связь_товар_модели_поступленияDataTable() {
  3072. this.TableName = "связь товар+модели+поступления";
  3073. this.BeginInit();
  3074. this.InitClass();
  3075. this.EndInit();
  3076. }
  3077. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3078. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3079. internal _связь_товар_модели_поступленияDataTable(global::System.Data.DataTable table) {
  3080. this.TableName = table.TableName;
  3081. if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
  3082. this.CaseSensitive = table.CaseSensitive;
  3083. }
  3084. if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
  3085. this.Locale = table.Locale;
  3086. }
  3087. if ((table.Namespace != table.DataSet.Namespace)) {
  3088. this.Namespace = table.Namespace;
  3089. }
  3090. this.Prefix = table.Prefix;
  3091. this.MinimumCapacity = table.MinimumCapacity;
  3092. }
  3093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3095. protected _связь_товар_модели_поступленияDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
  3096. base(info, context) {
  3097. this.InitVars();
  3098. }
  3099. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3100. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3101. public global::System.Data.DataColumn наименование_товараColumn {
  3102. get {
  3103. return this.columnнаименование_товара;
  3104. }
  3105. }
  3106. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3107. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3108. public global::System.Data.DataColumn наименование_моделиColumn {
  3109. get {
  3110. return this.columnнаименование_модели;
  3111. }
  3112. }
  3113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3115. public global::System.Data.DataColumn цена_моделиColumn {
  3116. get {
  3117. return this.columnцена_модели;
  3118. }
  3119. }
  3120. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3121. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3122. public global::System.Data.DataColumn дата_поступленияColumn {
  3123. get {
  3124. return this.columnдата_поступления;
  3125. }
  3126. }
  3127. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3128. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3129. public global::System.Data.DataColumn модели_товараColumn {
  3130. get {
  3131. return this.columnмодели_товара;
  3132. }
  3133. }
  3134. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3135. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3136. public global::System.Data.DataColumn _количество__шт_Column {
  3137. get {
  3138. return this._columnколичество__шт_;
  3139. }
  3140. }
  3141. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3142. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3143. public global::System.Data.DataColumn кто_принял_товарColumn {
  3144. get {
  3145. return this.columnкто_принял_товар;
  3146. }
  3147. }
  3148. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3149. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3150. [global::System.ComponentModel.Browsable(false)]
  3151. public int Count {
  3152. get {
  3153. return this.Rows.Count;
  3154. }
  3155. }
  3156. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3157. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3158. public _связь_товар_модели_поступленияRow this[int index] {
  3159. get {
  3160. return ((_связь_товар_модели_поступленияRow)(this.Rows[index]));
  3161. }
  3162. }
  3163. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3164. public event _связь_товар_модели_поступленияRowChangeEventHandler _связь_товар_модели_поступленияRowChanging;
  3165. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3166. public event _связь_товар_модели_поступленияRowChangeEventHandler _связь_товар_модели_поступленияRowChanged;
  3167. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3168. public event _связь_товар_модели_поступленияRowChangeEventHandler _связь_товар_модели_поступленияRowDeleting;
  3169. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3170. public event _связь_товар_модели_поступленияRowChangeEventHandler _связь_товар_модели_поступленияRowDeleted;
  3171. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3172. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3173. public void Add_связь_товар_модели_поступленияRow(_связь_товар_модели_поступленияRow row) {
  3174. this.Rows.Add(row);
  3175. }
  3176. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3177. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3178. public _связь_товар_модели_поступленияRow Add_связь_товар_модели_поступленияRow(string наименование_товара, string наименование_модели, decimal цена_модели, System.DateTime дата_поступления, string модели_товара, string _количество__шт_, string кто_принял_товар) {
  3179. _связь_товар_модели_поступленияRow row_связь_товар_модели_поступленияRow = ((_связь_товар_модели_поступленияRow)(this.NewRow()));
  3180. object[] columnValuesArray = new object[] {
  3181. наименование_товара,
  3182. наименование_модели,
  3183. цена_модели,
  3184. дата_поступления,
  3185. модели_товара,
  3186. _количество__шт_,
  3187. кто_принял_товар};
  3188. row_связь_товар_модели_поступленияRow.ItemArray = columnValuesArray;
  3189. this.Rows.Add(row_связь_товар_модели_поступленияRow);
  3190. return row_связь_товар_модели_поступленияRow;
  3191. }
  3192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3193. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3194. public override global::System.Data.DataTable Clone() {
  3195. _связь_товар_модели_поступленияDataTable cln = ((_связь_товар_модели_поступленияDataTable)(base.Clone()));
  3196. cln.InitVars();
  3197. return cln;
  3198. }
  3199. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3200. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3201. protected override global::System.Data.DataTable CreateInstance() {
  3202. return new _связь_товар_модели_поступленияDataTable();
  3203. }
  3204. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3205. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3206. internal void InitVars() {
  3207. this.columnнаименование_товара = base.Columns["наименование товара"];
  3208. this.columnнаименование_модели = base.Columns["наименование модели"];
  3209. this.columnцена_модели = base.Columns["цена модели"];
  3210. this.columnдата_поступления = base.Columns["дата поступления"];
  3211. this.columnмодели_товара = base.Columns["модели товара"];
  3212. this._columnколичество__шт_ = base.Columns["количество, шт_"];
  3213. this.columnкто_принял_товар = base.Columns["кто принял товар"];
  3214. }
  3215. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3216. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3217. private void InitClass() {
  3218. this.columnнаименование_товара = new global::System.Data.DataColumn("наименование товара", typeof(string), null, global::System.Data.MappingType.Element);
  3219. base.Columns.Add(this.columnнаименование_товара);
  3220. this.columnнаименование_модели = new global::System.Data.DataColumn("наименование модели", typeof(string), null, global::System.Data.MappingType.Element);
  3221. base.Columns.Add(this.columnнаименование_модели);
  3222. this.columnцена_модели = new global::System.Data.DataColumn("цена модели", typeof(decimal), null, global::System.Data.MappingType.Element);
  3223. base.Columns.Add(this.columnцена_модели);
  3224. this.columnдата_поступления = new global::System.Data.DataColumn("дата поступления", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
  3225. base.Columns.Add(this.columnдата_поступления);
  3226. this.columnмодели_товара = new global::System.Data.DataColumn("модели товара", typeof(string), null, global::System.Data.MappingType.Element);
  3227. base.Columns.Add(this.columnмодели_товара);
  3228. this._columnколичество__шт_ = new global::System.Data.DataColumn("количество, шт_", typeof(string), null, global::System.Data.MappingType.Element);
  3229. this._columnколичество__шт_.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnколичество__шт_");
  3230. this._columnколичество__шт_.ExtendedProperties.Add("Generator_UserColumnName", "количество, шт_");
  3231. base.Columns.Add(this._columnколичество__шт_);
  3232. this.columnкто_принял_товар = new global::System.Data.DataColumn("кто принял товар", typeof(string), null, global::System.Data.MappingType.Element);
  3233. base.Columns.Add(this.columnкто_принял_товар);
  3234. this.columnнаименование_товара.MaxLength = 2147483647;
  3235. this.columnнаименование_модели.MaxLength = 2147483647;
  3236. this.columnмодели_товара.MaxLength = 2147483647;
  3237. this._columnколичество__шт_.MaxLength = 2147483647;
  3238. this.columnкто_принял_товар.MaxLength = 2147483647;
  3239. this.ExtendedProperties.Add("Generator_TableVarName", "_tableсвязь_товар_модели_поступления");
  3240. this.ExtendedProperties.Add("Generator_UserTableName", "связь товар+модели+поступления");
  3241. }
  3242. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3243. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3244. public _связь_товар_модели_поступленияRow New_связь_товар_модели_поступленияRow() {
  3245. return ((_связь_товар_модели_поступленияRow)(this.NewRow()));
  3246. }
  3247. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3248. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3249. protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
  3250. return new _связь_товар_модели_поступленияRow(builder);
  3251. }
  3252. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3253. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3254. protected override global::System.Type GetRowType() {
  3255. return typeof(_связь_товар_модели_поступленияRow);
  3256. }
  3257. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3258. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3259. protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
  3260. base.OnRowChanged(e);
  3261. if ((this._связь_товар_модели_поступленияRowChanged != null)) {
  3262. this._связь_товар_модели_поступленияRowChanged(this, new _связь_товар_модели_поступленияRowChangeEvent(((_связь_товар_модели_поступленияRow)(e.Row)), e.Action));
  3263. }
  3264. }
  3265. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3266. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3267. protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
  3268. base.OnRowChanging(e);
  3269. if ((this._связь_товар_модели_поступленияRowChanging != null)) {
  3270. this._связь_товар_модели_поступленияRowChanging(this, new _связь_товар_модели_поступленияRowChangeEvent(((_связь_товар_модели_поступленияRow)(e.Row)), e.Action));
  3271. }
  3272. }
  3273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3274. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3275. protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
  3276. base.OnRowDeleted(e);
  3277. if ((this._связь_товар_модели_поступленияRowDeleted != null)) {
  3278. this._связь_товар_модели_поступленияRowDeleted(this, new _связь_товар_модели_поступленияRowChangeEvent(((_связь_товар_модели_поступленияRow)(e.Row)), e.Action));
  3279. }
  3280. }
  3281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3282. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3283. protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
  3284. base.OnRowDeleting(e);
  3285. if ((this._связь_товар_модели_поступленияRowDeleting != null)) {
  3286. this._связь_товар_модели_поступленияRowDeleting(this, new _связь_товар_модели_поступленияRowChangeEvent(((_связь_товар_модели_поступленияRow)(e.Row)), e.Action));
  3287. }
  3288. }
  3289. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3290. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3291. public void Remove_связь_товар_модели_поступленияRow(_связь_товар_модели_поступленияRow row) {
  3292. this.Rows.Remove(row);
  3293. }
  3294. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3295. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3296. public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
  3297. global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
  3298. global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
  3299. IS31Kiselev5DataSet ds = new IS31Kiselev5DataSet();
  3300. global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
  3301. any1.Namespace = "http://www.w3.org/2001/XMLSchema";
  3302. any1.MinOccurs = new decimal(0);
  3303. any1.MaxOccurs = decimal.MaxValue;
  3304. any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3305. sequence.Items.Add(any1);
  3306. global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
  3307. any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
  3308. any2.MinOccurs = new decimal(1);
  3309. any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
  3310. sequence.Items.Add(any2);
  3311. global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3312. attribute1.Name = "namespace";
  3313. attribute1.FixedValue = ds.Namespace;
  3314. type.Attributes.Add(attribute1);
  3315. global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
  3316. attribute2.Name = "tableTypeName";
  3317. attribute2.FixedValue = "_связь_товар_модели_поступленияDataTable";
  3318. type.Attributes.Add(attribute2);
  3319. type.Particle = sequence;
  3320. global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
  3321. if (xs.Contains(dsSchema.TargetNamespace)) {
  3322. global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
  3323. global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
  3324. try {
  3325. global::System.Xml.Schema.XmlSchema schema = null;
  3326. dsSchema.Write(s1);
  3327. for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
  3328. schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
  3329. s2.SetLength(0);
  3330. schema.Write(s2);
  3331. if ((s1.Length == s2.Length)) {
  3332. s1.Position = 0;
  3333. s2.Position = 0;
  3334. for (; ((s1.Position != s1.Length)
  3335. && (s1.ReadByte() == s2.ReadByte())); ) {
  3336. ;
  3337. }
  3338. if ((s1.Position == s1.Length)) {
  3339. return type;
  3340. }
  3341. }
  3342. }
  3343. }
  3344. finally {
  3345. if ((s1 != null)) {
  3346. s1.Close();
  3347. }
  3348. if ((s2 != null)) {
  3349. s2.Close();
  3350. }
  3351. }
  3352. }
  3353. xs.Add(dsSchema);
  3354. return type;
  3355. }
  3356. }
  3357. /// <summary>
  3358. ///Represents strongly named DataRow class.
  3359. ///</summary>
  3360. public partial class моделиRow : global::System.Data.DataRow {
  3361. private моделиDataTable tableмодели;
  3362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3363. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3364. internal моделиRow(global::System.Data.DataRowBuilder rb) :
  3365. base(rb) {
  3366. this.tableмодели = ((моделиDataTable)(this.Table));
  3367. }
  3368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3370. public long код_модели {
  3371. get {
  3372. return ((long)(this[this.tableмодели.код_моделиColumn]));
  3373. }
  3374. set {
  3375. this[this.tableмодели.код_моделиColumn] = value;
  3376. }
  3377. }
  3378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3380. public string наименование_модели {
  3381. get {
  3382. try {
  3383. return ((string)(this[this.tableмодели.наименование_моделиColumn]));
  3384. }
  3385. catch (global::System.InvalidCastException e) {
  3386. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование модели\' в таблице \'модели\' равно DBNull.", e);
  3387. }
  3388. }
  3389. set {
  3390. this[this.tableмодели.наименование_моделиColumn] = value;
  3391. }
  3392. }
  3393. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3394. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3395. public long код_товара {
  3396. get {
  3397. try {
  3398. return ((long)(this[this.tableмодели.код_товараColumn]));
  3399. }
  3400. catch (global::System.InvalidCastException e) {
  3401. throw new global::System.Data.StrongTypingException("Значение для столбца \'код товара\' в таблице \'модели\' равно DBNull.", e);
  3402. }
  3403. }
  3404. set {
  3405. this[this.tableмодели.код_товараColumn] = value;
  3406. }
  3407. }
  3408. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3409. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3410. public decimal цена_модели {
  3411. get {
  3412. try {
  3413. return ((decimal)(this[this.tableмодели.цена_моделиColumn]));
  3414. }
  3415. catch (global::System.InvalidCastException e) {
  3416. throw new global::System.Data.StrongTypingException("Значение для столбца \'цена модели\' в таблице \'модели\' равно DBNull.", e);
  3417. }
  3418. }
  3419. set {
  3420. this[this.tableмодели.цена_моделиColumn] = value;
  3421. }
  3422. }
  3423. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3424. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3425. public bool Isнаименование_моделиNull() {
  3426. return this.IsNull(this.tableмодели.наименование_моделиColumn);
  3427. }
  3428. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3429. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3430. public void Setнаименование_моделиNull() {
  3431. this[this.tableмодели.наименование_моделиColumn] = global::System.Convert.DBNull;
  3432. }
  3433. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3434. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3435. public bool Isкод_товараNull() {
  3436. return this.IsNull(this.tableмодели.код_товараColumn);
  3437. }
  3438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3439. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3440. public void Setкод_товараNull() {
  3441. this[this.tableмодели.код_товараColumn] = global::System.Convert.DBNull;
  3442. }
  3443. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3444. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3445. public bool Isцена_моделиNull() {
  3446. return this.IsNull(this.tableмодели.цена_моделиColumn);
  3447. }
  3448. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3449. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3450. public void Setцена_моделиNull() {
  3451. this[this.tableмодели.цена_моделиColumn] = global::System.Convert.DBNull;
  3452. }
  3453. }
  3454. /// <summary>
  3455. ///Represents strongly named DataRow class.
  3456. ///</summary>
  3457. public partial class поступленияRow : global::System.Data.DataRow {
  3458. private поступленияDataTable tableпоступления;
  3459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3461. internal поступленияRow(global::System.Data.DataRowBuilder rb) :
  3462. base(rb) {
  3463. this.tableпоступления = ((поступленияDataTable)(this.Table));
  3464. }
  3465. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3466. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3467. public long код_поступления {
  3468. get {
  3469. return ((long)(this[this.tableпоступления.код_поступленияColumn]));
  3470. }
  3471. set {
  3472. this[this.tableпоступления.код_поступленияColumn] = value;
  3473. }
  3474. }
  3475. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3476. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3477. public long код_модели {
  3478. get {
  3479. try {
  3480. return ((long)(this[this.tableпоступления.код_моделиColumn]));
  3481. }
  3482. catch (global::System.InvalidCastException e) {
  3483. throw new global::System.Data.StrongTypingException("Значение для столбца \'код модели\' в таблице \'поступления\' равно DBNull.", e);
  3484. }
  3485. }
  3486. set {
  3487. this[this.tableпоступления.код_моделиColumn] = value;
  3488. }
  3489. }
  3490. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3491. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3492. public System.DateTime дата_поступления {
  3493. get {
  3494. try {
  3495. return ((global::System.DateTime)(this[this.tableпоступления.дата_поступленияColumn]));
  3496. }
  3497. catch (global::System.InvalidCastException e) {
  3498. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата поступления\' в таблице \'поступления\' равно DBNull.", e);
  3499. }
  3500. }
  3501. set {
  3502. this[this.tableпоступления.дата_поступленияColumn] = value;
  3503. }
  3504. }
  3505. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3506. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3507. public string модели_товара {
  3508. get {
  3509. try {
  3510. return ((string)(this[this.tableпоступления.модели_товараColumn]));
  3511. }
  3512. catch (global::System.InvalidCastException e) {
  3513. throw new global::System.Data.StrongTypingException("Значение для столбца \'модели товара\' в таблице \'поступления\' равно DBNull.", e);
  3514. }
  3515. }
  3516. set {
  3517. this[this.tableпоступления.модели_товараColumn] = value;
  3518. }
  3519. }
  3520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3521. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3522. public string _количество__шт_ {
  3523. get {
  3524. try {
  3525. return ((string)(this[this.tableпоступления._количество__шт_Column]));
  3526. }
  3527. catch (global::System.InvalidCastException e) {
  3528. throw new global::System.Data.StrongTypingException("Значение для столбца \'количество, шт_\' в таблице \'поступления\' равно DBNull.", e);
  3529. }
  3530. }
  3531. set {
  3532. this[this.tableпоступления._количество__шт_Column] = value;
  3533. }
  3534. }
  3535. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3536. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3537. public string кто_принял_товар {
  3538. get {
  3539. try {
  3540. return ((string)(this[this.tableпоступления.кто_принял_товарColumn]));
  3541. }
  3542. catch (global::System.InvalidCastException e) {
  3543. throw new global::System.Data.StrongTypingException("Значение для столбца \'кто принял товар\' в таблице \'поступления\' равно DBNull.", e);
  3544. }
  3545. }
  3546. set {
  3547. this[this.tableпоступления.кто_принял_товарColumn] = value;
  3548. }
  3549. }
  3550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3552. public bool Isкод_моделиNull() {
  3553. return this.IsNull(this.tableпоступления.код_моделиColumn);
  3554. }
  3555. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3556. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3557. public void Setкод_моделиNull() {
  3558. this[this.tableпоступления.код_моделиColumn] = global::System.Convert.DBNull;
  3559. }
  3560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3561. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3562. public bool Isдата_поступленияNull() {
  3563. return this.IsNull(this.tableпоступления.дата_поступленияColumn);
  3564. }
  3565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3566. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3567. public void Setдата_поступленияNull() {
  3568. this[this.tableпоступления.дата_поступленияColumn] = global::System.Convert.DBNull;
  3569. }
  3570. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3571. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3572. public bool Isмодели_товараNull() {
  3573. return this.IsNull(this.tableпоступления.модели_товараColumn);
  3574. }
  3575. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3576. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3577. public void Setмодели_товараNull() {
  3578. this[this.tableпоступления.модели_товараColumn] = global::System.Convert.DBNull;
  3579. }
  3580. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3581. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3582. public bool Is_количество__шт_Null() {
  3583. return this.IsNull(this.tableпоступления._количество__шт_Column);
  3584. }
  3585. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3586. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3587. public void Set_количество__шт_Null() {
  3588. this[this.tableпоступления._количество__шт_Column] = global::System.Convert.DBNull;
  3589. }
  3590. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3591. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3592. public bool Isкто_принял_товарNull() {
  3593. return this.IsNull(this.tableпоступления.кто_принял_товарColumn);
  3594. }
  3595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3596. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3597. public void Setкто_принял_товарNull() {
  3598. this[this.tableпоступления.кто_принял_товарColumn] = global::System.Convert.DBNull;
  3599. }
  3600. }
  3601. /// <summary>
  3602. ///Represents strongly named DataRow class.
  3603. ///</summary>
  3604. public partial class товарRow : global::System.Data.DataRow {
  3605. private товарDataTable tableтовар;
  3606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3607. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3608. internal товарRow(global::System.Data.DataRowBuilder rb) :
  3609. base(rb) {
  3610. this.tableтовар = ((товарDataTable)(this.Table));
  3611. }
  3612. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3613. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3614. public long код_товара {
  3615. get {
  3616. return ((long)(this[this.tableтовар.код_товараColumn]));
  3617. }
  3618. set {
  3619. this[this.tableтовар.код_товараColumn] = value;
  3620. }
  3621. }
  3622. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3623. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3624. public string наименование_товара {
  3625. get {
  3626. try {
  3627. return ((string)(this[this.tableтовар.наименование_товараColumn]));
  3628. }
  3629. catch (global::System.InvalidCastException e) {
  3630. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование товара\' в таблице \'товар\' равно DBNull.", e);
  3631. }
  3632. }
  3633. set {
  3634. this[this.tableтовар.наименование_товараColumn] = value;
  3635. }
  3636. }
  3637. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3638. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3639. public bool Isнаименование_товараNull() {
  3640. return this.IsNull(this.tableтовар.наименование_товараColumn);
  3641. }
  3642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3643. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3644. public void Setнаименование_товараNull() {
  3645. this[this.tableтовар.наименование_товараColumn] = global::System.Convert.DBNull;
  3646. }
  3647. }
  3648. /// <summary>
  3649. ///Represents strongly named DataRow class.
  3650. ///</summary>
  3651. public partial class _2_ое_полугодиеRow : global::System.Data.DataRow {
  3652. private _2_ое_полугодиеDataTable _table2_ое_полугодие;
  3653. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3654. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3655. internal _2_ое_полугодиеRow(global::System.Data.DataRowBuilder rb) :
  3656. base(rb) {
  3657. this._table2_ое_полугодие = ((_2_ое_полугодиеDataTable)(this.Table));
  3658. }
  3659. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3660. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3661. public string наименование_модели {
  3662. get {
  3663. try {
  3664. return ((string)(this[this._table2_ое_полугодие.наименование_моделиColumn]));
  3665. }
  3666. catch (global::System.InvalidCastException e) {
  3667. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование модели\' в таблице \'2-ое полугодие\' равно DBNul" +
  3668. "l.", e);
  3669. }
  3670. }
  3671. set {
  3672. this[this._table2_ое_полугодие.наименование_моделиColumn] = value;
  3673. }
  3674. }
  3675. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3676. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3677. public System.DateTime дата_поступления {
  3678. get {
  3679. try {
  3680. return ((global::System.DateTime)(this[this._table2_ое_полугодие.дата_поступленияColumn]));
  3681. }
  3682. catch (global::System.InvalidCastException e) {
  3683. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата поступления\' в таблице \'2-ое полугодие\' равно DBNull.", e);
  3684. }
  3685. }
  3686. set {
  3687. this[this._table2_ое_полугодие.дата_поступленияColumn] = value;
  3688. }
  3689. }
  3690. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3691. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3692. public bool Isнаименование_моделиNull() {
  3693. return this.IsNull(this._table2_ое_полугодие.наименование_моделиColumn);
  3694. }
  3695. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3696. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3697. public void Setнаименование_моделиNull() {
  3698. this[this._table2_ое_полугодие.наименование_моделиColumn] = global::System.Convert.DBNull;
  3699. }
  3700. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3701. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3702. public bool Isдата_поступленияNull() {
  3703. return this.IsNull(this._table2_ое_полугодие.дата_поступленияColumn);
  3704. }
  3705. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3706. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3707. public void Setдата_поступленияNull() {
  3708. this[this._table2_ое_полугодие.дата_поступленияColumn] = global::System.Convert.DBNull;
  3709. }
  3710. }
  3711. /// <summary>
  3712. ///Represents strongly named DataRow class.
  3713. ///</summary>
  3714. public partial class _дата_модель_товар_кол_во_ценаRow : global::System.Data.DataRow {
  3715. private _дата_модель_товар_кол_во_ценаDataTable _tableдата_модель_товар_кол_во_цена;
  3716. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3717. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3718. internal _дата_модель_товар_кол_во_ценаRow(global::System.Data.DataRowBuilder rb) :
  3719. base(rb) {
  3720. this._tableдата_модель_товар_кол_во_цена = ((_дата_модель_товар_кол_во_ценаDataTable)(this.Table));
  3721. }
  3722. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3723. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3724. public System.DateTime дата_поступления_товара {
  3725. get {
  3726. try {
  3727. return ((global::System.DateTime)(this[this._tableдата_модель_товар_кол_во_цена.дата_поступления_товараColumn]));
  3728. }
  3729. catch (global::System.InvalidCastException e) {
  3730. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата поступления товара\' в таблице \'дата модель товар кол-в" +
  3731. "о цена\' равно DBNull.", e);
  3732. }
  3733. }
  3734. set {
  3735. this[this._tableдата_модель_товар_кол_во_цена.дата_поступления_товараColumn] = value;
  3736. }
  3737. }
  3738. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3739. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3740. public string название_модели {
  3741. get {
  3742. try {
  3743. return ((string)(this[this._tableдата_модель_товар_кол_во_цена.название_моделиColumn]));
  3744. }
  3745. catch (global::System.InvalidCastException e) {
  3746. throw new global::System.Data.StrongTypingException("Значение для столбца \'название модели\' в таблице \'дата модель товар кол-во цена\' " +
  3747. "равно DBNull.", e);
  3748. }
  3749. }
  3750. set {
  3751. this[this._tableдата_модель_товар_кол_во_цена.название_моделиColumn] = value;
  3752. }
  3753. }
  3754. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3755. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3756. public string название_товара {
  3757. get {
  3758. try {
  3759. return ((string)(this[this._tableдата_модель_товар_кол_во_цена.название_товараColumn]));
  3760. }
  3761. catch (global::System.InvalidCastException e) {
  3762. throw new global::System.Data.StrongTypingException("Значение для столбца \'название товара\' в таблице \'дата модель товар кол-во цена\' " +
  3763. "равно DBNull.", e);
  3764. }
  3765. }
  3766. set {
  3767. this[this._tableдата_модель_товар_кол_во_цена.название_товараColumn] = value;
  3768. }
  3769. }
  3770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3772. public string количество {
  3773. get {
  3774. try {
  3775. return ((string)(this[this._tableдата_модель_товар_кол_во_цена.количествоColumn]));
  3776. }
  3777. catch (global::System.InvalidCastException e) {
  3778. throw new global::System.Data.StrongTypingException("Значение для столбца \'количество\' в таблице \'дата модель товар кол-во цена\' равно" +
  3779. " DBNull.", e);
  3780. }
  3781. }
  3782. set {
  3783. this[this._tableдата_модель_товар_кол_во_цена.количествоColumn] = value;
  3784. }
  3785. }
  3786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3787. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3788. public decimal цена {
  3789. get {
  3790. try {
  3791. return ((decimal)(this[this._tableдата_модель_товар_кол_во_цена.ценаColumn]));
  3792. }
  3793. catch (global::System.InvalidCastException e) {
  3794. throw new global::System.Data.StrongTypingException("Значение для столбца \'цена\' в таблице \'дата модель товар кол-во цена\' равно DBNul" +
  3795. "l.", e);
  3796. }
  3797. }
  3798. set {
  3799. this[this._tableдата_модель_товар_кол_во_цена.ценаColumn] = value;
  3800. }
  3801. }
  3802. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3803. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3804. public bool Isдата_поступления_товараNull() {
  3805. return this.IsNull(this._tableдата_модель_товар_кол_во_цена.дата_поступления_товараColumn);
  3806. }
  3807. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3808. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3809. public void Setдата_поступления_товараNull() {
  3810. this[this._tableдата_модель_товар_кол_во_цена.дата_поступления_товараColumn] = global::System.Convert.DBNull;
  3811. }
  3812. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3813. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3814. public bool Isназвание_моделиNull() {
  3815. return this.IsNull(this._tableдата_модель_товар_кол_во_цена.название_моделиColumn);
  3816. }
  3817. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3818. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3819. public void Setназвание_моделиNull() {
  3820. this[this._tableдата_модель_товар_кол_во_цена.название_моделиColumn] = global::System.Convert.DBNull;
  3821. }
  3822. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3823. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3824. public bool Isназвание_товараNull() {
  3825. return this.IsNull(this._tableдата_модель_товар_кол_во_цена.название_товараColumn);
  3826. }
  3827. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3828. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3829. public void Setназвание_товараNull() {
  3830. this[this._tableдата_модель_товар_кол_во_цена.название_товараColumn] = global::System.Convert.DBNull;
  3831. }
  3832. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3833. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3834. public bool IsколичествоNull() {
  3835. return this.IsNull(this._tableдата_модель_товар_кол_во_цена.количествоColumn);
  3836. }
  3837. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3838. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3839. public void SetколичествоNull() {
  3840. this[this._tableдата_модель_товар_кол_во_цена.количествоColumn] = global::System.Convert.DBNull;
  3841. }
  3842. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3843. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3844. public bool IsценаNull() {
  3845. return this.IsNull(this._tableдата_модель_товар_кол_во_цена.ценаColumn);
  3846. }
  3847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3848. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3849. public void SetценаNull() {
  3850. this[this._tableдата_модель_товар_кол_во_цена.ценаColumn] = global::System.Convert.DBNull;
  3851. }
  3852. }
  3853. /// <summary>
  3854. ///Represents strongly named DataRow class.
  3855. ///</summary>
  3856. public partial class ИвановRow : global::System.Data.DataRow {
  3857. private ИвановDataTable tableИванов;
  3858. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3859. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3860. internal ИвановRow(global::System.Data.DataRowBuilder rb) :
  3861. base(rb) {
  3862. this.tableИванов = ((ИвановDataTable)(this.Table));
  3863. }
  3864. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3865. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3866. public string наименование_модели {
  3867. get {
  3868. try {
  3869. return ((string)(this[this.tableИванов.наименование_моделиColumn]));
  3870. }
  3871. catch (global::System.InvalidCastException e) {
  3872. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование модели\' в таблице \'Иванов\' равно DBNull.", e);
  3873. }
  3874. }
  3875. set {
  3876. this[this.tableИванов.наименование_моделиColumn] = value;
  3877. }
  3878. }
  3879. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3880. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3881. public string кто_принял_товар {
  3882. get {
  3883. try {
  3884. return ((string)(this[this.tableИванов.кто_принял_товарColumn]));
  3885. }
  3886. catch (global::System.InvalidCastException e) {
  3887. throw new global::System.Data.StrongTypingException("Значение для столбца \'кто принял товар\' в таблице \'Иванов\' равно DBNull.", e);
  3888. }
  3889. }
  3890. set {
  3891. this[this.tableИванов.кто_принял_товарColumn] = value;
  3892. }
  3893. }
  3894. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3895. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3896. public bool Isнаименование_моделиNull() {
  3897. return this.IsNull(this.tableИванов.наименование_моделиColumn);
  3898. }
  3899. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3900. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3901. public void Setнаименование_моделиNull() {
  3902. this[this.tableИванов.наименование_моделиColumn] = global::System.Convert.DBNull;
  3903. }
  3904. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3905. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3906. public bool Isкто_принял_товарNull() {
  3907. return this.IsNull(this.tableИванов.кто_принял_товарColumn);
  3908. }
  3909. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3910. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3911. public void Setкто_принял_товарNull() {
  3912. this[this.tableИванов.кто_принял_товарColumn] = global::System.Convert.DBNull;
  3913. }
  3914. }
  3915. /// <summary>
  3916. ///Represents strongly named DataRow class.
  3917. ///</summary>
  3918. public partial class меньше_15к_штукRow : global::System.Data.DataRow {
  3919. private меньше_15к_штукDataTable tableменьше_15к_штук;
  3920. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3921. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3922. internal меньше_15к_штукRow(global::System.Data.DataRowBuilder rb) :
  3923. base(rb) {
  3924. this.tableменьше_15к_штук = ((меньше_15к_штукDataTable)(this.Table));
  3925. }
  3926. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3927. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3928. public string кто_принял_товар {
  3929. get {
  3930. try {
  3931. return ((string)(this[this.tableменьше_15к_штук.кто_принял_товарColumn]));
  3932. }
  3933. catch (global::System.InvalidCastException e) {
  3934. throw new global::System.Data.StrongTypingException("Значение для столбца \'кто принял товар\' в таблице \'меньше 15к штук\' равно DBNull." +
  3935. "", e);
  3936. }
  3937. }
  3938. set {
  3939. this[this.tableменьше_15к_штук.кто_принял_товарColumn] = value;
  3940. }
  3941. }
  3942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3943. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3944. public string _количество__шт_ {
  3945. get {
  3946. try {
  3947. return ((string)(this[this.tableменьше_15к_штук._количество__шт_Column]));
  3948. }
  3949. catch (global::System.InvalidCastException e) {
  3950. throw new global::System.Data.StrongTypingException("Значение для столбца \'количество, шт_\' в таблице \'меньше 15к штук\' равно DBNull.", e);
  3951. }
  3952. }
  3953. set {
  3954. this[this.tableменьше_15к_штук._количество__шт_Column] = value;
  3955. }
  3956. }
  3957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3959. public bool Isкто_принял_товарNull() {
  3960. return this.IsNull(this.tableменьше_15к_штук.кто_принял_товарColumn);
  3961. }
  3962. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3963. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3964. public void Setкто_принял_товарNull() {
  3965. this[this.tableменьше_15к_штук.кто_принял_товарColumn] = global::System.Convert.DBNull;
  3966. }
  3967. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3968. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3969. public bool Is_количество__шт_Null() {
  3970. return this.IsNull(this.tableменьше_15к_штук._количество__шт_Column);
  3971. }
  3972. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3973. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3974. public void Set_количество__шт_Null() {
  3975. this[this.tableменьше_15к_штук._количество__шт_Column] = global::System.Convert.DBNull;
  3976. }
  3977. }
  3978. /// <summary>
  3979. ///Represents strongly named DataRow class.
  3980. ///</summary>
  3981. public partial class _модели_1_го_полугодияRow : global::System.Data.DataRow {
  3982. private _модели_1_го_полугодияDataTable _tableмодели_1_го_полугодия;
  3983. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3984. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3985. internal _модели_1_го_полугодияRow(global::System.Data.DataRowBuilder rb) :
  3986. base(rb) {
  3987. this._tableмодели_1_го_полугодия = ((_модели_1_го_полугодияDataTable)(this.Table));
  3988. }
  3989. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  3990. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  3991. public System.DateTime дата_поступления {
  3992. get {
  3993. try {
  3994. return ((global::System.DateTime)(this[this._tableмодели_1_го_полугодия.дата_поступленияColumn]));
  3995. }
  3996. catch (global::System.InvalidCastException e) {
  3997. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата поступления\' в таблице \'модели 1-го полугодия\' равно D" +
  3998. "BNull.", e);
  3999. }
  4000. }
  4001. set {
  4002. this[this._tableмодели_1_го_полугодия.дата_поступленияColumn] = value;
  4003. }
  4004. }
  4005. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4006. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4007. public string наименование_модели {
  4008. get {
  4009. try {
  4010. return ((string)(this[this._tableмодели_1_го_полугодия.наименование_моделиColumn]));
  4011. }
  4012. catch (global::System.InvalidCastException e) {
  4013. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование модели\' в таблице \'модели 1-го полугодия\' равн" +
  4014. "о DBNull.", e);
  4015. }
  4016. }
  4017. set {
  4018. this[this._tableмодели_1_го_полугодия.наименование_моделиColumn] = value;
  4019. }
  4020. }
  4021. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4022. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4023. public bool Isдата_поступленияNull() {
  4024. return this.IsNull(this._tableмодели_1_го_полугодия.дата_поступленияColumn);
  4025. }
  4026. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4027. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4028. public void Setдата_поступленияNull() {
  4029. this[this._tableмодели_1_го_полугодия.дата_поступленияColumn] = global::System.Convert.DBNull;
  4030. }
  4031. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4032. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4033. public bool Isнаименование_моделиNull() {
  4034. return this.IsNull(this._tableмодели_1_го_полугодия.наименование_моделиColumn);
  4035. }
  4036. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4037. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4038. public void Setнаименование_моделиNull() {
  4039. this[this._tableмодели_1_го_полугодия.наименование_моделиColumn] = global::System.Convert.DBNull;
  4040. }
  4041. }
  4042. /// <summary>
  4043. ///Represents strongly named DataRow class.
  4044. ///</summary>
  4045. public partial class модель_товарRow : global::System.Data.DataRow {
  4046. private модель_товарDataTable tableмодель_товар;
  4047. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4048. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4049. internal модель_товарRow(global::System.Data.DataRowBuilder rb) :
  4050. base(rb) {
  4051. this.tableмодель_товар = ((модель_товарDataTable)(this.Table));
  4052. }
  4053. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4054. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4055. public string название_товара {
  4056. get {
  4057. try {
  4058. return ((string)(this[this.tableмодель_товар.название_товараColumn]));
  4059. }
  4060. catch (global::System.InvalidCastException e) {
  4061. throw new global::System.Data.StrongTypingException("Значение для столбца \'название товара\' в таблице \'модель товар\' равно DBNull.", e);
  4062. }
  4063. }
  4064. set {
  4065. this[this.tableмодель_товар.название_товараColumn] = value;
  4066. }
  4067. }
  4068. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4069. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4070. public string название_модели {
  4071. get {
  4072. try {
  4073. return ((string)(this[this.tableмодель_товар.название_моделиColumn]));
  4074. }
  4075. catch (global::System.InvalidCastException e) {
  4076. throw new global::System.Data.StrongTypingException("Значение для столбца \'название модели\' в таблице \'модель товар\' равно DBNull.", e);
  4077. }
  4078. }
  4079. set {
  4080. this[this.tableмодель_товар.название_моделиColumn] = value;
  4081. }
  4082. }
  4083. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4084. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4085. public bool Isназвание_товараNull() {
  4086. return this.IsNull(this.tableмодель_товар.название_товараColumn);
  4087. }
  4088. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4089. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4090. public void Setназвание_товараNull() {
  4091. this[this.tableмодель_товар.название_товараColumn] = global::System.Convert.DBNull;
  4092. }
  4093. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4094. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4095. public bool Isназвание_моделиNull() {
  4096. return this.IsNull(this.tableмодель_товар.название_моделиColumn);
  4097. }
  4098. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4099. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4100. public void Setназвание_моделиNull() {
  4101. this[this.tableмодель_товар.название_моделиColumn] = global::System.Convert.DBNull;
  4102. }
  4103. }
  4104. /// <summary>
  4105. ///Represents strongly named DataRow class.
  4106. ///</summary>
  4107. public partial class название_модели_до_500_рублейRow : global::System.Data.DataRow {
  4108. private название_модели_до_500_рублейDataTable tableназвание_модели_до_500_рублей;
  4109. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4110. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4111. internal название_модели_до_500_рублейRow(global::System.Data.DataRowBuilder rb) :
  4112. base(rb) {
  4113. this.tableназвание_модели_до_500_рублей = ((название_модели_до_500_рублейDataTable)(this.Table));
  4114. }
  4115. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4116. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4117. public string наименование_модели {
  4118. get {
  4119. try {
  4120. return ((string)(this[this.tableназвание_модели_до_500_рублей.наименование_моделиColumn]));
  4121. }
  4122. catch (global::System.InvalidCastException e) {
  4123. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование модели\' в таблице \'название модели до 500 рубл" +
  4124. "ей\' равно DBNull.", e);
  4125. }
  4126. }
  4127. set {
  4128. this[this.tableназвание_модели_до_500_рублей.наименование_моделиColumn] = value;
  4129. }
  4130. }
  4131. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4132. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4133. public decimal цена_модели {
  4134. get {
  4135. try {
  4136. return ((decimal)(this[this.tableназвание_модели_до_500_рублей.цена_моделиColumn]));
  4137. }
  4138. catch (global::System.InvalidCastException e) {
  4139. throw new global::System.Data.StrongTypingException("Значение для столбца \'цена модели\' в таблице \'название модели до 500 рублей\' равн" +
  4140. "о DBNull.", e);
  4141. }
  4142. }
  4143. set {
  4144. this[this.tableназвание_модели_до_500_рублей.цена_моделиColumn] = value;
  4145. }
  4146. }
  4147. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4148. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4149. public bool Isнаименование_моделиNull() {
  4150. return this.IsNull(this.tableназвание_модели_до_500_рублей.наименование_моделиColumn);
  4151. }
  4152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4153. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4154. public void Setнаименование_моделиNull() {
  4155. this[this.tableназвание_модели_до_500_рублей.наименование_моделиColumn] = global::System.Convert.DBNull;
  4156. }
  4157. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4158. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4159. public bool Isцена_моделиNull() {
  4160. return this.IsNull(this.tableназвание_модели_до_500_рублей.цена_моделиColumn);
  4161. }
  4162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4163. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4164. public void Setцена_моделиNull() {
  4165. this[this.tableназвание_модели_до_500_рублей.цена_моделиColumn] = global::System.Convert.DBNull;
  4166. }
  4167. }
  4168. /// <summary>
  4169. ///Represents strongly named DataRow class.
  4170. ///</summary>
  4171. public partial class _связь_товар_модели_поступленияRow : global::System.Data.DataRow {
  4172. private _связь_товар_модели_поступленияDataTable _tableсвязь_товар_модели_поступления;
  4173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4174. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4175. internal _связь_товар_модели_поступленияRow(global::System.Data.DataRowBuilder rb) :
  4176. base(rb) {
  4177. this._tableсвязь_товар_модели_поступления = ((_связь_товар_модели_поступленияDataTable)(this.Table));
  4178. }
  4179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4181. public string наименование_товара {
  4182. get {
  4183. try {
  4184. return ((string)(this[this._tableсвязь_товар_модели_поступления.наименование_товараColumn]));
  4185. }
  4186. catch (global::System.InvalidCastException e) {
  4187. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование товара\' в таблице \'связь товар+модели+поступле" +
  4188. "ния\' равно DBNull.", e);
  4189. }
  4190. }
  4191. set {
  4192. this[this._tableсвязь_товар_модели_поступления.наименование_товараColumn] = value;
  4193. }
  4194. }
  4195. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4196. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4197. public string наименование_модели {
  4198. get {
  4199. try {
  4200. return ((string)(this[this._tableсвязь_товар_модели_поступления.наименование_моделиColumn]));
  4201. }
  4202. catch (global::System.InvalidCastException e) {
  4203. throw new global::System.Data.StrongTypingException("Значение для столбца \'наименование модели\' в таблице \'связь товар+модели+поступле" +
  4204. "ния\' равно DBNull.", e);
  4205. }
  4206. }
  4207. set {
  4208. this[this._tableсвязь_товар_модели_поступления.наименование_моделиColumn] = value;
  4209. }
  4210. }
  4211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4213. public decimal цена_модели {
  4214. get {
  4215. try {
  4216. return ((decimal)(this[this._tableсвязь_товар_модели_поступления.цена_моделиColumn]));
  4217. }
  4218. catch (global::System.InvalidCastException e) {
  4219. throw new global::System.Data.StrongTypingException("Значение для столбца \'цена модели\' в таблице \'связь товар+модели+поступления\' рав" +
  4220. "но DBNull.", e);
  4221. }
  4222. }
  4223. set {
  4224. this[this._tableсвязь_товар_модели_поступления.цена_моделиColumn] = value;
  4225. }
  4226. }
  4227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4229. public System.DateTime дата_поступления {
  4230. get {
  4231. try {
  4232. return ((global::System.DateTime)(this[this._tableсвязь_товар_модели_поступления.дата_поступленияColumn]));
  4233. }
  4234. catch (global::System.InvalidCastException e) {
  4235. throw new global::System.Data.StrongTypingException("Значение для столбца \'дата поступления\' в таблице \'связь товар+модели+поступления" +
  4236. "\' равно DBNull.", e);
  4237. }
  4238. }
  4239. set {
  4240. this[this._tableсвязь_товар_модели_поступления.дата_поступленияColumn] = value;
  4241. }
  4242. }
  4243. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4244. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4245. public string модели_товара {
  4246. get {
  4247. try {
  4248. return ((string)(this[this._tableсвязь_товар_модели_поступления.модели_товараColumn]));
  4249. }
  4250. catch (global::System.InvalidCastException e) {
  4251. throw new global::System.Data.StrongTypingException("Значение для столбца \'модели товара\' в таблице \'связь товар+модели+поступления\' р" +
  4252. "авно DBNull.", e);
  4253. }
  4254. }
  4255. set {
  4256. this[this._tableсвязь_товар_модели_поступления.модели_товараColumn] = value;
  4257. }
  4258. }
  4259. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4260. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4261. public string _количество__шт_ {
  4262. get {
  4263. try {
  4264. return ((string)(this[this._tableсвязь_товар_модели_поступления._количество__шт_Column]));
  4265. }
  4266. catch (global::System.InvalidCastException e) {
  4267. throw new global::System.Data.StrongTypingException("Значение для столбца \'количество, шт_\' в таблице \'связь товар+модели+поступления\'" +
  4268. " равно DBNull.", e);
  4269. }
  4270. }
  4271. set {
  4272. this[this._tableсвязь_товар_модели_поступления._количество__шт_Column] = value;
  4273. }
  4274. }
  4275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4277. public string кто_принял_товар {
  4278. get {
  4279. try {
  4280. return ((string)(this[this._tableсвязь_товар_модели_поступления.кто_принял_товарColumn]));
  4281. }
  4282. catch (global::System.InvalidCastException e) {
  4283. throw new global::System.Data.StrongTypingException("Значение для столбца \'кто принял товар\' в таблице \'связь товар+модели+поступления" +
  4284. "\' равно DBNull.", e);
  4285. }
  4286. }
  4287. set {
  4288. this[this._tableсвязь_товар_модели_поступления.кто_принял_товарColumn] = value;
  4289. }
  4290. }
  4291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4292. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4293. public bool Isнаименование_товараNull() {
  4294. return this.IsNull(this._tableсвязь_товар_модели_поступления.наименование_товараColumn);
  4295. }
  4296. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4297. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4298. public void Setнаименование_товараNull() {
  4299. this[this._tableсвязь_товар_модели_поступления.наименование_товараColumn] = global::System.Convert.DBNull;
  4300. }
  4301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4303. public bool Isнаименование_моделиNull() {
  4304. return this.IsNull(this._tableсвязь_товар_модели_поступления.наименование_моделиColumn);
  4305. }
  4306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4307. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4308. public void Setнаименование_моделиNull() {
  4309. this[this._tableсвязь_товар_модели_поступления.наименование_моделиColumn] = global::System.Convert.DBNull;
  4310. }
  4311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4312. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4313. public bool Isцена_моделиNull() {
  4314. return this.IsNull(this._tableсвязь_товар_модели_поступления.цена_моделиColumn);
  4315. }
  4316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4318. public void Setцена_моделиNull() {
  4319. this[this._tableсвязь_товар_модели_поступления.цена_моделиColumn] = global::System.Convert.DBNull;
  4320. }
  4321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4322. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4323. public bool Isдата_поступленияNull() {
  4324. return this.IsNull(this._tableсвязь_товар_модели_поступления.дата_поступленияColumn);
  4325. }
  4326. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4327. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4328. public void Setдата_поступленияNull() {
  4329. this[this._tableсвязь_товар_модели_поступления.дата_поступленияColumn] = global::System.Convert.DBNull;
  4330. }
  4331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4333. public bool Isмодели_товараNull() {
  4334. return this.IsNull(this._tableсвязь_товар_модели_поступления.модели_товараColumn);
  4335. }
  4336. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4337. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4338. public void Setмодели_товараNull() {
  4339. this[this._tableсвязь_товар_модели_поступления.модели_товараColumn] = global::System.Convert.DBNull;
  4340. }
  4341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4342. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4343. public bool Is_количество__шт_Null() {
  4344. return this.IsNull(this._tableсвязь_товар_модели_поступления._количество__шт_Column);
  4345. }
  4346. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4347. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4348. public void Set_количество__шт_Null() {
  4349. this[this._tableсвязь_товар_модели_поступления._количество__шт_Column] = global::System.Convert.DBNull;
  4350. }
  4351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4352. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4353. public bool Isкто_принял_товарNull() {
  4354. return this.IsNull(this._tableсвязь_товар_модели_поступления.кто_принял_товарColumn);
  4355. }
  4356. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4357. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4358. public void Setкто_принял_товарNull() {
  4359. this[this._tableсвязь_товар_модели_поступления.кто_принял_товарColumn] = global::System.Convert.DBNull;
  4360. }
  4361. }
  4362. /// <summary>
  4363. ///Row event argument class
  4364. ///</summary>
  4365. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4366. public class моделиRowChangeEvent : global::System.EventArgs {
  4367. private моделиRow eventRow;
  4368. private global::System.Data.DataRowAction eventAction;
  4369. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4370. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4371. public моделиRowChangeEvent(моделиRow row, global::System.Data.DataRowAction action) {
  4372. this.eventRow = row;
  4373. this.eventAction = action;
  4374. }
  4375. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4376. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4377. public моделиRow Row {
  4378. get {
  4379. return this.eventRow;
  4380. }
  4381. }
  4382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4383. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4384. public global::System.Data.DataRowAction Action {
  4385. get {
  4386. return this.eventAction;
  4387. }
  4388. }
  4389. }
  4390. /// <summary>
  4391. ///Row event argument class
  4392. ///</summary>
  4393. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4394. public class поступленияRowChangeEvent : global::System.EventArgs {
  4395. private поступленияRow eventRow;
  4396. private global::System.Data.DataRowAction eventAction;
  4397. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4398. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4399. public поступленияRowChangeEvent(поступленияRow row, global::System.Data.DataRowAction action) {
  4400. this.eventRow = row;
  4401. this.eventAction = action;
  4402. }
  4403. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4404. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4405. public поступленияRow Row {
  4406. get {
  4407. return this.eventRow;
  4408. }
  4409. }
  4410. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4411. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4412. public global::System.Data.DataRowAction Action {
  4413. get {
  4414. return this.eventAction;
  4415. }
  4416. }
  4417. }
  4418. /// <summary>
  4419. ///Row event argument class
  4420. ///</summary>
  4421. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4422. public class товарRowChangeEvent : global::System.EventArgs {
  4423. private товарRow eventRow;
  4424. private global::System.Data.DataRowAction eventAction;
  4425. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4426. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4427. public товарRowChangeEvent(товарRow row, global::System.Data.DataRowAction action) {
  4428. this.eventRow = row;
  4429. this.eventAction = action;
  4430. }
  4431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4432. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4433. public товарRow Row {
  4434. get {
  4435. return this.eventRow;
  4436. }
  4437. }
  4438. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4439. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4440. public global::System.Data.DataRowAction Action {
  4441. get {
  4442. return this.eventAction;
  4443. }
  4444. }
  4445. }
  4446. /// <summary>
  4447. ///Row event argument class
  4448. ///</summary>
  4449. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4450. public class _2_ое_полугодиеRowChangeEvent : global::System.EventArgs {
  4451. private _2_ое_полугодиеRow eventRow;
  4452. private global::System.Data.DataRowAction eventAction;
  4453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4454. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4455. public _2_ое_полугодиеRowChangeEvent(_2_ое_полугодиеRow row, global::System.Data.DataRowAction action) {
  4456. this.eventRow = row;
  4457. this.eventAction = action;
  4458. }
  4459. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4460. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4461. public _2_ое_полугодиеRow Row {
  4462. get {
  4463. return this.eventRow;
  4464. }
  4465. }
  4466. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4467. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4468. public global::System.Data.DataRowAction Action {
  4469. get {
  4470. return this.eventAction;
  4471. }
  4472. }
  4473. }
  4474. /// <summary>
  4475. ///Row event argument class
  4476. ///</summary>
  4477. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4478. public class _дата_модель_товар_кол_во_ценаRowChangeEvent : global::System.EventArgs {
  4479. private _дата_модель_товар_кол_во_ценаRow eventRow;
  4480. private global::System.Data.DataRowAction eventAction;
  4481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4482. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4483. public _дата_модель_товар_кол_во_ценаRowChangeEvent(_дата_модель_товар_кол_во_ценаRow row, global::System.Data.DataRowAction action) {
  4484. this.eventRow = row;
  4485. this.eventAction = action;
  4486. }
  4487. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4488. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4489. public _дата_модель_товар_кол_во_ценаRow Row {
  4490. get {
  4491. return this.eventRow;
  4492. }
  4493. }
  4494. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4495. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4496. public global::System.Data.DataRowAction Action {
  4497. get {
  4498. return this.eventAction;
  4499. }
  4500. }
  4501. }
  4502. /// <summary>
  4503. ///Row event argument class
  4504. ///</summary>
  4505. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4506. public class ИвановRowChangeEvent : global::System.EventArgs {
  4507. private ИвановRow eventRow;
  4508. private global::System.Data.DataRowAction eventAction;
  4509. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4510. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4511. public ИвановRowChangeEvent(ИвановRow row, global::System.Data.DataRowAction action) {
  4512. this.eventRow = row;
  4513. this.eventAction = action;
  4514. }
  4515. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4516. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4517. public ИвановRow Row {
  4518. get {
  4519. return this.eventRow;
  4520. }
  4521. }
  4522. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4523. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4524. public global::System.Data.DataRowAction Action {
  4525. get {
  4526. return this.eventAction;
  4527. }
  4528. }
  4529. }
  4530. /// <summary>
  4531. ///Row event argument class
  4532. ///</summary>
  4533. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4534. public class меньше_15к_штукRowChangeEvent : global::System.EventArgs {
  4535. private меньше_15к_штукRow eventRow;
  4536. private global::System.Data.DataRowAction eventAction;
  4537. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4538. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4539. public меньше_15к_штукRowChangeEvent(меньше_15к_штукRow row, global::System.Data.DataRowAction action) {
  4540. this.eventRow = row;
  4541. this.eventAction = action;
  4542. }
  4543. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4544. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4545. public меньше_15к_штукRow Row {
  4546. get {
  4547. return this.eventRow;
  4548. }
  4549. }
  4550. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4551. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4552. public global::System.Data.DataRowAction Action {
  4553. get {
  4554. return this.eventAction;
  4555. }
  4556. }
  4557. }
  4558. /// <summary>
  4559. ///Row event argument class
  4560. ///</summary>
  4561. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4562. public class _модели_1_го_полугодияRowChangeEvent : global::System.EventArgs {
  4563. private _модели_1_го_полугодияRow eventRow;
  4564. private global::System.Data.DataRowAction eventAction;
  4565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4566. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4567. public _модели_1_го_полугодияRowChangeEvent(_модели_1_го_полугодияRow row, global::System.Data.DataRowAction action) {
  4568. this.eventRow = row;
  4569. this.eventAction = action;
  4570. }
  4571. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4572. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4573. public _модели_1_го_полугодияRow Row {
  4574. get {
  4575. return this.eventRow;
  4576. }
  4577. }
  4578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4580. public global::System.Data.DataRowAction Action {
  4581. get {
  4582. return this.eventAction;
  4583. }
  4584. }
  4585. }
  4586. /// <summary>
  4587. ///Row event argument class
  4588. ///</summary>
  4589. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4590. public class модель_товарRowChangeEvent : global::System.EventArgs {
  4591. private модель_товарRow eventRow;
  4592. private global::System.Data.DataRowAction eventAction;
  4593. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4594. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4595. public модель_товарRowChangeEvent(модель_товарRow row, global::System.Data.DataRowAction action) {
  4596. this.eventRow = row;
  4597. this.eventAction = action;
  4598. }
  4599. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4600. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4601. public модель_товарRow Row {
  4602. get {
  4603. return this.eventRow;
  4604. }
  4605. }
  4606. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4607. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4608. public global::System.Data.DataRowAction Action {
  4609. get {
  4610. return this.eventAction;
  4611. }
  4612. }
  4613. }
  4614. /// <summary>
  4615. ///Row event argument class
  4616. ///</summary>
  4617. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4618. public class название_модели_до_500_рублейRowChangeEvent : global::System.EventArgs {
  4619. private название_модели_до_500_рублейRow eventRow;
  4620. private global::System.Data.DataRowAction eventAction;
  4621. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4622. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4623. public название_модели_до_500_рублейRowChangeEvent(название_модели_до_500_рублейRow row, global::System.Data.DataRowAction action) {
  4624. this.eventRow = row;
  4625. this.eventAction = action;
  4626. }
  4627. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4628. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4629. public название_модели_до_500_рублейRow Row {
  4630. get {
  4631. return this.eventRow;
  4632. }
  4633. }
  4634. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4635. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4636. public global::System.Data.DataRowAction Action {
  4637. get {
  4638. return this.eventAction;
  4639. }
  4640. }
  4641. }
  4642. /// <summary>
  4643. ///Row event argument class
  4644. ///</summary>
  4645. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4646. public class _связь_товар_модели_поступленияRowChangeEvent : global::System.EventArgs {
  4647. private _связь_товар_модели_поступленияRow eventRow;
  4648. private global::System.Data.DataRowAction eventAction;
  4649. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4650. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4651. public _связь_товар_модели_поступленияRowChangeEvent(_связь_товар_модели_поступленияRow row, global::System.Data.DataRowAction action) {
  4652. this.eventRow = row;
  4653. this.eventAction = action;
  4654. }
  4655. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4656. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4657. public _связь_товар_модели_поступленияRow Row {
  4658. get {
  4659. return this.eventRow;
  4660. }
  4661. }
  4662. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4663. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4664. public global::System.Data.DataRowAction Action {
  4665. get {
  4666. return this.eventAction;
  4667. }
  4668. }
  4669. }
  4670. }
  4671. }
  4672. namespace IS31Kiselev5.IS31Kiselev5DataSetTableAdapters {
  4673. /// <summary>
  4674. ///Represents the connection and commands used to retrieve and save data.
  4675. ///</summary>
  4676. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  4677. [global::System.ComponentModel.ToolboxItem(true)]
  4678. [global::System.ComponentModel.DataObjectAttribute(true)]
  4679. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  4680. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  4681. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4682. public partial class моделиTableAdapter : global::System.ComponentModel.Component {
  4683. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  4684. private global::System.Data.SqlClient.SqlConnection _connection;
  4685. private global::System.Data.SqlClient.SqlTransaction _transaction;
  4686. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  4687. private bool _clearBeforeFill;
  4688. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4689. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4690. public моделиTableAdapter() {
  4691. this.ClearBeforeFill = true;
  4692. }
  4693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4694. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4695. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  4696. get {
  4697. if ((this._adapter == null)) {
  4698. this.InitAdapter();
  4699. }
  4700. return this._adapter;
  4701. }
  4702. }
  4703. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4704. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4705. internal global::System.Data.SqlClient.SqlConnection Connection {
  4706. get {
  4707. if ((this._connection == null)) {
  4708. this.InitConnection();
  4709. }
  4710. return this._connection;
  4711. }
  4712. set {
  4713. this._connection = value;
  4714. if ((this.Adapter.InsertCommand != null)) {
  4715. this.Adapter.InsertCommand.Connection = value;
  4716. }
  4717. if ((this.Adapter.DeleteCommand != null)) {
  4718. this.Adapter.DeleteCommand.Connection = value;
  4719. }
  4720. if ((this.Adapter.UpdateCommand != null)) {
  4721. this.Adapter.UpdateCommand.Connection = value;
  4722. }
  4723. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4724. if ((this.CommandCollection[i] != null)) {
  4725. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  4726. }
  4727. }
  4728. }
  4729. }
  4730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4731. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4732. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  4733. get {
  4734. return this._transaction;
  4735. }
  4736. set {
  4737. this._transaction = value;
  4738. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  4739. this.CommandCollection[i].Transaction = this._transaction;
  4740. }
  4741. if (((this.Adapter != null)
  4742. && (this.Adapter.DeleteCommand != null))) {
  4743. this.Adapter.DeleteCommand.Transaction = this._transaction;
  4744. }
  4745. if (((this.Adapter != null)
  4746. && (this.Adapter.InsertCommand != null))) {
  4747. this.Adapter.InsertCommand.Transaction = this._transaction;
  4748. }
  4749. if (((this.Adapter != null)
  4750. && (this.Adapter.UpdateCommand != null))) {
  4751. this.Adapter.UpdateCommand.Transaction = this._transaction;
  4752. }
  4753. }
  4754. }
  4755. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4756. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4757. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  4758. get {
  4759. if ((this._commandCollection == null)) {
  4760. this.InitCommandCollection();
  4761. }
  4762. return this._commandCollection;
  4763. }
  4764. }
  4765. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4766. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4767. public bool ClearBeforeFill {
  4768. get {
  4769. return this._clearBeforeFill;
  4770. }
  4771. set {
  4772. this._clearBeforeFill = value;
  4773. }
  4774. }
  4775. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4776. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4777. private void InitAdapter() {
  4778. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  4779. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  4780. tableMapping.SourceTable = "Table";
  4781. tableMapping.DataSetTable = "модели";
  4782. tableMapping.ColumnMappings.Add("код модели", "код модели");
  4783. tableMapping.ColumnMappings.Add("наименование модели", "наименование модели");
  4784. tableMapping.ColumnMappings.Add("код товара", "код товара");
  4785. tableMapping.ColumnMappings.Add("цена модели", "цена модели");
  4786. this._adapter.TableMappings.Add(tableMapping);
  4787. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  4788. this._adapter.DeleteCommand.Connection = this.Connection;
  4789. 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_цена_модели)))";
  4790. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  4791. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_модели", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4792. 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, "", "", ""));
  4793. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_товара", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4794. 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, "", "", ""));
  4795. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_цена_модели", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "цена модели", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4796. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  4797. this._adapter.InsertCommand.Connection = this.Connection;
  4798. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[модели] ([наименование модели], [код товара], [цена модели]) VALUES (@наименование_модели, @код_товара, @цена_модели);
  4799. SELECT [код модели], [наименование модели], [код товара], [цена модели] FROM модели WHERE ([код модели] = SCOPE_IDENTITY())";
  4800. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  4801. 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, "", "", ""));
  4802. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_товара", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4803. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@цена_модели", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "цена модели", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4804. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  4805. this._adapter.UpdateCommand.Connection = this.Connection;
  4806. 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_цена_модели)));
  4807. SELECT [код модели], [наименование модели], [код товара], [цена модели] FROM модели WHERE ([код модели] = @код_модели)";
  4808. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  4809. 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, "", "", ""));
  4810. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_товара", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4811. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@цена_модели", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "цена модели", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4812. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_модели", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4813. 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, "", "", ""));
  4814. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_товара", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4815. 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, "", "", ""));
  4816. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_цена_модели", global::System.Data.SqlDbType.Decimal, 0, global::System.Data.ParameterDirection.Input, 18, 0, "цена модели", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  4817. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_модели", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  4818. }
  4819. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4820. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4821. private void InitConnection() {
  4822. this._connection = new global::System.Data.SqlClient.SqlConnection();
  4823. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  4824. }
  4825. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4826. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4827. private void InitCommandCollection() {
  4828. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  4829. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  4830. this._commandCollection[0].Connection = this.Connection;
  4831. this._commandCollection[0].CommandText = "SELECT [код модели], [наименование модели], [код товара], [цена модели] FROM dbo." +
  4832. "модели";
  4833. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  4834. }
  4835. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4836. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4837. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4838. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  4839. public virtual int Fill(IS31Kiselev5DataSet.моделиDataTable dataTable) {
  4840. this.Adapter.SelectCommand = this.CommandCollection[0];
  4841. if ((this.ClearBeforeFill == true)) {
  4842. dataTable.Clear();
  4843. }
  4844. int returnValue = this.Adapter.Fill(dataTable);
  4845. return returnValue;
  4846. }
  4847. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4848. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4849. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4850. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  4851. public virtual IS31Kiselev5DataSet.моделиDataTable GetData() {
  4852. this.Adapter.SelectCommand = this.CommandCollection[0];
  4853. IS31Kiselev5DataSet.моделиDataTable dataTable = new IS31Kiselev5DataSet.моделиDataTable();
  4854. this.Adapter.Fill(dataTable);
  4855. return dataTable;
  4856. }
  4857. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4858. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4859. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4860. public virtual int Update(IS31Kiselev5DataSet.моделиDataTable dataTable) {
  4861. return this.Adapter.Update(dataTable);
  4862. }
  4863. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4864. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4865. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4866. public virtual int Update(IS31Kiselev5DataSet dataSet) {
  4867. return this.Adapter.Update(dataSet, "модели");
  4868. }
  4869. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4870. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4871. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4872. public virtual int Update(global::System.Data.DataRow dataRow) {
  4873. return this.Adapter.Update(new global::System.Data.DataRow[] {
  4874. dataRow});
  4875. }
  4876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4877. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4878. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4879. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  4880. return this.Adapter.Update(dataRows);
  4881. }
  4882. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4883. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4884. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4885. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  4886. public virtual int Delete(long Original_код_модели, global::System.Nullable<long> Original_код_товара, global::System.Nullable<decimal> Original_цена_модели) {
  4887. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_код_модели));
  4888. if ((Original_код_товара.HasValue == true)) {
  4889. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  4890. this.Adapter.DeleteCommand.Parameters[2].Value = ((long)(Original_код_товара.Value));
  4891. }
  4892. else {
  4893. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  4894. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  4895. }
  4896. if ((Original_цена_модели.HasValue == true)) {
  4897. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  4898. this.Adapter.DeleteCommand.Parameters[4].Value = ((decimal)(Original_цена_модели.Value));
  4899. }
  4900. else {
  4901. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  4902. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  4903. }
  4904. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  4905. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4906. != global::System.Data.ConnectionState.Open)) {
  4907. this.Adapter.DeleteCommand.Connection.Open();
  4908. }
  4909. try {
  4910. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  4911. return returnValue;
  4912. }
  4913. finally {
  4914. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4915. this.Adapter.DeleteCommand.Connection.Close();
  4916. }
  4917. }
  4918. }
  4919. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4920. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4921. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4922. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  4923. public virtual int Insert(string наименование_модели, global::System.Nullable<long> код_товара, global::System.Nullable<decimal> цена_модели) {
  4924. if ((наименование_модели == null)) {
  4925. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  4926. }
  4927. else {
  4928. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(наименование_модели));
  4929. }
  4930. if ((код_товара.HasValue == true)) {
  4931. this.Adapter.InsertCommand.Parameters[1].Value = ((long)(код_товара.Value));
  4932. }
  4933. else {
  4934. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  4935. }
  4936. if ((цена_модели.HasValue == true)) {
  4937. this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(цена_модели.Value));
  4938. }
  4939. else {
  4940. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  4941. }
  4942. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  4943. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  4944. != global::System.Data.ConnectionState.Open)) {
  4945. this.Adapter.InsertCommand.Connection.Open();
  4946. }
  4947. try {
  4948. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  4949. return returnValue;
  4950. }
  4951. finally {
  4952. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  4953. this.Adapter.InsertCommand.Connection.Close();
  4954. }
  4955. }
  4956. }
  4957. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  4958. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  4959. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  4960. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  4961. public virtual int Update(string наименование_модели, global::System.Nullable<long> код_товара, global::System.Nullable<decimal> цена_модели, long Original_код_модели, global::System.Nullable<long> Original_код_товара, global::System.Nullable<decimal> Original_цена_модели, long код_модели) {
  4962. if ((наименование_модели == null)) {
  4963. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  4964. }
  4965. else {
  4966. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(наименование_модели));
  4967. }
  4968. if ((код_товара.HasValue == true)) {
  4969. this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(код_товара.Value));
  4970. }
  4971. else {
  4972. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  4973. }
  4974. if ((цена_модели.HasValue == true)) {
  4975. this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(цена_модели.Value));
  4976. }
  4977. else {
  4978. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  4979. }
  4980. this.Adapter.UpdateCommand.Parameters[3].Value = ((long)(Original_код_модели));
  4981. if ((Original_код_товара.HasValue == true)) {
  4982. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(0));
  4983. this.Adapter.UpdateCommand.Parameters[5].Value = ((long)(Original_код_товара.Value));
  4984. }
  4985. else {
  4986. this.Adapter.UpdateCommand.Parameters[4].Value = ((object)(1));
  4987. this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
  4988. }
  4989. if ((Original_цена_модели.HasValue == true)) {
  4990. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
  4991. this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(Original_цена_модели.Value));
  4992. }
  4993. else {
  4994. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
  4995. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  4996. }
  4997. this.Adapter.UpdateCommand.Parameters[8].Value = ((long)(код_модели));
  4998. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  4999. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5000. != global::System.Data.ConnectionState.Open)) {
  5001. this.Adapter.UpdateCommand.Connection.Open();
  5002. }
  5003. try {
  5004. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  5005. return returnValue;
  5006. }
  5007. finally {
  5008. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5009. this.Adapter.UpdateCommand.Connection.Close();
  5010. }
  5011. }
  5012. }
  5013. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5014. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5015. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5016. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5017. public virtual int Update(string наименование_модели, global::System.Nullable<long> код_товара, global::System.Nullable<decimal> цена_модели, long Original_код_модели, global::System.Nullable<long> Original_код_товара, global::System.Nullable<decimal> Original_цена_модели) {
  5018. return this.Update(наименование_модели, код_товара, цена_модели, Original_код_модели, Original_код_товара, Original_цена_модели, Original_код_модели);
  5019. }
  5020. }
  5021. /// <summary>
  5022. ///Represents the connection and commands used to retrieve and save data.
  5023. ///</summary>
  5024. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  5025. [global::System.ComponentModel.ToolboxItem(true)]
  5026. [global::System.ComponentModel.DataObjectAttribute(true)]
  5027. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  5028. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  5029. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5030. public partial class поступленияTableAdapter : global::System.ComponentModel.Component {
  5031. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  5032. private global::System.Data.SqlClient.SqlConnection _connection;
  5033. private global::System.Data.SqlClient.SqlTransaction _transaction;
  5034. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  5035. private bool _clearBeforeFill;
  5036. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5037. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5038. public поступленияTableAdapter() {
  5039. this.ClearBeforeFill = true;
  5040. }
  5041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5043. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  5044. get {
  5045. if ((this._adapter == null)) {
  5046. this.InitAdapter();
  5047. }
  5048. return this._adapter;
  5049. }
  5050. }
  5051. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5052. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5053. internal global::System.Data.SqlClient.SqlConnection Connection {
  5054. get {
  5055. if ((this._connection == null)) {
  5056. this.InitConnection();
  5057. }
  5058. return this._connection;
  5059. }
  5060. set {
  5061. this._connection = value;
  5062. if ((this.Adapter.InsertCommand != null)) {
  5063. this.Adapter.InsertCommand.Connection = value;
  5064. }
  5065. if ((this.Adapter.DeleteCommand != null)) {
  5066. this.Adapter.DeleteCommand.Connection = value;
  5067. }
  5068. if ((this.Adapter.UpdateCommand != null)) {
  5069. this.Adapter.UpdateCommand.Connection = value;
  5070. }
  5071. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5072. if ((this.CommandCollection[i] != null)) {
  5073. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  5074. }
  5075. }
  5076. }
  5077. }
  5078. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5079. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5080. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  5081. get {
  5082. return this._transaction;
  5083. }
  5084. set {
  5085. this._transaction = value;
  5086. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5087. this.CommandCollection[i].Transaction = this._transaction;
  5088. }
  5089. if (((this.Adapter != null)
  5090. && (this.Adapter.DeleteCommand != null))) {
  5091. this.Adapter.DeleteCommand.Transaction = this._transaction;
  5092. }
  5093. if (((this.Adapter != null)
  5094. && (this.Adapter.InsertCommand != null))) {
  5095. this.Adapter.InsertCommand.Transaction = this._transaction;
  5096. }
  5097. if (((this.Adapter != null)
  5098. && (this.Adapter.UpdateCommand != null))) {
  5099. this.Adapter.UpdateCommand.Transaction = this._transaction;
  5100. }
  5101. }
  5102. }
  5103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5105. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  5106. get {
  5107. if ((this._commandCollection == null)) {
  5108. this.InitCommandCollection();
  5109. }
  5110. return this._commandCollection;
  5111. }
  5112. }
  5113. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5114. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5115. public bool ClearBeforeFill {
  5116. get {
  5117. return this._clearBeforeFill;
  5118. }
  5119. set {
  5120. this._clearBeforeFill = value;
  5121. }
  5122. }
  5123. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5124. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5125. private void InitAdapter() {
  5126. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  5127. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  5128. tableMapping.SourceTable = "Table";
  5129. tableMapping.DataSetTable = "поступления";
  5130. tableMapping.ColumnMappings.Add("код поступления", "код поступления");
  5131. tableMapping.ColumnMappings.Add("код модели", "код модели");
  5132. tableMapping.ColumnMappings.Add("дата поступления", "дата поступления");
  5133. tableMapping.ColumnMappings.Add("модели товара", "модели товара");
  5134. tableMapping.ColumnMappings.Add("количество, шт.", "количество, шт_");
  5135. tableMapping.ColumnMappings.Add("кто принял товар", "кто принял товар");
  5136. this._adapter.TableMappings.Add(tableMapping);
  5137. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  5138. this._adapter.DeleteCommand.Connection = this.Connection;
  5139. 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_дата_поступления)))";
  5140. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  5141. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_поступления", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код поступления", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5142. 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, "", "", ""));
  5143. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_модели", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5144. 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, "", "", ""));
  5145. 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, "", "", ""));
  5146. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  5147. this._adapter.InsertCommand.Connection = this.Connection;
  5148. this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[поступления] ([код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар]) VALUES (@код_модели, @дата_поступления, @модели_товара, @p1, @кто_принял_товар);
  5149. SELECT [код поступления], [код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар] FROM поступления WHERE ([код поступления] = SCOPE_IDENTITY())";
  5150. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  5151. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_модели", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  5152. 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, "", "", ""));
  5153. 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, "", "", ""));
  5154. this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "количество, шт.", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  5155. 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, "", "", ""));
  5156. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  5157. this._adapter.UpdateCommand.Connection = this.Connection;
  5158. this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[поступления] SET [код модели] = @код_модели, [дата поступления] = @дата_поступления, [модели товара] = @модели_товара, [количество, шт.] = @p1, [кто принял товар] = @кто_принял_товар WHERE (([код поступления] = @Original_код_поступления) AND ((@IsNull_код_модели = 1 AND [код модели] IS NULL) OR ([код модели] = @Original_код_модели)) AND ((@IsNull_дата_поступления = 1 AND [дата поступления] IS NULL) OR ([дата поступления] = @Original_дата_поступления)));
  5159. SELECT [код поступления], [код модели], [дата поступления], [модели товара], [количество, шт.], [кто принял товар] FROM поступления WHERE ([код поступления] = @код_поступления)";
  5160. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  5161. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_модели", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  5162. 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, "", "", ""));
  5163. 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, "", "", ""));
  5164. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p1", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "количество, шт.", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  5165. 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, "", "", ""));
  5166. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_поступления", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код поступления", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5167. 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, "", "", ""));
  5168. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_модели", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код модели", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5169. 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, "", "", ""));
  5170. 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, "", "", ""));
  5171. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_поступления", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "код поступления", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  5172. }
  5173. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5174. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5175. private void InitConnection() {
  5176. this._connection = new global::System.Data.SqlClient.SqlConnection();
  5177. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  5178. }
  5179. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5180. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5181. private void InitCommandCollection() {
  5182. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  5183. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  5184. this._commandCollection[0].Connection = this.Connection;
  5185. this._commandCollection[0].CommandText = "SELECT [код поступления], [код модели], [дата поступления], [модели товара], [кол" +
  5186. "ичество, шт.], [кто принял товар] FROM dbo.поступления";
  5187. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  5188. }
  5189. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5190. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5191. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5192. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  5193. public virtual int Fill(IS31Kiselev5DataSet.поступленияDataTable dataTable) {
  5194. this.Adapter.SelectCommand = this.CommandCollection[0];
  5195. if ((this.ClearBeforeFill == true)) {
  5196. dataTable.Clear();
  5197. }
  5198. int returnValue = this.Adapter.Fill(dataTable);
  5199. return returnValue;
  5200. }
  5201. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5202. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5203. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5204. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  5205. public virtual IS31Kiselev5DataSet.поступленияDataTable GetData() {
  5206. this.Adapter.SelectCommand = this.CommandCollection[0];
  5207. IS31Kiselev5DataSet.поступленияDataTable dataTable = new IS31Kiselev5DataSet.поступленияDataTable();
  5208. this.Adapter.Fill(dataTable);
  5209. return dataTable;
  5210. }
  5211. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5212. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5213. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5214. public virtual int Update(IS31Kiselev5DataSet.поступленияDataTable dataTable) {
  5215. return this.Adapter.Update(dataTable);
  5216. }
  5217. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5218. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5219. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5220. public virtual int Update(IS31Kiselev5DataSet dataSet) {
  5221. return this.Adapter.Update(dataSet, "поступления");
  5222. }
  5223. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5224. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5225. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5226. public virtual int Update(global::System.Data.DataRow dataRow) {
  5227. return this.Adapter.Update(new global::System.Data.DataRow[] {
  5228. dataRow});
  5229. }
  5230. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5231. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5232. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5233. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  5234. return this.Adapter.Update(dataRows);
  5235. }
  5236. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5237. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5238. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5239. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  5240. public virtual int Delete(long Original_код_поступления, global::System.Nullable<long> Original_код_модели, global::System.Nullable<global::System.DateTime> Original_дата_поступления) {
  5241. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_код_поступления));
  5242. if ((Original_код_модели.HasValue == true)) {
  5243. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
  5244. this.Adapter.DeleteCommand.Parameters[2].Value = ((long)(Original_код_модели.Value));
  5245. }
  5246. else {
  5247. this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
  5248. this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
  5249. }
  5250. if ((Original_дата_поступления.HasValue == true)) {
  5251. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
  5252. this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_дата_поступления.Value));
  5253. }
  5254. else {
  5255. this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
  5256. this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
  5257. }
  5258. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  5259. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5260. != global::System.Data.ConnectionState.Open)) {
  5261. this.Adapter.DeleteCommand.Connection.Open();
  5262. }
  5263. try {
  5264. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  5265. return returnValue;
  5266. }
  5267. finally {
  5268. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5269. this.Adapter.DeleteCommand.Connection.Close();
  5270. }
  5271. }
  5272. }
  5273. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5274. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5275. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5276. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  5277. public virtual int Insert(global::System.Nullable<long> код_модели, global::System.Nullable<global::System.DateTime> дата_поступления, string модели_товара, string p1, string кто_принял_товар) {
  5278. if ((код_модели.HasValue == true)) {
  5279. this.Adapter.InsertCommand.Parameters[0].Value = ((long)(код_модели.Value));
  5280. }
  5281. else {
  5282. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  5283. }
  5284. if ((дата_поступления.HasValue == true)) {
  5285. this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(дата_поступления.Value));
  5286. }
  5287. else {
  5288. this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
  5289. }
  5290. if ((модели_товара == null)) {
  5291. this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
  5292. }
  5293. else {
  5294. this.Adapter.InsertCommand.Parameters[2].Value = ((string)(модели_товара));
  5295. }
  5296. if ((p1 == null)) {
  5297. this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
  5298. }
  5299. else {
  5300. this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p1));
  5301. }
  5302. if ((кто_принял_товар == null)) {
  5303. this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
  5304. }
  5305. else {
  5306. this.Adapter.InsertCommand.Parameters[4].Value = ((string)(кто_принял_товар));
  5307. }
  5308. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  5309. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5310. != global::System.Data.ConnectionState.Open)) {
  5311. this.Adapter.InsertCommand.Connection.Open();
  5312. }
  5313. try {
  5314. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  5315. return returnValue;
  5316. }
  5317. finally {
  5318. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5319. this.Adapter.InsertCommand.Connection.Close();
  5320. }
  5321. }
  5322. }
  5323. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5324. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5325. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5326. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5327. public virtual int Update(global::System.Nullable<long> код_модели, global::System.Nullable<global::System.DateTime> дата_поступления, string модели_товара, string p1, string кто_принял_товар, long Original_код_поступления, global::System.Nullable<long> Original_код_модели, global::System.Nullable<global::System.DateTime> Original_дата_поступления, long код_поступления) {
  5328. if ((код_модели.HasValue == true)) {
  5329. this.Adapter.UpdateCommand.Parameters[0].Value = ((long)(код_модели.Value));
  5330. }
  5331. else {
  5332. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  5333. }
  5334. if ((дата_поступления.HasValue == true)) {
  5335. this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(дата_поступления.Value));
  5336. }
  5337. else {
  5338. this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
  5339. }
  5340. if ((модели_товара == null)) {
  5341. this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
  5342. }
  5343. else {
  5344. this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(модели_товара));
  5345. }
  5346. if ((p1 == null)) {
  5347. this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
  5348. }
  5349. else {
  5350. this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p1));
  5351. }
  5352. if ((кто_принял_товар == null)) {
  5353. this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
  5354. }
  5355. else {
  5356. this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(кто_принял_товар));
  5357. }
  5358. this.Adapter.UpdateCommand.Parameters[5].Value = ((long)(Original_код_поступления));
  5359. if ((Original_код_модели.HasValue == true)) {
  5360. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0));
  5361. this.Adapter.UpdateCommand.Parameters[7].Value = ((long)(Original_код_модели.Value));
  5362. }
  5363. else {
  5364. this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1));
  5365. this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
  5366. }
  5367. if ((Original_дата_поступления.HasValue == true)) {
  5368. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0));
  5369. this.Adapter.UpdateCommand.Parameters[9].Value = ((System.DateTime)(Original_дата_поступления.Value));
  5370. }
  5371. else {
  5372. this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1));
  5373. this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value;
  5374. }
  5375. this.Adapter.UpdateCommand.Parameters[10].Value = ((long)(код_поступления));
  5376. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  5377. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5378. != global::System.Data.ConnectionState.Open)) {
  5379. this.Adapter.UpdateCommand.Connection.Open();
  5380. }
  5381. try {
  5382. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  5383. return returnValue;
  5384. }
  5385. finally {
  5386. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5387. this.Adapter.UpdateCommand.Connection.Close();
  5388. }
  5389. }
  5390. }
  5391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5392. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5393. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5394. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5395. public virtual int Update(global::System.Nullable<long> код_модели, global::System.Nullable<global::System.DateTime> дата_поступления, string модели_товара, string p1, string кто_принял_товар, long Original_код_поступления, global::System.Nullable<long> Original_код_модели, global::System.Nullable<global::System.DateTime> Original_дата_поступления) {
  5396. return this.Update(код_модели, дата_поступления, модели_товара, p1, кто_принял_товар, Original_код_поступления, Original_код_модели, Original_дата_поступления, Original_код_поступления);
  5397. }
  5398. }
  5399. /// <summary>
  5400. ///Represents the connection and commands used to retrieve and save data.
  5401. ///</summary>
  5402. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  5403. [global::System.ComponentModel.ToolboxItem(true)]
  5404. [global::System.ComponentModel.DataObjectAttribute(true)]
  5405. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  5406. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  5407. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5408. public partial class товарTableAdapter : global::System.ComponentModel.Component {
  5409. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  5410. private global::System.Data.SqlClient.SqlConnection _connection;
  5411. private global::System.Data.SqlClient.SqlTransaction _transaction;
  5412. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  5413. private bool _clearBeforeFill;
  5414. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5415. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5416. public товарTableAdapter() {
  5417. this.ClearBeforeFill = true;
  5418. }
  5419. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5420. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5421. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  5422. get {
  5423. if ((this._adapter == null)) {
  5424. this.InitAdapter();
  5425. }
  5426. return this._adapter;
  5427. }
  5428. }
  5429. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5430. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5431. internal global::System.Data.SqlClient.SqlConnection Connection {
  5432. get {
  5433. if ((this._connection == null)) {
  5434. this.InitConnection();
  5435. }
  5436. return this._connection;
  5437. }
  5438. set {
  5439. this._connection = value;
  5440. if ((this.Adapter.InsertCommand != null)) {
  5441. this.Adapter.InsertCommand.Connection = value;
  5442. }
  5443. if ((this.Adapter.DeleteCommand != null)) {
  5444. this.Adapter.DeleteCommand.Connection = value;
  5445. }
  5446. if ((this.Adapter.UpdateCommand != null)) {
  5447. this.Adapter.UpdateCommand.Connection = value;
  5448. }
  5449. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5450. if ((this.CommandCollection[i] != null)) {
  5451. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  5452. }
  5453. }
  5454. }
  5455. }
  5456. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5457. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5458. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  5459. get {
  5460. return this._transaction;
  5461. }
  5462. set {
  5463. this._transaction = value;
  5464. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5465. this.CommandCollection[i].Transaction = this._transaction;
  5466. }
  5467. if (((this.Adapter != null)
  5468. && (this.Adapter.DeleteCommand != null))) {
  5469. this.Adapter.DeleteCommand.Transaction = this._transaction;
  5470. }
  5471. if (((this.Adapter != null)
  5472. && (this.Adapter.InsertCommand != null))) {
  5473. this.Adapter.InsertCommand.Transaction = this._transaction;
  5474. }
  5475. if (((this.Adapter != null)
  5476. && (this.Adapter.UpdateCommand != null))) {
  5477. this.Adapter.UpdateCommand.Transaction = this._transaction;
  5478. }
  5479. }
  5480. }
  5481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5482. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5483. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  5484. get {
  5485. if ((this._commandCollection == null)) {
  5486. this.InitCommandCollection();
  5487. }
  5488. return this._commandCollection;
  5489. }
  5490. }
  5491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5492. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5493. public bool ClearBeforeFill {
  5494. get {
  5495. return this._clearBeforeFill;
  5496. }
  5497. set {
  5498. this._clearBeforeFill = value;
  5499. }
  5500. }
  5501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5502. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5503. private void InitAdapter() {
  5504. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  5505. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  5506. tableMapping.SourceTable = "Table";
  5507. tableMapping.DataSetTable = "товар";
  5508. tableMapping.ColumnMappings.Add("код товара", "код товара");
  5509. tableMapping.ColumnMappings.Add("наименование товара", "наименование товара");
  5510. this._adapter.TableMappings.Add(tableMapping);
  5511. this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
  5512. this._adapter.DeleteCommand.Connection = this.Connection;
  5513. this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[товар] WHERE (([код товара] = @Original_код_товара))";
  5514. this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
  5515. this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_товара", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5516. this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
  5517. this._adapter.InsertCommand.Connection = this.Connection;
  5518. this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[товар] ([наименование товара]) VALUES (@наименование_товара);\r" +
  5519. "\nSELECT [код товара], [наименование товара] FROM товар WHERE ([код товара] = SCO" +
  5520. "PE_IDENTITY())";
  5521. this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
  5522. 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, "", "", ""));
  5523. this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
  5524. this._adapter.UpdateCommand.Connection = this.Connection;
  5525. this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[товар] SET [наименование товара] = @наименование_товара WHERE (([ко" +
  5526. "д товара] = @Original_код_товара));\r\nSELECT [код товара], [наименование товара] " +
  5527. "FROM товар WHERE ([код товара] = @код_товара)";
  5528. this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
  5529. 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, "", "", ""));
  5530. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_код_товара", global::System.Data.SqlDbType.BigInt, 0, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
  5531. this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@код_товара", global::System.Data.SqlDbType.BigInt, 8, global::System.Data.ParameterDirection.Input, 0, 0, "код товара", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
  5532. }
  5533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5534. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5535. private void InitConnection() {
  5536. this._connection = new global::System.Data.SqlClient.SqlConnection();
  5537. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  5538. }
  5539. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5540. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5541. private void InitCommandCollection() {
  5542. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  5543. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  5544. this._commandCollection[0].Connection = this.Connection;
  5545. this._commandCollection[0].CommandText = "SELECT [код товара], [наименование товара] FROM dbo.товар";
  5546. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  5547. }
  5548. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5549. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5550. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5551. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  5552. public virtual int Fill(IS31Kiselev5DataSet.товарDataTable dataTable) {
  5553. this.Adapter.SelectCommand = this.CommandCollection[0];
  5554. if ((this.ClearBeforeFill == true)) {
  5555. dataTable.Clear();
  5556. }
  5557. int returnValue = this.Adapter.Fill(dataTable);
  5558. return returnValue;
  5559. }
  5560. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5561. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5562. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5563. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  5564. public virtual IS31Kiselev5DataSet.товарDataTable GetData() {
  5565. this.Adapter.SelectCommand = this.CommandCollection[0];
  5566. IS31Kiselev5DataSet.товарDataTable dataTable = new IS31Kiselev5DataSet.товарDataTable();
  5567. this.Adapter.Fill(dataTable);
  5568. return dataTable;
  5569. }
  5570. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5571. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5572. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5573. public virtual int Update(IS31Kiselev5DataSet.товарDataTable dataTable) {
  5574. return this.Adapter.Update(dataTable);
  5575. }
  5576. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5577. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5578. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5579. public virtual int Update(IS31Kiselev5DataSet dataSet) {
  5580. return this.Adapter.Update(dataSet, "товар");
  5581. }
  5582. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5583. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5584. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5585. public virtual int Update(global::System.Data.DataRow dataRow) {
  5586. return this.Adapter.Update(new global::System.Data.DataRow[] {
  5587. dataRow});
  5588. }
  5589. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5590. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5591. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5592. public virtual int Update(global::System.Data.DataRow[] dataRows) {
  5593. return this.Adapter.Update(dataRows);
  5594. }
  5595. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5596. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5597. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5598. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
  5599. public virtual int Delete(long Original_код_товара) {
  5600. this.Adapter.DeleteCommand.Parameters[0].Value = ((long)(Original_код_товара));
  5601. global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
  5602. if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5603. != global::System.Data.ConnectionState.Open)) {
  5604. this.Adapter.DeleteCommand.Connection.Open();
  5605. }
  5606. try {
  5607. int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
  5608. return returnValue;
  5609. }
  5610. finally {
  5611. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5612. this.Adapter.DeleteCommand.Connection.Close();
  5613. }
  5614. }
  5615. }
  5616. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5617. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5618. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5619. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
  5620. public virtual int Insert(string наименование_товара) {
  5621. if ((наименование_товара == null)) {
  5622. this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
  5623. }
  5624. else {
  5625. this.Adapter.InsertCommand.Parameters[0].Value = ((string)(наименование_товара));
  5626. }
  5627. global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
  5628. if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5629. != global::System.Data.ConnectionState.Open)) {
  5630. this.Adapter.InsertCommand.Connection.Open();
  5631. }
  5632. try {
  5633. int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
  5634. return returnValue;
  5635. }
  5636. finally {
  5637. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5638. this.Adapter.InsertCommand.Connection.Close();
  5639. }
  5640. }
  5641. }
  5642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5643. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5644. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5645. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5646. public virtual int Update(string наименование_товара, long Original_код_товара, long код_товара) {
  5647. if ((наименование_товара == null)) {
  5648. this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
  5649. }
  5650. else {
  5651. this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(наименование_товара));
  5652. }
  5653. this.Adapter.UpdateCommand.Parameters[1].Value = ((long)(Original_код_товара));
  5654. this.Adapter.UpdateCommand.Parameters[2].Value = ((long)(код_товара));
  5655. global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
  5656. if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
  5657. != global::System.Data.ConnectionState.Open)) {
  5658. this.Adapter.UpdateCommand.Connection.Open();
  5659. }
  5660. try {
  5661. int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
  5662. return returnValue;
  5663. }
  5664. finally {
  5665. if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
  5666. this.Adapter.UpdateCommand.Connection.Close();
  5667. }
  5668. }
  5669. }
  5670. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5671. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5672. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5673. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
  5674. public virtual int Update(string наименование_товара, long Original_код_товара) {
  5675. return this.Update(наименование_товара, Original_код_товара, Original_код_товара);
  5676. }
  5677. }
  5678. /// <summary>
  5679. ///Represents the connection and commands used to retrieve and save data.
  5680. ///</summary>
  5681. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  5682. [global::System.ComponentModel.ToolboxItem(true)]
  5683. [global::System.ComponentModel.DataObjectAttribute(true)]
  5684. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  5685. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  5686. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5687. public partial class _2_ое_полугодиеTableAdapter : global::System.ComponentModel.Component {
  5688. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  5689. private global::System.Data.SqlClient.SqlConnection _connection;
  5690. private global::System.Data.SqlClient.SqlTransaction _transaction;
  5691. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  5692. private bool _clearBeforeFill;
  5693. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5694. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5695. public _2_ое_полугодиеTableAdapter() {
  5696. this.ClearBeforeFill = true;
  5697. }
  5698. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5699. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5700. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  5701. get {
  5702. if ((this._adapter == null)) {
  5703. this.InitAdapter();
  5704. }
  5705. return this._adapter;
  5706. }
  5707. }
  5708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5709. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5710. internal global::System.Data.SqlClient.SqlConnection Connection {
  5711. get {
  5712. if ((this._connection == null)) {
  5713. this.InitConnection();
  5714. }
  5715. return this._connection;
  5716. }
  5717. set {
  5718. this._connection = value;
  5719. if ((this.Adapter.InsertCommand != null)) {
  5720. this.Adapter.InsertCommand.Connection = value;
  5721. }
  5722. if ((this.Adapter.DeleteCommand != null)) {
  5723. this.Adapter.DeleteCommand.Connection = value;
  5724. }
  5725. if ((this.Adapter.UpdateCommand != null)) {
  5726. this.Adapter.UpdateCommand.Connection = value;
  5727. }
  5728. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5729. if ((this.CommandCollection[i] != null)) {
  5730. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  5731. }
  5732. }
  5733. }
  5734. }
  5735. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5736. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5737. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  5738. get {
  5739. return this._transaction;
  5740. }
  5741. set {
  5742. this._transaction = value;
  5743. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5744. this.CommandCollection[i].Transaction = this._transaction;
  5745. }
  5746. if (((this.Adapter != null)
  5747. && (this.Adapter.DeleteCommand != null))) {
  5748. this.Adapter.DeleteCommand.Transaction = this._transaction;
  5749. }
  5750. if (((this.Adapter != null)
  5751. && (this.Adapter.InsertCommand != null))) {
  5752. this.Adapter.InsertCommand.Transaction = this._transaction;
  5753. }
  5754. if (((this.Adapter != null)
  5755. && (this.Adapter.UpdateCommand != null))) {
  5756. this.Adapter.UpdateCommand.Transaction = this._transaction;
  5757. }
  5758. }
  5759. }
  5760. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5761. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5762. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  5763. get {
  5764. if ((this._commandCollection == null)) {
  5765. this.InitCommandCollection();
  5766. }
  5767. return this._commandCollection;
  5768. }
  5769. }
  5770. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5771. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5772. public bool ClearBeforeFill {
  5773. get {
  5774. return this._clearBeforeFill;
  5775. }
  5776. set {
  5777. this._clearBeforeFill = value;
  5778. }
  5779. }
  5780. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5781. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5782. private void InitAdapter() {
  5783. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  5784. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  5785. tableMapping.SourceTable = "Table";
  5786. tableMapping.DataSetTable = "2-ое полугодие";
  5787. tableMapping.ColumnMappings.Add("наименование модели", "наименование модели");
  5788. tableMapping.ColumnMappings.Add("дата поступления", "дата поступления");
  5789. this._adapter.TableMappings.Add(tableMapping);
  5790. }
  5791. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5792. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5793. private void InitConnection() {
  5794. this._connection = new global::System.Data.SqlClient.SqlConnection();
  5795. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  5796. }
  5797. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5798. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5799. private void InitCommandCollection() {
  5800. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  5801. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  5802. this._commandCollection[0].Connection = this.Connection;
  5803. this._commandCollection[0].CommandText = "SELECT [наименование модели], [дата поступления] FROM dbo.[2-ое полугодие]";
  5804. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  5805. }
  5806. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5807. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5808. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5809. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  5810. public virtual int Fill(IS31Kiselev5DataSet._2_ое_полугодиеDataTable dataTable) {
  5811. this.Adapter.SelectCommand = this.CommandCollection[0];
  5812. if ((this.ClearBeforeFill == true)) {
  5813. dataTable.Clear();
  5814. }
  5815. int returnValue = this.Adapter.Fill(dataTable);
  5816. return returnValue;
  5817. }
  5818. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5819. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5820. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5821. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  5822. public virtual IS31Kiselev5DataSet._2_ое_полугодиеDataTable GetData() {
  5823. this.Adapter.SelectCommand = this.CommandCollection[0];
  5824. IS31Kiselev5DataSet._2_ое_полугодиеDataTable dataTable = new IS31Kiselev5DataSet._2_ое_полугодиеDataTable();
  5825. this.Adapter.Fill(dataTable);
  5826. return dataTable;
  5827. }
  5828. }
  5829. /// <summary>
  5830. ///Represents the connection and commands used to retrieve and save data.
  5831. ///</summary>
  5832. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  5833. [global::System.ComponentModel.ToolboxItem(true)]
  5834. [global::System.ComponentModel.DataObjectAttribute(true)]
  5835. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  5836. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  5837. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5838. public partial class дата_модель_товар_кол_во_ценаTableAdapter : global::System.ComponentModel.Component {
  5839. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  5840. private global::System.Data.SqlClient.SqlConnection _connection;
  5841. private global::System.Data.SqlClient.SqlTransaction _transaction;
  5842. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  5843. private bool _clearBeforeFill;
  5844. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5845. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5846. public дата_модель_товар_кол_во_ценаTableAdapter() {
  5847. this.ClearBeforeFill = true;
  5848. }
  5849. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5850. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5851. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  5852. get {
  5853. if ((this._adapter == null)) {
  5854. this.InitAdapter();
  5855. }
  5856. return this._adapter;
  5857. }
  5858. }
  5859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5860. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5861. internal global::System.Data.SqlClient.SqlConnection Connection {
  5862. get {
  5863. if ((this._connection == null)) {
  5864. this.InitConnection();
  5865. }
  5866. return this._connection;
  5867. }
  5868. set {
  5869. this._connection = value;
  5870. if ((this.Adapter.InsertCommand != null)) {
  5871. this.Adapter.InsertCommand.Connection = value;
  5872. }
  5873. if ((this.Adapter.DeleteCommand != null)) {
  5874. this.Adapter.DeleteCommand.Connection = value;
  5875. }
  5876. if ((this.Adapter.UpdateCommand != null)) {
  5877. this.Adapter.UpdateCommand.Connection = value;
  5878. }
  5879. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5880. if ((this.CommandCollection[i] != null)) {
  5881. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  5882. }
  5883. }
  5884. }
  5885. }
  5886. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5887. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5888. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  5889. get {
  5890. return this._transaction;
  5891. }
  5892. set {
  5893. this._transaction = value;
  5894. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  5895. this.CommandCollection[i].Transaction = this._transaction;
  5896. }
  5897. if (((this.Adapter != null)
  5898. && (this.Adapter.DeleteCommand != null))) {
  5899. this.Adapter.DeleteCommand.Transaction = this._transaction;
  5900. }
  5901. if (((this.Adapter != null)
  5902. && (this.Adapter.InsertCommand != null))) {
  5903. this.Adapter.InsertCommand.Transaction = this._transaction;
  5904. }
  5905. if (((this.Adapter != null)
  5906. && (this.Adapter.UpdateCommand != null))) {
  5907. this.Adapter.UpdateCommand.Transaction = this._transaction;
  5908. }
  5909. }
  5910. }
  5911. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5912. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5913. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  5914. get {
  5915. if ((this._commandCollection == null)) {
  5916. this.InitCommandCollection();
  5917. }
  5918. return this._commandCollection;
  5919. }
  5920. }
  5921. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5922. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5923. public bool ClearBeforeFill {
  5924. get {
  5925. return this._clearBeforeFill;
  5926. }
  5927. set {
  5928. this._clearBeforeFill = value;
  5929. }
  5930. }
  5931. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5932. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5933. private void InitAdapter() {
  5934. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  5935. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  5936. tableMapping.SourceTable = "Table";
  5937. tableMapping.DataSetTable = "дата модель товар кол-во цена";
  5938. tableMapping.ColumnMappings.Add("дата поступления товара", "дата поступления товара");
  5939. tableMapping.ColumnMappings.Add("название модели", "название модели");
  5940. tableMapping.ColumnMappings.Add("название товара", "название товара");
  5941. tableMapping.ColumnMappings.Add("количество", "количество");
  5942. tableMapping.ColumnMappings.Add("цена", "цена");
  5943. this._adapter.TableMappings.Add(tableMapping);
  5944. }
  5945. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5946. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5947. private void InitConnection() {
  5948. this._connection = new global::System.Data.SqlClient.SqlConnection();
  5949. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  5950. }
  5951. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5952. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5953. private void InitCommandCollection() {
  5954. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  5955. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  5956. this._commandCollection[0].Connection = this.Connection;
  5957. this._commandCollection[0].CommandText = "SELECT [дата поступления товара], [название модели], [название товара], количеств" +
  5958. "о, цена FROM dbo.[дата модель товар кол-во цена]";
  5959. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  5960. }
  5961. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5962. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5963. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5964. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  5965. public virtual int Fill(IS31Kiselev5DataSet._дата_модель_товар_кол_во_ценаDataTable dataTable) {
  5966. this.Adapter.SelectCommand = this.CommandCollection[0];
  5967. if ((this.ClearBeforeFill == true)) {
  5968. dataTable.Clear();
  5969. }
  5970. int returnValue = this.Adapter.Fill(dataTable);
  5971. return returnValue;
  5972. }
  5973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  5974. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  5975. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5976. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  5977. public virtual IS31Kiselev5DataSet._дата_модель_товар_кол_во_ценаDataTable GetData() {
  5978. this.Adapter.SelectCommand = this.CommandCollection[0];
  5979. IS31Kiselev5DataSet._дата_модель_товар_кол_во_ценаDataTable dataTable = new IS31Kiselev5DataSet._дата_модель_товар_кол_во_ценаDataTable();
  5980. this.Adapter.Fill(dataTable);
  5981. return dataTable;
  5982. }
  5983. }
  5984. /// <summary>
  5985. ///Represents the connection and commands used to retrieve and save data.
  5986. ///</summary>
  5987. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  5988. [global::System.ComponentModel.ToolboxItem(true)]
  5989. [global::System.ComponentModel.DataObjectAttribute(true)]
  5990. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  5991. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  5992. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  5993. public partial class ИвановTableAdapter : global::System.ComponentModel.Component {
  5994. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  5995. private global::System.Data.SqlClient.SqlConnection _connection;
  5996. private global::System.Data.SqlClient.SqlTransaction _transaction;
  5997. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  5998. private bool _clearBeforeFill;
  5999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6000. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6001. public ИвановTableAdapter() {
  6002. this.ClearBeforeFill = true;
  6003. }
  6004. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6005. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6006. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6007. get {
  6008. if ((this._adapter == null)) {
  6009. this.InitAdapter();
  6010. }
  6011. return this._adapter;
  6012. }
  6013. }
  6014. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6015. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6016. internal global::System.Data.SqlClient.SqlConnection Connection {
  6017. get {
  6018. if ((this._connection == null)) {
  6019. this.InitConnection();
  6020. }
  6021. return this._connection;
  6022. }
  6023. set {
  6024. this._connection = value;
  6025. if ((this.Adapter.InsertCommand != null)) {
  6026. this.Adapter.InsertCommand.Connection = value;
  6027. }
  6028. if ((this.Adapter.DeleteCommand != null)) {
  6029. this.Adapter.DeleteCommand.Connection = value;
  6030. }
  6031. if ((this.Adapter.UpdateCommand != null)) {
  6032. this.Adapter.UpdateCommand.Connection = value;
  6033. }
  6034. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6035. if ((this.CommandCollection[i] != null)) {
  6036. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6037. }
  6038. }
  6039. }
  6040. }
  6041. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6042. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6043. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6044. get {
  6045. return this._transaction;
  6046. }
  6047. set {
  6048. this._transaction = value;
  6049. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6050. this.CommandCollection[i].Transaction = this._transaction;
  6051. }
  6052. if (((this.Adapter != null)
  6053. && (this.Adapter.DeleteCommand != null))) {
  6054. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6055. }
  6056. if (((this.Adapter != null)
  6057. && (this.Adapter.InsertCommand != null))) {
  6058. this.Adapter.InsertCommand.Transaction = this._transaction;
  6059. }
  6060. if (((this.Adapter != null)
  6061. && (this.Adapter.UpdateCommand != null))) {
  6062. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6063. }
  6064. }
  6065. }
  6066. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6067. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6068. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6069. get {
  6070. if ((this._commandCollection == null)) {
  6071. this.InitCommandCollection();
  6072. }
  6073. return this._commandCollection;
  6074. }
  6075. }
  6076. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6077. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6078. public bool ClearBeforeFill {
  6079. get {
  6080. return this._clearBeforeFill;
  6081. }
  6082. set {
  6083. this._clearBeforeFill = value;
  6084. }
  6085. }
  6086. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6087. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6088. private void InitAdapter() {
  6089. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6090. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6091. tableMapping.SourceTable = "Table";
  6092. tableMapping.DataSetTable = "Иванов";
  6093. tableMapping.ColumnMappings.Add("наименование модели", "наименование модели");
  6094. tableMapping.ColumnMappings.Add("кто принял товар", "кто принял товар");
  6095. this._adapter.TableMappings.Add(tableMapping);
  6096. }
  6097. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6098. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6099. private void InitConnection() {
  6100. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6101. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  6102. }
  6103. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6104. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6105. private void InitCommandCollection() {
  6106. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6107. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6108. this._commandCollection[0].Connection = this.Connection;
  6109. this._commandCollection[0].CommandText = "SELECT [наименование модели], [кто принял товар] FROM dbo.Иванов";
  6110. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6111. }
  6112. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6113. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6114. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6115. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6116. public virtual int Fill(IS31Kiselev5DataSet.ИвановDataTable dataTable) {
  6117. this.Adapter.SelectCommand = this.CommandCollection[0];
  6118. if ((this.ClearBeforeFill == true)) {
  6119. dataTable.Clear();
  6120. }
  6121. int returnValue = this.Adapter.Fill(dataTable);
  6122. return returnValue;
  6123. }
  6124. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6125. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6126. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6127. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6128. public virtual IS31Kiselev5DataSet.ИвановDataTable GetData() {
  6129. this.Adapter.SelectCommand = this.CommandCollection[0];
  6130. IS31Kiselev5DataSet.ИвановDataTable dataTable = new IS31Kiselev5DataSet.ИвановDataTable();
  6131. this.Adapter.Fill(dataTable);
  6132. return dataTable;
  6133. }
  6134. }
  6135. /// <summary>
  6136. ///Represents the connection and commands used to retrieve and save data.
  6137. ///</summary>
  6138. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6139. [global::System.ComponentModel.ToolboxItem(true)]
  6140. [global::System.ComponentModel.DataObjectAttribute(true)]
  6141. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6142. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6143. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6144. public partial class меньше_15к_штукTableAdapter : global::System.ComponentModel.Component {
  6145. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6146. private global::System.Data.SqlClient.SqlConnection _connection;
  6147. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6148. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6149. private bool _clearBeforeFill;
  6150. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6151. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6152. public меньше_15к_штукTableAdapter() {
  6153. this.ClearBeforeFill = true;
  6154. }
  6155. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6156. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6157. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6158. get {
  6159. if ((this._adapter == null)) {
  6160. this.InitAdapter();
  6161. }
  6162. return this._adapter;
  6163. }
  6164. }
  6165. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6166. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6167. internal global::System.Data.SqlClient.SqlConnection Connection {
  6168. get {
  6169. if ((this._connection == null)) {
  6170. this.InitConnection();
  6171. }
  6172. return this._connection;
  6173. }
  6174. set {
  6175. this._connection = value;
  6176. if ((this.Adapter.InsertCommand != null)) {
  6177. this.Adapter.InsertCommand.Connection = value;
  6178. }
  6179. if ((this.Adapter.DeleteCommand != null)) {
  6180. this.Adapter.DeleteCommand.Connection = value;
  6181. }
  6182. if ((this.Adapter.UpdateCommand != null)) {
  6183. this.Adapter.UpdateCommand.Connection = value;
  6184. }
  6185. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6186. if ((this.CommandCollection[i] != null)) {
  6187. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6188. }
  6189. }
  6190. }
  6191. }
  6192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6193. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6194. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6195. get {
  6196. return this._transaction;
  6197. }
  6198. set {
  6199. this._transaction = value;
  6200. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6201. this.CommandCollection[i].Transaction = this._transaction;
  6202. }
  6203. if (((this.Adapter != null)
  6204. && (this.Adapter.DeleteCommand != null))) {
  6205. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6206. }
  6207. if (((this.Adapter != null)
  6208. && (this.Adapter.InsertCommand != null))) {
  6209. this.Adapter.InsertCommand.Transaction = this._transaction;
  6210. }
  6211. if (((this.Adapter != null)
  6212. && (this.Adapter.UpdateCommand != null))) {
  6213. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6214. }
  6215. }
  6216. }
  6217. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6218. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6219. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6220. get {
  6221. if ((this._commandCollection == null)) {
  6222. this.InitCommandCollection();
  6223. }
  6224. return this._commandCollection;
  6225. }
  6226. }
  6227. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6228. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6229. public bool ClearBeforeFill {
  6230. get {
  6231. return this._clearBeforeFill;
  6232. }
  6233. set {
  6234. this._clearBeforeFill = value;
  6235. }
  6236. }
  6237. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6238. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6239. private void InitAdapter() {
  6240. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6241. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6242. tableMapping.SourceTable = "Table";
  6243. tableMapping.DataSetTable = "меньше 15к штук";
  6244. tableMapping.ColumnMappings.Add("кто принял товар", "кто принял товар");
  6245. tableMapping.ColumnMappings.Add("количество, шт.", "количество, шт_");
  6246. this._adapter.TableMappings.Add(tableMapping);
  6247. }
  6248. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6249. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6250. private void InitConnection() {
  6251. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6252. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  6253. }
  6254. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6255. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6256. private void InitCommandCollection() {
  6257. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6258. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6259. this._commandCollection[0].Connection = this.Connection;
  6260. this._commandCollection[0].CommandText = "SELECT [кто принял товар], [количество, шт.] FROM dbo.[меньше 15к штук]";
  6261. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6262. }
  6263. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6264. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6265. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6266. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6267. public virtual int Fill(IS31Kiselev5DataSet.меньше_15к_штукDataTable dataTable) {
  6268. this.Adapter.SelectCommand = this.CommandCollection[0];
  6269. if ((this.ClearBeforeFill == true)) {
  6270. dataTable.Clear();
  6271. }
  6272. int returnValue = this.Adapter.Fill(dataTable);
  6273. return returnValue;
  6274. }
  6275. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6276. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6277. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6278. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6279. public virtual IS31Kiselev5DataSet.меньше_15к_штукDataTable GetData() {
  6280. this.Adapter.SelectCommand = this.CommandCollection[0];
  6281. IS31Kiselev5DataSet.меньше_15к_штукDataTable dataTable = new IS31Kiselev5DataSet.меньше_15к_штукDataTable();
  6282. this.Adapter.Fill(dataTable);
  6283. return dataTable;
  6284. }
  6285. }
  6286. /// <summary>
  6287. ///Represents the connection and commands used to retrieve and save data.
  6288. ///</summary>
  6289. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6290. [global::System.ComponentModel.ToolboxItem(true)]
  6291. [global::System.ComponentModel.DataObjectAttribute(true)]
  6292. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6293. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6294. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6295. public partial class модели_1_го_полугодияTableAdapter : global::System.ComponentModel.Component {
  6296. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6297. private global::System.Data.SqlClient.SqlConnection _connection;
  6298. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6299. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6300. private bool _clearBeforeFill;
  6301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6302. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6303. public модели_1_го_полугодияTableAdapter() {
  6304. this.ClearBeforeFill = true;
  6305. }
  6306. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6307. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6308. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6309. get {
  6310. if ((this._adapter == null)) {
  6311. this.InitAdapter();
  6312. }
  6313. return this._adapter;
  6314. }
  6315. }
  6316. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6317. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6318. internal global::System.Data.SqlClient.SqlConnection Connection {
  6319. get {
  6320. if ((this._connection == null)) {
  6321. this.InitConnection();
  6322. }
  6323. return this._connection;
  6324. }
  6325. set {
  6326. this._connection = value;
  6327. if ((this.Adapter.InsertCommand != null)) {
  6328. this.Adapter.InsertCommand.Connection = value;
  6329. }
  6330. if ((this.Adapter.DeleteCommand != null)) {
  6331. this.Adapter.DeleteCommand.Connection = value;
  6332. }
  6333. if ((this.Adapter.UpdateCommand != null)) {
  6334. this.Adapter.UpdateCommand.Connection = value;
  6335. }
  6336. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6337. if ((this.CommandCollection[i] != null)) {
  6338. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6339. }
  6340. }
  6341. }
  6342. }
  6343. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6344. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6345. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6346. get {
  6347. return this._transaction;
  6348. }
  6349. set {
  6350. this._transaction = value;
  6351. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6352. this.CommandCollection[i].Transaction = this._transaction;
  6353. }
  6354. if (((this.Adapter != null)
  6355. && (this.Adapter.DeleteCommand != null))) {
  6356. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6357. }
  6358. if (((this.Adapter != null)
  6359. && (this.Adapter.InsertCommand != null))) {
  6360. this.Adapter.InsertCommand.Transaction = this._transaction;
  6361. }
  6362. if (((this.Adapter != null)
  6363. && (this.Adapter.UpdateCommand != null))) {
  6364. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6365. }
  6366. }
  6367. }
  6368. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6369. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6370. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6371. get {
  6372. if ((this._commandCollection == null)) {
  6373. this.InitCommandCollection();
  6374. }
  6375. return this._commandCollection;
  6376. }
  6377. }
  6378. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6379. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6380. public bool ClearBeforeFill {
  6381. get {
  6382. return this._clearBeforeFill;
  6383. }
  6384. set {
  6385. this._clearBeforeFill = value;
  6386. }
  6387. }
  6388. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6389. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6390. private void InitAdapter() {
  6391. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6392. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6393. tableMapping.SourceTable = "Table";
  6394. tableMapping.DataSetTable = "модели 1-го полугодия";
  6395. tableMapping.ColumnMappings.Add("дата поступления", "дата поступления");
  6396. tableMapping.ColumnMappings.Add("наименование модели", "наименование модели");
  6397. this._adapter.TableMappings.Add(tableMapping);
  6398. }
  6399. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6400. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6401. private void InitConnection() {
  6402. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6403. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  6404. }
  6405. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6406. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6407. private void InitCommandCollection() {
  6408. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6409. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6410. this._commandCollection[0].Connection = this.Connection;
  6411. this._commandCollection[0].CommandText = "SELECT [дата поступления], [наименование модели] FROM dbo.[модели 1-го полугодия]" +
  6412. "";
  6413. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6414. }
  6415. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6416. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6417. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6418. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6419. public virtual int Fill(IS31Kiselev5DataSet._модели_1_го_полугодияDataTable dataTable) {
  6420. this.Adapter.SelectCommand = this.CommandCollection[0];
  6421. if ((this.ClearBeforeFill == true)) {
  6422. dataTable.Clear();
  6423. }
  6424. int returnValue = this.Adapter.Fill(dataTable);
  6425. return returnValue;
  6426. }
  6427. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6428. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6429. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6430. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6431. public virtual IS31Kiselev5DataSet._модели_1_го_полугодияDataTable GetData() {
  6432. this.Adapter.SelectCommand = this.CommandCollection[0];
  6433. IS31Kiselev5DataSet._модели_1_го_полугодияDataTable dataTable = new IS31Kiselev5DataSet._модели_1_го_полугодияDataTable();
  6434. this.Adapter.Fill(dataTable);
  6435. return dataTable;
  6436. }
  6437. }
  6438. /// <summary>
  6439. ///Represents the connection and commands used to retrieve and save data.
  6440. ///</summary>
  6441. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6442. [global::System.ComponentModel.ToolboxItem(true)]
  6443. [global::System.ComponentModel.DataObjectAttribute(true)]
  6444. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6445. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6446. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6447. public partial class модель_товарTableAdapter : global::System.ComponentModel.Component {
  6448. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6449. private global::System.Data.SqlClient.SqlConnection _connection;
  6450. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6451. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6452. private bool _clearBeforeFill;
  6453. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6454. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6455. public модель_товарTableAdapter() {
  6456. this.ClearBeforeFill = true;
  6457. }
  6458. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6459. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6460. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6461. get {
  6462. if ((this._adapter == null)) {
  6463. this.InitAdapter();
  6464. }
  6465. return this._adapter;
  6466. }
  6467. }
  6468. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6469. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6470. internal global::System.Data.SqlClient.SqlConnection Connection {
  6471. get {
  6472. if ((this._connection == null)) {
  6473. this.InitConnection();
  6474. }
  6475. return this._connection;
  6476. }
  6477. set {
  6478. this._connection = value;
  6479. if ((this.Adapter.InsertCommand != null)) {
  6480. this.Adapter.InsertCommand.Connection = value;
  6481. }
  6482. if ((this.Adapter.DeleteCommand != null)) {
  6483. this.Adapter.DeleteCommand.Connection = value;
  6484. }
  6485. if ((this.Adapter.UpdateCommand != null)) {
  6486. this.Adapter.UpdateCommand.Connection = value;
  6487. }
  6488. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6489. if ((this.CommandCollection[i] != null)) {
  6490. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6491. }
  6492. }
  6493. }
  6494. }
  6495. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6496. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6497. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6498. get {
  6499. return this._transaction;
  6500. }
  6501. set {
  6502. this._transaction = value;
  6503. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6504. this.CommandCollection[i].Transaction = this._transaction;
  6505. }
  6506. if (((this.Adapter != null)
  6507. && (this.Adapter.DeleteCommand != null))) {
  6508. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6509. }
  6510. if (((this.Adapter != null)
  6511. && (this.Adapter.InsertCommand != null))) {
  6512. this.Adapter.InsertCommand.Transaction = this._transaction;
  6513. }
  6514. if (((this.Adapter != null)
  6515. && (this.Adapter.UpdateCommand != null))) {
  6516. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6517. }
  6518. }
  6519. }
  6520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6521. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6522. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6523. get {
  6524. if ((this._commandCollection == null)) {
  6525. this.InitCommandCollection();
  6526. }
  6527. return this._commandCollection;
  6528. }
  6529. }
  6530. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6531. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6532. public bool ClearBeforeFill {
  6533. get {
  6534. return this._clearBeforeFill;
  6535. }
  6536. set {
  6537. this._clearBeforeFill = value;
  6538. }
  6539. }
  6540. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6541. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6542. private void InitAdapter() {
  6543. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6544. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6545. tableMapping.SourceTable = "Table";
  6546. tableMapping.DataSetTable = "модель товар";
  6547. tableMapping.ColumnMappings.Add("название товара", "название товара");
  6548. tableMapping.ColumnMappings.Add("название модели", "название модели");
  6549. this._adapter.TableMappings.Add(tableMapping);
  6550. }
  6551. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6552. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6553. private void InitConnection() {
  6554. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6555. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  6556. }
  6557. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6558. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6559. private void InitCommandCollection() {
  6560. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6561. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6562. this._commandCollection[0].Connection = this.Connection;
  6563. this._commandCollection[0].CommandText = "SELECT [название товара], [название модели] FROM dbo.[модель товар]";
  6564. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6565. }
  6566. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6567. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6568. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6569. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6570. public virtual int Fill(IS31Kiselev5DataSet.модель_товарDataTable dataTable) {
  6571. this.Adapter.SelectCommand = this.CommandCollection[0];
  6572. if ((this.ClearBeforeFill == true)) {
  6573. dataTable.Clear();
  6574. }
  6575. int returnValue = this.Adapter.Fill(dataTable);
  6576. return returnValue;
  6577. }
  6578. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6579. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6580. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6581. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6582. public virtual IS31Kiselev5DataSet.модель_товарDataTable GetData() {
  6583. this.Adapter.SelectCommand = this.CommandCollection[0];
  6584. IS31Kiselev5DataSet.модель_товарDataTable dataTable = new IS31Kiselev5DataSet.модель_товарDataTable();
  6585. this.Adapter.Fill(dataTable);
  6586. return dataTable;
  6587. }
  6588. }
  6589. /// <summary>
  6590. ///Represents the connection and commands used to retrieve and save data.
  6591. ///</summary>
  6592. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6593. [global::System.ComponentModel.ToolboxItem(true)]
  6594. [global::System.ComponentModel.DataObjectAttribute(true)]
  6595. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6596. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6597. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6598. public partial class название_модели_до_500_рублейTableAdapter : global::System.ComponentModel.Component {
  6599. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6600. private global::System.Data.SqlClient.SqlConnection _connection;
  6601. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6602. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6603. private bool _clearBeforeFill;
  6604. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6605. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6606. public название_модели_до_500_рублейTableAdapter() {
  6607. this.ClearBeforeFill = true;
  6608. }
  6609. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6610. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6611. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6612. get {
  6613. if ((this._adapter == null)) {
  6614. this.InitAdapter();
  6615. }
  6616. return this._adapter;
  6617. }
  6618. }
  6619. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6620. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6621. internal global::System.Data.SqlClient.SqlConnection Connection {
  6622. get {
  6623. if ((this._connection == null)) {
  6624. this.InitConnection();
  6625. }
  6626. return this._connection;
  6627. }
  6628. set {
  6629. this._connection = value;
  6630. if ((this.Adapter.InsertCommand != null)) {
  6631. this.Adapter.InsertCommand.Connection = value;
  6632. }
  6633. if ((this.Adapter.DeleteCommand != null)) {
  6634. this.Adapter.DeleteCommand.Connection = value;
  6635. }
  6636. if ((this.Adapter.UpdateCommand != null)) {
  6637. this.Adapter.UpdateCommand.Connection = value;
  6638. }
  6639. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6640. if ((this.CommandCollection[i] != null)) {
  6641. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6642. }
  6643. }
  6644. }
  6645. }
  6646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6647. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6648. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6649. get {
  6650. return this._transaction;
  6651. }
  6652. set {
  6653. this._transaction = value;
  6654. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6655. this.CommandCollection[i].Transaction = this._transaction;
  6656. }
  6657. if (((this.Adapter != null)
  6658. && (this.Adapter.DeleteCommand != null))) {
  6659. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6660. }
  6661. if (((this.Adapter != null)
  6662. && (this.Adapter.InsertCommand != null))) {
  6663. this.Adapter.InsertCommand.Transaction = this._transaction;
  6664. }
  6665. if (((this.Adapter != null)
  6666. && (this.Adapter.UpdateCommand != null))) {
  6667. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6668. }
  6669. }
  6670. }
  6671. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6672. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6673. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6674. get {
  6675. if ((this._commandCollection == null)) {
  6676. this.InitCommandCollection();
  6677. }
  6678. return this._commandCollection;
  6679. }
  6680. }
  6681. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6682. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6683. public bool ClearBeforeFill {
  6684. get {
  6685. return this._clearBeforeFill;
  6686. }
  6687. set {
  6688. this._clearBeforeFill = value;
  6689. }
  6690. }
  6691. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6692. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6693. private void InitAdapter() {
  6694. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6695. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6696. tableMapping.SourceTable = "Table";
  6697. tableMapping.DataSetTable = "название модели до 500 рублей";
  6698. tableMapping.ColumnMappings.Add("наименование модели", "наименование модели");
  6699. tableMapping.ColumnMappings.Add("цена модели", "цена модели");
  6700. this._adapter.TableMappings.Add(tableMapping);
  6701. }
  6702. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6703. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6704. private void InitConnection() {
  6705. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6706. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  6707. }
  6708. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6709. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6710. private void InitCommandCollection() {
  6711. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6712. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6713. this._commandCollection[0].Connection = this.Connection;
  6714. this._commandCollection[0].CommandText = "SELECT [наименование модели], [цена модели] FROM dbo.[название модели до 500 рубл" +
  6715. "ей]";
  6716. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6717. }
  6718. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6719. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6720. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6721. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6722. public virtual int Fill(IS31Kiselev5DataSet.название_модели_до_500_рублейDataTable dataTable) {
  6723. this.Adapter.SelectCommand = this.CommandCollection[0];
  6724. if ((this.ClearBeforeFill == true)) {
  6725. dataTable.Clear();
  6726. }
  6727. int returnValue = this.Adapter.Fill(dataTable);
  6728. return returnValue;
  6729. }
  6730. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6731. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6732. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6733. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6734. public virtual IS31Kiselev5DataSet.название_модели_до_500_рублейDataTable GetData() {
  6735. this.Adapter.SelectCommand = this.CommandCollection[0];
  6736. IS31Kiselev5DataSet.название_модели_до_500_рублейDataTable dataTable = new IS31Kiselev5DataSet.название_модели_до_500_рублейDataTable();
  6737. this.Adapter.Fill(dataTable);
  6738. return dataTable;
  6739. }
  6740. }
  6741. /// <summary>
  6742. ///Represents the connection and commands used to retrieve and save data.
  6743. ///</summary>
  6744. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6745. [global::System.ComponentModel.ToolboxItem(true)]
  6746. [global::System.ComponentModel.DataObjectAttribute(true)]
  6747. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
  6748. ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6749. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6750. public partial class связь_товар_модели_поступленияTableAdapter : global::System.ComponentModel.Component {
  6751. private global::System.Data.SqlClient.SqlDataAdapter _adapter;
  6752. private global::System.Data.SqlClient.SqlConnection _connection;
  6753. private global::System.Data.SqlClient.SqlTransaction _transaction;
  6754. private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
  6755. private bool _clearBeforeFill;
  6756. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6757. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6758. public связь_товар_модели_поступленияTableAdapter() {
  6759. this.ClearBeforeFill = true;
  6760. }
  6761. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6762. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6763. protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
  6764. get {
  6765. if ((this._adapter == null)) {
  6766. this.InitAdapter();
  6767. }
  6768. return this._adapter;
  6769. }
  6770. }
  6771. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6772. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6773. internal global::System.Data.SqlClient.SqlConnection Connection {
  6774. get {
  6775. if ((this._connection == null)) {
  6776. this.InitConnection();
  6777. }
  6778. return this._connection;
  6779. }
  6780. set {
  6781. this._connection = value;
  6782. if ((this.Adapter.InsertCommand != null)) {
  6783. this.Adapter.InsertCommand.Connection = value;
  6784. }
  6785. if ((this.Adapter.DeleteCommand != null)) {
  6786. this.Adapter.DeleteCommand.Connection = value;
  6787. }
  6788. if ((this.Adapter.UpdateCommand != null)) {
  6789. this.Adapter.UpdateCommand.Connection = value;
  6790. }
  6791. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6792. if ((this.CommandCollection[i] != null)) {
  6793. ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
  6794. }
  6795. }
  6796. }
  6797. }
  6798. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6799. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6800. internal global::System.Data.SqlClient.SqlTransaction Transaction {
  6801. get {
  6802. return this._transaction;
  6803. }
  6804. set {
  6805. this._transaction = value;
  6806. for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
  6807. this.CommandCollection[i].Transaction = this._transaction;
  6808. }
  6809. if (((this.Adapter != null)
  6810. && (this.Adapter.DeleteCommand != null))) {
  6811. this.Adapter.DeleteCommand.Transaction = this._transaction;
  6812. }
  6813. if (((this.Adapter != null)
  6814. && (this.Adapter.InsertCommand != null))) {
  6815. this.Adapter.InsertCommand.Transaction = this._transaction;
  6816. }
  6817. if (((this.Adapter != null)
  6818. && (this.Adapter.UpdateCommand != null))) {
  6819. this.Adapter.UpdateCommand.Transaction = this._transaction;
  6820. }
  6821. }
  6822. }
  6823. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6824. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6825. protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
  6826. get {
  6827. if ((this._commandCollection == null)) {
  6828. this.InitCommandCollection();
  6829. }
  6830. return this._commandCollection;
  6831. }
  6832. }
  6833. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6834. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6835. public bool ClearBeforeFill {
  6836. get {
  6837. return this._clearBeforeFill;
  6838. }
  6839. set {
  6840. this._clearBeforeFill = value;
  6841. }
  6842. }
  6843. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6844. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6845. private void InitAdapter() {
  6846. this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
  6847. global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
  6848. tableMapping.SourceTable = "Table";
  6849. tableMapping.DataSetTable = "связь товар+модели+поступления";
  6850. tableMapping.ColumnMappings.Add("наименование товара", "наименование товара");
  6851. tableMapping.ColumnMappings.Add("наименование модели", "наименование модели");
  6852. tableMapping.ColumnMappings.Add("цена модели", "цена модели");
  6853. tableMapping.ColumnMappings.Add("дата поступления", "дата поступления");
  6854. tableMapping.ColumnMappings.Add("модели товара", "модели товара");
  6855. tableMapping.ColumnMappings.Add("количество, шт.", "количество, шт_");
  6856. tableMapping.ColumnMappings.Add("кто принял товар", "кто принял товар");
  6857. this._adapter.TableMappings.Add(tableMapping);
  6858. }
  6859. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6860. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6861. private void InitConnection() {
  6862. this._connection = new global::System.Data.SqlClient.SqlConnection();
  6863. this._connection.ConnectionString = global::IS31Kiselev5.Properties.Settings.Default.IS31Kiselev5ConnectionString;
  6864. }
  6865. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6866. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6867. private void InitCommandCollection() {
  6868. this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
  6869. this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
  6870. this._commandCollection[0].Connection = this.Connection;
  6871. this._commandCollection[0].CommandText = "SELECT [наименование товара], [наименование модели], [цена модели], [дата поступл" +
  6872. "ения], [модели товара], [количество, шт.], [кто принял товар] FROM dbo.[связь то" +
  6873. "вар+модели+поступления]";
  6874. this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
  6875. }
  6876. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6877. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6878. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6879. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
  6880. public virtual int Fill(IS31Kiselev5DataSet._связь_товар_модели_поступленияDataTable dataTable) {
  6881. this.Adapter.SelectCommand = this.CommandCollection[0];
  6882. if ((this.ClearBeforeFill == true)) {
  6883. dataTable.Clear();
  6884. }
  6885. int returnValue = this.Adapter.Fill(dataTable);
  6886. return returnValue;
  6887. }
  6888. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6889. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6890. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
  6891. [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
  6892. public virtual IS31Kiselev5DataSet._связь_товар_модели_поступленияDataTable GetData() {
  6893. this.Adapter.SelectCommand = this.CommandCollection[0];
  6894. IS31Kiselev5DataSet._связь_товар_модели_поступленияDataTable dataTable = new IS31Kiselev5DataSet._связь_товар_модели_поступленияDataTable();
  6895. this.Adapter.Fill(dataTable);
  6896. return dataTable;
  6897. }
  6898. }
  6899. /// <summary>
  6900. ///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
  6901. ///</summary>
  6902. [global::System.ComponentModel.DesignerCategoryAttribute("code")]
  6903. [global::System.ComponentModel.ToolboxItem(true)]
  6904. [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
  6905. "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
  6906. [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapterManager")]
  6907. public partial class TableAdapterManager : global::System.ComponentModel.Component {
  6908. private UpdateOrderOption _updateOrder;
  6909. private моделиTableAdapter _моделиTableAdapter;
  6910. private поступленияTableAdapter _поступленияTableAdapter;
  6911. private товарTableAdapter _товарTableAdapter;
  6912. private bool _backupDataSetBeforeUpdate;
  6913. private global::System.Data.IDbConnection _connection;
  6914. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6915. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6916. public UpdateOrderOption UpdateOrder {
  6917. get {
  6918. return this._updateOrder;
  6919. }
  6920. set {
  6921. this._updateOrder = value;
  6922. }
  6923. }
  6924. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6925. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6926. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6927. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6928. "a", "System.Drawing.Design.UITypeEditor")]
  6929. public моделиTableAdapter моделиTableAdapter {
  6930. get {
  6931. return this._моделиTableAdapter;
  6932. }
  6933. set {
  6934. this._моделиTableAdapter = value;
  6935. }
  6936. }
  6937. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6938. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6939. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6940. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6941. "a", "System.Drawing.Design.UITypeEditor")]
  6942. public поступленияTableAdapter поступленияTableAdapter {
  6943. get {
  6944. return this._поступленияTableAdapter;
  6945. }
  6946. set {
  6947. this._поступленияTableAdapter = value;
  6948. }
  6949. }
  6950. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6951. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6952. [global::System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
  6953. "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
  6954. "a", "System.Drawing.Design.UITypeEditor")]
  6955. public товарTableAdapter товарTableAdapter {
  6956. get {
  6957. return this._товарTableAdapter;
  6958. }
  6959. set {
  6960. this._товарTableAdapter = value;
  6961. }
  6962. }
  6963. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6964. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6965. public bool BackupDataSetBeforeUpdate {
  6966. get {
  6967. return this._backupDataSetBeforeUpdate;
  6968. }
  6969. set {
  6970. this._backupDataSetBeforeUpdate = value;
  6971. }
  6972. }
  6973. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  6974. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  6975. [global::System.ComponentModel.Browsable(false)]
  6976. public global::System.Data.IDbConnection Connection {
  6977. get {
  6978. if ((this._connection != null)) {
  6979. return this._connection;
  6980. }
  6981. if (((this._моделиTableAdapter != null)
  6982. && (this._моделиTableAdapter.Connection != null))) {
  6983. return this._моделиTableAdapter.Connection;
  6984. }
  6985. if (((this._поступленияTableAdapter != null)
  6986. && (this._поступленияTableAdapter.Connection != null))) {
  6987. return this._поступленияTableAdapter.Connection;
  6988. }
  6989. if (((this._товарTableAdapter != null)
  6990. && (this._товарTableAdapter.Connection != null))) {
  6991. return this._товарTableAdapter.Connection;
  6992. }
  6993. return null;
  6994. }
  6995. set {
  6996. this._connection = value;
  6997. }
  6998. }
  6999. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7000. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7001. [global::System.ComponentModel.Browsable(false)]
  7002. public int TableAdapterInstanceCount {
  7003. get {
  7004. int count = 0;
  7005. if ((this._моделиTableAdapter != null)) {
  7006. count = (count + 1);
  7007. }
  7008. if ((this._поступленияTableAdapter != null)) {
  7009. count = (count + 1);
  7010. }
  7011. if ((this._товарTableAdapter != null)) {
  7012. count = (count + 1);
  7013. }
  7014. return count;
  7015. }
  7016. }
  7017. /// <summary>
  7018. ///Update rows in top-down order.
  7019. ///</summary>
  7020. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7021. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7022. private int UpdateUpdatedRows(IS31Kiselev5DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  7023. int result = 0;
  7024. if ((this._моделиTableAdapter != null)) {
  7025. global::System.Data.DataRow[] updatedRows = dataSet.модели.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  7026. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  7027. if (((updatedRows != null)
  7028. && (0 < updatedRows.Length))) {
  7029. result = (result + this._моделиTableAdapter.Update(updatedRows));
  7030. allChangedRows.AddRange(updatedRows);
  7031. }
  7032. }
  7033. if ((this._поступленияTableAdapter != null)) {
  7034. global::System.Data.DataRow[] updatedRows = dataSet.поступления.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  7035. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  7036. if (((updatedRows != null)
  7037. && (0 < updatedRows.Length))) {
  7038. result = (result + this._поступленияTableAdapter.Update(updatedRows));
  7039. allChangedRows.AddRange(updatedRows);
  7040. }
  7041. }
  7042. if ((this._товарTableAdapter != null)) {
  7043. global::System.Data.DataRow[] updatedRows = dataSet.товар.Select(null, null, global::System.Data.DataViewRowState.ModifiedCurrent);
  7044. updatedRows = this.GetRealUpdatedRows(updatedRows, allAddedRows);
  7045. if (((updatedRows != null)
  7046. && (0 < updatedRows.Length))) {
  7047. result = (result + this._товарTableAdapter.Update(updatedRows));
  7048. allChangedRows.AddRange(updatedRows);
  7049. }
  7050. }
  7051. return result;
  7052. }
  7053. /// <summary>
  7054. ///Insert rows in top-down order.
  7055. ///</summary>
  7056. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7057. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7058. private int UpdateInsertedRows(IS31Kiselev5DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  7059. int result = 0;
  7060. if ((this._моделиTableAdapter != null)) {
  7061. global::System.Data.DataRow[] addedRows = dataSet.модели.Select(null, null, global::System.Data.DataViewRowState.Added);
  7062. if (((addedRows != null)
  7063. && (0 < addedRows.Length))) {
  7064. result = (result + this._моделиTableAdapter.Update(addedRows));
  7065. allAddedRows.AddRange(addedRows);
  7066. }
  7067. }
  7068. if ((this._поступленияTableAdapter != null)) {
  7069. global::System.Data.DataRow[] addedRows = dataSet.поступления.Select(null, null, global::System.Data.DataViewRowState.Added);
  7070. if (((addedRows != null)
  7071. && (0 < addedRows.Length))) {
  7072. result = (result + this._поступленияTableAdapter.Update(addedRows));
  7073. allAddedRows.AddRange(addedRows);
  7074. }
  7075. }
  7076. if ((this._товарTableAdapter != null)) {
  7077. global::System.Data.DataRow[] addedRows = dataSet.товар.Select(null, null, global::System.Data.DataViewRowState.Added);
  7078. if (((addedRows != null)
  7079. && (0 < addedRows.Length))) {
  7080. result = (result + this._товарTableAdapter.Update(addedRows));
  7081. allAddedRows.AddRange(addedRows);
  7082. }
  7083. }
  7084. return result;
  7085. }
  7086. /// <summary>
  7087. ///Delete rows in bottom-up order.
  7088. ///</summary>
  7089. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7090. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7091. private int UpdateDeletedRows(IS31Kiselev5DataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows) {
  7092. int result = 0;
  7093. if ((this._товарTableAdapter != null)) {
  7094. global::System.Data.DataRow[] deletedRows = dataSet.товар.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  7095. if (((deletedRows != null)
  7096. && (0 < deletedRows.Length))) {
  7097. result = (result + this._товарTableAdapter.Update(deletedRows));
  7098. allChangedRows.AddRange(deletedRows);
  7099. }
  7100. }
  7101. if ((this._поступленияTableAdapter != null)) {
  7102. global::System.Data.DataRow[] deletedRows = dataSet.поступления.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  7103. if (((deletedRows != null)
  7104. && (0 < deletedRows.Length))) {
  7105. result = (result + this._поступленияTableAdapter.Update(deletedRows));
  7106. allChangedRows.AddRange(deletedRows);
  7107. }
  7108. }
  7109. if ((this._моделиTableAdapter != null)) {
  7110. global::System.Data.DataRow[] deletedRows = dataSet.модели.Select(null, null, global::System.Data.DataViewRowState.Deleted);
  7111. if (((deletedRows != null)
  7112. && (0 < deletedRows.Length))) {
  7113. result = (result + this._моделиTableAdapter.Update(deletedRows));
  7114. allChangedRows.AddRange(deletedRows);
  7115. }
  7116. }
  7117. return result;
  7118. }
  7119. /// <summary>
  7120. ///Remove inserted rows that become updated rows after calling TableAdapter.Update(inserted rows) first
  7121. ///</summary>
  7122. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7123. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7124. private global::System.Data.DataRow[] GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
  7125. if (((updatedRows == null)
  7126. || (updatedRows.Length < 1))) {
  7127. return updatedRows;
  7128. }
  7129. if (((allAddedRows == null)
  7130. || (allAddedRows.Count < 1))) {
  7131. return updatedRows;
  7132. }
  7133. global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  7134. for (int i = 0; (i < updatedRows.Length); i = (i + 1)) {
  7135. global::System.Data.DataRow row = updatedRows[i];
  7136. if ((allAddedRows.Contains(row) == false)) {
  7137. realUpdatedRows.Add(row);
  7138. }
  7139. }
  7140. return realUpdatedRows.ToArray();
  7141. }
  7142. /// <summary>
  7143. ///Update all changes to the dataset.
  7144. ///</summary>
  7145. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7146. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7147. public virtual int UpdateAll(IS31Kiselev5DataSet dataSet) {
  7148. if ((dataSet == null)) {
  7149. throw new global::System.ArgumentNullException("dataSet");
  7150. }
  7151. if ((dataSet.HasChanges() == false)) {
  7152. return 0;
  7153. }
  7154. if (((this._моделиTableAdapter != null)
  7155. && (this.MatchTableAdapterConnection(this._моделиTableAdapter.Connection) == false))) {
  7156. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  7157. "r, должны использовать одинаковую строку подключения.");
  7158. }
  7159. if (((this._поступленияTableAdapter != null)
  7160. && (this.MatchTableAdapterConnection(this._поступленияTableAdapter.Connection) == false))) {
  7161. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  7162. "r, должны использовать одинаковую строку подключения.");
  7163. }
  7164. if (((this._товарTableAdapter != null)
  7165. && (this.MatchTableAdapterConnection(this._товарTableAdapter.Connection) == false))) {
  7166. throw new global::System.ArgumentException("Все адаптеры таблицы, управляемые диспетчером адаптера таблицы TableAdapterManage" +
  7167. "r, должны использовать одинаковую строку подключения.");
  7168. }
  7169. global::System.Data.IDbConnection workConnection = this.Connection;
  7170. if ((workConnection == null)) {
  7171. throw new global::System.ApplicationException("TableAdapterManager не содержит сведений о подключении. Укажите для каждого адапт" +
  7172. "ера таблицы TableAdapterManager допустимый экземпляр адаптера таблицы.");
  7173. }
  7174. bool workConnOpened = false;
  7175. if (((workConnection.State & global::System.Data.ConnectionState.Broken)
  7176. == global::System.Data.ConnectionState.Broken)) {
  7177. workConnection.Close();
  7178. }
  7179. if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
  7180. workConnection.Open();
  7181. workConnOpened = true;
  7182. }
  7183. global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
  7184. if ((workTransaction == null)) {
  7185. throw new global::System.ApplicationException("Не удается начать транзакцию. Текущее соединение данных не поддерживает транзакци" +
  7186. "и или текущее состояние не позволяет начать транзакцию.");
  7187. }
  7188. global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  7189. global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows = new global::System.Collections.Generic.List<global::System.Data.DataRow>();
  7190. global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate = new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
  7191. global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections = new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
  7192. int result = 0;
  7193. global::System.Data.DataSet backupDataSet = null;
  7194. if (this.BackupDataSetBeforeUpdate) {
  7195. backupDataSet = new global::System.Data.DataSet();
  7196. backupDataSet.Merge(dataSet);
  7197. }
  7198. try {
  7199. // ---- Prepare for update -----------
  7200. //
  7201. if ((this._моделиTableAdapter != null)) {
  7202. revertConnections.Add(this._моделиTableAdapter, this._моделиTableAdapter.Connection);
  7203. this._моделиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  7204. this._моделиTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  7205. if (this._моделиTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  7206. this._моделиTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  7207. adaptersWithAcceptChangesDuringUpdate.Add(this._моделиTableAdapter.Adapter);
  7208. }
  7209. }
  7210. if ((this._поступленияTableAdapter != null)) {
  7211. revertConnections.Add(this._поступленияTableAdapter, this._поступленияTableAdapter.Connection);
  7212. this._поступленияTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  7213. this._поступленияTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  7214. if (this._поступленияTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  7215. this._поступленияTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  7216. adaptersWithAcceptChangesDuringUpdate.Add(this._поступленияTableAdapter.Adapter);
  7217. }
  7218. }
  7219. if ((this._товарTableAdapter != null)) {
  7220. revertConnections.Add(this._товарTableAdapter, this._товарTableAdapter.Connection);
  7221. this._товарTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(workConnection));
  7222. this._товарTableAdapter.Transaction = ((global::System.Data.SqlClient.SqlTransaction)(workTransaction));
  7223. if (this._товарTableAdapter.Adapter.AcceptChangesDuringUpdate) {
  7224. this._товарTableAdapter.Adapter.AcceptChangesDuringUpdate = false;
  7225. adaptersWithAcceptChangesDuringUpdate.Add(this._товарTableAdapter.Adapter);
  7226. }
  7227. }
  7228. //
  7229. //---- Perform updates -----------
  7230. //
  7231. if ((this.UpdateOrder == UpdateOrderOption.UpdateInsertDelete)) {
  7232. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  7233. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  7234. }
  7235. else {
  7236. result = (result + this.UpdateInsertedRows(dataSet, allAddedRows));
  7237. result = (result + this.UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
  7238. }
  7239. result = (result + this.UpdateDeletedRows(dataSet, allChangedRows));
  7240. //
  7241. //---- Commit updates -----------
  7242. //
  7243. workTransaction.Commit();
  7244. if ((0 < allAddedRows.Count)) {
  7245. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  7246. allAddedRows.CopyTo(rows);
  7247. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  7248. global::System.Data.DataRow row = rows[i];
  7249. row.AcceptChanges();
  7250. }
  7251. }
  7252. if ((0 < allChangedRows.Count)) {
  7253. global::System.Data.DataRow[] rows = new System.Data.DataRow[allChangedRows.Count];
  7254. allChangedRows.CopyTo(rows);
  7255. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  7256. global::System.Data.DataRow row = rows[i];
  7257. row.AcceptChanges();
  7258. }
  7259. }
  7260. }
  7261. catch (global::System.Exception ex) {
  7262. workTransaction.Rollback();
  7263. // ---- Restore the dataset -----------
  7264. if (this.BackupDataSetBeforeUpdate) {
  7265. global::System.Diagnostics.Debug.Assert((backupDataSet != null));
  7266. dataSet.Clear();
  7267. dataSet.Merge(backupDataSet);
  7268. }
  7269. else {
  7270. if ((0 < allAddedRows.Count)) {
  7271. global::System.Data.DataRow[] rows = new System.Data.DataRow[allAddedRows.Count];
  7272. allAddedRows.CopyTo(rows);
  7273. for (int i = 0; (i < rows.Length); i = (i + 1)) {
  7274. global::System.Data.DataRow row = rows[i];
  7275. row.AcceptChanges();
  7276. row.SetAdded();
  7277. }
  7278. }
  7279. }
  7280. throw ex;
  7281. }
  7282. finally {
  7283. if (workConnOpened) {
  7284. workConnection.Close();
  7285. }
  7286. if ((this._моделиTableAdapter != null)) {
  7287. this._моделиTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._моделиTableAdapter]));
  7288. this._моделиTableAdapter.Transaction = null;
  7289. }
  7290. if ((this._поступленияTableAdapter != null)) {
  7291. this._поступленияTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._поступленияTableAdapter]));
  7292. this._поступленияTableAdapter.Transaction = null;
  7293. }
  7294. if ((this._товарTableAdapter != null)) {
  7295. this._товарTableAdapter.Connection = ((global::System.Data.SqlClient.SqlConnection)(revertConnections[this._товарTableAdapter]));
  7296. this._товарTableAdapter.Transaction = null;
  7297. }
  7298. if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
  7299. global::System.Data.Common.DataAdapter[] adapters = new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
  7300. adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
  7301. for (int i = 0; (i < adapters.Length); i = (i + 1)) {
  7302. global::System.Data.Common.DataAdapter adapter = adapters[i];
  7303. adapter.AcceptChangesDuringUpdate = true;
  7304. }
  7305. }
  7306. }
  7307. return result;
  7308. }
  7309. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7310. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7311. protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation, bool childFirst) {
  7312. global::System.Array.Sort<global::System.Data.DataRow>(rows, new SelfReferenceComparer(relation, childFirst));
  7313. }
  7314. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7315. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7316. protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
  7317. if ((this._connection != null)) {
  7318. return true;
  7319. }
  7320. if (((this.Connection == null)
  7321. || (inputConnection == null))) {
  7322. return true;
  7323. }
  7324. if (string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
  7325. return true;
  7326. }
  7327. return false;
  7328. }
  7329. /// <summary>
  7330. ///Update Order Option
  7331. ///</summary>
  7332. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7333. public enum UpdateOrderOption {
  7334. InsertUpdateDelete = 0,
  7335. UpdateInsertDelete = 1,
  7336. }
  7337. /// <summary>
  7338. ///Used to sort self-referenced table's rows
  7339. ///</summary>
  7340. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7341. private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
  7342. private global::System.Data.DataRelation _relation;
  7343. private int _childFirst;
  7344. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7345. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7346. internal SelfReferenceComparer(global::System.Data.DataRelation relation, bool childFirst) {
  7347. this._relation = relation;
  7348. if (childFirst) {
  7349. this._childFirst = -1;
  7350. }
  7351. else {
  7352. this._childFirst = 1;
  7353. }
  7354. }
  7355. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7356. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7357. private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out int distance) {
  7358. global::System.Diagnostics.Debug.Assert((row != null));
  7359. global::System.Data.DataRow root = row;
  7360. distance = 0;
  7361. 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>();
  7362. traversedRows[row] = row;
  7363. global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  7364. for (
  7365. ; ((parent != null)
  7366. && (traversedRows.ContainsKey(parent) == false));
  7367. ) {
  7368. distance = (distance + 1);
  7369. root = parent;
  7370. traversedRows[parent] = parent;
  7371. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
  7372. }
  7373. if ((distance == 0)) {
  7374. traversedRows.Clear();
  7375. traversedRows[row] = row;
  7376. parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  7377. for (
  7378. ; ((parent != null)
  7379. && (traversedRows.ContainsKey(parent) == false));
  7380. ) {
  7381. distance = (distance + 1);
  7382. root = parent;
  7383. traversedRows[parent] = parent;
  7384. parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
  7385. }
  7386. }
  7387. return root;
  7388. }
  7389. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  7390. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
  7391. public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
  7392. if (object.ReferenceEquals(row1, row2)) {
  7393. return 0;
  7394. }
  7395. if ((row1 == null)) {
  7396. return -1;
  7397. }
  7398. if ((row2 == null)) {
  7399. return 1;
  7400. }
  7401. int distance1 = 0;
  7402. global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
  7403. int distance2 = 0;
  7404. global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
  7405. if (object.ReferenceEquals(root1, root2)) {
  7406. return (this._childFirst * distance1.CompareTo(distance2));
  7407. }
  7408. else {
  7409. global::System.Diagnostics.Debug.Assert(((root1.Table != null)
  7410. && (root2.Table != null)));
  7411. if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
  7412. return -1;
  7413. }
  7414. else {
  7415. return 1;
  7416. }
  7417. }
  7418. }
  7419. }
  7420. }
  7421. }
  7422. #pragma warning restore 1591